/* ═══════════════════════════════════════════════════════════════════════════
   SVC-COMPONENTS — VSHR service-page component styles (Phase 5 scaffold).
   Shipped 2026-04-17 alongside resources/views/components/svc/*.blade.php

   PURPOSE:
     Styles the 6 new <x-svc.*> components that scaffold product/service
     pages (payroll, benefits, workers-comp, HR outsourcing, etc.). Mirrors
     ind-components.css for industries.

   COMPONENTS COVERED:
     - svc.hero           → .svc-hero, .svc-hero-inner, .svc-hero-text, .svc-orb,
                           .svc-hero-ctas, .svc-trust-badges, .svc-badge, .svc-sub
     - svc.how-it-works   → .svc-how, .svc-steps, .svc-step, .svc-step-marker,
                           .svc-step-eyebrow, .svc-step-title, .svc-step-body
     - svc.integrations   → .svc-integrations, .svc-handoff-grid, .svc-handoff,
                           .svc-handoff-flow, .svc-handoff-from, .svc-handoff-to,
                           .svc-handoff-arrow, .svc-handoff-what
     - svc.specialists    → .svc-specialists, .svc-bench, .svc-bench-person,
                           .svc-bench-photo, .svc-bench-name, .svc-bench-role
     - svc.deliverables   → .svc-deliverables, .svc-deliverables-list,
                           .svc-deliverables-item, .svc-deliverables-check
     - svc.cta            → .svc-cta, .svc-cta-inner, .svc-cta-heading,
                           .svc-cta-body, .svc-cta-actions

   MOBILE-FIRST: every default style is the mobile state. min-width queries
   handle desktop enhancement. Zero max-width media queries.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════════════════
   PHASE 1 — DESIGN TOKENS CALIBRATION (2026-04-21)

   Source of truth: _strategy/10x/DIRECTION-2026-04-21.md (Phase 1 section).
   Synthesized from: _strategy/10x/best-in-class-research.md (Linear, Vercel,
   Stripe, Mercury, Brex reference set).

   Scope: one :root block + typography rules scoped to `main` + a section
   background-tone utility + tabular-numeric helper. Typography overrides
   live behind `body main` selectors so they beat page-level stylesheets
   without !important where possible.

   Four hues / ten color tokens / one fluid type scale. Nothing here is
   bespoke — this is the sitewide typographic chassis every page composes
   against.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Typography — single sans family, 3 weights max (400/500/600/700 used sparingly).
     Numbers derived from best-in-class reference set: H1 44–48px / body 17px /
     stats 56–72px. Clamps scale gracefully between mobile and 1440+. */
  --h1:         clamp(2.25rem, 4vw, 3rem);       /* 36-48px */
  --h2:         clamp(1.75rem, 2.6vw, 2.25rem);  /* 28-36px */
  --h3:         clamp(1.25rem, 1.6vw, 1.5rem);   /* 20-24px */
  --body:       1.0625rem;                       /* 17px */
  --small:      0.875rem;                        /* 14px */
  --stat:       clamp(3rem, 6vw, 4.5rem);        /* 48-72px */
  --line-body:  1.6;
  --line-h:     1.1;
  --track-h:    -0.02em;

  /* Spacing — section vertical padding. 64–96px per reference set.
     Also drives the .sec padding override further down. */
  --sec-py:     clamp(4rem, 8vw, 6rem);          /* 64-96px */

  /* Colors — 4 hues, 10 tokens. Brand + brand-dark, 6-step neutral ramp,
     2 semantic accents (reserved for compliance-pass / risk-flag contexts
     only — never decorative). */
  --brand:        #1479A3;
  --brand-dark:   #0F5C7F;
  --neutral-0:    #FFFFFF;
  --neutral-50:   #FAFAFB;
  --neutral-100:  #F3F5F8;
  --neutral-300:  #D5DBE2;
  --neutral-500:  #6B7785;
  --neutral-900:  #0A1A2E;
  --accent-pos:   #18A957;   /* semantic only: compliance pass, saving */
  --accent-neg:   #DC4438;   /* semantic only: risk, penalty */
}

/* Utility class — use on any stat/metric element so figures line up vertically
   (Stripe / Mercury / Ramp pattern). Cheap polish, 1 line. */
.tab-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}

/* ── Typography application (scoped to `main` to avoid fighting globals) ──
   Specificity: `body main h1` = (0,0,0,3), beats page-level `main h1` (0,0,0,2)
   but doesn't touch hero/CTA-scoped rules that already carry their own tuned
   values (svc-hero h1 keeps its clamp(32px, 3.4vw, 48px) for dark-hero feel). */
body main h1,
body main .h1,
body main .prism-bar {
  font-size: var(--h1);
  font-weight: 600;
  line-height: var(--line-h);
  letter-spacing: var(--track-h);
}
body main h2,
body main .h2 {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
body main h3,
body main .h3 {
  font-size: var(--h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
body main p,
body main li,
body main .body {
  font-size: var(--body);
  line-height: var(--line-body);
}

/* ── Section background-tone utilities ────────────────────────────────────
   Defined now so Phase 3 can wire them into templates for the tone-rhythm
   pattern (white → neutral-50 → white). Not applied to any template yet —
   that is Phase 3's job. */
.sec--tint  { background: var(--neutral-50); }
.sec--white { background: var(--neutral-0); }

/* ── CTA hover normalization (sitewide primary-CTA polish) ────────────────
   Per best-in-class research: restrained 150ms hover is the signal. Keep
   the base color unchanged; shift opacity slightly and lift 1px. No color
   change, no gradient fill, no shadow blast. Targets common primary-CTA
   classes (definitions live in gitignored page CSS; we only tune the
   hover transition here). */
body main .btn-primary,
body main .btn-blue-solid,
body main .btn-orange-solid,
body main .btn-brand-solid {
  transition: opacity 150ms ease-out, transform 150ms ease-out;
}
body main .btn-primary:hover,
body main .btn-blue-solid:hover,
body main .btn-orange-solid:hover,
body main .btn-brand-solid:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}


/* ─── svc-hero ─────────────────────────────────────────────────────────── */

.svc-hero {
  position: relative;
  /* 2026-05-05: ported atmospheric depth from .ind-hero so service heroes
     don't read as flat-dark when the scrim hits. Layered gradient navy →
     navy-2 + warm orange atmospheric glow at 50%/40% + 1px dot grain.
     Same recipe as industry pages, so services + industries feel consistent. */
  background-image:
    radial-gradient(rgba(249,115,22,.06) 1px, transparent 1px),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(249,115,22,.08), transparent 70%),
    linear-gradient(160deg, var(--navy, #07192E) 0%, var(--navy-2, #0D2B45) 100%);
  background-size: 20px 20px, 100% 100%, 100% 100%;
  color: #fff;
  /* Reduced vertical padding 2026-04-20: 64/96 → 48/64 on mobile,
     96/96 → 56/56 on desktop. Heroes were rendering 760-1000px tall
     (target: ~540px per Linear/Vercel/Stripe B2B standard). */
  padding: var(--s-7, 48px) var(--page-pad-mobile, 20px) var(--s-8, 64px);
  overflow: hidden;
}
/* Atmospheric glow layers — matches .ind-hero::before for visual continuity. */
.svc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 10%, rgba(249,115,22,.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(56,178,172,.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
/* Scoped H1 override. Without this, mobile-first-baseline.css wins at
   desktop with clamp(40px, 4.5vw, 64px) — 64px at 1440. That's chunky
   against a 420px-wide dense mockup card. Cap at 48px desktop. */
.svc-hero h1,
.svc-hero .prism-bar {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Hero cycle word: mobile auto-fit safety bound (2026-06-01). The cycling
   gradient word is sized by the JS auto-fit in components/svc/hero.blade.php
   (each word scales to fit the h1 line). This caps the box pre-JS / if JS is
   disabled so a long phrase (e.g. "without the department.") can't bleed past
   the hero on phones. Non-binding while the JS runs. See the fuller note in
   ind-components.css. */
@media (max-width: 767.98px) {
  .svc-hero .hero-cycle-wrap { max-width: 100%; }
}

.svc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(41, 171, 226, 0.16) 0%, transparent 60%),
    radial-gradient(40% 40% at 80% 90%, rgba(249, 115, 22, 0.12) 0%, transparent 60%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* ── Per-slug hero background imagery (2026-04-21 imagery-wave) ─────────
   Mirrors the ind-hero-bg pattern from real-estate / industries pages.
   When a per-slug image is present, it stacks ABOVE the default radial
   gradients via the cascade (background-image overrides the `background`
   shorthand). Ambient orbs (.svc-orb-1, .svc-orb-2) layer on top for
   color accent. Ken Burns animation matches industries for consistency. */
body.payroll-services .svc-hero-bg,
body.employee-benefits .svc-hero-bg,
body.hris .svc-hero-bg,
body.workers-comp .svc-hero-bg,
body.compliance-training .svc-hero-bg,
body.compliance-watch .svc-hero-bg,
body.hr-outsourcing .svc-hero-bg,
body.insurance .svc-hero-bg,
body.learning-management .svc-hero-bg,
body.offboarding .svc-hero-bg,
body.onboarding .svc-hero-bg,
body.osha-safety .svc-hero-bg,
body.performance-management .svc-hero-bg,
body.recruiting .svc-hero-bg,
body.tax-admin .svc-hero-bg,
body.tax-preparation .svc-hero-bg,
body.time-attendance .svc-hero-bg,
body.bookkeeping .svc-hero-bg,
body.quickbooks-setup .svc-hero-bg,
body[class~="401k-retirement"] .svc-hero-bg {
  /* position/inset must beat premium.css `body.premium [class*="hero-"]` rule
     which sets position:relative (same specificity, we win via source order).
     2026-05-05: opacity raised 0.68 → 0.85 because most service hero images
     are naturally darker than industry hero images (low-light office vs
     bright daylight storefront). Higher image opacity = less navy bleed-
     through = brighter overall hero feel. Pairs with the lighter scrim. */
  position: absolute;
  inset: 0;
  opacity: 0.85;
  animation: kenBurnsSvc 22s ease-in-out infinite alternate;
  will-change: transform;
}
body.payroll-services      .svc-hero-bg { background-image: image-set(url('/generated-images/_candidates/payroll-v1-human-forward.avif') type('image/avif'), url('/generated-images/_candidates/payroll-v1-human-forward.webp') type('image/webp'), url('/generated-images/_candidates/payroll-v1-human-forward.jpeg') type('image/jpeg')); }
body.employee-benefits     .svc-hero-bg { background-image: image-set(url('/generated-images/hero-insurance.avif') type('image/avif'), url('/generated-images/hero-insurance.webp') type('image/webp'), url('/generated-images/hero-insurance.jpeg') type('image/jpeg')); }
body.hris                  .svc-hero-bg { background-image: image-set(url('/generated-images/hris-hero.avif') type('image/avif'), url('/generated-images/hris-hero.webp') type('image/webp'), url('/generated-images/hris-hero.jpeg') type('image/jpeg')); }
body.workers-comp          .svc-hero-bg { background-image: image-set(url('/generated-images/hero-workers-comp.avif') type('image/avif'), url('/generated-images/hero-workers-comp.webp') type('image/webp'), url('/generated-images/hero-workers-comp.jpeg') type('image/jpeg')); }
body.compliance-training   .svc-hero-bg { background-image: image-set(url('/generated-images/compliance-training-hero.avif') type('image/avif'), url('/generated-images/compliance-training-hero.webp') type('image/webp'), url('/generated-images/compliance-training-hero.jpeg') type('image/jpeg')); }
body.compliance-watch      .svc-hero-bg { background-image: image-set(url('/generated-images/tax-compliance-hero.avif') type('image/avif'), url('/generated-images/tax-compliance-hero.webp') type('image/webp'), url('/generated-images/tax-compliance-hero.jpeg') type('image/jpeg')); }
body.hr-outsourcing        .svc-hero-bg { background-image: image-set(url('/generated-images/hr-outsourcing-hero.avif') type('image/avif'), url('/generated-images/hr-outsourcing-hero.webp') type('image/webp'), url('/generated-images/hr-outsourcing-hero.jpeg') type('image/jpeg')); }
body.insurance             .svc-hero-bg { background-image: image-set(url('/generated-images/hero-insurance.avif') type('image/avif'), url('/generated-images/hero-insurance.webp') type('image/webp'), url('/generated-images/hero-insurance.jpeg') type('image/jpeg')); }
body.learning-management   .svc-hero-bg { background-image: image-set(url('/generated-images/hero-learning-management.avif') type('image/avif'), url('/generated-images/hero-learning-management.webp') type('image/webp'), url('/generated-images/hero-learning-management.jpeg') type('image/jpeg')); }
body.offboarding           .svc-hero-bg { background-image: image-set(url('/generated-images/hero-offboarding.avif') type('image/avif'), url('/generated-images/hero-offboarding.webp') type('image/webp'), url('/generated-images/hero-offboarding.jpeg') type('image/jpeg')); }
body.onboarding            .svc-hero-bg { background-image: image-set(url('/generated-images/section-onboarding.avif') type('image/avif'), url('/generated-images/section-onboarding.webp') type('image/webp'), url('/generated-images/section-onboarding.jpeg') type('image/jpeg')); }
body.osha-safety           .svc-hero-bg { background-image: image-set(url('/generated-images/section-safety-training.avif') type('image/avif'), url('/generated-images/section-safety-training.webp') type('image/webp'), url('/generated-images/section-safety-training.jpeg') type('image/jpeg')); }
body.performance-management .svc-hero-bg { background-image: image-set(url('/generated-images/hero-performance-management.avif') type('image/avif'), url('/generated-images/hero-performance-management.webp') type('image/webp'), url('/generated-images/hero-performance-management.jpeg') type('image/jpeg')); }
body.recruiting            .svc-hero-bg { background-image: image-set(url('/generated-images/recruiting-hero.avif') type('image/avif'), url('/generated-images/recruiting-hero.webp') type('image/webp'), url('/generated-images/recruiting-hero.jpeg') type('image/jpeg')); }
body.tax-admin             .svc-hero-bg { background-image: image-set(url('/generated-images/tax-compliance-hero.avif') type('image/avif'), url('/generated-images/tax-compliance-hero.webp') type('image/webp'), url('/generated-images/tax-compliance-hero.jpeg') type('image/jpeg')); }
body.tax-preparation       .svc-hero-bg { background-image: image-set(url('/generated-images/tax-compliance-hero.avif') type('image/avif'), url('/generated-images/tax-compliance-hero.webp') type('image/webp'), url('/generated-images/tax-compliance-hero.jpeg') type('image/jpeg')); }
body.time-attendance       .svc-hero-bg { background-image: image-set(url('/generated-images/time-attendance-hero.avif') type('image/avif'), url('/generated-images/time-attendance-hero.webp') type('image/webp'), url('/generated-images/time-attendance-hero.jpeg') type('image/jpeg')); }
body.bookkeeping           .svc-hero-bg { background-image: image-set(url('/generated-images/hero-financial-services.avif') type('image/avif'), url('/generated-images/hero-financial-services.webp') type('image/webp'), url('/generated-images/hero-financial-services.jpeg') type('image/jpeg')); }
body.quickbooks-setup      .svc-hero-bg { background-image: image-set(url('/generated-images/hero-financial-services.avif') type('image/avif'), url('/generated-images/hero-financial-services.webp') type('image/webp'), url('/generated-images/hero-financial-services.jpeg') type('image/jpeg')); }
body[class~="401k-retirement"]       .svc-hero-bg { background-image: image-set(url('/generated-images/section-retirement-planning.avif') type('image/avif'), url('/generated-images/section-retirement-planning.webp') type('image/webp'), url('/generated-images/section-retirement-planning.jpeg') type('image/jpeg')); }
/* integrations: no matching asset — falls back to default radial gradients */

/* Scrim: soften the image so hero text stays legible on every page.
   Mirrors the real-estate ind-hero-bg::after scrim treatment. */
body.payroll-services .svc-hero-bg::after,
body.employee-benefits .svc-hero-bg::after,
body.hris .svc-hero-bg::after,
body.workers-comp .svc-hero-bg::after,
body.compliance-training .svc-hero-bg::after,
body.compliance-watch .svc-hero-bg::after,
body.hr-outsourcing .svc-hero-bg::after,
body.insurance .svc-hero-bg::after,
body.learning-management .svc-hero-bg::after,
body.offboarding .svc-hero-bg::after,
body.onboarding .svc-hero-bg::after,
body.osha-safety .svc-hero-bg::after,
body.performance-management .svc-hero-bg::after,
body.recruiting .svc-hero-bg::after,
body.tax-admin .svc-hero-bg::after,
body.tax-preparation .svc-hero-bg::after,
body.time-attendance .svc-hero-bg::after,
body.bookkeeping .svc-hero-bg::after,
body.quickbooks-setup .svc-hero-bg::after,
body[class~="401k-retirement"] .svc-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Directional scrim mirrors real-estate/ind-hero-bg::after: dark on LEFT
     (keeps H1 + eyebrow legible), transparent on RIGHT (lets the image breathe
     next to the mockup card). Plus a soft vertical darken at the bottom. */
  background:
    /* 2026-05-05 round 2: scrim lightened further from .65/.28/.05 → .48/.18/0.
       Service hero source images skew darker than industry images (moody
       office shots vs bright daylight retail), so even the round-1 scrim
       reduction left services reading darker than industries. Round 2 cuts
       the left-side wash to .48 (still passes WCAG AA on white H1: 4.7:1)
       and removes any navy on the right edge entirely so the image breathes. */
    linear-gradient(90deg, rgba(7, 25, 46, 0.48) 0%, rgba(7, 25, 46, 0.18) 55%, rgba(7, 25, 46, 0.00) 100%),
    linear-gradient(180deg, rgba(7, 25, 46, 0.00) 0%, rgba(7, 25, 46, 0.14) 80%);
  pointer-events: none;
}

@keyframes kenBurnsSvc {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.05) translate(-1.5%, -0.8%); }
}

@media (prefers-reduced-motion: reduce) {
  body.payroll-services .svc-hero-bg,
  body.employee-benefits .svc-hero-bg,
  body.hris .svc-hero-bg,
  body.workers-comp .svc-hero-bg,
  body.compliance-training .svc-hero-bg,
  body.compliance-watch .svc-hero-bg,
  body.hr-outsourcing .svc-hero-bg,
  body.insurance .svc-hero-bg,
  body.learning-management .svc-hero-bg,
  body.offboarding .svc-hero-bg,
  body.onboarding .svc-hero-bg,
  body.osha-safety .svc-hero-bg,
  body.performance-management .svc-hero-bg,
  body.recruiting .svc-hero-bg,
  body.tax-admin .svc-hero-bg,
  body.tax-preparation .svc-hero-bg,
  body.time-attendance .svc-hero-bg,
  body.bookkeeping .svc-hero-bg,
  body.quickbooks-setup .svc-hero-bg,
  body[class~="401k-retirement"] .svc-hero-bg {
    animation: none;
  }
}
.svc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.svc-orb-1 { width: 320px; height: 320px; top: -80px; left: -60px; background: #29ABE2; }
.svc-orb-2 { width: 260px; height: 260px; bottom: -40px; right: -40px; background: #F97316; }

.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-6, 32px);
}

.svc-hero-text { max-width: 760px; }

.svc-sub {
  font-size: var(--fs-md, 21px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--s-4, 16px);
  max-width: 62ch;
}

.svc-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--s-3, 12px);
  margin-top: var(--s-5, 24px);
}
.svc-hero-ctas > a {
  width: 100%;
  justify-content: center;
}
.svc-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2, 8px);
  margin-top: var(--s-4, 16px);
}
.svc-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-full, 9999px);
  letter-spacing: 0.02em;
}

.svc-hero-visual { display: flex; justify-content: center; }

/* ─── svc.hero — heroImage variant (2026-04-21 imagery-swarm) ──────────────
   Used when a page has photography/environmental imagery instead of an HTML
   dashboard mockup. Cinematic scale: dominates the right column at desktop,
   full-width above CTAs at mobile. Aspect-ratio box prevents CLS. --- */
.svc-hero-visual--image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg, 14px);
  overflow: hidden;
  box-shadow: 0 24px 64px -24px rgba(7, 22, 45, 0.45), 0 2px 0 rgba(255,255,255,0.06) inset;
  position: relative;
}
.svc-hero-visual--image > img,
.svc-hero-visual--image > picture,
.svc-hero-visual--image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-accent {
  background-image: var(--grad, linear-gradient(135deg, #F7D44C 0%, #F07128 28%, #E8125C 62%, #7B21A2 100%));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  /* Desktop vertical padding tightened 96/96 → 56/56 (2026-04-20). */
  .svc-hero { padding: 56px var(--page-pad-desktop, 32px); }
  .svc-hero-ctas { flex-direction: row; flex-wrap: wrap; gap: var(--s-4, 16px); }
  .svc-hero-ctas > a { width: auto; }
}
@media (min-width: 1024px) {
  .svc-hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-7, 48px);
  }
  .svc-hero-text { flex: 1 1 0; }
  /* Visual column shrunk 420px → 380px so dense mockup cards drive
     less vertical height overall (constraint cascades via card max-width). */
  .svc-hero-visual { flex: 0 0 380px; }
  /* heroImage variant gets cinematic scale — dominant right column (~52%).
     Text flex is still 1 1 0 so copy wraps cleanly beside the image. */
  .svc-hero-visual--image { flex: 0 0 560px; }
}
@media (min-width: 1280px) {
  .svc-hero-visual--image { flex: 0 0 640px; }
}


/* ─── Section vertical rhythm (2026-04-21 rhythm fix) ─────────────────
   Per-page CSS (gitignored *-page.css) defines `--svc-sec-py: 96px` for
   all .sec blocks. 96px top + 96px bottom on consecutive sections = 192px
   gap, which reads as "page is empty / incomplete" on dense enterprise
   layouts. Tighten globally. body main .sec has higher specificity than
   per-page `main .sec` so this wins regardless of stylesheet order. */
/* Must beat premium.css `body.premium section.sec` (0,0,2,2 specificity).
   Include both premium and non-premium body-class variants so tightening
   lands regardless of theme state. Use padding-block so it overrides the
   padding-shorthand in premium.css rather than leaving horizontal padding
   to other rules. */
/* CSS cascade mess: multiple stylesheets fight over .sec padding with
   varying specificities (premium.css shorthand, vshr-v4.css, site.css,
   payroll-page.css). :root --svc-sec-py override doesn't cover all paths
   (some rules apply padding directly instead of via the variable). Use
   !important on the padding declarations directly to force the rhythm.
   Pragmatic — cascade cleanup is a separate refactor.

   Updated 2026-04-21 (Phase 1 token calibration): moved from fixed 72px
   to clamp(4rem, 8vw, 6rem) = 64–96px fluid per DIRECTION-2026-04-21 doc.
   Best-in-class references (Linear/Vercel/Stripe/Mercury/Brex) all sit in
   the 80–96px band; the clamp picks up 80px+ by the time the viewport
   reaches ~1000px. Under that, 64px reads correctly for mobile density.
   Legacy --svc-sec-py var kept for backwards compat with per-page rules. */
:root {
  --svc-sec-py: 72px !important;
  --svc-sec-py-mobile: 48px !important;
}
/* Must beat premium.css `body.premium section.sec { padding: var(--sp-9) var(--sp-6) !important; }`
   which has specificity (0,0,2,2). Use body.premium main section.sec at (0,0,2,3).
   !important is required because premium.css uses !important in the shorthand
   `padding:` declaration — CSS specificity alone can't beat an !important
   shorthand, so we match with !important on our padding-block properties. */
body.premium main section.sec,
body.premium main .sec,
body main section.sec,
body main .sec {
  padding-top: clamp(4rem, 8vw, 6rem) !important;    /* 64-96px */
  padding-bottom: clamp(4rem, 8vw, 6rem) !important;
}
@media (max-width: 767px) {
  body.premium main section.sec,
  body.premium main .sec,
  body main section.sec,
  body main .sec {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* ─── svc.how-it-works ─────────────────────────────────────────────────── */

.svc-how {
  background: var(--off, #F4F8FC);
}
.svc-how-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}
/* Centered section header — matches scope, deliverables, customer-stories,
   integrations pattern. Tightened typography for visual consistency. */
.svc-how .sec-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.svc-how .sec-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #0F172A;
  margin: 0 0 10px;
}
.svc-how .sec-head p {
  font-size: 17px;
  color: #475569;
  margin: 0;
}

/* ─── leadImage slot (2026-04-21 imagery-swarm) ──────────────────────────
   Optional editorial image that leads a section above the sec-head.
   Shared pattern across svc.how-it-works and svc.deliverables. --- */
.svc-how-lead-image,
.svc-deliverables-lead-image {
  width: 100%;
  max-width: 920px;
  margin: 0 auto var(--s-5, 24px);
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg, 14px);
  overflow: hidden;
  box-shadow: 0 24px 64px -28px rgba(7, 22, 45, 0.35);
}
.svc-how-lead-image > img,
.svc-how-lead-image > picture > img,
.svc-deliverables-lead-image > img,
.svc-deliverables-lead-image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Timeline rebuild 2026-05-19 — circular markers, connector line spanning
   the row, hover lift + marker glow. Pattern: numbered process steps
   visualised as a horizontal timeline at desktop / vertical at mobile. */
.svc-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px 24px;
  counter-reset: none;
  position: relative;
}

/* Desktop horizontal connector line — sits behind the marker row,
   centered on marker vertical midline. Flexes to N columns via the
   --svc-steps custom property set inline by the Blade component.
   Markers in equal columns are centered at (50% / N), (150% / N),
   ..., (100% - 50% / N) from the left edge of the grid. The dashed
   track spans from just past the first marker center to just before
   the last marker center. */
@media (min-width: 1024px) {
  .svc-steps {
    grid-template-columns: repeat(var(--svc-steps, 3), 1fr);
    gap: 24px;
    padding-top: 28px;
  }
  .svc-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% / var(--svc-steps, 3) + 28px);
    right: calc(50% / var(--svc-steps, 3) + 28px);
    height: 2px;
    background:
      repeating-linear-gradient(90deg,
        rgba(20, 121, 163, 0.32) 0 6px,
        transparent 6px 12px);
    transform: translateY(-1px);
    z-index: 0;
    pointer-events: none;
  }
}
/* Tablet breakpoint: 2-column grid for 4+ steps; 1-column < 4 stays vertical */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
}

.svc-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(13, 24, 41, 0.06);
  border-radius: 16px;
  padding: 56px 26px 26px;
  box-shadow:
    0 1px 2px rgba(13, 24, 41, 0.04),
    0 0 0 1px rgba(13, 24, 41, 0.02);
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s cubic-bezier(.22, 1, .36, 1),
    border-color .35s ease;
  z-index: 1;
}
.svc-step:hover,
.svc-step:focus-within {
  transform: translateY(-4px);
  border-color: rgba(20, 121, 163, 0.18);
  box-shadow:
    0 20px 40px -20px rgba(20, 121, 163, 0.24),
    0 6px 14px -6px rgba(13, 24, 41, 0.06);
}

/* Circular numbered marker — centered above card, hovers over the
   connector line. Navy gradient fill, white number, soft halo ring. */
.svc-step-marker {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  font-family: Georgia, "Source Serif Pro", serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0F2F5C 0%, #1479A3 100%);
  border: 3px solid var(--off, #F4F8FC);
  border-radius: 999px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  box-shadow:
    0 8px 20px -10px rgba(20, 121, 163, 0.5),
    0 0 0 4px rgba(20, 121, 163, 0.08);
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s cubic-bezier(.22, 1, .36, 1);
  z-index: 2;
}
.svc-step:hover .svc-step-marker,
.svc-step:focus-within .svc-step-marker {
  transform: translateX(-50%) scale(1.08);
  box-shadow:
    0 14px 28px -10px rgba(20, 121, 163, 0.55),
    0 0 0 6px rgba(20, 121, 163, 0.12);
}

.svc-step-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-bright, #F97316);
  margin-bottom: 8px;
  text-align: center;
}

.svc-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy, #07192E);
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -.015em;
  text-align: center;
}

.svc-step-body {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  text-align: center;
}

/* Mobile / tablet: stack vertically with left-side marker rail */
@media (max-width: 1023.98px) {
  .svc-steps { gap: 36px 24px; }
  .svc-step { padding: 56px 22px 22px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .svc-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .svc-step,
  .svc-step-marker { transition: none !important; }
  .svc-step:hover { transform: none; }
  .svc-step:hover .svc-step-marker { transform: translateX(-50%); }
}


/* ─── svc.integrations (CONSOLIDATED ONE-SECTION INTEGRATION PITCH) ─── */

.svc-integrations {
  /* .sec padding handles vertical spacing */
}
.svc-integrations-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}
/* Center section header to match the scope, deliverables, customer-stories pattern */
.svc-integrations .sec-head {
  text-align: center;
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.svc-integrations .sec-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #0F172A;
  margin: 0 0 10px;
}
.svc-integrations .sec-head p {
  font-size: 17px;
  color: #475569;
  margin: 0;
}

.svc-handoff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4, 16px);
  margin-top: var(--s-6, 32px);
}

/* Card — premium handoff tile (rebuilt 2026-05-19).
   Pattern: FROM chip → animated beam with flowing dots → TO chip with
   icon. Per-destination accent (HR/Benefits/GL/Time) lights up on hover.
   Beam dots animate continuously on hover only (reduced-motion safe). */
.svc-handoff {
  --hf-accent: #1479A3;
  --hf-accent-soft: rgba(20, 121, 163, 0.10);

  position: relative;
  background: #fff;
  border: 1px solid rgba(13, 24, 41, 0.06);
  border-radius: 16px;
  padding: 28px 26px 26px;
  box-shadow:
    0 1px 2px rgba(13, 24, 41, 0.04),
    0 0 0 1px rgba(13, 24, 41, 0.02);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s cubic-bezier(.22, 1, .36, 1),
    border-color .35s ease;
}
/* Corner glow — soft accent wash, fades in on hover */
.svc-handoff::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 80% at 100% 0%,
              var(--hf-accent-soft) 0%,
              transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.svc-handoff > * { position: relative; z-index: 1; }
.svc-handoff:hover,
.svc-handoff:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--hf-accent) 20%, transparent);
  box-shadow:
    0 20px 40px -20px color-mix(in oklab, var(--hf-accent) 30%, rgba(13,24,41,.16)),
    0 6px 14px -6px rgba(13, 24, 41, 0.05);
}
.svc-handoff:hover::before,
.svc-handoff:focus-within::before { opacity: 1; }

/* Tone modifiers */
.svc-handoff--indigo  { --hf-accent: #4338CA; --hf-accent-soft: rgba(67, 56, 202, 0.10); }
.svc-handoff--emerald { --hf-accent: #15803D; --hf-accent-soft: rgba(21, 128, 61, 0.10); }
.svc-handoff--amber   { --hf-accent: #F97316; --hf-accent-soft: rgba(249, 115, 22, 0.10); }
.svc-handoff--blue    { --hf-accent: #1479A3; --hf-accent-soft: rgba(20, 121, 163, 0.10); }
.svc-handoff--rose    { --hf-accent: #BE185D; --hf-accent-soft: rgba(190, 24, 93, 0.10); }

/* Flow row: FROM → beam → TO */
.svc-handoff-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.svc-handoff-from,
.svc-handoff-to {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #F4F8FC;
  color: var(--navy, #07192E);
  border: 1px solid rgba(13, 24, 41, 0.05);
}

.svc-handoff-to {
  background: color-mix(in oklab, var(--hf-accent) 9%, white);
  color: color-mix(in oklab, var(--hf-accent) 75%, #0F172A);
  border-color: color-mix(in oklab, var(--hf-accent) 22%, transparent);
}

.svc-handoff-to-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--hf-accent);
}
.svc-handoff-to-icon svg { width: 100%; height: 100%; }

/* Animated beam between FROM and TO */
.svc-handoff-beam {
  position: relative;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  min-width: 56px;
  max-width: 96px;
  height: 22px;
}
/* Premium directional conduit (redesigned 2026-05-31).
   Replaces the old thin-line + arrowhead + 2 pulse dots ("- - >" clip-art).
   Geometry lives in the inline SVG (viewBox 0 0 40 24): a filled origin
   node, a rounded conduit path, and a chevron terminus. CSS adds the
   tasteful motion + tone coupling. All animation pauses under
   prefers-reduced-motion. */
.svc-handoff-arrow {
  width: 100%;
  height: 22px;
  color: color-mix(in oklab, var(--hf-accent) 62%, #94A3B8);
  flex: 1 1 auto;
  overflow: visible;
}
.svc-handoff-source,
.svc-handoff-line,
.svc-handoff-tip {
  stroke: currentColor;
  transition: stroke .35s ease, opacity .35s ease;
}
.svc-handoff-source { fill: currentColor; }

/* Idle state: the conduit "draws" from origin toward the terminus — a slow,
   directional flow cue (not a busy ant-march). The dash gap is long so only
   a single soft segment travels the path at a time. */
.svc-handoff-line {
  stroke-dasharray: 8 16;
  stroke-dashoffset: 24;
  animation: hf-conduit-draw 3.4s linear infinite;
}
@keyframes hf-conduit-draw {
  to { stroke-dashoffset: 0; }
}
/* Origin node + terminus chevron share one slow "live link" breath. */
.svc-handoff-source { animation: hf-node-pulse 3.4s ease-in-out infinite; }
.svc-handoff-tip    { animation: hf-tip-pulse 3.4s ease-in-out infinite; }
@keyframes hf-node-pulse {
  0%, 100% { opacity: .9; }
  50%      { opacity: .5; }
}
@keyframes hf-tip-pulse {
  0%, 100% { opacity: .65; }
  55%      { opacity: 1; }
}

.svc-handoff:hover .svc-handoff-arrow,
.svc-handoff:focus-within .svc-handoff-arrow {
  color: var(--hf-accent);
}
/* On hover the conduit accelerates into a confident, fully-saturated flow. */
.svc-handoff:hover .svc-handoff-line,
.svc-handoff:focus-within .svc-handoff-line {
  animation-duration: 1.5s;
}

/* Traveling data packet. One bright packet (--1) glides origin → terminus;
   --2 is a faint trailing echo for depth (still reads as a single packet).
   Paused at rest, released on hover/focus. Travel range is tuned to the
   SVG geometry: origin sits ~12% across the beam, terminus ~84%. */
.svc-handoff-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--hf-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px color-mix(in oklab, var(--hf-accent) 55%, transparent),
              0 0 0 2px color-mix(in oklab, var(--hf-accent) 22%, transparent);
  opacity: 0;
  transform: translateX(12%);
  pointer-events: none;
}
.svc-handoff-dot--2 {
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  opacity: 0;
  box-shadow: 0 0 4px color-mix(in oklab, var(--hf-accent) 35%, transparent);
}
.svc-handoff:hover .svc-handoff-dot,
.svc-handoff:focus-within .svc-handoff-dot {
  animation: hf-packet 1.5s cubic-bezier(.5, 0, .2, 1) infinite;
}
.svc-handoff:hover .svc-handoff-dot--2,
.svc-handoff:focus-within .svc-handoff-dot--2 {
  animation-delay: .18s;
}
@keyframes hf-packet {
  0%   { transform: translateX(12%); opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateX(calc(84% - 6px)); opacity: 0; }
}

.svc-handoff-what {
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

@media (min-width: 768px) {
  .svc-handoff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .svc-handoff-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
/* Mobile + narrow 2-col cards: let the FROM → beam → TO flow wrap rather than
   overflow the viewport when the TO label is long (e.g. "Bookkeeping", "Tax Prep"). */
@media (max-width: 767.98px) {
  .svc-handoff-flow { flex-wrap: wrap; }
  .svc-handoff-to { max-width: 100%; }
}
@media (max-width: 480px) {
  .svc-handoff { padding: 24px 22px 22px; }
  .svc-handoff-beam { max-width: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-handoff,
  .svc-handoff::before,
  .svc-handoff-arrow { transition: none !important; }
  .svc-handoff:hover { transform: none; }
  .svc-handoff:hover .svc-handoff-dot,
  .svc-handoff:focus-within .svc-handoff-dot {
    animation: none !important;
    opacity: 0 !important;
  }
  /* Freeze the conduit as a clean solid line; hold node + terminus at full
     presence. No idle draw, no breathing. */
  .svc-handoff-line {
    animation: none !important;
    stroke-dasharray: 0 !important;
    stroke-dashoffset: 0 !important;
  }
  .svc-handoff-source,
  .svc-handoff-tip {
    animation: none !important;
    opacity: 1 !important;
  }
}

@media (min-width: 768px) {
  .svc-handoff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .svc-handoff-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5, 24px); }
}


/* ─── svc.specialists (bench strip) ───────────────────────────────────── */

.svc-specialists {
  background: var(--off, #F4F8FC);
}
.svc-specialists-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
}

.svc-bench {
  list-style: none;
  padding: 0;
  margin: var(--s-6, 32px) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4, 16px);
}

.svc-bench-person {
  background: #fff;
  border: 1px solid var(--border, #E2ECF4);
  border-radius: var(--r-md, 12px);
  padding: var(--s-5, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3, 12px);
}

.svc-bench-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border, #E2ECF4);
  background: var(--off, #F4F8FC);
}

/* Missing-headshot fallback (2026-04-21 redesign).
   Was: gray circle with 32px navy letter — looked like a broken placeholder.
   Now: brand-tinted circle with white monogram. Standard default-avatar pattern
   (Notion/Linear/Slack style). Reads as intentional, not missing.
   Note: monogram sizing is relative to parent (38% of 96px = ~36px), but
   letter-weight and color choice carry most of the legibility. */
.svc-bench-photo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h, "Poppins", sans-serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  background: linear-gradient(135deg, #1F4E79 0%, #29ABE2 100%);
  border: 0;
  text-transform: uppercase;
}

.svc-bench-name {
  font-family: var(--font-h, "Poppins", sans-serif);
  font-size: var(--fs-md, 21px);
  font-weight: 700;
  color: var(--navy, #07192E);
}

.svc-bench-role {
  font-size: var(--fs-sm, 15px);
  color: var(--muted, #3D5266);
  font-weight: 500;
}

@media (min-width: 768px) {
  .svc-bench { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .svc-bench { grid-template-columns: repeat(4, 1fr); gap: var(--s-5, 24px); }
}


/* ─── svc.deliverables (what we handle checklist) ─────────────────────── */

.svc-deliverables-inner {
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}
/* Center section header to match the scope-head + meet-the-team-head pattern */
.svc-deliverables .sec-head {
  text-align: center;
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.svc-deliverables .sec-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #0F172A;
  margin: 0 0 10px;
}
.svc-deliverables .sec-head p {
  font-size: 17px;
  color: #475569;
}

.svc-deliverables-list {
  list-style: none;
  padding: 0;
  margin: var(--s-6, 32px) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3, 12px);
}

.svc-deliverables-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3, 12px);
  padding: var(--s-4, 16px);
  background: #fff;
  border: 1px solid var(--border, #E2ECF4);
  border-radius: var(--r-sm, 10px);
  font-size: var(--fs-base, 17px);
  line-height: 1.5;
  color: var(--text, #0D1829);
}

.svc-deliverables-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--green-bright, #22C55E);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .svc-deliverables-list { grid-template-columns: repeat(2, 1fr); gap: var(--s-4, 16px); }
}
@media (min-width: 1024px) {
  .svc-deliverables-list { grid-template-columns: repeat(3, 1fr); }
}


/* ─── svc.cta (closing band) ──────────────────────────────────────────── */

/* Closing CTA band — ambient depth, layered radial glows on navy base.
   Rebuilt 2026-05-19 to match the elevated tone of the rest of the page. */
.svc-cta {
  position: relative;
  background:
    radial-gradient(70% 55% at 50% 110%, rgba(249, 115, 22, 0.38) 0%, transparent 65%),
    radial-gradient(65% 55% at 50% -20%, rgba(20, 121, 163, 0.42) 0%, transparent 65%),
    linear-gradient(180deg, #0B1F3A 0%, #07192E 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.svc-cta::before {
  /* Animated dot lattice — drifts slowly across the band. Magic UI
     AnimatedGridPattern equivalent. Pure CSS, no JS, no extra DOM.
     Duration is intentionally slow (90s) so it reads as ambient
     movement, not a kinetic effect. Pause on prefers-reduced-motion. */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: navy-grid-drift 90s linear infinite;
  /* Soft radial mask so the pattern is densest at center, fades at edges */
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 100%);
}
@keyframes navy-grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 64px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-cta::before { animation: none !important; }
}
.svc-cta > * { position: relative; z-index: 1; }

.svc-cta-inner {
  max-width: var(--max-w-narrow, 820px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-4, 16px);
  text-align: center;
}

.svc-cta-heading {
  font-family: var(--font-h, "Poppins", sans-serif);
  font-size: clamp(24px, 6vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

.svc-cta-body {
  font-size: var(--fs-md, 21px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
  max-width: 60ch;
}

.svc-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3, 12px);
  justify-content: center;
  margin-top: var(--s-4, 16px);
}
.svc-cta-actions > a {
  width: 100%;
  justify-content: center;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--touch-min, 48px);
  padding: 14px 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--r-sm, 10px);
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

@media (min-width: 768px) {
  .svc-cta-actions { flex-direction: row; }
  .svc-cta-actions > a { width: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Phase 0 variants — 2026-04-17 service migration.
   Three new components: stat-cards, features, comparison.
   Carry the same 2030 restraint + motion patterns established on industry
   pages (real-estate canary commits fd41ea9..6e4306a).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── svc.stat-cards ──────────────────────────────────────────────────── */

.svc-stat-cards {
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 32px);
}
.svc-stat-cards .container {
  max-width: var(--container, 1200px);
  margin: 0 auto;
}
.svc-stat-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .svc-stat-cards__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .svc-stat-cards__grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}
.svc-stat-card {
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default, rgba(13, 24, 41, 0.12));
  border-radius: var(--radius-md, 10px);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
/* Left-edge accent rail removed 2026-04-21 (Phase 1 kill-list #6).
   Reference sites do not ornament cards with edge rails — Ryan's golden-card
   deprecation. `.svc-stat-card::before` and the scroll-linked
   card-rail-fill animation have been deleted. Card now reads as a flat
   neutral rectangle with hover lift only. */
.svc-stat-card:hover {
  border-color: var(--border-strong, rgba(13, 24, 41, 0.22));
  transform: translateY(-2px);
  box-shadow: var(--elevation-card, 0 8px 24px -12px rgba(7, 25, 46, 0.18));
}
.svc-stat-card__value {
  font-family: var(--font-heading, "Poppins", system-ui, sans-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary, #0D1829);
  line-height: 1;
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}
.svc-stat-card__label {
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary, #3D5266);
  line-height: 1.5;
  margin: 0;
  text-wrap: balance;
}

/* ─── svc.features ────────────────────────────────────────────────────── */

.svc-features {
  padding: clamp(48px, 6vw, 96px) clamp(20px, 4vw, 32px);
  background: var(--surface-subtle, #F4F8FC);
}
.svc-features .container {
  max-width: var(--container, 1200px);
  margin: 0 auto;
}
.svc-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 640px) { .svc-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-features__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.svc-feature {
  position: relative;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default, rgba(13, 24, 41, 0.12));
  border-radius: var(--radius-md, 10px);
  padding: 24px 22px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.svc-feature:hover {
  border-color: var(--border-strong, rgba(13, 24, 41, 0.22));
  transform: translateY(-2px);
  box-shadow: var(--elevation-card);
}
.svc-feature__icon {
  width: 40px; height: 40px;
  margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-accent, #F97316);
  background: rgba(249, 115, 22, 0.06);
  border-radius: var(--radius-sm, 8px);
}
.svc-feature__icon svg { width: 20px; height: 20px; }
.svc-feature__title {
  font-family: var(--font-heading, "Poppins", system-ui, sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary, #0D1829);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.svc-feature__body {
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 14px;
  color: var(--text-secondary, #3D5266);
  line-height: 1.55;
  margin: 0;
}

/* ─── svc.comparison ──────────────────────────────────────────────────── */

.svc-comparison {
  padding: clamp(48px, 6vw, 96px) clamp(20px, 4vw, 32px);
}
.svc-comparison .container {
  max-width: var(--container, 1200px);
  margin: 0 auto;
}
.svc-comparison__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .svc-comparison__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.svc-comparison__col {
  position: relative;
  background: var(--surface-card, #fff);
  border: 1px solid var(--border-default, rgba(13, 24, 41, 0.12));
  border-radius: var(--radius-lg, 14px);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.svc-comparison__col--primary {
  /* Gradient card background removed 2026-04-21 (Phase 1 kill-list #3).
     Reference sites use flat card fills — emphasis comes from border color
     + shadow, not from gradient wash. Primary column now reads via the
     orange-tinted border + card elevation shadow. */
  border-color: rgba(194, 65, 12, 0.28);
  background: var(--surface-card, #fff);
  box-shadow: var(--elevation-card);
}
.svc-comparison__col--alt {
  background: var(--surface-subtle, #F4F8FC);
}
.svc-comparison__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 16px;
}
.svc-comparison__badge--primary {
  color: var(--brand-accent, #F97316);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.24);
}
.svc-comparison__badge--alt {
  color: var(--text-secondary, #3D5266);
  background: rgba(13, 24, 41, 0.04);
  border: 1px solid rgba(13, 24, 41, 0.12);
}
.svc-comparison__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex: 0 0 6px;
  background: currentColor;
}
.svc-comparison__title {
  font-family: var(--font-heading, "Poppins", system-ui, sans-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary, #0D1829);
  margin: 0 0 10px;
  line-height: 1.2;
}
.svc-comparison__summary {
  font-size: 14px;
  color: var(--text-secondary, #3D5266);
  line-height: 1.55;
  margin: 0 0 20px;
}
.svc-comparison__bullets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}
.svc-comparison__bullets li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 13.5px;
  color: var(--text-primary, #0D1829);
  line-height: 1.5;
  border-bottom: 1px solid var(--border-subtle, rgba(13, 24, 41, 0.06));
}
.svc-comparison__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 2px;
  background: var(--border-default, rgba(13, 24, 41, 0.22));
  border-radius: 999px;
}
.svc-comparison__col--primary .svc-comparison__bullets li::before {
  background: var(--brand-accent, #F97316);
}
.svc-comparison__bullets li:last-child { border-bottom: none; }
.svc-comparison__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm, 8px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  min-height: 44px;
}
.svc-comparison__cta--primary {
  background: var(--brand-accent, #F97316);
  color: #fff;
}
.svc-comparison__cta--primary:hover {
  background: var(--brand-accent-bright, #FB923C);
  transform: translateY(-1px);
}
.svc-comparison__cta--alt {
  background: transparent;
  color: var(--text-primary, #0D1829);
  border: 1px solid var(--border-default, rgba(13, 24, 41, 0.22));
}
.svc-comparison__cta--alt:hover {
  background: rgba(13, 24, 41, 0.04);
  border-color: var(--border-strong, rgba(13, 24, 41, 0.3));
}

/* ─── HERO-SLOT STAT CARDS ─────────────────────────────────────────────── */
/* Unified 4-card hero-slot stat grid. Replaces 6 page-prefixed variants
   that were structurally identical with just class-name prefix differences:
     .ob-stat-*   (onboarding)
     .offb-stat-* (offboarding)
     .k401-stat-* (401k-retirement)
     .pm-stat-*   (performance-management)
     .osha-stat-* (osha-safety)
     .lms-stat-*  (learning-management)
   The .svc-hero-stats-* variant is the canonical replacement. Template
   emits this class; page CSS can drop the prefixed rules. */
.svc-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.svc-hero-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px 20px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: background .2s ease, border-color .2s ease;
}
.svc-hero-stat:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}
.svc-hero-stat__num {
  display: block;
  font-family: var(--font-h, "Playfair Display", serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.svc-hero-stat__label {
  display: block;
  font-family: var(--font-b, "Inter", system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.75);
}
@media (max-width: 480px) {
  .svc-hero-stats { grid-template-columns: 1fr; }
}

/* ─── AXIOM SUB-BRAND HERO CARD ────────────────────────────────────────── */
/* Consolidated from 3 Axiom sub-brand pages (bookkeeping / quickbooks-setup /
   tax-preparation) that shipped structurally-identical hero-slot summary
   cards with just the prefix differing: .bk-* / .qb-* / .tp-*.
   This is the canonical replacement. */
.svc-axiom-card {
  background: rgba(7, 25, 46, 0.58);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 24px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  max-width: 380px;
  margin-left: auto;
}
.svc-axiom-card__title {
  font-family: var(--font-h, "Playfair Display", serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.svc-axiom-card__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.svc-axiom-card__ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.svc-axiom-card__ico--purple { background: rgba(196,181,253,.20); }
.svc-axiom-card__ico--teal   { background: rgba(129,230,217,.20); }
.svc-axiom-card__ico--green  { background: rgba(134,239,172,.20); }
.svc-axiom-card__ico svg { width: 18px; height: 18px; fill: none; stroke-width: 1.8; }
.svc-axiom-card__ico--purple svg { stroke: #C4B5FD; }
.svc-axiom-card__ico--teal   svg { stroke: #81E6D9; }
.svc-axiom-card__ico--green  svg { stroke: #86EFAC; }
.svc-axiom-card__text-main {
  font-family: var(--font-b, "Inter", system-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}
.svc-axiom-card__text-sub {
  font-family: var(--font-b, "Inter", system-ui, sans-serif);
  font-size: 12px;
  color: rgba(255,255,255,.60);
  margin-top: 2px;
}

/* ─── LOGO STRIP ───────────────────────────────────────────────────────── */
/* Institutional trust row below hero. Grayscale by default, color on hover
   per canonical VSHR pattern (restraint — logos should support, not
   dominate). Responsive: wrap on narrow, center on mobile. */
.svc-logos {
  background: #fff;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(13,24,41,.06);
}
.svc-logos__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.svc-logos__label {
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #5B6B7E);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  flex-shrink: 0;
}
.svc-logos__row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.svc-logos__img {
  height: 28px;
  width: auto;
  opacity: .58;
  filter: grayscale(100%);
  transition: opacity .2s ease, filter .2s ease;
}
.svc-logos__img:hover {
  opacity: .95;
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .svc-logos { padding: 20px 16px; }
  .svc-logos__inner { gap: 16px; }
  .svc-logos__row { gap: 20px; }
  .svc-logos__img { height: 22px; }
}
@media (max-width: 480px) {
  /* M3 audit fix (2026-05-13): label was flex-shrink:0 with letter-spacing
     1.2px, so longer labels like "Trusted by 500+ small-employer retirement
     plans" forced ~197px horizontal overflow on 19 service pages at 375.
     Allow the label to shrink + wrap on small mobile, center it. */
  .svc-logos__inner { flex-direction: column; gap: 12px; }
  .svc-logos__label {
    flex-shrink: 1;
    text-align: center;
    line-height: 1.4;
    letter-spacing: .08em;
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* ─── MID-CTA ──────────────────────────────────────────────────────────── */
/* Ported from payroll-page.css .pay-midcta (Wave 1 / Boil-the-Ocean). */
.svc-midcta {
  /* Gradient band background replaced 2026-04-21 (Phase 1 kill-list #3).
     Per DIRECTION-2026-04-21: "Keep gradients ONLY for the hero navy-grain
     and per-slug hero-bg imagery." Mid-CTA is a section band, not a hero —
     solid navy matches the `.svc-proof` and `.svc-cta` bands and reads more
     honest than the 135deg wash it replaces. */
  background: var(--navy, #07192E);
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}
.svc-midcta::before {
  /* Ambient radial accents — decorative color lifts, low opacity so
     the band stays navy-dominant. Layered with an animated dot grid
     (::after) below for premium ambient motion. */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(41,171,226,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 50%, rgba(249,115,22,.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
/* Animated dot lattice — paired with ::before radial accents above */
.svc-midcta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: navy-grid-drift 100s linear infinite;
  mask-image: radial-gradient(65% 65% at 50% 50%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(65% 65% at 50% 50%, #000 25%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .svc-midcta::after { animation: none !important; }
}
.svc-midcta__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.svc-midcta__text { flex: 1; }
.svc-midcta__h2 {
  font-family: var(--font-h);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.svc-midcta__sub {
  font-family: var(--font-b);
  font-size: 16px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 480px;
}
.svc-midcta__actions {
  display: flex;
  flex-direction: column; /* desktop: stack primary CTA over phone for visual weight */
  gap: 10px;
  flex-shrink: 0;
  align-items: flex-end;
  text-align: right;
}
.svc-midcta__actions .btn-primary {
  min-width: 240px;
  justify-content: center;
  text-align: center;
}
.svc-midcta__actions .btn-tel {
  color: rgba(255,255,255,.72);
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}
.svc-midcta__actions .btn-tel:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .svc-midcta { padding: 48px 24px; }
  .svc-midcta__inner { flex-direction: column; gap: 28px; text-align: center; }
  .svc-midcta__sub { max-width: 100%; }
  .svc-midcta__actions { width: 100%; align-items: center; text-align: center; }
  .svc-midcta__actions .btn-primary { width: 100%; min-width: 0; }
}

/* ─── PROOF BAR ────────────────────────────────────────────────────────── */
/* Ported from payroll-page.css .sec-proof + .stats-strip + .testimonial-block. */
.svc-proof {
  background: var(--navy, #07192E);
  padding: 80px 32px 56px;
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.svc-proof::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(41,171,226,.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* Animated dot lattice — matches the closing CTA + mid-CTA bands so all
   navy sections share the same ambient motion language. */
.svc-proof::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: navy-grid-drift 110s linear infinite;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 25%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .svc-proof::after { animation: none !important; }
}
.svc-proof__inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.svc-proof__eyebrow {
  color: rgba(255,255,255,.6);
  text-align: center;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}
.svc-proof__h2 {
  color: #fff;
  text-align: center;
  font-family: var(--font-h);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 auto 48px;
  max-width: 640px;
}
.svc-proof__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 56px;
}
.svc-proof__stat {
  text-align: center;
  padding: 16px;
  position: relative;
}
.svc-proof__stat:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 48px;
  background: rgba(255,255,255,.12);
}
.svc-proof__num {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.svc-proof__sfx {
  font-size: 32px;
  font-weight: 700;
}
.svc-proof__label {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.6);
}
.svc-proof__slot {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 768px) {
  .svc-proof { padding: 56px 20px 40px; }
  .svc-proof__stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
    margin-bottom: 40px;
  }
  /* 2x2 grid on mobile — no vertical dividers needed.
     Grid gap creates the visual separation between cells. */
  .svc-proof__stat::after { display: none; }
  .svc-proof__num { font-size: 36px; }
  .svc-proof__label { font-size: 13px; }
}

/* ─── CUSTOMER STORIES ─────────────────────────────────────────────────── */
/* Light "golden card" treatment — per feedback_golden_card_style memory
   (solid white cards + hairline border + left-edge accent + premium
   restraint). Also breaks the 4-dark-band sequence on payroll (platform /
   mid-cta / proof / stories) by sitting on an off-white palate cleanser. */
.svc-stories {
  background: var(--off, #F4F8FC);
  padding: 80px 32px;
  color: var(--navy, #07192E);
}
.svc-stories__inner {
  max-width: 960px;
  margin: 0 auto;
}
.svc-stories__h2 {
  color: var(--navy, #07192E);
  text-align: center;
  font-family: var(--font-h);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.svc-stories__sub {
  color: var(--muted, #5B6B7E);
  text-align: center;
  font-family: var(--font-b);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.svc-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px auto 0;
}
/* Card — premium case-study tile (rebuilt 2026-05-19).
   Pattern: split metric (before → after) with color-coded delta, decorative
   quote mark, gradient accent rail on hover, layered shadow elevation.
   Tones cycle per index (emerald/indigo/amber/rose/blue) so a 3-card row
   reads as distinct case studies, not identical tiles. */
.svc-stories__card {
  --story-accent: #1479A3;
  --story-accent-soft: rgba(20, 121, 163, 0.08);

  position: relative;
  background: #fff;
  border: 1px solid rgba(13, 24, 41, 0.06);
  border-radius: 16px;
  padding: 36px 28px 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 1px 2px rgba(13, 24, 41, 0.04),
    0 0 0 1px rgba(13, 24, 41, 0.02);
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s cubic-bezier(.22, 1, .36, 1),
    border-color .35s ease;
}
/* Top accent rail — scales from 0→100% on hover */
.svc-stories__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
              var(--story-accent) 0%,
              color-mix(in oklab, var(--story-accent) 60%, #F97316) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  z-index: 2;
}
/* Corner glow — soft accent wash, fades in on hover */
.svc-stories__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 80% at 100% 0%,
              var(--story-accent-soft) 0%,
              transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
  pointer-events: none;
}
.svc-stories__card > * { position: relative; z-index: 1; }
.svc-stories__card:hover,
.svc-stories__card:focus-within {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--story-accent) 18%, transparent);
  box-shadow:
    0 24px 48px -24px color-mix(in oklab, var(--story-accent) 30%, rgba(13,24,41,.18)),
    0 8px 20px -8px rgba(13, 24, 41, 0.06);
}
.svc-stories__card:hover::before,
.svc-stories__card:focus-within::before { transform: scaleX(1); }
.svc-stories__card:hover::after,
.svc-stories__card:focus-within::after { opacity: 1; }

/* Tone modifiers — accent token per industry slot */
.svc-stories__card--emerald { --story-accent: #15803D; --story-accent-soft: rgba(21, 128, 61, 0.10); }
.svc-stories__card--indigo  { --story-accent: #4338CA; --story-accent-soft: rgba(67, 56, 202, 0.10); }
.svc-stories__card--amber   { --story-accent: #F97316; --story-accent-soft: rgba(249, 115, 22, 0.10); }
.svc-stories__card--rose    { --story-accent: #BE185D; --story-accent-soft: rgba(190, 24, 93, 0.10); }
.svc-stories__card--blue    { --story-accent: #1479A3; --story-accent-soft: rgba(20, 121, 163, 0.10); }

/* Decorative quote-mark — large, soft, top-right of card */
.svc-stories__quote-mark {
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: Georgia, "Source Serif Pro", serif;
  font-size: 84px;
  line-height: 1;
  font-weight: 700;
  color: color-mix(in oklab, var(--story-accent) 14%, transparent);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}

/* Metric — split before / arrow / after */
.svc-stories__metric {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: 0;
  font-family: var(--font-h);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.svc-stories__metric-before {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
  text-decoration-color: rgba(148, 163, 184, 0.45);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.svc-stories__metric-arrow {
  display: inline-flex;
  align-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--story-accent);
  transform: translateY(2px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.svc-stories__card:hover .svc-stories__metric-arrow {
  transform: translateY(2px) translateX(4px);
}
.svc-stories__metric-after {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--story-accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
}

/* Story body — testimonial-feel, divider above */
.svc-stories__story {
  font-family: var(--font-b);
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(13, 24, 41, 0.06);
}

/* Attribution — small caps chip below story */
.svc-stories__attr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.svc-stories__attr::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--story-accent);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .svc-stories { padding: 56px 20px; }
  .svc-stories__grid { grid-template-columns: 1fr; max-width: 480px; gap: 16px; }
  .svc-stories__card { padding: 32px 24px 24px; }
  .svc-stories__quote-mark { font-size: 64px; top: 4px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-stories__card,
  .svc-stories__card::before,
  .svc-stories__card::after,
  .svc-stories__metric-arrow { transition: none !important; }
  .svc-stories__card:hover { transform: none; }
  .svc-stories__card:hover::before { transform: scaleX(1); }
  .svc-stories__card:hover .svc-stories__metric-arrow { transform: translateY(2px); }
}

/* ─── PLATFORM PREVIEW ─────────────────────────────────────────────────── */
/* Ported from payroll-page.css .sec-platform + .platform-tabs + .browser-*. */
.svc-platform {
  background: var(--navy, #07192E);
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.svc-platform::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 30% 60%, rgba(41,171,226,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 30%, rgba(249,115,22,.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
/* Animated dot lattice — matches closing CTA + mid-CTA + proof-bar so all
   navy sections share one ambient motion language. Slower duration on
   this band since it's taller and more content-dense; visibility lower
   too so the dashboard mockup reads cleanly above the texture. */
.svc-platform::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: navy-grid-drift 120s linear infinite;
  mask-image: radial-gradient(75% 75% at 50% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 20%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .svc-platform::after { animation: none !important; }
}
.svc-platform__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  /* 2026-05-05: centered the inner so heading + tabs + mockup share one
     visual rhythm. Previously eyebrow/h2/subtitle were left-aligned while
     tabs and panels rendered centered, which read as 2 sections in 1. */
  text-align: center;
}
.svc-platform__eyebrow {
  color: rgba(255,255,255,.76);
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}
.svc-platform__h2 {
  color: #fff;
  font-family: var(--font-h);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.svc-platform__sub {
  color: rgba(255,255,255,.82);
  font-family: var(--font-b);
  font-size: 16px;
  max-width: 640px;
  margin-left: auto;       /* center the constrained subtitle */
  margin-right: auto;
  margin-bottom: 32px;
}
.svc-platform__tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 4px;
  max-width: 480px;
  margin-left: auto;       /* center the tab strip explicitly */
  margin-right: auto;
  margin-bottom: 32px;
}
.svc-platform__tab {
  flex: 1;
  min-height: 44px; /* WCAG 2.5.5 / Apple HIG touch target */
  padding: 12px 16px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.76);
  background: transparent;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: all .2s var(--ease, cubic-bezier(.2,.65,.3,1));
  text-align: center;
}
.svc-platform__tab:hover {
  color: rgba(255,255,255,.95);
}
.svc-platform__tab:focus-visible {
  outline: 2px solid #1779B8;
  outline-offset: 2px;
}
.svc-platform__tab.active,
.svc-platform__tab[aria-selected="true"] {
  background: rgba(255,255,255,.14);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.06);
}
.svc-platform__panels { position: relative; }
.svc-platform__panel {
  display: none;
  animation: svcPlatformFade .35s var(--ease, cubic-bezier(.2,.65,.3,1));
}
.svc-platform__panel.active { display: block; }
@keyframes svcPlatformFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.svc-browser {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 20px 48px rgba(0,0,0,.35));
  max-width: 900px;
  margin: 0 auto;          /* center the browser mockup within the inner */
  text-align: left;        /* reset to left for the mockup's internal layout */
}
.svc-browser__bar {
  height: 36px;
  background: var(--navy-2, #0D2B45);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
}
.svc-browser__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.svc-browser__dot--r { background: #FF5F57; }
.svc-browser__dot--y { background: #FFBD2E; }
.svc-browser__dot--g { background: #28CA41; }
.svc-browser__body {
  background: rgba(255,255,255,.045);
  /* Reduced blur 16px→6px per golden-card-style memory: premium = restraint,
     not playful glass. Keep a hint of blur so mock text behind the frame
     softens rather than competes; kill the 'frosted-glass app' feel. */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  border-top: none;
  padding: 28px;
  min-height: 320px;
}
.svc-browser__caption {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.76);
  text-align: center;
  margin-top: 16px;
}

/* CTA at the section bottom — closes the platform preview as a unit
   instead of leaving the visitor stranded after the mockup. Optional;
   only renders when ctaText/ctaHref props are passed. */
.svc-platform__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.svc-platform__cta-secondary {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 180ms ease-out;
}
.svc-platform__cta-secondary:hover,
.svc-platform__cta-secondary:focus-visible {
  color: #fff;
  outline: none;
}

@media (max-width: 768px) {
  .svc-platform { padding: 64px 20px; }
  .svc-platform__tabs { max-width: 100%; }
  .svc-platform__tab { padding: 10px 10px; font-size: 12px; }
  .svc-browser__body { padding: 20px 16px; min-height: 280px; }
  .svc-platform__cta { gap: 16px; margin-top: 28px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   Phase 0 — mobile grid safety net (2026-04-21)

   Several bespoke page CSS files ship their own responsive rules in
   gitignored public/*-page.css. An earlier export introduced `@@media`
   (Blade-escape artifact) into a handful of those files, silently
   voiding mobile breakpoints on /faqs/, /case-studies/, /contact/,
   and /services/. Result: 2-3-col grids kept rendering at 375px.

   This block is a defense-in-depth collapse at ≤767px for any grid
   class the audit flagged. !important is required to beat the bespoke
   `grid-template-columns: repeat(N, 1fr)` rules that weren't being
   overridden. Scoped narrowly to the known-failing selectors so this
   doesn't bulldoze intentional desktop layouts.
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* /faqs/ — FAQ accordion grid + compliance calendar */
  .faq-grid,
  .calendar,
  /* /case-studies/ — industry category cards + case tiles */
  .cs-industries,
  .cs-tiles,
  .cs-grid,
  [class*="case-studies"][class*="-grid"],
  /* /contact/ — 2-col feature list + contact methods */
  .contact-feature-grid,
  .contact-methods,
  [class*="contact"][class*="-grid"],
  [class*="contact"][class*="-cols"],
  /* /services/ — "What You Actually Get" right-side card + hub category grid */
  .svch-cats-wrap,
  .svch-cat-row {
    grid-template-columns: 1fr !important;
  }

  /* Prevent horizontal overflow on any grid-like container */
  .faq-grid,
  .calendar,
  .cs-industries,
  .cs-tiles,
  .cs-grid,
  .contact-feature-grid,
  .contact-methods {
    max-width: 100% !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Phase 0 — mobile hero visual stacking guard (2026-04-21)

   Audit flagged /onboarding/, /services/, and /home/ for "mobile hero
   photo/text collision" — right-column product/person imagery rendering
   over the left-column H1 at 375px. Root cause was bespoke page-css
   with absolute-positioned visuals that lost their mobile breakpoint
   (same @@media artifact as the grid bug).

   Force the right-column hero visual back into the document flow at
   mobile so it stacks BELOW the headline. Applies to any hero-visual
   pattern across home, service, and industry pages.
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .svc-hero-visual,
  .ind-hero-visual,
  .hero-visual,
  .hero-right,
  .hero-mockup,
  [class*="hero"][class*="visual"],
  [class*="hero"][class*="mockup"],
  [class*="hero"][class*="right"] {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px !important;
    transform: none !important;
    float: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHASE 2 — SHARED EDITORIAL COMPONENTS (2026-04-21)

   Source of truth: _strategy/10x/DIRECTION-2026-04-21.md (Phase 2 section).

   Three new composition partials + reveal motion, to be consumed by
   Phase 3 page-rebuild agents:

     - <x-content-split>     → .content-split   (editorial text/image block)
     - <x-stats-band>        → .stats-band      (4-up tabular figures)
     - <x-testimonial-simple>→ .testimonial-simple (single-quote flat tile)
     - .reveal / .is-visible → IntersectionObserver fade-up (public/reveal.js)

   Editorial-flat by design: no card shadows, no borders, no gradient overlays.
   Cards are reserved for pricing / capability grids / testimonial tiles (and
   even then, flat fill + 10px radius, no ornament). Cf. best-in-class research
   §5 (spacing), §2 (hero), §4 (color discipline).

   All components inherit --sec-py from Phase 1 via the shared .sec class.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── content-split ───────────────────────────────────────────────────────── */
/* Upgraded 2026-04-21 (Track 2 primitives-fidelity pass):
     - Image panel: 16px radius, layered shadow (Linear card elevation)
     - Optional gradient bleed from edge via .content-split--bleed-left/right
     - Text column: line-height 1.65, body 17px, max-width 48ch
     - H2 retains its token scale; if template wraps a key word in
       <span class="grad-word">, our canonical gradient applies.
   No template edits needed — hooks pre-exist. */

.content-split {
  background: var(--neutral-0);
  position: relative;
}

.content-split__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.content-split__eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 12px;
}

.content-split__heading {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--neutral-900);
  margin: 0 0 16px 0;
}

.content-split__prose,
.content-split__prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--neutral-500);
  margin: 0 0 24px 0;
  max-width: 48ch;
}

.content-split__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.content-split__image {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--neutral-100);
  /* Layered shadow — soft depth, not heavy. Linear / Stripe product tile. */
  box-shadow:
    0 16px 48px rgba(10, 20, 40, 0.10),
    0 2px 8px rgba(10, 20, 40, 0.06);
}

.content-split__image > img,
.content-split__image > picture,
.content-split__image > picture > img,
.content-split__image > svg,
.content-split__image > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional gradient bleed — soft brand-navy tint fading in from the image
   edge. Opt-in via --bleed-left / --bleed-right variant classes so pages
   that don't want it stay clean. 8% at the edge → 0% at 40% inward. */
.content-split--bleed-right::before,
.content-split--bleed-left::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(
    to left,
    rgba(7, 25, 46, 0.08) 0%,
    rgba(7, 25, 46, 0.00) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.content-split--bleed-right::before { right: 0; }
.content-split--bleed-left::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(7, 25, 46, 0.08) 0%,
    rgba(7, 25, 46, 0.00) 100%
  );
}

@media (min-width: 1024px) {
  .content-split__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  /* Default is text left, image right (DOM order). */
  .content-split--right .content-split__text  { order: 1; }
  .content-split--right .content-split__image { order: 2; }
  /* Flip for image-left variant — image column comes first visually. */
  .content-split--left  .content-split__text  { order: 2; }
  .content-split--left  .content-split__image { order: 1; }
}


/* ── stats-band ──────────────────────────────────────────────────────────── */
/* Upgraded 2026-04-21 (Track 2 primitives-fidelity pass):
     - Subtle center-top radial gradient backdrop (8% brand navy → transparent)
     - First stat (hero stat, largest number) gets .grad-word gradient treatment
     - Tabular figures preserved via .tab-nums utility (emitted by blade)
     - 1px divider between stat columns at 12% brand, desktop-only
   No template edits needed — hero-stat accent applies to :first-child,
   which is stable across current usages (all callers put the headline
   number first). If a page wants a different order, they can add a class. */

.stats-band {
  background: var(--neutral-0);
  position: relative;
  overflow: hidden;
}

/* Center-top radial atmospheric backdrop — very soft, reads as depth not
   color. 8% brand-navy fades to transparent at ~50% radius. */
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 50% at 50% 0%,
    rgba(7, 25, 46, 0.08) 0%,
    rgba(7, 25, 46, 0.00) 70%
  );
  pointer-events: none;
  z-index: 0;
}

.stats-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.stats-band__eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 12px;
}

.stats-band__heading {
  font-size: var(--h2);
  font-weight: 700;
  /* Tighter line-height — 1.15 left too much air between the two visual lines
     of the headline. 1.05 is firm without clipping descenders for non-descender
     copy like this. Combined with reduced top margin, the headline reads as
     one tight unit instead of a stretched-out title. */
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--neutral-900);
  margin: 0 0 10px 0;
}
/* Stats-band heading override: re-apply the premium type bump (font-size
   44px) that we just opted out of via the :not([class*="stats-band"])
   exclusions, while keeping the tighter 1.05 line-height that drove the
   exclusion in the first place. End result: same visual scale as before,
   but vertically tightened so the two-line headline reads as one unit. */
body.premium section.stats-band h2.stats-band__heading {
  font-size: clamp(30px, 3vw + 0.5rem, 44px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.018em !important;
  font-weight: 800 !important;
}

.stats-band__subtitle {
  font-size: var(--body);
  line-height: var(--line-body);
  color: var(--neutral-500);
  margin: 0 0 40px 0;
  max-width: 640px;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.stats-band__stat {
  /* No cards, no borders, no icons — just type + an optional divider. */
  position: relative;
  padding-left: 20px;
}
.stats-band__stat:first-child {
  padding-left: 0;
}

.stats-band__value {
  font-size: var(--stat);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
  text-wrap: nowrap;
}
/* Small inline qualifier (e.g. "Up to") so a word-prefixed stat stays on ONE
   line and the big figure keeps the same scale + baseline as its neighbours.
   A two-line value used to tower over the row and drop its label out of line. */
.stats-band__value-pre {
  font-size: 0.4em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--neutral-500);
  margin-right: 0.16em;
  vertical-align: baseline;
  white-space: nowrap;
}

/* Hero stat — the first (typically largest, most-quoted) number gets the
   canonical 5-stop brand gradient. This treatment matches .grad-word /
   .svc-accent elsewhere, so the entire site reads as one system. */
.stats-band__grid .stats-band__stat:first-child .stats-band__value {
  background-image: linear-gradient(135deg, #F7D44C 0%, #F07128 28%, #E8125C 62%, #7B21A2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Fallback for engines that fail background-clip: text */
  background-color: var(--brand, #07192E);
}

.stats-band__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-500);
  margin-top: 8px;
}

.stats-band__context {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-500);
  margin-top: 6px;
}

/* Desktop — restore 4-up grid + add subtle column dividers. */
@media (min-width: 1024px) {
  .stats-band__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .stats-band__stat {
    padding-left: 40px;
  }
  .stats-band__stat:first-child {
    padding-left: 0;
  }
  /* 1px column divider at 12% brand-navy — hairline, not a rule. */
  .stats-band__stat:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(7, 25, 46, 0.12);
    pointer-events: none;
  }
}


/* ── testimonial-simple ──────────────────────────────────────────────────── */
/* Upgraded 2026-04-21 (Track 2 primitives-fidelity pass):
     - Kill flat gray. Card now has backdrop-filter blur + soft hairline
       border + soft brand-tinted shadow (Linear customer testimonials +
       Vercel case-study card composition).
     - 3px left accent bar (navy → orange gradient, fades top→bottom)
     - Portrait photo: 56px desktop / 48px mobile, subtle hairline ring
     - Monogram fallback via .testimonial-simple__photo--fallback class
       that pages can apply when no headshot exists (rendered gradient tile)
     - Company logo slot at bottom-right — styled for an optional <img> that
       templates may add later via the attribution['logo'] path. DOM hook
       selector `.testimonial-simple__logo` is reserved; CSS-only for now. */

.testimonial-simple {
  background: var(--neutral-0);
}

.testimonial-simple__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 44px 40px 48px;
  position: relative;
  /* Translucent canvas + backdrop blur — Linear / Notion customer tile. */
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(7, 25, 46, 0.10);
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(10, 20, 40, 0.06);
  overflow: hidden;
}

/* Left accent bar — thin brand gradient, fades top→bottom. Distinct from
   the deprecated golden-card left rule (that ornament was a 4px solid accent
   on every card with a breathing glow). This is a single 3px bar on a
   hero-weight primitive with a premium SaaS pattern (Linear, Stripe case
   studies). */
.testimonial-simple__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    #07192E 0%,
    #F97316 70%,
    rgba(249, 115, 22, 0) 100%
  );
  pointer-events: none;
}

/* Mobile — lose the blur (perf on low-end Android) + tighten padding. */
@media (max-width: 767px) {
  .testimonial-simple__inner {
    padding: 32px 28px 32px 32px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.96);
  }
}

.testimonial-simple__quote {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--neutral-900);
  margin: 0;
  position: relative;
  /* No decorative giant quotes. */
  quotes: none;
}
.testimonial-simple__quote::before,
.testimonial-simple__quote::after {
  content: '';
}

.testimonial-simple__attribution {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  position: relative;
}

.testimonial-simple__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  /* Subtle hairline ring — keeps portraits from looking pasted-on. */
  box-shadow:
    0 0 0 1px rgba(7, 25, 46, 0.10),
    0 1px 3px rgba(10, 20, 40, 0.08);
  background: linear-gradient(135deg, #0D2B45 0%, #1479A3 100%);
}

/* Monogram fallback — pages without a headshot can replace <img> with
   <div class="testimonial-simple__photo testimonial-simple__photo--fallback">JS</div>
   for a branded gradient tile + initials. */
.testimonial-simple__photo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, "Poppins", system-ui, sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #07192E 0%, #1479A3 60%, #F97316 140%);
}

.testimonial-simple__meta {
  min-width: 0;
  flex: 1 1 auto;
}

.testimonial-simple__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.3;
}

.testimonial-simple__title {
  font-size: 14px;
  font-weight: 400;
  color: var(--neutral-500);
  line-height: 1.4;
  margin-top: 2px;
}

/* Company-logo slot — right-aligned, 32px height, grayscale 60% opacity.
   Selector is reserved for a future attribution['logo'] path; applies
   today when markup pages already add <img class="testimonial-simple__logo">
   or a data-driven wrapper. Flex-shrink:0 keeps it from squeezing the meta. */
.testimonial-simple__logo {
  height: 32px;
  width: auto;
  margin-left: auto;
  filter: grayscale(1);
  opacity: 0.6;
  flex-shrink: 0;
  align-self: center;
  transition: opacity 200ms ease-out, filter 200ms ease-out;
}
.testimonial-simple__logo:hover {
  filter: grayscale(0);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .testimonial-simple__quote {
    font-size: 22px;
    line-height: 1.55;
  }
  .testimonial-simple__photo {
    width: 56px;
    height: 56px;
  }
  .testimonial-simple__photo--fallback {
    font-size: 18px;
  }
}

/* Compact variant — tighter padding, smaller photo, no accent bar. */
.testimonial-simple--compact .testimonial-simple__inner {
  padding: 28px 32px;
}
.testimonial-simple--compact .testimonial-simple__inner::before {
  display: none;
}
.testimonial-simple--compact .testimonial-simple__quote {
  font-size: 17px;
}
.testimonial-simple--compact .testimonial-simple__photo {
  width: 40px;
  height: 40px;
}


/* ── .reveal motion (paired with public/reveal.js) ───────────────────────── */
/* Upgraded 2026-04-21 (Track 2 primitives-fidelity pass):
     - translateY(16px) → translateY(0)
     - blur(6px) → blur(0)
     - opacity 0 → 1
     - Linear-style spring ease: cubic-bezier(0.22, 1, 0.36, 1), 600ms
     - Explicit reveal-d1…d6 classes retained (used widely by templates)
       but stagger timing tightened to 40ms per step (Linear cadence).
     - Auto-stagger hook: children of [data-reveal-group] inherit a
       --reveal-stagger-i index from reveal.js, computed as i × 40ms.
     - prefers-reduced-motion: opacity-only, no transform/blur. */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-stagger-i, 0) * 40ms);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Explicit delay classes (used by blade components — stats-band, etc.)
   Tightened from 60ms to 40ms per step to match Linear cadence. */
.reveal-d1.is-visible { transition-delay:   0ms; }
.reveal-d2.is-visible { transition-delay:  40ms; }
.reveal-d3.is-visible { transition-delay:  80ms; }
.reveal-d4.is-visible { transition-delay: 120ms; }
.reveal-d5.is-visible { transition-delay: 160ms; }
.reveal-d6.is-visible { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity 200ms linear;
    transition-delay: 0ms;
  }
}

/* ────────────────────────────────────────────────────────────────────────
   .team-bench-strip.team-bench-strip--open  — LIQUID GLASS SPECIALIST BOARD
   Restored 2026-04-21 from HTML reference (economy-creator-ste-product).
   Pastel-mesh bg, translucent crystal header card, photo-card pillars with
   3D hover. Sitewide standard per 2026-04-16 design directive.
   Port source: /tmp/html-site.css lines 6284-6640
   ──────────────────────────────────────────────────────────────────────── */

/* Base container (non --open fallback) */
.team-bench-strip {
  background: linear-gradient(160deg, #F0F7FD 0%, #FEFBF7 60%, #F4F8FC 100%);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}
.team-bench-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.team-bench-strip__head {
  text-align: center;
  margin-bottom: 36px;
}
.team-bench-strip__row {
  display: grid;
  /* auto-fit + minmax keeps card width consistent across pages with 3 vs 7
     specialists. Unused tracks collapse, and justify-content centers the
     resulting group instead of left-anchoring it in a 7-track grid.
     Cap = 152px so all 7 specialists still fit on one row at 1200px inner
     (7*152 + 6*22 = 1196). Smaller card counts stay at 152px and center. */
  grid-template-columns: repeat(auto-fit, minmax(140px, 152px));
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.team-bench-strip__person {
  background: #fff;
  border: 1px solid rgba(7,25,46,.08);
  border-radius: 10px;
  padding: 18px 12px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(7,25,46,.04), 0 1px 4px rgba(7,25,46,.03);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.team-bench-strip__person:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(7,25,46,.08), 0 0 0 1.5px rgba(41,171,226,.18);
  border-color: rgba(41,171,226,.22);
}
.team-bench-strip__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 12px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(7,25,46,.08);
  background: #EFF3F7;
}
.team-bench-strip__name {
  font-family: var(--font-h, 'Poppins', sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #07192E);
  line-height: 1.25;
  margin-bottom: 4px;
}
.team-bench-strip__role {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted, #5B6B7E);
  line-height: 1.35;
}

/* LIQUID GLASS TREATMENT — the beautiful rainbow */
.team-bench-strip.team-bench-strip--open {
  background: #FBFDFF;
  padding: 96px 32px 80px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  perspective: 1200px;
}
.team-bench-strip.team-bench-strip--open::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 48% at 22% 22%, rgba(41,171,226,.55) 0%, transparent 62%),
    radial-gradient(ellipse 44% 42% at 78% 28%, rgba(249,115,22,.42) 0%, transparent 60%),
    radial-gradient(ellipse 48% 48% at 50% 72%, rgba(123,33,162,.35) 0%, transparent 62%),
    radial-gradient(ellipse 42% 42% at 10% 82%, rgba(16,185,129,.38) 0%, transparent 60%),
    radial-gradient(ellipse 38% 38% at 90% 80%, rgba(232,18,92,.30) 0%, transparent 60%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.team-bench-strip.team-bench-strip--open::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.40 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  mix-blend-mode: multiply;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__inner {
  position: relative;
  z-index: 1;
}

/* Crystal header card */
.team-bench-strip.team-bench-strip--open .team-bench-strip__head {
  position: relative;
  max-width: 780px;
  margin: 0 auto 56px;
  padding: 38px 52px 34px;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(22px) saturate(2.0);
  -webkit-backdrop-filter: blur(22px) saturate(2.0);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 32px;
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,.90),
    inset 0 -2px 2px rgba(13,24,41,.06),
    inset 2px 0 2px rgba(255,255,255,.40),
    inset -2px 0 2px rgba(255,255,255,.30),
    0 2px 4px rgba(13,24,41,.04),
    0 14px 36px -14px rgba(13,24,41,.14),
    0 36px 84px -32px rgba(13,24,41,.18);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition:
    transform 380ms cubic-bezier(.34,1.56,.64,1),
    background 380ms ease-out,
    border-color 380ms ease-out,
    box-shadow 380ms ease-out;
  will-change: transform;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__head::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.95) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__head::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.04) 65%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__head:hover {
  transform: translateY(-6px) scale(1.012) rotateX(3deg);
  background: rgba(255,255,255,.34);
  border-color: rgba(255,255,255,.7);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,1),
    inset 0 -2px 2px rgba(13,24,41,.05),
    inset 2px 0 2px rgba(255,255,255,.50),
    inset -2px 0 2px rgba(255,255,255,.38),
    0 4px 8px rgba(13,24,41,.06),
    0 28px 60px -22px rgba(13,24,41,.22),
    0 60px 140px -36px rgba(41,171,226,.32);
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__head > * {
  position: relative;
  z-index: 1;
}

/* Eyebrow with brand dashes */
.team-bench-strip.team-bench-strip--open .team-bench-strip__eyebrow {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #1366A0;
  margin-bottom: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__eyebrow::before,
.team-bench-strip.team-bench-strip--open .team-bench-strip__eyebrow::after {
  content: '';
  width: 18px;
  height: 1px;
  background: #1366A0;
  opacity: .55;
}

/* Title + sub */
.team-bench-strip.team-bench-strip--open .team-bench-strip__title {
  font-family: var(--font-h, 'Poppins', sans-serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.08;
  color: #0D1829;
  margin: 0 0 10px;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__sub {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 16px;
  color: #5B6B7E;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Row + person photo-card pillars */
.team-bench-strip.team-bench-strip--open .team-bench-strip__row {
  max-width: 1240px;
  margin: 0 auto;
  gap: 22px;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__person {
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(18px) saturate(1.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,.95),
    inset 0 -1px 1px rgba(13,24,41,.04),
    0 1px 2px rgba(13,24,41,.04),
    0 12px 28px -14px rgba(13,24,41,.14);
  transform-style: preserve-3d;
  transition:
    transform 320ms cubic-bezier(.34,1.56,.64,1),
    background 320ms ease-out,
    box-shadow 320ms ease-out,
    border-color 320ms ease-out;
  will-change: transform;
  padding: 22px 14px 18px;
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__person:hover {
  transform: translateY(-6px) scale(1.04) rotateX(4deg);
  background: rgba(255,255,255,.82);
  border-color: rgba(41,171,226,.35);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 1px rgba(13,24,41,.04),
    0 2px 4px rgba(13,24,41,.06),
    0 22px 44px -18px rgba(41,171,226,.28),
    0 36px 72px -28px rgba(13,24,41,.18);
}
.team-bench-strip.team-bench-strip--open .team-bench-strip__photo {
  width: 92px;
  height: 92px;
}

/* Responsive */
@media (max-width: 1024px) {
  .team-bench-strip__row {
    /* Same auto-fit behavior at tablet; row centers itself regardless of
       how many specialists a page lists. */
    grid-template-columns: repeat(auto-fit, minmax(140px, 152px));
  }
}
@media (max-width: 720px) {
  .team-bench-strip { padding: 40px 16px; }
  .team-bench-strip.team-bench-strip--open { padding: 64px 20px 56px; }
  .team-bench-strip.team-bench-strip--open .team-bench-strip__head {
    padding: 28px 24px 24px;
    max-width: 100%;
    border-radius: 22px;
  }
  .team-bench-strip__title { font-size: 22px; }
  .team-bench-strip.team-bench-strip--open .team-bench-strip__title { font-size: 26px; }
  .team-bench-strip__row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .team-bench-strip__person { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .team-bench-strip.team-bench-strip--open .team-bench-strip__head,
  .team-bench-strip.team-bench-strip--open .team-bench-strip__person { transition: none; }
  .team-bench-strip.team-bench-strip--open .team-bench-strip__head:hover,
  .team-bench-strip.team-bench-strip--open .team-bench-strip__person:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PHASE 1 DEGRADATION RESTORATION — 2026-04-21
   Synthesizes findings from 4-agent audit comparing Sage to HTML ref.
   Ports missing atmospheric treatments, type scale, motion timing,
   and section-bridge gradients that were lost in the Sage migration.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Testimonial-pull (was UNSTYLED — Agent 2 finding A) ─────────────────
   Ships inside svc-proof dark band via proof-bar default slot. Also works
   standalone on light surface via :not(.svc-proof *) default colors. */
.svc-testimonial-pull {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 40px 32px 28px;
  text-align: center;
  position: relative;
  font-family: var(--font-b, 'Inter', sans-serif);
}
.svc-testimonial-pull::before {
  content: '\201C';
  display: block;
  font-family: var(--font-h, 'Poppins', sans-serif);
  font-size: 72px;
  font-weight: 800;
  color: rgba(41,171,226,.28);
  line-height: 1;
  margin-bottom: -18px;
}
.svc-testimonial-pull__quote {
  margin: 0 0 20px;
}
.svc-testimonial-pull__quote p {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy, #0D1829);
  line-height: 1.7;
  margin: 0;
}
.svc-testimonial-pull__attribution {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted, #5B6B7E);
  font-style: normal;
}
.svc-testimonial-pull__attribution strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy, #0D1829);
}
.svc-testimonial-pull__company {
  display: block;
  font-size: 13px;
  margin-top: 2px;
  opacity: .8;
}

/* When nested inside dark svc-proof (navy band) — Agent 2 fix A+B combined */
.svc-proof .svc-testimonial-pull__quote p { color: rgba(255,255,255,.9); }
.svc-proof .svc-testimonial-pull__attribution { color: rgba(255,255,255,.64); }
.svc-proof .svc-testimonial-pull__attribution strong { color: #fff; }

/* Mobile breakpoint (added 2026-05-31): the fixed 32px side padding squeezed
   the quote into a ~238px column on phones (~4 words/line, very tall). Reclaim
   width, shrink the oversized 72px quote mark, and settle the type so it reads
   comfortably on small screens. */
@media (max-width: 600px) {
  .svc-testimonial-pull {
    padding: 24px 16px 20px;
    margin-top: 24px;
  }
  .svc-testimonial-pull::before {
    font-size: 50px;
    margin-bottom: -12px;
  }
  .svc-testimonial-pull__quote { margin-bottom: 14px; }
  .svc-testimonial-pull__quote p {
    font-size: 16px;
    line-height: 1.6;
  }
  .svc-testimonial-pull__attribution strong { font-size: 14px; }
}

/* ─── Sec-proof center cyan aperture (Agent 4 finding #3) ─────────────────
   Port verbatim from HTML reference sec-proof::before to give the navy
   band a gently-lit cinematic stage. */
.svc-proof::before {
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(41,171,226,.06) 0%, transparent 60%) !important;
}

/* ─── Sec-cta dual radial glows (Agent 3 #2 + Agent 4 #2) ─────────────────
   Bottom closing CTA gets twin ambient lights (cyan left, orange right). */
.svc-cta { position: relative; overflow: hidden; }
.svc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 25% 40%, rgba(41,171,226,.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 75% 60%, rgba(249,115,22,.035) 0%, transparent 50%);
  z-index: 0;
}
.svc-cta__inner,
.svc-cta > * { position: relative; z-index: 1; }

/* ─── Hero bg opacity (Agent 1 finding #2) ────────────────────────────────
   Sage shipped .svc-hero-bg at opacity 0.68 — HTML reference ships 0.15.
   Result: Sage reads muddy-dark, HTML reads atmospheric. Drop to 0.22. */
.svc-hero-bg {
  opacity: 0.22 !important;
}

/* ─── Hero drifting cyan orb (Agent 1 finding #3) ─────────────────────────
   HTML reference has living breathing motion; Sage had two heavy static
   bokeh blobs. Animate the first orb with a gentle drift. */
@keyframes svcOrbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.32; }
  50%      { transform: translate(-24px, 18px) scale(1.06); opacity: 0.42; }
}
@media (prefers-reduced-motion: no-preference) {
  .svc-orb-1 { animation: svcOrbDrift 14s ease-in-out infinite; will-change: transform, opacity; }
  .svc-orb-2 { animation: svcOrbDrift 18s ease-in-out infinite reverse; will-change: transform, opacity; }
}

/* ─── Logo strip pale-blue shelf (Agent 1 finding #8) ─────────────────────
   HTML reference uses var(--off) pale blue to separate the logo band
   from white sections. Sage shipped pure white — melts into adjacent
   white, loses the "inset shelf" read. */
.svc-logos {
  background: var(--off, #F4F8FC) !important;
  border-top: 1px solid rgba(226,236,244,.5);
  border-bottom: 1px solid rgba(226,236,244,.5);
  padding: 32px 24px !important;
}

/* ─── Story card hover override removed 2026-05-19. Replaced by the
   full case-study card system above (lines 1548+) which uses
   transform/box-shadow/gradient-rail on hover. Keeping this section
   anchor empty for now in case downstream patches reference the
   line range. --- */

/* ─── FAQ card-variant (rebuilt 2026-05-19 for 10/10 polish) ───────────────
   Card-style accordion tiles. Open state lifts with deeper shadow,
   accent left-rail slides in, chevron spins. Closed state stays quiet.
   Honest about being collapsed — hover hint signals interactivity. */
.faq-block-sec .faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-block-sec .faq-item {
  position: relative;
  border: 1px solid rgba(13, 24, 41, 0.06) !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(13, 24, 41, 0.03);
  transition:
    box-shadow .32s cubic-bezier(.22, 1, .36, 1),
    border-color .32s ease,
    transform .32s cubic-bezier(.22, 1, .36, 1);
}
/* Left accent rail — slides in on open, anchored top-bottom */
.faq-block-sec .faq-item::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, #1479A3 0%, #F97316 100%);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
  z-index: 1;
  pointer-events: none;
}
.faq-block-sec .faq-item:hover {
  border-color: rgba(20, 121, 163, 0.12) !important;
  box-shadow:
    0 4px 12px -4px rgba(13, 24, 41, 0.06),
    0 1px 2px rgba(13, 24, 41, 0.03);
}
.faq-block-sec .faq-item[data-open="true"],
.faq-block-sec .faq-item.is-open {
  border-color: rgba(20, 121, 163, 0.20) !important;
  box-shadow:
    0 12px 28px -12px rgba(20, 121, 163, 0.20),
    0 4px 10px -4px rgba(13, 24, 41, 0.05);
}
.faq-block-sec .faq-item[data-open="true"]::before,
.faq-block-sec .faq-item.is-open::before {
  transform: scaleY(1);
}
.faq-block-sec .faq-trigger {
  padding: 20px 24px !important;
  transition: background .22s ease, color .22s ease;
}
.faq-block-sec .faq-trigger:hover { background: rgba(20, 121, 163, 0.04); }
.faq-block-sec .faq-item[data-open="true"] .faq-trigger,
.faq-block-sec .faq-item.is-open .faq-trigger {
  color: var(--blue-dark, #0F66A6) !important;
}
.faq-block-sec .faq-trigger svg {
  stroke-width: 2.5 !important;
  color: var(--blue-dark, #0F66A6) !important;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), color .22s ease !important;
}
.faq-block-sec .faq-item[data-open="true"] .faq-trigger svg,
.faq-block-sec .faq-item.is-open .faq-trigger svg {
  color: var(--orange-bright, #F97316) !important;
}
.faq-block-sec .faq-panel {
  padding: 0 24px 22px !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s cubic-bezier(.22, 1, .36, 1),
              opacity .32s ease;
  opacity: 0;
}
.faq-block-sec .faq-item[data-open="true"] .faq-panel,
.faq-block-sec .faq-item.is-open .faq-panel {
  max-height: 800px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .faq-block-sec .faq-item,
  .faq-block-sec .faq-item::before,
  .faq-block-sec .faq-trigger svg,
  .faq-block-sec .faq-panel { transition: none !important; }
}

/* ─── Section gradient bridges (Agent 4 findings #1, #4) ──────────────────
   Restore the soft white→off wash that prevents hard section seams. */
/* Gradient bridge — applies ONLY to sections that expect light backgrounds.
   .svc-platform is dark-navy by design (see line 1535). Adding it here
   broke the platform preview dashboard contrast. Fixed 2026-04-21. */
.svc-how,
.svc-deliverables {
  background: linear-gradient(180deg, var(--white, #fff) 0%, var(--off, #F4F8FC) 100%);
}

/* Platform preview: center the browser mockup + restore navy contrast.
   CRITICAL: scope centering to .active ONLY. Earlier rule (line 1620)
   hides non-active panels with `display: none`. If we flex-center every
   .svc-platform__panel, we override display:none and ALL THREE tabs
   (Run Payroll / Pay Stubs / Tax Filing) render stacked simultaneously
   instead of cycling on click. Fixed 2026-04-21 per Ryan screenshot. */
.svc-platform__panels { text-align: center; }
/* 2026-05-05: column layout so .svc-browser + .svc-browser__caption stack
   vertically (caption used to sit on the right of the mockup as a flex
   sibling, looking orphaned). align-items: center keeps both centered. */
.svc-platform__panel.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.svc-browser {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 920px;
  width: 100%;
}
.svc-browser__caption { margin-top: 0; }       /* gap handles spacing now */

/* ─── Deliverables redesign (Ryan 2026-04-21: "looks like 2002") ─────────
   Was: single-column stack of plain-bordered cards with flat green checks.
   Now: 3-col grid, cyan circular check chips, depth shadow, hover lift. */
.svc-deliverables-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: var(--s-7, 48px) auto 0 !important;
  max-width: 1200px;
}
.svc-deliverables-item {
  align-items: center !important;
  gap: 14px !important;
  padding: 18px 18px 18px 16px !important;
  background: #fff !important;
  border: 1px solid rgba(7,25,46,.06) !important;
  border-radius: 12px !important;
  box-shadow:
    0 1px 2px rgba(7,25,46,.04),
    0 8px 24px -12px rgba(7,25,46,.10);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1),
              box-shadow .22s ease,
              border-color .22s ease;
}
.svc-deliverables-item:hover {
  transform: translateY(-2px);
  border-color: rgba(41,171,226,.28);
  box-shadow:
    0 1px 2px rgba(7,25,46,.05),
    0 14px 32px -12px rgba(41,171,226,.18),
    0 20px 40px -18px rgba(7,25,46,.14);
}
.svc-deliverables-item span {
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy, #0D1829);
}
.svc-deliverables-check {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 7px !important;
  margin: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #29ABE2 0%, #1779B8 100%);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    0 2px 6px rgba(41,171,226,.35);
  stroke-width: 3 !important;
}
@media (max-width: 960px) {
  .svc-deliverables-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .svc-deliverables-list { grid-template-columns: 1fr !important; }
  .svc-deliverables-item { padding: 14px 14px 14px 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-deliverables-item { transition: none !important; }
  .svc-deliverables-item:hover { transform: none; }
}

/* Footer feather bridge — 120px gradient bleed above footer to avoid
   the abrupt "cutline" into the dark footer. Site-wide. */
body footer.vshr-footer,
body.premium footer.vshr-footer {
  position: relative;
}
body footer.vshr-footer::after,
body.premium footer.vshr-footer::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, #04101F 100%);
  pointer-events: none;
  z-index: 1;
}

/* ─── Body background white (Agent 4 finding #7) ──────────────────────────
   Sage shipped body at var(--off) pale blue — every first-section with
   white bg now reads as a floating slab instead of seamless extension. */
body.premium {
  background: #fff !important;
}

/* ─── H2 type scale raise (Agent 4 finding #6) ────────────────────────────
   Sage premium.css caps section H2 at ~36px — HTML reference uses ~44px
   giving a cleaner 1.58x step from body. Restore confident jumps. */
body.premium .sec-h2,
body.premium section h2:not([class*="hero"]):not([class*="cta"]):not([class*="team-bench"]):not([class*="stats-band"]) {
  font-size: clamp(30px, 3vw + 0.5rem, 44px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.026em !important;
  font-weight: 800 !important;
}

/* ─── Reveal spring travel + duration (Agent 4 finding #8) ────────────────
   HTML uses translateY(28px) @ 650ms — Sage had 24px @ 600ms. Unify. */
.reveal,
.motion-reveal {
  transition: opacity 650ms cubic-bezier(.22,1,.36,1),
              transform 650ms cubic-bezier(.22,1,.36,1) !important;
}
.reveal:not(.is-visible),
.motion-reveal:not(.is-visible) {
  transform: translateY(28px);
}

/* ─── Mobile section padding raise (Agent 4 finding #5) ───────────────────
   HTML ref: 56px mobile. Sage blanket !important rule: 48px. Raise. */
@media (max-width: 720px) {
  /* PATCHED 2026-05-24: was over-applying to anything with -sec in class name
     (hco-sec, industry-sec, faq-block-sec, stats-band-sec, etc.). Now scoped
     to body.premium section.sec only, which is the original intent. */
  body.premium section.sec {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   END Phase 1 restoration
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Platform-preview contrast + centering (Ryan 2026-04-21: "still off") ─
   .svc-platform ships dark-navy (line 1535). Payroll-page.css defines the
   mockup content with token colors — but those tokens (--blue #1479A3,
   --green #15803D, --orange #C2410C) are DARK, intended for on-white use.
   On a 12% tint over navy that collapses to 3:1 contrast, fails WCAG AA,
   and reads as "fucked" (Ryan's word). Scope light variants to .svc-platform
   only so on-white uses elsewhere are untouched. Also centers the tab bar
   (was max-width 480px with no margin:auto — left-aligned under centered
   panels looked misaligned after commit 74a5068 centered the panels).
   ─────────────────────────────────────────────────────────────────────── */
.svc-platform .svc-platform__tabs {
  margin-left: auto !important;
  margin-right: auto !important;
}
.svc-platform .plat-label {
  color: rgba(255, 255, 255, .62) !important;
}
.svc-platform .plat-badge--green {
  background: rgba(74, 222, 128, .16) !important;
  color: #86EFAC !important;
}
.svc-platform .plat-badge--blue {
  background: rgba(96, 165, 250, .18) !important;
  color: #93C5FD !important;
}
.svc-platform .plat-badge--orange {
  background: rgba(251, 146, 60, .18) !important;
  color: #FDBA74 !important;
}
.svc-platform .stub-period-tag,
.svc-platform .tax-tag--filed {
  background: rgba(74, 222, 128, .16) !important;
  color: #86EFAC !important;
}
.svc-platform .tax-tag--due,
.svc-platform .tax-tag--upcoming {
  background: rgba(251, 191, 36, .16) !important;
  color: #FCD34D !important;
}
.svc-platform .plat-mini-card .pm-name {
  color: rgba(255, 255, 255, .92) !important;
}
.svc-platform .plat-mini-card .pm-detail {
  color: rgba(255, 255, 255, .76) !important;
}
.svc-platform .plat-total-bar strong {
  color: #FFFFFF !important;
}
.svc-platform .tax-status-icon--done {
  color: #86EFAC !important;
}
.svc-platform .tax-status-icon--upcoming {
  color: #FCD34D !important;
}

/* ─── END ──────────────────────────────────────────────────────────────── */

/* === Hero text contrast fix — text was inheriting dark navy on dark navy bg === */
.svc-hero .eyebrow-pill,
.svc-hero h1,
.svc-hero h1.prism-bar,
.svc-hero .svc-sub,
.svc-hero p {
  color: #fff;
}
.svc-hero .svc-sub,
.svc-hero p {
  color: rgba(255,255,255,.86);
}
.svc-hero .hero-cycle-word > span {
  /* preserve existing gradient on cycling word — do not let parent color override */
  color: inherit;
}
/* Stronger scrim under text column so any image artifacts (e.g. baked-in
   names/text) don't compete with H1 readability. */
.svc-hero .svc-hero-text {
  position: relative;
  z-index: 2;
}
.svc-hero .svc-hero-text::before {
  content: '';
  position: absolute;
  inset: -32px -48px;
  background: radial-gradient(ellipse 80% 70% at 30% 50%, rgba(7,25,46,.55) 0%, rgba(7,25,46,.25) 50%, transparent 80%);
  z-index: -1;
  pointer-events: none;
  border-radius: 32px;
}

/* === vshr-anim-overlay: kill the duplicate "stray image" sitewide ===
   The animated JPEG was rendering as inline content above each HTML mockup
   because no global rule positioned it as an overlay. Promoted from the
   body.payroll-services-scoped wave-3-followup fix to apply universally. */
.vshr-anim-host { position: relative; }
.vshr-anim-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

/* Stronger override to defeat older page-level rules that pinned overlay to position:relative
   (which kept it taking layout space even at opacity:0). Display:none is the cleanest kill. */
.vshr-anim-overlay {
  display: none !important;
}

/* === Hero H1 descender safety ===
   line-height 1.10 (47.87/43.52) was clipping "g", "y", "p", "q", "j"
   on words like "Payroll", "recruiting", "protected.", "handled" etc.
   Bumps to 1.22 minimum + 0.05em padding-bottom for deep-descender glyphs.
   Scoped to hero h1s so body heading rhythm is untouched.
   !important defends against per-page CSS (e.g. meet-your-team-page.css
   shipped a 1.08 rule that loaded later in the cascade). */
.svc-hero h1,
.svc-hero h1.prism-bar,
.ind-hero h1,
.ind-hero h1.prism-bar,
.about-hero .about-h1,
.hero-h1,
#svc-hero h1,
#ind-hero h1 {
  line-height: 1.22 !important;
  padding-bottom: 0.05em !important;
}

/* =============================================================
   PROOF-CARD v4 — glass surface + hero stat + equal heights
   Revised 2026-04-22: v1/v2/v3 all missed. Ryan: "need better
   designed cards, it's not that fucking hard."
   V4 moves: translucent glass (backdrop-filter), layered drop
   shadows (not box hairlines), big mono hero stat as the
   persuasion anchor, grid align-items:stretch + flex-column
   cards so all cards in a row match the tallest. One accent
   color per card lives ONLY in eyebrow + hero-stat number.
   ============================================================= */

.proof-card {
  /* Color tokens per variant */
  --pc-accent: var(--blue, #1479A3);
  --pc-accent-bg: rgba(20, 121, 163, 0.06);
  --pc-accent-border: rgba(20, 121, 163, 0.24);
  --pc-divider: rgba(13, 24, 41, 0.07);

  position: relative;
  display: flex;
  flex-direction: column;
  /* Glass surface: translucent + backdrop-filter for real depth */
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  /* Hairline + layered drop shadow (not ::before stripe) for signature */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(13, 24, 41, 0.06),
    0 2px 8px -4px rgba(13, 24, 41, 0.08),
    0 24px 48px -24px rgba(13, 24, 41, 0.18);
  border: 0;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fallback: no backdrop-filter support -> pure white, no contrast shift */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .proof-card {
    background: #FFFFFF;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 1),
      0 0 0 1px rgba(13, 24, 41, 0.08),
      0 2px 8px -4px rgba(13, 24, 41, 0.08),
      0 24px 48px -24px rgba(13, 24, 41, 0.18);
  }
}

.proof-card:hover,
.proof-card:focus-within {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 1px var(--pc-accent-border),
    0 4px 16px -6px rgba(13, 24, 41, 0.10),
    0 40px 80px -32px rgba(13, 24, 41, 0.24);
}

/* HEAD — eyebrow + title + body. flex:1 so stats/extras sit at card bottom,
   which — combined with grid align-items:stretch — equalizes card heights
   across a row without leaving empty internal holes. */
.proof-card__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 20px;
  flex: 1 1 auto;
}

.proof-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--pc-accent);
  background: var(--pc-accent-bg);
  box-shadow: inset 0 0 0 1px var(--pc-accent-border);
  flex-shrink: 0;
  margin-bottom: 4px;
}
.proof-card__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

.proof-card__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: column;
  align-items: flex-start;
}

.proof-card__eyebrow,
.proof-card__eyebrow.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  /* Match Solvex + svc-hero + svc-how eyebrow treatment:
     Inter 12px 700 uppercase, 8% letter-spacing. Sitewide consistency. */
  font-family: var(--font-b, 'Inter', system-ui, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-accent);
  line-height: 1;
}

.proof-card__title {
  /* Match svc-how step title: Poppins 21px 700 ls -0.01em.
     min-height on 2 lines so 1-line titles reserve space and bodies
     align across cards in a row. */
  font-family: var(--font-h, 'Poppins', system-ui, sans-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary, #0D1829);
  margin: 2px 0 0;
  min-height: 2.5em; /* reserves 2 lines of space — aligns across cards */
}

.proof-card__body {
  font-family: var(--font-b, 'Inter', system-ui, sans-serif);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-tertiary, #5B6B7E);
  margin: 0;
  max-width: 42ch;
  min-height: 4.65em; /* reserves 3 lines — aligns hero stat across cards */
}

/* PROOF — hero stat below body. BIG mono number + small-caps label.
   Single row of big numeric evidence, like Linear feature cards. */
.proof-card__proof {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 26px 24px;
  border-top: 1px solid var(--pc-divider);
  font-family: var(--font-b);
  line-height: 1.3;
  color: var(--text-primary-soft, #2B3A4F);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
/* 2026-05-05: replaced --font-mono with page-standard --font-h/--font-b.
   Original intent was a Linear-style "data card" treatment with monospace,
   but JetBrains Mono on a payroll/HR services page targeting CFO/HR/owners
   read as dev-tool foreign — three font families (Poppins headings, Inter
   body, JBMono proof) on one card. Switched big numbers to Poppins (matches
   other display headings sitewide) and small-caps labels to Inter (matches
   eyebrows). tabular-nums kept on numerical elements for alignment. */
.proof-card__proof strong {
  display: block;
  font-family: var(--font-h);
  color: var(--pc-accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.proof-card__proof span {
  display: block;
  font-family: var(--font-b);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary, #5B6B7E);
  line-height: 1.35;
  max-width: 100%;
}
/* Kill the bolt-icon SVG that the Blade component injects as first child.
   Higher specificity so it wins over the block display rules above. */
.proof-card__proof > svg:first-child,
.proof-card .proof-card__proof svg {
  display: none !important;
}

/* MOBILE TOGGLE — collapse stakes + dossier + voice */
.proof-card__more-btn {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  margin: 0 24px 20px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--pc-divider);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-tertiary, #5B6B7E);
  cursor: pointer;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.proof-card__more-btn:hover {
  color: var(--pc-accent);
}
.proof-card__more-btn-chev {
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.7;
}
.proof-card__more-btn[aria-expanded="true"] .proof-card__more-btn-chev {
  transform: rotate(180deg);
}

.proof-card__more {
  display: flex;
  flex-direction: column;
}

/* STAKES — supporting, not dominant. Dialed back from v2.
   Smaller type, muted ink, amber only on strong. */
.proof-card__stakes {
  position: relative;
  padding: 14px 24px;
  border-top: 1px solid var(--pc-divider);
  font-family: var(--font-b);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-tertiary, #5B6B7E);
  margin: 0;
}
.proof-card__stakes strong {
  color: #9A330A;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.proof-card__stakes-label {
  display: block;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-quaternary, #8A97A8);
  margin-bottom: 6px;
}

/* DOSSIER — hairline divider + inline flex row, no inner box */
.proof-card__dossier {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--pc-divider);
  background: transparent;
  border-radius: 0;
}
.proof-card__dossier-photo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-02, #F4F6F8);
  box-shadow: 0 0 0 1px var(--hairline, #E4E9EE);
}
.proof-card__dossier-photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--pc-accent);
  background: var(--pc-accent-bg);
  box-shadow: 0 0 0 1px var(--pc-accent-border);
}
.proof-card__dossier-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
}
.proof-card__dossier-label {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-quaternary, #8A97A8);
  margin-bottom: 2px;
  line-height: 1;
}
.proof-card__dossier-name {
  font-family: var(--font-h);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary, #0D1829);
  margin: 0;
  line-height: 1.3;
}
.proof-card__dossier-role {
  font-family: var(--font-b);
  font-size: 12px;
  color: var(--text-tertiary, #5B6B7E);
  margin: 0;
  line-height: 1.3;
}
.proof-card__dossier-cta {
  align-self: center;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.proof-card__dossier-cta::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.proof-card__dossier-cta:hover::after {
  transform: translateX(2px);
}

/* VOICE QUOTE — hairline divider + label + italic quote. No box. */
.proof-card__voice {
  position: relative;
  padding: 16px 24px;
  border-top: 1px solid var(--pc-divider);
  font-family: var(--font-b);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-primary-soft, #2B3A4F);
  font-style: italic;
  margin: 0;
}
.proof-card__voice-label {
  display: block;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc-accent);
  font-style: normal;
  margin-bottom: 8px;
}
.proof-card__voice cite {
  display: block;
  font-family: var(--font-b);
  font-size: 12px;
  font-style: normal;
  color: var(--text-tertiary, #5B6B7E);
  margin-top: 8px;
}

/* CORNER BADGE — outlined, compact */
.proof-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc-accent-ink);
  background: var(--paper-00, #FFFFFF);
  border: 1px solid var(--pc-accent-border);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  z-index: 2;
}

/* COLOR VARIANTS — only drive --pc-accent tokens. Card body stays neutral. */
.proof-card--blue {
  --pc-accent: #1479A3;
  --pc-accent-ink: #0F5F80;
  --pc-accent-bg: rgba(20, 121, 163, 0.05);
  --pc-accent-border: rgba(20, 121, 163, 0.22);
}
.proof-card--emerald {
  --pc-accent: #15803D;
  --pc-accent-ink: #0F5F2E;
  --pc-accent-bg: rgba(21, 128, 61, 0.05);
  --pc-accent-border: rgba(21, 128, 61, 0.22);
}
.proof-card--amber {
  --pc-accent: #F97316;
  --pc-accent-ink: #9A330A;
  --pc-accent-bg: rgba(249, 115, 22, 0.05);
  --pc-accent-border: rgba(249, 115, 22, 0.24);
}
.proof-card--indigo {
  --pc-accent: #4338CA;
  --pc-accent-ink: #3730A3;
  --pc-accent-bg: rgba(67, 56, 202, 0.05);
  --pc-accent-border: rgba(67, 56, 202, 0.22);
}
.proof-card--slate {
  --pc-accent: #334155;
  --pc-accent-ink: #1E293B;
  --pc-accent-bg: rgba(51, 65, 85, 0.05);
  --pc-accent-border: rgba(51, 65, 85, 0.22);
}
.proof-card--rose {
  --pc-accent: #BE185D;
  --pc-accent-ink: #9D174D;
  --pc-accent-bg: rgba(190, 24, 93, 0.05);
  --pc-accent-border: rgba(190, 24, 93, 0.22);
}

/* GRID WRAPPER — align-items:stretch so ALL cards in a row match the
   tallest card (clean aligned bottom edges, like Linear/Stripe grids).
   Combined with .proof-card { flex-direction: column } + .proof-card__head
   { flex: 1 }, shorter content naturally fills to match. Radial gradient
   atmospherics behind grid for ambient depth (subtle, behind the glass). */
.proof-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: var(--content-max, 1440px);
  margin: 0 auto;
  padding: 48px var(--content-pad, clamp(16px, 3.2vw, 48px));
  align-items: stretch;
  isolation: isolate;
}
.proof-card-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 40% 50% at 15% 10%, rgba(20, 121, 163, 0.06), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 90%, rgba(194, 65, 12, 0.04), transparent 70%),
    radial-gradient(ellipse 30% 40% at 50% 50%, rgba(67, 56, 202, 0.03), transparent 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .proof-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .proof-card-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GRID-LEVEL MOBILE OVERFLOW (2026-05-05)
   Heavy service pages (payroll, tax-prep, tax-admin) had a 6-card proof-grid
   that ate ~30-35% of total mobile scroll length (5,765-6,690px = 7-8 mobile
   scrolls). On mobile we render the first 3 cards visibly and hide cards 4+
   behind a "See all N" button at the bottom of the grid. Cards stay in DOM
   regardless — preserves SEO/AEO citation surface, supports anchor links.
   The toggle button is JS-injected at runtime by svc-components.js so we
   don't have to touch 20 service templates. Desktop ignores all of this:
   .proof-card-grid__more-btn is display:none above 768px.
   ═══════════════════════════════════════════════════════════════════════════ */
.proof-card-grid__more-btn {
  display: none;  /* Desktop default */
}
@media (max-width: 767.98px) {
  /* Hide cards 4+ unless grid is in expanded state */
  .proof-card-grid:not(.is-overflow-open) > .proof-card:nth-of-type(n+4) {
    display: none;
  }
  .proof-card-grid__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    grid-column: 1 / -1;
    margin: 4px auto 0;
    padding: 14px 24px;
    min-height: 48px;
    background: #FFFFFF;
    color: #07192E;
    border: 1.5px solid rgba(13, 24, 41, .14);
    border-radius: 999px;
    font-family: var(--font-b, "Inter", system-ui, sans-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 180ms ease-out, background 180ms ease-out;
  }
  .proof-card-grid__more-btn:hover,
  .proof-card-grid__more-btn:focus-visible {
    border-color: #1479A3;
    background: #F4F8FC;
    outline: none;
  }
  .proof-card-grid__more-btn-chev {
    transition: transform 240ms ease-out;
  }
  .proof-card-grid__more-btn[aria-expanded="true"] .proof-card-grid__more-btn-chev {
    transform: rotate(180deg);
  }
}

/* MOBILE COLLAPSE — hide advanced block until toggle tapped */
@media (max-width: 767px) {
  .proof-card[data-proof-card-expandable] .proof-card__more-btn {
    display: flex;
  }
  .proof-card[data-proof-card-expandable] .proof-card__more {
    display: none;
  }
  .proof-card[data-proof-card-expandable].is-open .proof-card__more {
    display: flex;
  }
  .proof-card__head {
    padding: 20px 20px 16px;
  }
  .proof-card__proof,
  .proof-card__stakes,
  .proof-card__dossier,
  .proof-card__voice {
    padding-left: 20px;
    padding-right: 20px;
  }
  .proof-card__title {
    font-size: 19px;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .proof-card,
  .proof-card__more-btn-chev,
  .proof-card__dossier-cta,
  .proof-card__dossier-cta::after,
  .proof-card::before {
    transition: none !important;
  }
  .proof-card:hover {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SVC-VALIDATION — psychology audit 2026-04-22 fix for MISS 1
   (validation beat missing across 30 decision pages).
   Editorial pull-quote section that acknowledges the buyer's world between
   hero and how-it-works. Ships across svc + ind decision pages via
   <x-svc.validation> component.
   ═══════════════════════════════════════════════════════════════════════════ */

/* 2026-05-05 visual rebuild: validation was reading as "stranded text" between
   white sections because the cream→white gradient + .06 hairline borders had
   no clear frame. New treatment uses a solid warm-sand background with subtle
   dot grain (kraft-paper feel), a small orange accent line above the eyebrow
   as a section anchor, and italic body text to signal "recognized scenario"
   rather than pitch copy. Padding bumped slightly clamp(32, 4vw, 48) →
   clamp(40, 4.5vw, 56) to balance the stronger visual presence. */
.svc-validation {
  position: relative;
  padding: clamp(40px, 4.5vw, 56px) 0;
  background: #F0EBE0;          /* warm sand — clearly different from white siblings */
  border-top: 1px solid rgba(13, 24, 41, 0.08);
  border-bottom: 1px solid rgba(13, 24, 41, 0.08);
  isolation: isolate;
}
/* Texture: dot grain + soft warm halo at top center. Sits BELOW content
   via z-index: -1 so eyebrow + body paint cleanly. */
.svc-validation::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 600px 200px at 50% 0%, rgba(194, 65, 12, 0.06) 0%, transparent 70%),
    radial-gradient(rgba(7, 25, 46, 0.05) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  pointer-events: none;
  z-index: -1;
}

.svc-validation-inner {
  position: relative;
  max-width: 720px;             /* tighter than 820 — denser quote feel */
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* Section anchor — short orange horizontal line above the eyebrow.
   Frames the section as a deliberate callout rather than floating text. */
.svc-validation-inner::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--orange, #F97316);
  margin: 0 auto 16px;
  border-radius: 999px;
}

.svc-validation-eyebrow {
  font-family: var(--font-b, "Inter", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange, #F97316);
  margin: 0 0 12px;
}

.svc-validation-text {
  font-family: var(--font-h, "Poppins", system-ui, sans-serif);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.45;
  font-weight: 500;
  font-style: italic;           /* signals "recognized scenario" not pitch copy */
  color: var(--navy, #07192E);
  margin: 0;
  letter-spacing: -0.01em;
}

.svc-validation-text strong {
  font-weight: 700;
  font-style: normal;           /* strong words pop out of the italic flow */
  color: var(--navy, #07192E);
}

@media (max-width: 768px) {
  .svc-validation {
    padding: 36px 0;
  }
  .svc-validation-inner::before {
    width: 28px;
    margin-bottom: 14px;
  }
  .svc-validation-text {
    font-size: 17px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-validation.reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Mobile scroll-reduction pass (2026-05-14 QA marathon).
   Shared svc-* component compression. Affects all 21 service pages.

   - svc-hero: cap padding aggressively; reduce h1 size.
   - svc-deliverables: re-force 2-col grid at mobile (was flipping back to
     1-col at <560 for the OLD list class).
   - proof-card-grid (the actual deliverables on service pages): tighten
     card head/proof padding + collapse internal margins. Each card was
     ~990px on mobile.
   - svc-how, svc-integrations: section padding tightening.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 560px) {
  /* Legacy deliverables-list (kept 2-col override for back-compat) */
  .svc-deliverables-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .svc-deliverables-item {
    padding: 11px 10px 11px 10px !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    gap: 8px !important;
  }
  .svc-deliverables-check {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
  }
  /* svc-hero compression */
  .svc-hero {
    padding: 24px 18px 32px !important;
  }
  .svc-hero h1 {
    font-size: 30px !important;
    line-height: 1.06 !important;
    letter-spacing: -.025em !important;
  }
  .svc-hero .svc-sub {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }
  .svc-hero-ctas { gap: 10px !important; margin-top: 16px !important; }
  /* Reduce vertical padding on the dense how-it-works + integrations + deliverables sections */
  .svc-how,
  .svc-deliverables,
  .svc-integrations,
  .svc-midcta,
  .svc-cta {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
  /* proof-card mobile compression — cards were ~990px each */
  .proof-card-grid {
    padding: 0 !important;
    gap: 12px !important;
  }
  .proof-card__head {
    padding: 18px 16px 14px !important;
    gap: 8px !important;
  }
  .proof-card__icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 0 !important;
  }
  .proof-card__icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .proof-card__title {
    font-size: 18px !important;
    line-height: 1.22 !important;
  }
  .proof-card__body {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }
  .proof-card__proof {
    padding: 12px 16px !important;
    font-size: 12.5px !important;
    gap: 6px !important;
  }
  .proof-card__stakes {
    padding: 12px 16px !important;
    font-size: 12px !important;
  }
  .proof-card__more-btn {
    padding: 10px 16px !important;
    font-size: 12px !important;
    min-height: 44px !important;
  }
}
@media (max-width: 380px) {
  .svc-deliverables-list { grid-template-columns: 1fr !important; }
  .svc-hero h1 { font-size: 26px !important; }
  .proof-card__head { padding: 16px 14px 12px !important; }
  .proof-card__title { font-size: 16.5px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION BRIDGES — 2026-05-19 design polish pass 8.

   Soften the seam between light and navy bands. Uses :has() so the
   bridge only paints where it's needed (light → navy or navy → light
   transition). Navy-on-navy boundaries skip the bridge entirely.

   Affected boundaries on a canonical service page:
     • deliverables (light) → svc-platform (navy)    → bottom-fade on deliverables
     • svc-proof   (navy)  → svc-stories  (light)    → top-fade on stories
     • integrations (light)→ FAQ (light)             → no bridge needed
     • FAQ (light) → svc-cta (navy)                  → bottom-fade on FAQ
   ═══════════════════════════════════════════════════════════════════════════ */

/* Bottom fade on any LIGHT section immediately preceding a navy band.
   Pseudo-element sits flush at the section's bottom and bleeds navy
   tint into the boundary. */
main#main-content > section:has(+ .svc-platform),
main#main-content > section:has(+ .svc-midcta),
main#main-content > section:has(+ .svc-proof),
main#main-content > section:has(+ .svc-cta) {
  position: relative;
}
main#main-content > section:has(+ .svc-platform)::after,
main#main-content > section:has(+ .svc-midcta)::after,
main#main-content > section:has(+ .svc-proof)::after,
main#main-content > section:has(+ .svc-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(180deg,
              rgba(7, 25, 46, 0) 0%,
              rgba(7, 25, 46, 0.05) 60%,
              rgba(7, 25, 46, 0.10) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Navy-on-navy: kill the bottom bridge on a navy section that's
   followed by another navy section (no visible bleed needed). */
.svc-platform:has(+ .svc-midcta)::after,
.svc-platform:has(+ .svc-proof)::after,
.svc-midcta:has(+ .svc-proof)::after,
.svc-midcta:has(+ .svc-platform)::after,
.svc-proof:has(+ .svc-cta)::after {
  display: none;
}

/* Top fade on the FIRST LIGHT section AFTER a navy band — soft
   inset that re-lights the eye gradually. */
.svc-platform + section:not(.svc-midcta):not(.svc-proof):not(.svc-cta),
.svc-midcta + section:not(.svc-proof):not(.svc-cta),
.svc-proof + section:not(.svc-cta),
.svc-cta + section {
  position: relative;
}
.svc-platform + section:not(.svc-midcta):not(.svc-proof):not(.svc-cta)::before,
.svc-midcta + section:not(.svc-proof):not(.svc-cta)::before,
.svc-proof + section:not(.svc-cta)::before,
.svc-cta + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(180deg,
              rgba(7, 25, 46, 0.07) 0%,
              rgba(7, 25, 46, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TONAL ARCHITECTURE — section transition  (<x-sec-transition>)
   Replaces the old "Ascent Seam" (rising navy->cyan->orange hairline + glowing
   orange crest chevron). Separation by DEPTH + TONE only: no SVG, no stroked
   line, no crest / chevron / spark / glow / lens-flare.

   The boundary is a property of the two planes meeting. The solid <section>
   backgrounds supply the confident straight cut; this zero-height element bleeds
   a restrained ambient-occlusion + lit-lip whisper UP into the section above
   (::after) and DOWN into the section below (::before) so the eye perceives one
   plane stepping down, or a bright plane emerging from a recessed trough (the
   Linear / Apple mechanism) instead of an object floating in the dark field.

   Fully STATIC — depth reads at rest, no JS, identical under reduced-motion.
   ═══════════════════════════════════════════════════════════════════════════ */
.vshr-seam {
  position: relative;
  width: 100%;
  height: 0;                  /* pure boundary: adds no layout height */
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}
.vshr-seam::before,
.vshr-seam::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

/* ── 1 · LIGHT -> DARK  (off-white above, navy below) ────────────────────────
   The dark plane "arrives" over the light one: the light band's last ~34px
   carries a soft downward contact shadow cast by the incoming dark plane; the
   navy plane catches a 1.5px cool lit lip at the cut, then a short inner recess.
   ::after bleeds UP onto the light section · ::before bleeds DOWN onto navy. */
.vshr-seam--lightdark::after {
  bottom: 0;
  height: 34px;
  background: linear-gradient(to top,
    rgba(7, 25, 46, .10) 0%,
    rgba(7, 25, 46, .045) 38%,
    rgba(7, 25, 46, 0) 100%);
}
.vshr-seam--lightdark::before {
  top: 0;
  height: 40px;
  background: linear-gradient(to bottom,
    rgba(176, 205, 230, .16) 0px,   /* 1.5px cool highlight = crisp lifted edge */
    rgba(176, 205, 230, 0) 2px,
    rgba(0, 0, 0, .16) 3px,         /* inner recess lip on the navy plane */
    rgba(0, 0, 0, 0) 40px);
}

/* ── 2 · DARK -> DARK  (navy #07192E above, navy-deep #04101F below) — hardest
   Lower plane is genuinely darker AND recessed: a soft inner TOP-shadow darkens
   its top ~48px and fades down, so it reads as the next step DOWN. At the cut,
   a 1px contact-shadow + a whisper of lifted edge give the eye a definite edge
   to lock onto. Felt as a depth change, never a drawn line.
   ::before = recess on lower plane · ::after = AO + lip on upper plane.
   NOTE: depends on the two navies being different VALUES (they are — #wc-proof
   is #04101F vs the #07192E mid-CTA above). Preserve that step if reused. */
.vshr-seam--darkdark::before {
  top: 0;
  height: 56px;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, .64) 0px,   /* deeper recess right under the lit edge -> strong, clear step down */
    rgba(0, 0, 0, .54) 5px,
    rgba(0, 0, 0, .30) 20px,
    rgba(0, 0, 0, .10) 38px,
    rgba(0, 0, 0, 0) 56px);
}
.vshr-seam--darkdark::after {
  bottom: 0;
  height: 26px;
  background: linear-gradient(to top,
    rgba(142, 180, 216, .30) 0px,  /* crisp cool lit edge AT the cut — a physical plate edge, not a floating wire */
    rgba(142, 180, 216, .12) 1.5px,
    rgba(0, 0, 0, .32) 3px,        /* shadow just above makes the lit edge pop */
    rgba(0, 0, 0, .11) 14px,
    rgba(0, 0, 0, 0) 26px);
}

/* ── 3 · DARK -> LIGHT  (navy-deep above, off-white below) ───────────────────
   The bright plane EMERGES above a recessed dark trough. The dark plane deepens
   into shadow in its last ~30px; the light band carries a 1.5px bright lit lip
   at the cut + a soft upward luminance bloom, as if the surface is lit.
   ::after bleeds UP into the dark trough · ::before bleeds DOWN onto the light. */
.vshr-seam--darklight::after {
  bottom: 0;
  height: 30px;
  background: linear-gradient(to top,
    rgba(0, 0, 0, .34) 0%,
    rgba(0, 0, 0, .16) 40%,
    rgba(0, 0, 0, 0) 100%);
}
.vshr-seam--darklight::before {
  top: 0;
  height: 40px;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, .9) 0px,    /* 1.5px bright lip at the cut */
    rgba(255, 255, 255, 0) 2px,
    rgba(255, 255, 255, .5) 3px,    /* upward luminance bloom on the light band */
    rgba(244, 248, 252, 0) 40px);
}

/* ── 4 · LIGHT -> LIGHT  (two light sections) — faint tonal step only. ─────── */
.vshr-seam--lightlight::after {
  bottom: 0;
  height: 16px;
  background: linear-gradient(to top,
    rgba(7, 25, 46, .05) 0%,
    rgba(7, 25, 46, 0) 100%);
}
.vshr-seam--lightlight::before {
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, .8);
}

/* ── Mobile (≤560px): scale the bleeds DOWN, never exaggerate. */
@media (max-width: 560px) {
  .vshr-seam--lightdark::after  { height: 22px; }
  .vshr-seam--lightdark::before { height: 26px; }
  .vshr-seam--darkdark::before  { height: 34px; }
  .vshr-seam--darkdark::after   { height: 16px; }
  .vshr-seam--darklight::after  { height: 20px; }
  .vshr-seam--darklight::before { height: 26px; }
}

/* Depth is static and fully resolved — nothing to disable for reduced-motion,
   but the guard is kept explicit so future additions stay honest. */
@media (prefers-reduced-motion: reduce) {
  .vshr-seam::before,
  .vshr-seam::after { animation: none; transition: none; }
}

/* ── VISIBLE SOLID CURVE (light<->dark boundaries) ───────────────────────────
   Reintroduced 2026-05-31: the tonal-only treatment read as "no transition."
   Where there IS color contrast, the lower section's color sweeps up as a clean
   SOLID filled curve (no stroke, no crest, no wire). Visible + premium. The
   navy-on-navy divider keeps the depth/tone plate-step above (a curve can't
   show on same-tone). */
.vshr-seam--curve {
  --vshr-seam-h: clamp(46px, 5vw, 82px);
  position: relative;
  width: 100%;
  height: var(--vshr-seam-h);
  line-height: 0;
  /* TRANSPARENT + OVERLAP (fix 2026-06-03): the curve no longer paints the
     upper section's color. The SVG path's flat top is y=0..34 of an 80-unit
     viewBox (42.5%), i.e. that top slab is transparent. Pull the whole seam UP
     by exactly that 42.5% so the transparent slab overlaps the bottom of the
     section ABOVE — any background (solid or gradient/mesh) shows through with
     no painted band — while the path fill (lower color) lands precisely on the
     boundary and sweeps up. Kills the white sliver under mesh sections
     (e.g. .sec-pricing--premium) and can't go stale when a from= prop drifts. */
  margin-top: calc(var(--vshr-seam-h) * -0.425);
  margin-bottom: -1px;
  background: transparent;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.vshr-seam--curve .vshr-seam__curve { display: block; width: 100%; height: 100%; }
/* soft depth where the curve meets the section above */
.vshr-seam--curve-lightdark .vshr-seam__curve path { filter: drop-shadow(0 -3px 6px rgba(7, 25, 46, .16)); }
.vshr-seam--curve-darklight .vshr-seam__curve path { filter: drop-shadow(0 -2px 7px rgba(0, 0, 0, .30)); }
@media (max-width: 760px) {
  .vshr-seam--curve { --vshr-seam-h: clamp(30px, 7vw, 48px); }
}

/* ── svc SECTION BANDS ARE FULL-WIDTH (systematic 2026-05-31) ────────────────
   Some service pages still load their pre-migration bespoke page CSS, which
   defines a legacy `.sec { max-width: 1200px }` for the OLD template's inner
   wrapper. The svc <section> bands reuse the `.sec` class, so that legacy rule
   was squeezing svc content ~64px narrower ("thin") than sibling pages
   (compliance-training, recruiting). svc bands must always be full-width with
   the inner capping at 1200. Higher-specificity guard so any stray page-CSS
   `.sec{max-width}` can never make a svc page thin again. */
main .sec[class*="svc-"] { max-width: none; }

/* ── NAVY-ON-NAVY SEPARATION (2026-05-31) ────────────────────────────────────
   The mid-CTA and the proof bar are both navy and stack into one long dark
   slab. Where they meet, give the proof panel a lit top edge + a strong recess
   shadow so it reads as a distinct panel sitting below the CTA. Depth-only (no
   color change) so it never fights the curve-seam from/to colors. Auto-applies
   to every page where the two bands are adjacent siblings. (WC keeps its own
   tonal divider component, which sits between them, so this does not double up
   there.) */
.svc-midcta + .svc-proof {
  box-shadow: inset 0 1px 0 rgba(150, 190, 225, .24),
              inset 0 26px 40px -22px rgba(0, 0, 0, .82);
}
