/* payroll-page.css — Phase 4 extraction 2026-04-17. */

/* §1 */
/* ── SKIP LINK ─────────────────────────────────────── */
    .skip-link {
      position: absolute; top: -100%; left: 16px; z-index: 9999;
      background: #07192E; color: #fff;
      padding: 12px 24px; border-radius: 0 0 8px 8px;
      font-family: "Inter", system-ui, sans-serif; font-size: 14px; font-weight: 600;
      text-decoration: none; transition: top .15s;
    }
    .skip-link:focus { top: 0; }

    /* -- SCREEN READER ONLY --------------------------------------- */
    .sr-only {
      position: absolute; width: 1px; height: 1px;
      padding: 0; margin: -1px; overflow: hidden;
      clip: rect(0,0,0,0); white-space: nowrap; border: 0;
    }

    /* ── RESET ─────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :focus-visible { outline: 2px solid #1779B8; outline-offset: 3px; border-radius: 6px; }
    /* ── PRO MAX: INTERACTIVE ELEMENTS ──────────────────── */
    a, button, [role="button"], [onclick], .btn-hero-primary, .btn-primary, .btn-orange, .btn-nav-primary, .callback-trigger { cursor: pointer; }
    a, button, [role="button"] { transition: all 0.2s ease; }
    /* ── PRO MAX: LOADING STATE ─────────────────────────── */
    .btn-loading { position: relative; pointer-events: none; opacity: 0.8; }
    .btn-loading::after {
      content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
      width: 18px; height: 18px; border: 2px solid transparent;
      border-top-color: #fff; border-radius: 50%;
      animation: btnSpin 0.6s linear infinite;
    }
    @keyframes btnSpin { to { transform: translateY(-50%) rotate(360deg); } }
    /* ── PRO MAX: TOUCH TARGETS ────────────────────────── */
    .mob-sticky-cta a, .mob-sticky-cta button, .callback-trigger { min-height: 44px; }
    /* ── FAQ ACCORDION ────────────────────────────────── */
    .svc-faq { padding: 80px 32px; background: var(--white); }
    .svc-faq .sec-head { margin-bottom: 48px; text-align: center; }
    .svc-faq .sec-head h2 { font-family: var(--font-h); font-size: clamp(24px,3.2vw,36px); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
    .svc-faq .sec-head p { font-family: var(--font-b); font-size: 16px; color: var(--muted); max-width: 600px; margin: 0 auto; }
    .faq-list { max-width: 760px; margin: 0 auto; }
    .faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: box-shadow .2s; }
    .faq-item.open { box-shadow: 0 2px 12px rgba(7,25,46,.06); }
    .faq-item.open .faq-chevron { transform: rotate(180deg); }
    .faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; text-align: left; transition: background .15s; }
    .faq-q:hover { background: var(--off); }
    .faq-q span { font-family: var(--font-b); font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.4; padding-right: 16px; }
    .faq-chevron { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 2; flex-shrink: 0; transition: transform .2s; }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
    .faq-item.open .faq-a { max-height: 400px; }
    .faq-a p { padding: 0 24px 20px; font-family: var(--font-b); font-size: 14.5px; color: var(--muted); line-height: 1.7; }

    /* ── RELATED SERVICES (CROSS-SELL) ─────────────────── */
    .sec-cross { background: var(--off); padding: 80px 32px; }
    .sec-cross .wrap { max-width: 1000px; margin: 0 auto; }
    .sec-cross .sec-label {
      font-family: var(--font-b); font-size: 11px; font-weight: 700;
      letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-dark);
      margin-bottom: 10px; text-align: center;
    }
    .sec-cross .sec-h2 {
      font-family: var(--font-h); font-size: clamp(24px, 3.2vw, 36px);
      font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 40px;
    }
    .cross-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .cross-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: 16px; padding: 28px 24px;
      text-decoration: none; display: block;
      position: relative; overflow: hidden;
      transition: all .3s cubic-bezier(.22,1,.36,1);
    }
    .cross-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      border-radius: 16px 16px 0 0;
      background: linear-gradient(90deg, var(--blue), var(--blue-dark));
      transition: height .3s cubic-bezier(.22,1,.36,1);
    }
    .cross-card:nth-child(2)::before { background: linear-gradient(90deg, var(--orange), #EA580C); }
    .cross-card:nth-child(3)::before { background: linear-gradient(90deg, #38B2AC, var(--blue)); }
    .cross-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 40px rgba(7,25,46,.10), 0 4px 12px rgba(7,25,46,.06);
      border-color: transparent;
    }
    .cross-card:hover::before { height: 4px; }
    .cross-card-icon {
      width: 44px; height: 44px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 16px; background: rgba(41,171,226,.08);
    }
    .cross-card:nth-child(2) .cross-card-icon { background: rgba(249,115,22,.08); }
    .cross-card:nth-child(3) .cross-card-icon { background: rgba(56,178,172,.08); }
    .cross-card-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2; }
    .cross-card:nth-child(2) .cross-card-icon svg { stroke: var(--orange); }
    .cross-card:nth-child(3) .cross-card-icon svg { stroke: #38B2AC; }
    .cross-card h3 {
      font-family: var(--font-h); font-size: 17px; font-weight: 700;
      color: var(--navy); margin-bottom: 8px;
    }
    .cross-card p {
      font-family: var(--font-b); font-size: 14px; color: var(--muted);
      line-height: 1.65; margin-bottom: 14px;
    }
    .cross-link {
      font-family: var(--font-b); font-size: 13px; font-weight: 600;
      color: var(--blue); display: inline-flex; align-items: center; gap: 4px;
      transition: gap .2s;
    }
    .cross-card:hover .cross-link { color: var(--blue-dark); gap: 8px; }

    @media (max-width: 1024px) {
      button, [role="button"], .btn-hero-primary, .btn-primary, .btn-orange, .btn-nav-primary, .iq-submit, .assess-submit, .callback-submit, .cb-submit, .submit-btn { min-height: 44px; padding-top: 12px; padding-bottom: 12px; }
      input, select, textarea { min-height: 44px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .reveal { opacity: 1 !important; transform: none !important; }
      .mock-run-btn::before { animation: none !important; }
      .flow-connector-svg line { animation: none !important; }
      .flow-node--active .flow-circle { animation: none !important; }
      .stat-item:first-child .stat-number { animation: none !important; }
      .mock-stat-value.tick-anim { animation: none !important; }
      .diff-card.revealed::after { height: 100% !important; transition: none !important; }
    }

    /* ── PAGE-UNIQUE TOKENS ─────────────────────────────── */
    /* Removed redundant --blue/--navy/--text/--muted/--off/--orange/--green/
       --shadow-*/--ease/--spring/--font-h/--font-b/--grad-blue/--white/
       --surface/--border/--blue-dark/--navy-2 — all already defined in
       site.css with identical values (verified 2026-05-05). Only the page-
       unique glow and glass shadow tokens remain. */
    :root {
      --glow-blue:  0 0 0 1px rgba(41,171,226,.18), 0 8px 32px rgba(41,171,226,.14);
      --glow-orange: 0 0 0 1px rgba(249,115,22,.12), 0 8px 24px rgba(249,115,22,.20);
      --glass-shadow:
        0 0 0 0.5px rgba(255,255,255,.6),
        0 0 0 1px rgba(0,0,0,.02),
        0 1px 2px rgba(7,25,46,.03),
        0 4px 12px rgba(7,25,46,.04),
        0 16px 48px rgba(7,25,46,.07),
        0 32px 80px rgba(7,25,46,.04);
      --glass-shadow-hover:
        0 0 0 0.5px rgba(255,255,255,.8),
        0 0 0 1px rgba(41,171,226,.08),
        0 2px 4px rgba(7,25,46,.04),
        0 8px 24px rgba(7,25,46,.06),
        0 24px 64px rgba(7,25,46,.10),
        0 40px 96px rgba(7,25,46,.05);
      --mini-shadow:
        0 0 0 0.5px rgba(255,255,255,.7),
        0 0 0 1px rgba(0,0,0,.02),
        0 2px 8px rgba(7,25,46,.05),
        0 12px 36px rgba(7,25,46,.07);
    }

    /* ── CLIENT PROOF BAR ───────────────────────────────── */
    .client-proof-bar {
      padding: 32px 0;
      background: var(--off, #F4F8FC);
      border-bottom: 1px solid rgba(226,236,244,.5);
    }
    .client-proof-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      align-items: center;
      gap: 40px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .client-proof-label {
      font-family: var(--font-b);
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
      white-space: nowrap;
    }
    .client-proof-logos {
      display: flex;
      align-items: center;
      gap: 32px;
      flex-wrap: wrap;
    }
    .client-proof-logos img {
      height: 28px;
      opacity: 0.5;
      filter: grayscale(100%);
      transition: opacity 0.3s, filter 0.3s;
    }
    .client-proof-logos img:hover {
      opacity: 1;
      filter: grayscale(0%);
    }

    /* ── INLINE QUOTE FORM ─────────────────────────────── */
    .inline-quote-form { max-width: 600px; margin: 32px auto 0; }
    .iq-form { display: flex; gap: 12px; flex-wrap: wrap; }
    .iq-input {
      flex: 1; min-width: 150px; padding: 14px 18px;
      border: 1.5px solid rgba(255,255,255,.2);
      border-radius: 12px; background: rgba(255,255,255,.08);
      color: #fff; font-size: 15px; font-family: var(--font-b);
    }
    .iq-input::placeholder { color: rgba(255,255,255,.76); }
    .iq-input:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(41,171,226,.2);
      outline: none;
    }
    .iq-submit {
      padding: 14px 28px; border: none; border-radius: 12px;
      background: var(--orange); color: #fff;
      font-family: var(--font-h); font-size: 15px; font-weight: 700;
      cursor: pointer; box-shadow: 0 4px 14px rgba(249,115,22,.25);
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .iq-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
    .iq-note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 12px; text-align: center; }

    /* ── BASE ───────────────────────────────────────────── */
    html { scroll-behavior: smooth; font-size: 16px; }
    body { font-family: var(--font-b); background: var(--white); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.6; }
    a { text-decoration: none; }

    /* ── HEADER ─────────────────────────────────────────── */
    header {
      position: sticky; top: 0; z-index: 300;
      background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 100%);
      backdrop-filter: blur(28px) saturate(1.8) brightness(1.02);
      -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.02);
      border-bottom: 1px solid rgba(226,236,244,.5);
      box-shadow: 0 1px 0 rgba(226,236,244,.5), 0 0 0 0.5px rgba(255,255,255,.8), 0 2px 12px rgba(7,25,46,.04), 0 4px 24px rgba(7,25,46,.03), 0 8px 32px rgba(7,25,46,.04);
      overflow: visible;
    }
    header::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: rgba(255,255,255,.95);
      pointer-events: none;
      z-index: 1;
    }
    header::after {
      content: '';
      position: absolute;
      bottom: -8px; left: 0; right: 0;
      height: 8px;
      background: linear-gradient(180deg, rgba(7,25,46,.04) 0%, transparent 100%);
      pointer-events: none;
      z-index: -1;
    }
/* NAV CSS extracted to assets/site.css — see _scripts/extract_nav_css.py */

    /* ── BREADCRUMB ──────────────────────────────────────── */
    .breadcrumb {
      max-width: 1200px; margin: 0 auto;
      padding: 16px 32px 0;
      font-family: var(--font-b); font-size: 13px; color: var(--muted);
    }
    .breadcrumb a { color: var(--blue); text-decoration: none; transition: color .15s; }
    .breadcrumb a:hover { color: var(--blue-dark); }
    .breadcrumb span { margin: 0 6px; opacity: .5; }

    /* ── SECTION 1: HERO ────────────────────────────────── */
    /* ── SVG LINE-ART DRAW ANIMATION ──────────────────── */
    .payroll-hero {
      background-image:
        radial-gradient(rgba(41,171,226,.06) 1px, transparent 1px),
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(41,171,226,.08), transparent 70%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
      background-size: 20px 20px, 100% 100%, 100% 100%;
      position: relative;
      overflow: hidden;
      padding: 72px 32px 64px;
    }
    .payroll-hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 70% 60% at 20% 30%, rgba(41,171,226,.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 70%, rgba(249,115,22,.04) 0%, transparent 50%);
      pointer-events: none;
    }
    .payroll-hero::after {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    /* ── Ken Burns hero background image ──────────────── */
    .payroll-hero-bg-img {
      position: absolute; inset: 0;
      background: image-set(url('/generated-images/hero-payroll.avif') type('image/avif'), url('/generated-images/hero-payroll.webp') type('image/webp'), url('/generated-images/hero-payroll.jpeg') type('image/jpeg')) center center / cover no-repeat;
      animation: kenBurnsPayroll 20s ease-in-out infinite alternate;
      will-change: transform; z-index: 0; opacity: 0.15;
    }
    @keyframes kenBurnsPayroll {
      0% { transform: scale(1); }
      100% { transform: scale(1.05); }
    }
    @media (prefers-reduced-motion: reduce) {
      .payroll-hero-bg-img { animation: none; }
    }

    /* ── Image divider between major sections ─────────── */
    .payroll-img-divider {
      width: 100%; height: 280px;
      background: image-set(url('/generated-images/section-payroll-ease.avif') type('image/avif'), url('/generated-images/section-payroll-ease.webp') type('image/webp'), url('/generated-images/section-payroll-ease.jpeg') type('image/jpeg')) center center / cover no-repeat;
      position: relative; overflow: hidden;
    }
    .payroll-img-divider::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, var(--white) 0%, transparent 30%, transparent 70%, var(--white) 100%);
    }
    @media (max-width: 1024px) { .payroll-img-divider { height: 200px; } }

    /* ── Gradient orb animation ────────────────────────── */
    @keyframes orbDrift {
      0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.06; }
      33% { transform: translate(25px, -18px) scale(1.08); opacity: 0.09; }
      66% { transform: translate(-18px, 12px) scale(0.95); opacity: 0.07; }
    }
    .payroll-hero-orb {
      position: absolute; width: 400px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(41,171,226,.12) 0%, transparent 70%);
      animation: orbDrift 12s ease-in-out infinite;
      pointer-events: none; z-index: 0; right: 12%; top: 8%;
    }
    @media (prefers-reduced-motion: reduce) { .payroll-hero-orb { animation: none; } }

    .hero-container {
      max-width: 1200px; margin: 0 auto;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      align-items: center;
      position: relative; z-index: 2;
    }
    .hero-copy {}
    .hero-h1 {
      font-family: var(--font-h);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.025em;
      color: var(--white);
      margin-bottom: 20px;
    }
    .hero-sub {
      font-family: var(--font-b); font-size: clamp(17px, 2vw, 20px); font-weight: 400;
      color: rgba(255,255,255,.78);
      max-width: 540px; line-height: 1.7;
      margin-bottom: 28px;
    }
    .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
    .btn-primary {
      font-family: var(--font-b); font-size: 16px; font-weight: 600;
      color: #fff; background: var(--orange);
      padding: 15px 28px; border-radius: 12px;
      text-decoration: none; transition: all .2s var(--ease);
      min-height: 52px; display: inline-flex; align-items: center; gap: 8px;
      cursor: pointer; border: none;
      box-shadow: 0 4px 14px rgba(249,115,22,.18);
    }
    .btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
    .btn-ghost {
      font-family: var(--font-b); font-size: 16px; font-weight: 600;
      color: #fff; background: transparent;
      padding: 15px 28px; border-radius: 12px;
      text-decoration: none; transition: all .2s var(--ease);
      min-height: 52px; display: inline-flex; align-items: center; gap: 8px;
      cursor: pointer; border: 1px solid rgba(255,255,255,.3);
    }
    .btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

    /* Hero Dashboard Mockup */
    .hero-visual {
      display: flex; align-items: center; justify-content: center;
    }
    .payroll-mockup {
      position: relative;
      width: 100%; max-width: 460px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.05) 100%);
      backdrop-filter: blur(24px) saturate(1.3);
      -webkit-backdrop-filter: blur(24px) saturate(1.3);
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 22px;
      /* Layered shadow stack — close drop + far cinematic + warm accent halo */
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 1px 0 rgba(13, 24, 41, 0.4),
        0 8px 24px rgba(0,0,0,.25),
        0 28px 64px -16px rgba(0,0,0,.35),
        0 40px 90px -24px rgba(20, 121, 163, 0.25);
      overflow: hidden;
      isolation: isolate;
    }
    /* Ambient halo glow — soft warm+cool wash behind the card so it
       reads as floating on the navy hero, not pasted on it. Sits
       outside the card via outset positioning + z-index isolation. */
    .payroll-mockup::before {
      content: '';
      position: absolute;
      inset: -40% -25%;
      background:
        radial-gradient(50% 50% at 30% 0%, rgba(249, 115, 22, 0.20) 0%, transparent 60%),
        radial-gradient(40% 50% at 100% 100%, rgba(41, 171, 226, 0.20) 0%, transparent 60%);
      opacity: .8;
      z-index: -1;
      pointer-events: none;
      filter: blur(40px);
    }
    /* Subtle highlight along the top inner edge — gives the glass a tactile
       sheen without going into skeuomorphic territory. */
    .payroll-mockup::after {
      content: '';
      position: absolute;
      top: 0; left: 24px; right: 24px;
      height: 1px;
      background: linear-gradient(90deg,
                  transparent 0%,
                  rgba(255, 255, 255, 0.35) 50%,
                  transparent 100%);
      pointer-events: none;
      z-index: 1;
    }
    .mock-header {
      padding: 20px 24px 16px;
      border-bottom: 1px solid rgba(255,255,255,.08);
      display: flex; justify-content: space-between; align-items: center;
    }
    .mock-title {
      font-family: var(--font-h); font-size: 15px; font-weight: 700;
      color: rgba(255,255,255,.9);
    }
    .mock-badge {
      /* High-contrast pill (2026-05-20). Old pale-blue/pale-blue combo
         was invisible at WCAG AA. Now solid blue bg + white text. */
      font-family: var(--font-b); font-size: 12px; font-weight: 700;
      letter-spacing: 0.02em;
      background: var(--blue, #1479A3); color: #fff;
      padding: 5px 12px; border-radius: 20px;
      box-shadow: 0 1px 2px rgba(20, 121, 163, 0.25);
    }
    .mock-period {
      padding: 0 24px;
      margin-top: 12px;
      font-family: var(--font-b); font-size: 13px; font-weight: 500;
      color: rgba(255,255,255,.76);
    }
    .mock-body { padding: 16px 24px 24px; }
    .mock-stat-row {
      display: flex; gap: 12px; margin-bottom: 16px;
    }
    .mock-stat {
      flex: 1;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 12px;
      padding: 14px 16px;
    }
    .mock-stat-label {
      font-family: var(--font-b); font-size: 11px; font-weight: 500;
      color: rgba(255,255,255,.74); margin-bottom: 4px;
    }
    .mock-stat-value {
      font-family: var(--font-h); font-size: 22px; font-weight: 700;
      color: var(--white);
    }
    .mock-checklist { list-style: none; padding: 0; }
    .mock-checklist li {
      display: flex; align-items: center; gap: 10px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,.06);
      font-family: var(--font-b); font-size: 14px; font-weight: 500;
      color: rgba(255,255,255,.8);
    }
    .mock-checklist li:last-child { border-bottom: none; }
    .check-icon {
      width: 20px; height: 20px; border-radius: 50%;
      background: rgba(34,197,94,.15);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .check-icon svg { width: 12px; height: 12px; stroke: var(--green); fill: none; stroke-width: 2.5; }
    .mock-run-btn {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      width: 100%;
      margin-top: 16px; padding: 14px;
      background: var(--blue); color: #fff;
      font-family: var(--font-b); font-size: 14px; font-weight: 700;
      border: none; border-radius: 10px;
      text-align: center; letter-spacing: .3px;
      position: relative;
      /* 2026-05-20: now a real <a> anchor wired to demo-trigger */
      cursor: pointer;
      text-decoration: none;
      transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    }
    .mock-run-btn:hover,
    .mock-run-btn:focus-visible {
      background: #0F66A6;
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(20, 121, 163, 0.35);
      color: #fff;
    }
    .mock-run-btn:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 3px;
    }
    .mock-run-btn:active { transform: translateY(0); }
    /* Live "ready" pulse-dot prepended to button text — signals live system,
       not a static mockup. CSS-only @keyframes, GPU-friendly transform/opacity. */
    .mock-run-btn::before {
      content: '';
      display: inline-block;
      width: 8px; height: 8px;
      border-radius: 50%;
      background: #22C55E;
      box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
      animation: mock-live-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    }
    @keyframes mock-live-pulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
      50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    }
    @media (prefers-reduced-motion: reduce) {
      .mock-run-btn::before { animation: none !important; }
    }

    /* Soft breathing glow on the "47 Employees" badge — subtle ring expansion
       cycles with the run button pulse, reinforcing the "live system" feel. */
    .mock-badge {
      position: relative;
      animation: mock-badge-breathe 4s cubic-bezier(.45, 0, .55, 1) infinite;
    }
    @keyframes mock-badge-breathe {
      0%, 100% { box-shadow: 0 0 0 0 rgba(41, 171, 226, 0.25); }
      50%      { box-shadow: 0 0 0 4px rgba(41, 171, 226, 0.05); }
    }
    @media (prefers-reduced-motion: reduce) {
      .mock-badge { animation: none !important; }
    }

    /* ── SECTION 2: CORE CAPABILITIES ───────────────────── */
    .sec-capabilities {
      background: var(--white);
      padding: 104px 32px;
    }
    .sec-inner { max-width: 1200px; margin: 0 auto; }
    .sec-label {
      font-family: var(--font-b); font-size: 13px; font-weight: 600;
      color: var(--blue); letter-spacing: 1.2px; text-transform: uppercase;
      margin-bottom: 12px;
    }
    .sec-h2 {
      font-family: var(--font-h); font-size: clamp(26px, 3vw, 36px); font-weight: 800;
      color: var(--text); line-height: 1.1; margin-bottom: 12px;
      letter-spacing: -0.022em;
    }
    .sec-sub {
      font-family: var(--font-b); font-size: 17px; font-weight: 400;
      color: var(--muted); max-width: 600px; margin-bottom: 48px; line-height: 1.6;
    }
    .cap-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .cap-card {
      background: var(--off);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 28px;
      transition: all .3s var(--ease);
    }
    .cap-card:hover {
      border-color: rgba(41,171,226,.3);
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }
    .cap-icon {
      width: 52px; height: 52px;
      border-radius: 50%;
      background: rgba(41,171,226,.08);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 16px;
    }
    .cap-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
    .cap-title {
      font-family: var(--font-b); font-size: 16px; font-weight: 600;
      color: var(--text); margin-bottom: 8px;
    }
    .cap-desc {
      font-family: var(--font-b); font-size: 14px; font-weight: 400;
      color: var(--muted); line-height: 1.55;
    }

    /* ── SECTION 3: WHAT MAKES US DIFFERENT ──────────────── */
    .sec-diff {
      background: var(--off);
      padding: 96px 32px;
    }
    .diff-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .diff-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 36px;
      box-shadow: var(--glass-shadow);
      transition: all .35s var(--ease);
      position: relative;
      overflow: hidden;
    }
    .diff-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 4px;
    }
    .diff-card:hover {
      box-shadow: var(--glass-shadow-hover);
      transform: translateY(-3px);
    }
    .diff-card--blue::before { background: var(--blue); }
    .diff-card--orange::before { background: var(--orange); }
    .diff-card--green::before { background: var(--green); }
    .diff-icon {
      width: 52px; height: 52px;
      border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .diff-icon--blue { background: rgba(41,171,226,.08); }
    .diff-icon--orange { background: rgba(249,115,22,.08); }
    .diff-icon--green { background: rgba(34,197,94,.08); }
    .diff-icon svg { width: 26px; height: 26px; fill: none; stroke-width: 1.8; }
    .diff-icon--blue svg { stroke: var(--blue); }
    .diff-icon--orange svg { stroke: var(--orange); }
    .diff-icon--green svg { stroke: var(--green); }
    .diff-h3 {
      font-family: var(--font-b); font-size: 20px; font-weight: 700;
      color: var(--text); margin-bottom: 12px; line-height: 1.3;
    }
    .diff-body {
      font-family: var(--font-b); font-size: 15px; font-weight: 400;
      color: var(--muted); line-height: 1.65; margin-bottom: 16px;
    }
    .diff-chip {
      display: inline-flex; align-items: center; gap: 6px;
      font-family: var(--font-b); font-size: 12px; font-weight: 500;
      padding: 6px 12px; border-radius: 20px;
    }
    .diff-chip--blue { background: rgba(41,171,226,.08); color: var(--blue); }
    .diff-chip--orange { background: rgba(249,115,22,.08); color: var(--orange); }
    .diff-chip--green { background: rgba(34,197,94,.08); color: var(--green); }

    /* ── SECTION 4: PLATFORM PREVIEW ────────────────────── */
    .sec-platform {
      background: var(--navy);
      padding: 96px 32px;
      position: relative;
      overflow: hidden;
    }
    .sec-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;
    }
    .sec-platform .sec-label { color: rgba(255,255,255,.76); }
    .sec-platform .sec-h2 { color: var(--white); }
    .sec-platform .sec-sub { color: rgba(255,255,255,.82); }
    .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: 440px;
      margin-bottom: 32px;
    }
    .platform-tab {
      flex: 1;
      padding: 10px 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);
      text-align: center;
    }
    .platform-tab:hover { color: rgba(255,255,255,.7); }
    .platform-tab.active {
      background: rgba(255,255,255,.12);
      color: var(--white);
      box-shadow: 0 2px 8px rgba(0,0,0,.2);
    }
    .platform-panels { position: relative; }
    .platform-panel {
      display: none;
      animation: panelFade .35s var(--ease);
    }
    .platform-panel.active { display: block; }
    .browser-frame {
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      max-width: 900px;
    }
    .browser-bar {
      height: 36px;
      background: var(--navy-2);
      display: flex; align-items: center;
      padding: 0 14px; gap: 7px;
    }
    .browser-dot {
      width: 8px; height: 8px; border-radius: 50%;
    }
    .browser-dot--r { background: #FF5F57; }
    .browser-dot--y { background: #FFBD2E; }
    .browser-dot--g { background: #28CA41; }
    .browser-body {
      background: rgba(255,255,255,.05);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,.08);
      border-top: none;
      padding: 28px;
      min-height: 320px;
    }
    .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;
    }

    /* Platform mock content */
    .plat-row { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
    .plat-col { flex: 1; min-width: 200px; }
    .plat-label {
      font-family: var(--font-b); font-size: 11px; font-weight: 600;
      text-transform: uppercase; letter-spacing: 1px;
      color: rgba(255,255,255,.35); margin-bottom: 8px;
    }
    .plat-mini-card {
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 10px;
      padding: 14px 16px;
      margin-bottom: 10px;
    }
    .plat-mini-card .pm-name {
      font-family: var(--font-b); font-size: 13px; font-weight: 600;
      color: rgba(255,255,255,.85);
    }
    .plat-mini-card .pm-detail {
      font-family: var(--font-b); font-size: 12px; font-weight: 400;
      color: rgba(255,255,255,.72); margin-top: 3px;
    }
    .plat-badge {
      display: inline-flex; align-items: center; gap: 4px;
      font-family: var(--font-b); font-size: 11px; font-weight: 600;
      padding: 3px 8px; border-radius: 6px; margin-top: 6px;
    }
    .plat-badge--green { background: rgba(34,197,94,.12); color: var(--green); }
    .plat-badge--blue { background: rgba(41,171,226,.12); color: var(--blue); }
    .plat-badge--orange { background: rgba(249,115,22,.12); color: var(--orange); }
    .plat-total-bar {
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 10px;
      padding: 14px 20px;
      display: flex; justify-content: space-between; align-items: center;
    }
    .plat-total-bar span {
      font-family: var(--font-b); font-size: 13px; font-weight: 500;
      color: rgba(255,255,255,.76);
    }
    .plat-total-bar strong {
      font-family: var(--font-h); font-size: 18px; font-weight: 700;
      color: var(--white);
    }
    .plat-submit-btn {
      display: block; width: 100%; margin-top: 16px;
      padding: 12px; background: var(--blue);
      color: #fff; font-family: var(--font-b); font-size: 14px; font-weight: 700;
      border: none; border-radius: 10px; text-align: center;
      /* 2026-05-05: was cursor:default (fake mockup button). Now wired to
         the demo-modal scheduler via data-demo-trigger on the <button>. */
      cursor: pointer;
      transition: background 180ms ease-out, transform 180ms ease-out, box-shadow 180ms ease-out;
    }
    .plat-submit-btn:hover {
      background: var(--blue-dark);
      transform: translateY(-1px);
      box-shadow: 0 8px 20px -8px rgba(20, 121, 163, 0.5);
    }
    .plat-submit-btn:focus-visible {
      outline: 2px solid #29ABE2;
      outline-offset: 2px;
    }

    /* Pay stub mock */
    .stub-header {
      display: flex; justify-content: space-between; align-items: flex-start;
      margin-bottom: 20px; padding-bottom: 16px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .stub-emp-name {
      font-family: var(--font-h); font-size: 18px; font-weight: 700;
      color: var(--white);
    }
    .stub-emp-id {
      font-family: var(--font-b); font-size: 12px;
      color: rgba(255,255,255,.72); margin-top: 3px;
    }
    .stub-period-tag {
      font-family: var(--font-b); font-size: 12px; font-weight: 600;
      background: rgba(41,171,226,.12); color: var(--blue);
      padding: 5px 12px; border-radius: 6px;
    }
    .stub-table { width: 100%; border-collapse: collapse; }
    .stub-table th {
      font-family: var(--font-b); font-size: 11px; font-weight: 600;
      color: rgba(255,255,255,.35); text-transform: uppercase;
      letter-spacing: .8px; text-align: left;
      padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .stub-table td {
      font-family: var(--font-b); font-size: 13px;
      color: rgba(255,255,255,.7);
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .stub-table td:last-child { text-align: right; font-weight: 600; color: rgba(255,255,255,.85); }
    .stub-net {
      display: flex; justify-content: space-between; align-items: center;
      margin-top: 16px; padding-top: 14px;
      border-top: 2px solid rgba(41,171,226,.3);
    }
    .stub-net span {
      font-family: var(--font-b); font-size: 14px; font-weight: 600;
      color: rgba(255,255,255,.6);
    }
    .stub-net strong {
      font-family: var(--font-h); font-size: 22px; font-weight: 700;
      color: var(--green);
    }

    /* Tax filing mock */
    .tax-filing-list { list-style: none; }
    .tax-item {
      display: flex; align-items: center; gap: 12px;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .tax-item:last-child { border-bottom: none; }
    .tax-status-icon {
      width: 28px; height: 28px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .tax-status-icon--done { background: rgba(34,197,94,.12); }
    .tax-status-icon--done svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 2.5; }
    .tax-status-icon--upcoming { background: rgba(249,115,22,.12); }
    .tax-status-icon--upcoming svg { width: 14px; height: 14px; stroke: var(--orange); fill: none; stroke-width: 2.5; }
    .tax-info { flex: 1; }
    .tax-name {
      font-family: var(--font-b); font-size: 14px; font-weight: 600;
      color: rgba(255,255,255,.85);
    }
    .tax-date {
      font-family: var(--font-b); font-size: 12px;
      color: rgba(255,255,255,.72); margin-top: 2px;
    }
    .tax-tag {
      font-family: var(--font-b); font-size: 11px; font-weight: 600;
      padding: 4px 10px; border-radius: 6px;
    }
    .tax-tag--filed { background: rgba(34,197,94,.1); color: var(--green); }
    .tax-tag--due { background: rgba(249,115,22,.1); color: var(--orange); }

    /* ── SECTION 5: PROOF ───────────────────────────────── */
    .sec-proof {
      background: var(--navy);
      padding: 80px 32px 56px;
      position: relative;
    }
    .sec-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;
    }
    .proof-inner { max-width: 960px; margin: 0 auto; position: relative; z-index: 2; }
    .stats-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      margin-bottom: 56px;
    }
    .stat-item {
      text-align: center;
      padding: 16px;
      position: relative;
    }
    .stat-item:not(:last-child)::after {
      content: '';
      position: absolute; right: 0; top: 50%;
      transform: translateY(-50%);
      width: 1px; height: 48px;
      background: rgba(255,255,255,.12);
    }
    .stat-number {
      font-family: var(--font-h); font-size: 48px; font-weight: 800;
      color: var(--white); line-height: 1;
      margin-bottom: 6px;
    }
    .stat-number .sfx {
      font-size: 32px; font-weight: 700;
    }
    .stat-label {
      font-family: var(--font-b); font-size: 14px; font-weight: 400;
      color: rgba(255,255,255,.6);
    }
    .testimonial-block {
      max-width: 720px; margin: 0 auto;
      text-align: center; position: relative;
    }
    .testi-mark {
      font-family: var(--font-h); font-size: 72px; font-weight: 800;
      color: rgba(41,171,226,.3);
      line-height: 1; margin-bottom: -20px;
    }
    .testi-quote {
      font-family: var(--font-b); font-size: 20px; font-weight: 400;
      font-style: italic; color: rgba(255,255,255,.85);
      line-height: 1.7; margin-bottom: 24px;
    }
    .testi-attr {
      display: flex; flex-direction: column; align-items: center; gap: 2px;
    }
    .testi-name {
      font-family: var(--font-b); font-size: 16px; font-weight: 600;
      color: var(--white);
    }
    .testi-role {
      font-family: var(--font-b); font-size: 14px; font-weight: 400;
      color: rgba(255,255,255,.6);
    }
    .testi-headshot-payroll {
      width: 56px; height: 56px; border-radius: 50%;
      object-fit: cover; margin: 0 auto 12px;
      border: 2px solid rgba(41,171,226,.3);
    }
    .testi-metric-badge {
      display: inline-block;
      background: rgba(41,171,226,.12);
      border: 1px solid rgba(41,171,226,.22);
      border-radius: 10px; padding: 6px 14px;
      font-family: var(--font-h); font-size: 13px; font-weight: 700;
      color: var(--blue); margin-bottom: 16px;
    }

    /* ── SECTION 6: INTEGRATION STORY ───────────────────── */
    .sec-integration {
      background: var(--white);
      padding: 96px 32px;
    }
    .integration-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
    .flow-diagram {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      margin: 48px 0 40px;
      flex-wrap: wrap;
    }
    .flow-node {
      display: flex; flex-direction: column; align-items: center;
      gap: 10px; position: relative;
    }
    .flow-circle {
      width: 72px; height: 72px;
      border-radius: 50%;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      background: rgba(244,248,252,.9);
      border: 1px solid var(--border);
      box-shadow: var(--mini-shadow);
      display: flex; align-items: center; justify-content: center;
      transition: all .3s var(--ease);
    }
    .flow-circle svg { width: 28px; height: 28px; stroke: var(--muted); fill: none; stroke-width: 1.5; }
    .flow-circle:hover { border-color: rgba(41,171,226,.3); transform: scale(1.05); }
    .flow-node--active .flow-circle {
      width: 80px; height: 80px;
      border: 2px solid var(--blue);
      background: rgba(41,171,226,.06);
    }
    .flow-node--active .flow-circle svg { stroke: var(--blue); }
    .flow-node-label {
      font-family: var(--font-b); font-size: 13px; font-weight: 500;
      color: var(--muted);
    }
    .flow-node--active .flow-node-label {
      font-weight: 700; color: var(--text);
    }
    .flow-connector {
      width: 48px; height: 2px;
      background: linear-gradient(90deg, var(--border), rgba(41,171,226,.4), var(--border));
      position: relative;
      margin: 0 4px;
      margin-bottom: 26px;
    }
    .flow-connector::after {
      content: '';
      position: absolute; right: -4px; top: 50%;
      transform: translateY(-50%);
      width: 0; height: 0;
      border-top: 4px solid transparent;
      border-bottom: 4px solid transparent;
      border-left: 6px solid rgba(41,171,226,.4);
    }
    .flow-desc {
      font-family: var(--font-b); font-size: 16px; font-weight: 400;
      color: var(--muted); max-width: 640px; margin: 0 auto; line-height: 1.65;
    }

    /* ── GRADIENT SECTION DIVIDER ──────────────────────── */
    .sec-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, var(--border) 15%, var(--border) 85%, transparent 100%);
      margin: 0 auto;
      max-width: 1200px;
    }

    /* ── SECTION 7: BOTTOM CTA ──────────────────────────── */
    .sec-cta {
      background: var(--off);
      border-top: none;
      padding: 96px 32px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .sec-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      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,.03) 0%, transparent 50%);
      pointer-events: none;
    }
    .cta-inner { max-width: 600px; margin: 0 auto; }
    .cta-h2 {
      font-family: var(--font-h); font-size: clamp(24px, 3vw, 34px); font-weight: 800;
      color: var(--text); margin-bottom: 16px;
      letter-spacing: -0.02em;
    }
    .cta-sub {
      font-family: var(--font-b); font-size: 17px; font-weight: 400;
      color: var(--muted); margin-bottom: 32px; line-height: 1.65;
    }
    /* FIX-7 2026-04-15: scope this `.btn-primary` override to .btn-cta-primary only,
       so the site-wide orange `.btn-primary` (line 424) wins for all hero/CTA buttons
       including the mobile viewport. The blue gradient was leaking into the primary
       hero CTA on mobile ("Get a Payroll Quote →"). */
    .btn-cta-primary {
      font-family: var(--font-b); font-size: 16px; font-weight: 600;
      color: #fff; background: var(--blue);
      padding: 16px 32px; border-radius: 12px;
      text-decoration: none; transition: all .2s var(--ease);
      min-height: 52px; display: inline-flex; align-items: center; gap: 8px;
      cursor: pointer; border: none;
      box-shadow: 0 4px 14px rgba(41,171,226,.18);
    }
    .btn-cta-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(41,171,226,.35); }
    .cta-phone, .btn-tel {
      display: block; margin-top: 16px;
      font-family: var(--font-b); font-size: 15px; font-weight: 600;
      color: var(--blue);
    }
    .cta-phone:hover, .btn-tel:hover { color: var(--blue-dark); }
    .cta-trust {
      font-family: var(--font-b); font-size: 13px; font-weight: 400;
      color: var(--muted); margin-top: 12px;
    }

    /* ── FOOTER ──────────────────────────────────────────── */
    footer { background: #040E1A; padding: 64px 32px 32px; color: rgba(255,255,255,.72); }
    .ft { max-width: 1200px; margin: 0 auto; }
    .ft-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
    .ft-logo img { height: 36px; width: auto; display: block; margin-bottom: 14px; }
    .ft-tagline { font-family: var(--font-b); font-size: 13.5px; color: rgba(255,255,255,.30); line-height: 1.65; margin-bottom: 20px; }
    .ft-phone {
      display: inline-flex; align-items: center; gap: 7px;
      font-family: var(--font-b); font-size: 14.5px; font-weight: 700;
      color: var(--blue); text-decoration: none; transition: color .15s;
    }
    .ft-phone:hover { color: #7DD4F5; }
    .ft-col h3 {
      font-family: var(--font-b); font-size: 11px; font-weight: 700;
      letter-spacing: 1.4px; text-transform: uppercase;
      color: rgba(255,255,255,.70); margin-bottom: 16px;
    }
    .ft-col a {
      display: block; font-family: var(--font-b); font-size: 14px;
      color: rgba(255,255,255,.88); text-decoration: none;
      margin-bottom: 10px; transition: color .15s;
    }
    .ft-col a:hover { color: #fff; }
    .ft-bottom {
      border-top: 1px solid rgba(255,255,255,.06);
      padding-top: 28px; display: flex;
      justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 12px;
      font-family: var(--font-b); font-size: 12.5px;
    }
    .ft-legal { display: flex; gap: 20px; }
    .ft-legal a { color: rgba(255,255,255,.26); text-decoration: none; transition: color .15s; }
    .ft-legal a:hover { color: #fff; }

    /* ── ENHANCEMENT KEYFRAMES ────────────────────────────── */
    @keyframes tick-up {
      0% { opacity: 1; transform: translateY(0); }
      40% { opacity: 0; transform: translateY(-6px); }
      60% { opacity: 0; transform: translateY(6px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes pulse-dot {
      0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
      50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
    }
    @keyframes shimmer-slide {
      0% { transform: translateX(-100%) skewX(-15deg); }
      100% { transform: translateX(200%) skewX(-15deg); }
    }
    @keyframes dash-march {
      0% { stroke-dashoffset: 24; }
      100% { stroke-dashoffset: 0; }
    }
    @keyframes glow-pulse-blue {
      0%, 100% { box-shadow: 0 0 0 0 rgba(41,171,226,0), 0 0 20px rgba(41,171,226,0); }
      50% { box-shadow: 0 0 0 6px rgba(41,171,226,.1), 0 0 30px rgba(41,171,226,.15); }
    }
    @keyframes stat-glow {
      0%, 100% { text-shadow: 0 0 20px rgba(41,171,226,0); }
      50% { text-shadow: 0 0 40px rgba(41,171,226,.3); }
    }
    @keyframes stat-glow-hero {
      0%, 100% { text-shadow: 0 0 30px rgba(41,171,226,0); }
      50% { text-shadow: 0 0 60px rgba(41,171,226,.4), 0 0 100px rgba(41,171,226,.15); }
    }
    @keyframes border-fill-down {
      from { height: 0; }
      to { height: 100%; }
    }
    @keyframes icon-rotate-hover {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(8deg); }
    }
    @keyframes slide-underline {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
    @keyframes line-glow {
      0%, 100% { opacity: .3; }
      50% { opacity: .7; }
    }

    /* ── DASHBOARD MOCKUP ENHANCEMENTS ───────────────────── */
    .payroll-mockup {
      box-shadow:
        0 0 0 0.5px rgba(255,255,255,.15),
        0 4px 24px rgba(0,0,0,.2),
        0 16px 56px rgba(0,0,0,.15),
        0 32px 80px rgba(0,0,0,.1);
    }
    .mock-stat-value {
      position: relative;
    }
    .mock-stat-value.tick-anim {
      animation: tick-up .5s var(--ease);
    }
    /* Pulsing green dot next to Run Payroll */
    .mock-run-btn {
      position: relative;
      padding-left: 32px;
    }
    .mock-run-btn::before {
      content: '';
      position: absolute;
      left: calc(50% - 50px);
      top: 50%;
      transform: translateY(-50%);
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green);
      animation: pulse-dot 2s ease-in-out infinite;
    }

    /* ── TAB SWITCHER ENHANCEMENTS ───────────────────────── */
    .platform-tabs {
      position: relative;
    }
    .platform-tab {
      position: relative;
      z-index: 1;
    }
    .platform-tab.active::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 8px;
      right: 8px;
      height: 2px;
      background: var(--blue);
      border-radius: 2px;
      animation: slide-underline .3s var(--ease) forwards;
      transform-origin: left;
    }
    .platform-tab:not(.active)::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 8px;
      right: 8px;
      height: 2px;
      background: transparent;
    }
    /* Enhanced panel transition */
    @keyframes panelFade {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .platform-panel.active {
      display: block;
      animation: panelFade .4s var(--ease);
    }

    /* ── CAPABILITY GRID ENHANCEMENTS ────────────────────── */
    .cap-card {
      border-left: 3px solid transparent;
      transition: all .3s var(--ease), border-left-color .3s, transform .3s;
    }
    .cap-card:hover {
      border-left-color: var(--blue);
      transform: translateX(4px) translateY(-2px);
    }
    .cap-icon {
      transition: background .3s, transform .3s;
    }
    .cap-card:hover .cap-icon {
      background: rgba(41,171,226,.14);
      transform: scale(1.05);
    }

    /* ── INTEGRATION FLOW ENHANCEMENTS ───────────────────── */
    .flow-connector {
      overflow: visible;
      position: relative;
    }
    .flow-connector-svg {
      position: absolute;
      top: -4px;
      left: -2px;
      width: calc(100% + 8px);
      height: 10px;
    }
    .flow-connector-svg line {
      stroke: rgba(41,171,226,.4);
      stroke-width: 2;
      stroke-dasharray: 6 6;
      animation: dash-march 1.2s linear infinite;
    }
    .flow-node--active .flow-circle {
      animation: glow-pulse-blue 3s ease-in-out infinite;
    }
    .flow-connector {
      background: none;
    }
    .flow-connector::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--border), rgba(41,171,226,.25), var(--border));
      animation: line-glow 3s ease-in-out infinite;
    }

    /* ── PROOF STATS ENHANCEMENTS ────────────────────────── */
    .stat-number {
      background: linear-gradient(135deg, #fff 0%, var(--blue) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
    }
    .stat-number .sfx {
      background: linear-gradient(135deg, rgba(255,255,255,.8) 0%, var(--blue) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    /* hero stat - extra large + pulsing glow */
    .stat-item:first-child .stat-number {
      font-size: 64px;
      animation: stat-glow-hero 3s ease-in-out infinite;
    }
    .stat-item {
      position: relative;
    }
    .stat-item::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -60%);
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(41,171,226,.06) 0%, transparent 70%);
      pointer-events: none;
    }
    .stat-item:first-child::before {
      width: 120px;
      height: 120px;
      background: radial-gradient(circle, rgba(41,171,226,.10) 0%, transparent 70%);
    }

    /* ── DIFFERENTIATION CARD ENHANCEMENTS ────────────────── */
    .diff-card {
      position: relative;
      overflow: hidden;
    }
    /* Animated left border that fills on reveal */
    .diff-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 0;
      border-radius: 0 0 0 20px;
      transition: height .8s var(--ease);
    }
    .diff-card--blue::after { background: var(--blue); }
    .diff-card--orange::after { background: var(--orange); }
    .diff-card--green::after { background: var(--green); }
    .diff-card.revealed::after {
      height: 100%;
    }
    /* Icon rotation on hover */
    .diff-icon {
      transition: transform .4s var(--ease);
    }
    .diff-card:hover .diff-icon {
      transform: rotate(8deg) scale(1.05);
    }

    /* ── SCROLL REVEAL ───────────────────────────────────── */
    .reveal {
      opacity: 0; transform: translateY(28px);
      transition: opacity .65s var(--ease), transform .65s var(--ease);
    }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
    /* Hero content always visible */
    .payroll-hero .reveal { opacity: 1; transform: translateY(0); }
    .reveal-d1 { transition-delay: .08s; }
    .reveal-d2 { transition-delay: .18s; }
    .reveal-d3 { transition-delay: .28s; }
    .reveal-d4 { transition-delay: .38s; }
    .reveal-d5 { transition-delay: .48s; }
    .reveal-d6 { transition-delay: .58s; }
    .reveal-d7 { transition-delay: .68s; }
    .reveal-d8 { transition-delay: .78s; }
    .reveal-d9 { transition-delay: .88s; }

    /* ── YOUR TEAM SECTION ─────────────────────────── */
    .svc-advisor-sec { background: var(--off); }
    .svc-advisor-sec .eyebrow {
      font-family: var(--font-b); font-size: 11px; font-weight: 700;
      letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-dark);
      margin-bottom: 10px;
    }
    .svc-advisor-sec .sec-h2 {
      font-family: var(--font-h); font-size: clamp(24px, 3.2vw, 36px);
      font-weight: 800; color: var(--navy); letter-spacing: -.6px; line-height: 1.2;
    }
    .sec-960 {
      max-width: 960px; margin: 0 auto; padding: 0 32px;
    }
    .svc-adv-layout { display: grid; grid-template-columns: 45fr 55fr; gap: 56px; align-items: center; }
        .svc-adv-photo-wrap { display: flex; justify-content: center; position: relative; }
    .svc-adv-photo-bg { display: none; }
    .svc-adv-photo { width: 100%; max-width: 360px; min-height: 380px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(7,25,46,.05), 0 24px 64px rgba(7,25,46,.10); display: flex; flex-direction: column; padding: 28px 26px 24px; position: relative; overflow: hidden; }
    .svc-adv-photo::before { content:''; position:absolute; top:0; left:0; right:0; height:4px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%); }
    .svc-adv-photo svg { display:none; }
    .adv-card-header { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
    .adv-card-avatar { width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 100%); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--font-h); font-size:22px; font-weight:800; flex-shrink:0; }
    .adv-card-name { font-family:var(--font-h); font-size:17px; font-weight:700; color:var(--text); margin:0; line-height:1.2; }
    .adv-card-role { font-family:var(--font-b); font-size:13px; color:var(--muted); margin-top:3px; }
    .adv-card-status { display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px; background:rgba(34,197,94,.12); color:#15803D; font-family:var(--font-h); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:18px; align-self:flex-start; border:1px solid rgba(34,197,94,.28); }
    .adv-card-status::before { content:''; width:7px; height:7px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 3px rgba(34,197,94,.18); }
    .adv-card-stats { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:18px; }
    .adv-card-stat { background:var(--off); border:1px solid var(--border); border-radius:10px; padding:12px 14px; }
    .adv-card-stat-label { font-family:var(--font-b); font-size:10px; font-weight:700; letter-spacing:.10em; text-transform:uppercase; color:var(--muted); }
    .adv-card-stat-value { font-family:var(--font-h); font-size:18px; font-weight:800; color:var(--text); margin-top:2px; line-height:1.1; }
    .adv-card-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:16px; border-top:1px solid var(--border); }
    .adv-card-tag { font-family:var(--font-b); font-size:11px; font-weight:600; color:var(--blue-dark); background:rgba(41,171,226,.10); border:1px solid rgba(41,171,226,.22); border-radius:999px; padding:4px 10px; }
    .svc-adv-text h2 { margin-bottom: 24px; }
    .svc-adv-text p { font-family: var(--font-b); font-size: 1rem; font-weight: 400; color: var(--text); line-height: 1.75; margin-bottom: 16px; }
    .svc-adv-pullquote { font-family: var(--font-h); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.45; padding-left: 20px; border-left: 3px solid var(--orange); margin: 24px 0; }
    .svc-adv-micro { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
    .svc-adv-micro-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-b); font-size: 0.875rem; font-weight: 500; color: var(--navy); }
    .svc-adv-micro-item svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2.5; flex-shrink: 0; }
    .svc-adv-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
    .svc-adv-cta .btn-orange-solid {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--orange); color: #fff; border: none; border-radius: 10px;
      padding: 14px 28px; font-family: var(--font-b); font-size: 15px; font-weight: 700;
      text-decoration: none; cursor: pointer; width: fit-content;
      transition: background .2s, transform .2s;
    }
    .svc-adv-cta .btn-orange-solid:hover { background: #EA580C; transform: translateY(-2px); }
    .svc-adv-team-link {
      font-family: var(--font-b); font-size: 13px; font-weight: 600;
      color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
    }
    .svc-adv-team-link:hover { color: var(--blue-dark); text-decoration: underline; }

    /* ── RESPONSIVE ──────────────────────────────────────── */
    @media (max-width: 1100px) {
      .hero-container { grid-template-columns: 1fr; }
      .hero-visual { padding-top: 16px; }
      .payroll-mockup { max-width: 400px; margin: 0 auto; }
      .hero-h1 { font-size: 42px; }
    }
    @media (max-width: 900px) {
      .cross-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
      .cap-grid { grid-template-columns: repeat(2, 1fr); }
      .diff-grid { grid-template-columns: 1fr; }
      .stats-strip { grid-template-columns: repeat(2, 1fr); }
      .stat-item:nth-child(2)::after { display: none; }
      .stat-item { padding: 20px 12px; }
      .svc-adv-layout { grid-template-columns: 1fr; gap: 32px; text-align: center; }
      .svc-adv-photo-wrap { order: -1; }
      .svc-adv-pullquote { text-align: left; }
      .svc-adv-micro { justify-content: center; }
      .svc-adv-cta { align-items: center; }
    }
    @media (max-width: 960px) {
      nav { display: none; }
      .btn-nav-ghost { display: none; }
      .ham { display: flex; }
      .mob-overlay { display: block; }
      .payroll-hero { padding: 48px 24px 40px; }
      .hero-h1 { font-size: 30px; }
      .hero-sub { font-size: 17px; }
      .hero-ctas { flex-direction: column; }
      .hero-ctas a { width: 100%; justify-content: center; }
      .sec-capabilities, .sec-diff, .sec-integration { padding: 64px 24px; }
      .sec-platform { padding: 64px 24px; }
      .sec-proof { padding: 56px 24px; }
      .sec-cta { padding: 56px 24px; }
      .sec-h2 { font-size: 28px; }
      .cta-h2 { font-size: 28px; }
      .cap-grid { grid-template-columns: 1fr; }
      .flow-diagram { flex-direction: column; gap: 0; }
      .flow-connector {
        width: 2px; height: 32px;
        background: none;
        margin: 4px 0; margin-bottom: 0;
      }
      .flow-connector::before {
        width: 2px; height: 100%;
        background: linear-gradient(180deg, var(--border), rgba(41,171,226,.25), var(--border));
      }
      .flow-connector::after {
        right: auto; top: auto; bottom: -4px;
        left: 50%; transform: translateX(-50%);
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid rgba(41,171,226,.4);
        border-bottom: none;
      }
      .flow-connector-svg { display: none; }
      .platform-tabs { max-width: 100%; }
      .plat-row { flex-direction: column; }
      .ft-top { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
      .stat-number { font-size: 36px; }
      .stat-item:first-child .stat-number { font-size: 44px; }
      .testi-quote { font-size: 17px; }
      .breadcrumb { padding: 12px 24px 0; }
    }
    @media (max-width: 480px) {
      .ft-top { grid-template-columns: 1fr; }
      .stats-strip { grid-template-columns: 1fr 1fr; }
      .mock-stat-row { flex-direction: column; }
    }

    /* WP/Elementor link color override */
    a.btn-primary, a.btn-cta-primary { color: #fff !important; text-decoration: none !important; }
    a.btn-ghost { color: #fff !important; text-decoration: none !important; }
    a.btn-nav-primary { color: #fff !important; text-decoration: none !important; }
    a.mob-cta-primary { color: #fff !important; text-decoration: none !important; }

    /* ── 21ST.DEV TEXT CYCLE ─────────────────────────────── */
    .hero-cycle-wrap {
      display: inline-block;
      position: relative;
      min-width: 180px;
      text-align: left;
      overflow: hidden;
      vertical-align: bottom;
    }
    .hero-cycle-word {
      display: inline-block;
      white-space: nowrap;
      background: linear-gradient(90deg, #F97316 0%, #9333EA 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-cycle-word.cycle-exit {
      animation: heroCycleOut .35s cubic-bezier(.4, 0, .2, 1) forwards;
    }
    .hero-cycle-word.cycle-enter {
      animation: heroCycleIn .45s cubic-bezier(.16, 1, .3, 1) forwards;
    }
    @keyframes heroCycleOut {
      0%   { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); }
      100% { opacity: 0; filter: blur(12px); transform: translateY(18px) scale(0.95); }
    }
    @keyframes heroCycleIn {
      0%   { opacity: 0; filter: blur(12px); transform: translateY(-18px) scale(0.95); }
      100% { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-cycle-word.cycle-exit,
      .hero-cycle-word.cycle-enter {
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
      }
    }
    /* P0 fix 2026-04-15 (reality-check) — `overflow:hidden` on the wrap
       was clipping the cycled accent word on mobile. Per-page rule
       removed 2026-04-15 (reality-check-v2). Shared CSS in
       assets/site.css (V2-1) now handles hero cycle wraps globally. */

    /* ── Phase 3.3: Mobile shadow reduction ──────────── */
    @media (max-width: 1024px) {
      :root {
        --glass-shadow: 0 2px 8px rgba(7,25,46,.04), 0 4px 16px rgba(7,25,46,.03);
        --shadow-md: 0 2px 12px rgba(7,25,46,.06);
        --shadow-sm: 0 1px 6px rgba(7,25,46,.04);
      }
    }

    /* ── Phase 3.4: CTA button press-state ───────────── */
    .btn-primary:active,
    .btn-cta-primary:active,
    .btn-nav-primary:active {
      transform: scale(0.97) translateY(1px);
      transition: transform 0.1s ease;
    }

    /* ── Phase 3.6: Nav link bottom-border slide-in ──── */
    .nav-link { position: relative; }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -2px; left: 50%;
      width: 0; height: 2px;
      background: var(--blue);
      transition: width 0.25s ease, left 0.25s ease;
    }
    .nav-link:hover::after {
      width: 100%; left: 0;
    }

    /* ── Phase 3.7: Footer gradient transition ───────── */
    footer { position: relative; }
    footer::before {
      content: '';
      position: absolute;
      top: -120px; left: 0; right: 0;
      height: 120px;
      background: linear-gradient(180deg, transparent 0%, #040E1A 100%);
      pointer-events: none;
    }
  
    /* -- CALLBACK WIDGET -- */
    .callback-widget {
      position: fixed; bottom: 24px; right: 24px; z-index: 500;
    }
    .callback-trigger {
      width: 56px; height: 56px; border-radius: 50%;
      background: var(--orange);
      border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 14px rgba(249,115,22,.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .callback-trigger:hover {
      transform: scale(1.08);
      box-shadow: 0 6px 20px rgba(249,115,22,.4);
    }
    .callback-trigger svg { width: 24px; height: 24px; stroke: #fff; fill: none; }
    .callback-panel {
      display: none; position: absolute; bottom: 70px; right: 0;
      width: 320px; background: #fff; border-radius: 16px;
      box-shadow: 0 12px 40px rgba(7,25,46,.15);
      padding: 24px; transform-origin: bottom right;
    }
    .callback-panel.open {
      display: block;
      animation: cbSlideUp 0.3s ease forwards;
    }
    @keyframes cbSlideUp {
      from { opacity: 0; transform: translateY(10px) scale(0.95); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .callback-panel h3 {
      font-family: var(--font-h); font-size: 18px; font-weight: 700;
      color: var(--navy); margin-bottom: 4px;
    }
    .callback-panel p {
      font-size: 14px; color: var(--muted); margin-bottom: 16px;
    }
    .callback-panel input {
      width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
      border-radius: 10px; font-size: 15px; margin-bottom: 12px;
      font-family: var(--font-b);
    }
    .callback-panel input:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(41,171,226,.15);
      outline: none;
    }
    .callback-submit {
      width: 100%; padding: 12px; border: none; border-radius: 10px;
      background: var(--orange); color: #fff; font-weight: 600;
      font-size: 15px; cursor: pointer;
      box-shadow: 0 4px 14px rgba(249,115,22,.18);
    }
    .callback-success { text-align: center; padding: 20px 0; }
    .callback-success svg { width: 48px; height: 48px; stroke: #10B981; margin-bottom: 12px; }
    /* ── MOBILE STICKY CTA BAR ─────────────────────────── */
    .mob-sticky-cta {
      display: none;
      position: fixed; bottom: 0; left: 0; right: 0;
      z-index: 400;
      background: rgba(255,255,255,.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-top: 1px solid var(--border);
      padding: 12px 16px;
      box-shadow: 0 -4px 20px rgba(7,25,46,.08);
    }
    @media (max-width: 1024px) {
      .mob-sticky-cta { display: flex; gap: 10px; align-items: center; }
      body { padding-bottom: 72px; }
    }
    .mob-sticky-cta .mob-cta-btn {
      flex: 1; padding: 14px 20px; border-radius: 12px;
      font-family: var(--font-h); font-size: 15px; font-weight: 700;
      text-align: center; text-decoration: none;
      transition: transform 0.15s ease;
    }
    .mob-sticky-cta .mob-cta-btn:active { transform: scale(0.97); }
    .mob-sticky-cta .mob-cta-primary {
      background: var(--orange); color: #fff;
      box-shadow: 0 4px 14px rgba(249,115,22,.18);
    }
    .mob-sticky-cta .mob-cta-secondary {
      background: transparent; color: var(--navy);
      border: 1.5px solid var(--border);
    }

    /* ── Hero gradient mesh orbs ───────────────────────── */
    .payroll-hero-mesh-orb-1 {
      position: absolute;
      top: -30%;
      right: -20%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(41,171,226,.15) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
    }
    .payroll-hero-mesh-orb-2 {
      position: absolute;
      bottom: -20%;
      left: -15%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(249,115,22,.1) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
    }

    /* ── Dot-grid pattern overlay ──────────────────────── */
    .sec-capabilities {
      position: relative;
    }

    /* ════════════════════════════════════════════════════
       GOD MODE UX/UI POLISH — PAYROLL PAGE
    ════════════════════════════════════════════════════ */

    /* ── 2. STAT COUNTER ANIMATIONS ───────────────────── */
    @keyframes countUp {
      from { opacity: 0; transform: translateY(8px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .stat-num {
      display: inline-block;
      animation: countUp 0.6s var(--ease) both;
    }
    .stat-item:nth-child(1) .stat-num { animation-delay: 0.0s; }
    .stat-item:nth-child(2) .stat-num { animation-delay: 0.12s; }
    .stat-item:nth-child(3) .stat-num { animation-delay: 0.24s; }
    .stat-item:nth-child(4) .stat-num { animation-delay: 0.36s; }

    /* ── 3. BOUNCY FEATURE CARDS ───────────────────────── */
    .diff-card {
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s var(--ease) !important;
    }
    .diff-card--blue:hover {
      transform: translateY(-6px) scale(0.99) !important;
      box-shadow: var(--glass-shadow-hover), 0 12px 32px rgba(41,171,226,.18) !important;
    }
    .diff-card--orange:hover {
      transform: translateY(-6px) scale(0.99) !important;
      box-shadow: var(--glass-shadow-hover), 0 12px 32px rgba(249,115,22,.18) !important;
    }
    .diff-card--green:hover {
      transform: translateY(-6px) scale(0.99) !important;
      box-shadow: var(--glass-shadow-hover), 0 12px 32px rgba(34,197,94,.18) !important;
    }


    /* ── 5. CTA BUTTON SHIMMER ─────────────────────────────
       Removed page-scoped .btn-primary::after override (was killing the
       canonical VSHR gradient reveal from buttons-v2.css). Sitewide button
       behavior now lives in public/buttons-v2.css. --- */

    /* ── BORDER BEAM on featured cards ─────────────────── */
    @keyframes borderBeam {
      0%   { transform: translateX(-100%); }
      100% { transform: translateX(200%); }
    }
    .golden-v2:first-child {
      position: relative;
      overflow: hidden;
    }
    .golden-v2:first-child::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 50%; height: 2px;
      background: linear-gradient(90deg, transparent, var(--blue), transparent);
      animation: borderBeam 3s ease-in-out infinite;
      pointer-events: none;
    }

    /* ── SPOTLIGHT HOVER on capability cards ───────────── */
    .golden-v2 {
      position: relative;
      overflow: hidden;
    }
    .golden-v2::before {
      content: '';
      position: absolute;
      top: var(--mouse-y, 50%);
      left: var(--mouse-x, 50%);
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(41,171,226,.06) 0%, transparent 70%);
      transform: translate(-50%, -50%);
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      z-index: 0;
    }
    .golden-v2:hover::before {
      opacity: 1;
    }

    /* ── TEXT GRADIENT on hero accent word ─────────────── */
    .hero-cycle-word {
      background: linear-gradient(135deg, #F97316 0%, #EA580C 60%, #9A330A 100%) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
    }

    /* ── GRADIENT SECTION DIVIDERS (soft transitions) ──── */
    .sec-capabilities {
      border-bottom: none;
    }
    .sec-diff {
      border-top: none;
      background: linear-gradient(180deg, var(--off) 0%, #EDF2F8 100%);
    }
    .sec-proof {
      border-top: none;
    }

    /* ── 6. SECTION GRADIENT TRANSITIONS ──────────────── */
    .sec-capabilities {
      background: linear-gradient(180deg, var(--white) 0%, var(--off) 100%);
    }

    /* ── 7. TRUST LOGO GRAYSCALE ───────────────────────── */
    .client-proof-logos img {
      filter: grayscale(0.4) opacity(0.7) !important;
      transition: filter 0.2s ease !important;
    }
    .client-proof-logos img:hover {
      filter: none !important;
    }

    /* ── 8. MOBILE RESPONSIVE ENHANCEMENTS ─────────────── */
    @media (max-width: 1024px) {
      .diff-grid {
        grid-template-columns: 1fr !important;
      }
      .hero-ctas .btn-primary,
      .hero-ctas .btn-ghost {
        width: 100%;
        justify-content: center;
      }
      .hero-h1 {
        font-size: 28px;
        font-size: clamp(28px, 7vw, 42px);
      }
      .hero-sub {
        font-size: 15px;
        font-size: clamp(15px, 3.5vw, 18px);
      }
      .stats-strip {
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }

    /* ── 9. LIST ITEM STAGGERED FADE-IN ────────────────── */
    .mock-checklist li {
      opacity: 0;
      transform: translateX(-8px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .mock-checklist li.revealed,
    .mock-checklist.revealed li {
      opacity: 1;
      transform: translateX(0);
    }
    .mock-checklist li:nth-child(1) { transition-delay: 0.05s; }
    .mock-checklist li:nth-child(2) { transition-delay: 0.12s; }
    .mock-checklist li:nth-child(3) { transition-delay: 0.19s; }
    .mock-checklist li:nth-child(4) { transition-delay: 0.26s; }

    /* Tax filing list items staggered reveal */
    .tax-filing-list .tax-item {
      opacity: 0;
      transform: translateX(-8px);
      transition: opacity 0.35s ease, transform 0.35s ease;
    }
    .tax-filing-list.revealed .tax-item {
      opacity: 1;
      transform: translateX(0);
    }
    .tax-filing-list .tax-item:nth-child(1) { transition-delay: 0.05s; }
    .tax-filing-list .tax-item:nth-child(2) { transition-delay: 0.14s; }
    .tax-filing-list .tax-item:nth-child(3) { transition-delay: 0.23s; }
    .tax-filing-list .tax-item:nth-child(4) { transition-delay: 0.32s; }
    .tax-filing-list .tax-item:nth-child(5) { transition-delay: 0.41s; }
  /*callback-widget-mobile-hide-v1*/
@media (max-width: 767px) {
  .callback-widget { display: none !important; }
  .mob-sticky-cta { display: flex !important; }
}
/* reduced-motion-v1 */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}
/* mobile-qa-v1 */
@media (max-width: 767px) {
  .btn, button, .btn-primary, .btn-secondary, .btn-outline, .cta, [class*="btn-"], a.button, input[type="submit"], input[type="button"] {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 12px 18px !important;
  }
  p, li, span, a, td, th, label, input, select, textarea, button, .small, .tag, .badge, .meta, .label, .desc, [class*="-desc"], [class*="-meta"], [class*="-label"], [class*="-tag"], [class*="-badge"], [class*="-time"], [class*="-name"], [class*="-val"], [class*="-num"], [class*="-txt"], [class*="-trend"], [class*="-sub"], [class*="-item"], [class*="-sep"] {
    font-size: max(14px, 1em) !important;
  }
  body, main, section, div, table, .container, .wrap, [class*="-wrap"], [class*="-grid"] {
    max-width: 100% !important;
  }
  img, video, iframe, svg { max-width: 100% !important; height: auto; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mob-drawer, [class*="drawer"], .nav-drawer { width: 88vw !important; max-width: 320px !important; }
  html { overflow-x: hidden !important; }
}
@media (max-width: 359px) {
  .mob-drawer, [class*="drawer"], .nav-drawer { width: 96vw !important; max-width: 100vw !important; }
}
/* scroll-margin-anchor-v2 */
[id], section[id], h1[id], h2[id], h3[id], h4[id] { scroll-margin-top: 130px; }

/* faq-q text override (markup has text directly in button, no span) — applies to .faq-item children */
.faq-item{background:#fff}
.faq-q{font-family:var(--font-b)!important;font-size:15.5px!important;font-weight:600!important;color:var(--navy)!important;background:#fff!important;line-height:1.45;gap:14px;width:100%;border:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:18px 24px;text-align:left;transition:background .15s}
.faq-q:hover{background:var(--off)!important}
.faq-q svg{width:18px;height:18px;flex-shrink:0;stroke:var(--blue-dark);fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease)}
.faq-item.open .faq-q svg{transform:rotate(180deg)}
.faq-item.open .faq-a{max-height:600px}
.faq-a-inner{padding:0 24px 22px;font-family:var(--font-b);font-size:15px;line-height:1.65;color:var(--muted)}
.faq-a-inner a{color:var(--blue-dark);text-decoration:underline}

    /* ── MID-PAGE CTA ─────────────────────────────────── */
    .pay-midcta {
      background: linear-gradient(135deg, #07192E 0%, #0D2B45 100%);
      padding: 64px 32px;
      position: relative;
      overflow: hidden;
    }
    .pay-midcta::before {
      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;
    }
    .pay-midcta__inner {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 48px;
      position: relative;
      z-index: 1;
    }
    .pay-midcta__text { flex: 1; }
    .pay-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;
    }
    .pay-midcta__sub {
      font-family: var(--font-b);
      font-size: 16px;
      color: rgba(255,255,255,.7);
      line-height: 1.65;
      max-width: 480px;
    }
    .pay-midcta__actions {
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex-shrink: 0;
      align-items: center;
    }
    @media (max-width: 768px) {
      .pay-midcta { padding: 48px 24px; }
      .pay-midcta__inner { flex-direction: column; gap: 28px; text-align: center; }
      .pay-midcta__sub { max-width: 100%; }
      .pay-midcta__actions { width: 100%; }
      .pay-midcta__actions .btn-primary { width: 100%; justify-content: center; }
    }

    /* ── CUSTOMER OUTCOME STORIES ────────────────────── */
    .pay-outcomes {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin: 48px auto 48px;
      max-width: 960px;
    }
    .pay-outcome {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 14px;
      padding: 28px 24px;
      position: relative;
      transition: all .3s var(--ease);
    }
    .pay-outcome:hover {
      background: rgba(255,255,255,.06);
      border-color: rgba(41,171,226,.2);
      transform: translateY(-2px);
    }
    .pay-outcome__metric {
      font-family: var(--font-h);
      font-size: 18px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 12px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(255,255,255,.08);
      letter-spacing: -.01em;
    }
    .pay-outcome__story {
      font-family: var(--font-b);
      font-size: 14px;
      color: rgba(255,255,255,.72);
      line-height: 1.65;
      margin-bottom: 14px;
    }
    .pay-outcome__attr {
      font-family: var(--font-b);
      font-size: 12px;
      font-weight: 500;
      color: rgba(255,255,255,.4);
      letter-spacing: .02em;
    }
    @media (max-width: 768px) {
      .pay-outcomes { grid-template-columns: 1fr; max-width: 440px; }
    }

    /* ZAYZOON-CALLOUT-v1 */
    /* ZayZoon on-demand pay callout — injected into 6 hourly-heavy
       industry verticals. Dark navy section with teal/violet accent,
       glass card, stat strip, feature list, and gradient CTA. */
    .zz-callout-sec {
      background: transparent;
      color: #fff;
      padding: 64px 32px;
      position: relative;
      isolation: isolate;
    }
    .zz-callout-sec::before { content: none; }
    .zz-callout-sec::after { content: none; }
    .zz-callout-wrap {
      position: relative; z-index: 1;
      max-width: 1200px; margin: 0 auto;
    }
    .zz-callout-inner {
      background: linear-gradient(180deg, #0D1829 0%, #07192E 100%);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 16px;
      padding: 56px 56px 52px 64px;
      position: relative;
      overflow: hidden;
      isolation: isolate;
      color: #fff;
      box-shadow: 0 2px 4px rgba(13,24,41,.12), 0 24px 56px -20px rgba(13,24,41,.35), 0 48px 96px -36px rgba(13,24,41,.25);
    }
    .zz-callout-inner::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(82,196,179,.20) 0%, transparent 65%),
        radial-gradient(ellipse 55% 45% at 85% 70%, rgba(157,90,204,.16) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(249,115,22,.08) 0%, transparent 65%);
      border-radius: 16px;
    }
    .zz-callout-inner::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='nzz'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nzz)'/%3E%3C/svg%3E");
      background-size: 240px 240px;
      mix-blend-mode: overlay;
      opacity: .10;
      border-radius: 16px;
    }
    .zz-callout-inner > * { position: relative; z-index: 1; }
    /* Re-add the left-edge accent rule as a pseudo inside the inner card */
    .zz-callout-text {
      position: relative;
      padding-left: 4px;
    }
    .zz-callout-text::before {
      content: '';
      position: absolute;
      left: -32px;
      top: 8px;
      bottom: 8px;
      width: 3px;
      background: linear-gradient(180deg, transparent 0%, #52C4B3 20%, #9D5ACC 80%, transparent 100%);
      border-radius: 0 3px 3px 0;
    }
    .zz-callout-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }
    .zz-callout-eyebrow img {
      height: 30px;
      width: auto;
      display: block;
      filter: brightness(0) invert(1);
      opacity: .95;
    }
    .zz-callout-eyebrow span {
      font-family: var(--font-b);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #52C4B3;
      padding-left: 16px;
      border-left: 1px solid rgba(255,255,255,.18);
    }
    .zz-callout-text h2 {
      font-family: var(--font-h);
      font-size: clamp(24px, 3vw, 34px);
      font-weight: 800;
      letter-spacing: -.022em;
      color: #fff;
      line-height: 1.1;
      margin: 0 0 18px;
      max-width: 22ch;
    }
    .zz-callout-text > p {
      font-family: var(--font-b);
      font-size: 16px;
      font-weight: 400;
      color: rgba(255,255,255,.72);
      line-height: 1.65;
      max-width: 62ch;
      margin: 0 0 40px;
    }
    .zz-callout-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px 32px;
      margin-bottom: 40px;
      max-width: 720px;
    }
    .zz-stat {
      padding: 12px 0 12px 20px;
      border-left: 2px solid #52C4B3;
    }
    .zz-stat:nth-child(2) { border-left-color: #9D5ACC; }
    .zz-stat:nth-child(3) { border-left-color: #F97316; }
    .zz-stat:nth-child(4) { border-left-color:#1366A0; }
    .zz-stat-num {
      font-family: var(--font-h);
      font-size: 34px;
      font-weight: 800;
      color: #fff;
      line-height: 1;
      margin-bottom: 4px;
      letter-spacing: -.02em;
    }
    .zz-stat-label {
      font-family: var(--font-b);
      font-size: 12px;
      font-weight: 500;
      color: rgba(255,255,255,.6);
      line-height: 1.35;
    }
    .zz-callout-features {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px 32px;
      margin-bottom: 36px;
      max-width: 740px;
    }
    .zz-feat {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: var(--font-b);
      font-size: 14px;
      font-weight: 500;
      color: rgba(255,255,255,.85);
    }
    .zz-feat svg {
      width: 18px; height: 18px;
      stroke: #52C4B3;
      fill: none;
      stroke-width: 2.5;
      flex-shrink: 0;
    }
    .zz-callout-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 28px;
      background: linear-gradient(135deg, #52C4B3 0%, #9D5ACC 100%);
      color: #fff;
      font-family: var(--font-b);
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
      border-radius: 10px;
      transition: transform .2s, box-shadow .2s;
      box-shadow: 0 8px 22px rgba(82,196,179,.24);
      letter-spacing: .01em;
    }
    .zz-callout-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 30px rgba(82,196,179,.34);
    }
    .zz-callout-cta svg {
      width: 16px; height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    @media (max-width: 720px) {
      .zz-callout-sec { padding: 48px 20px; }
      .zz-callout-inner { padding: 40px 28px 36px 38px; border-radius: 12px; }
      .zz-callout-inner::before, .zz-callout-inner::after { border-radius: 12px; }
      .zz-callout-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
      .zz-callout-features { grid-template-columns: 1fr; }
      .zz-callout-text::before { left: -24px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .zz-callout-cta { transition: none !important; }
    }
    /* END ZAYZOON-CALLOUT-v1 */

/* §2 */
on each service page. Safe to ship more than once;
   selectors are scoped so they never collide with other pages. */
:root {
  --svc-sec-py: 96px;
  --svc-sec-py-mobile: 56px;
  --svc-gap: 48px;
  --svc-gap-mobile: 28px;
}

/* Unify the base .sec padding used by service pages. */
main .sec,
main section.sec,
main .svc-section,
main .sec-capabilities,
main .sec-diff,
main .sec-platform,
main .sec-proof,
main .sec-integration,
main .svc-faq,
main .svc-advisor-sec,
main .sec-hero + section,
main .sec-cta {
  padding-top: var(--svc-sec-py);
  padding-bottom: var(--svc-sec-py);
}

/* Tighten the gap between adjacent same-color sections so the page breathes
   at 96/48 cadence instead of 128/64. */
main section + section { margin-top: 0; }

/* Tabular lining figures on every stat number in the service pages. Keeps
   columns aligned and reads like Linear. */
main .stat-number,
main .stat-figure,
main .metric-value,
main .svc-stat-num,
main .svc-kpi-num,
main .diff-card strong,
main .svc-proof-num,
main .svc-pricing-num {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum", "ss01", "cv11";
  letter-spacing: -.015em;
}

/* H1 prominence — service hero H1 sits at clamp(34, 5vw, 56) across pages,
   but a few broke to 28px on mobile. Force the floor. */
@media (max-width: 560px) {
  main .payroll-hero h1,
  main .benefits-hero h1,
  main .hero h1,
  main .svc-hero h1 {
    font-size: clamp(30px, 7vw, 40px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.022em !important;
  }
  main .payroll-hero,
  main .benefits-hero,
  main .svc-hero {
    padding-top: 72px !important;   /* push H1 above fold on mobile */
    padding-bottom: 40px !important;
    min-height: auto !important;
  }
}

/* Responsive section rhythm on mobile. */
@media (max-width: 720px) {
  main .sec,
  main section.sec,
  main .svc-section,
  main .sec-capabilities,
  main .sec-diff,
  main .sec-platform,
  main .sec-proof,
  main .sec-integration,
  main .svc-faq,
  main .svc-advisor-sec {
    padding-top: var(--svc-sec-py-mobile);
    padding-bottom: var(--svc-sec-py-mobile);
  }
}

/* CTA button consistency — every primary CTA across the 9 pages renders at the
   same height (48px desktop / 44px mobile). Stops the zoo of button heights. */
main a.btn-primary,
main .btn-primary,
main .cta-primary,
main .svc-cta-primary,
main .payroll-hero .cta-primary,
main .benefits-hero .cta-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  font-weight: 600;
  letter-spacing: -.005em;
}
@media (max-width: 560px) {
  main a.btn-primary,
  main .btn-primary,
  main .cta-primary,
  main .svc-cta-primary { min-height: 44px; padding: 0 18px; font-size: 15px; }
}

/* Improve the diff-card spec so the three-card "what makes us different"
   row on every service page matches the golden-v2 restraint: hairline
   border, tighter radius, precise metric type. */
main .sec-diff .diff-card,
main .svc-diff .diff-card {
  border-radius: 14px;
  border: 1px solid rgba(13, 24, 41, .08);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 0 0 1px rgba(13,24,41,.02) inset,
    0 6px 24px -8px rgba(13,24,41,.08),
    0 2px 8px -2px rgba(13,24,41,.06);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFD 100%);
}

/* Final touch — heading leading on H2 across service pages.
   Previously rendered at 1.35 which reads blog-y. */
main section h2 {
  line-height: 1.15;
  letter-spacing: -.018em;
}

/* Hide any residual ghost-number DOM that the HTML scrub missed. */
main .ghost-number { display: none !important; }

/* §3 */
@media (max-width: 1024px) {
  .cb-fab, .callback-trigger { bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important; }
  .cb-panel, .callback-panel { bottom: calc(160px + env(safe-area-inset-bottom, 0px)) !important; width: min(320px, 90vw) !important; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .mob-sticky-cta { padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* ─────────────────────────────────────────────────────────────────────
   HERO TRIM (2026-04-21 wave-3-followup)
   Goal: .payroll-mockup 695px → ~420px, Linear-standard hero height.
   Root cause: .vshr-anim-overlay <img> had no positioning, so it was
   pushing the mockup ~212px taller than intended. Fix: position overlay
   absolutely over the host (as originally designed — the static HTML
   mockup is a fallback, the animated PNG is the presentation layer).
   Plus modest padding/row-height trims to reach the 420px target.
   Scoped to body.payroll-services so changes don't leak to other pages
   that share .mock-* class names.
   ───────────────────────────────────────────────────────────────────── */
body.payroll-services .payroll-mockup.vshr-anim-host {
  position: relative;
}
body.payroll-services .payroll-mockup .vshr-anim-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
  opacity: 0; /* static mockup is the authoritative rendering; overlay is decorative */
}
body.payroll-services .payroll-mockup .mock-header {
  padding: 14px 22px 12px;
}
body.payroll-services .payroll-mockup .mock-title { font-size: 14px; }
body.payroll-services .payroll-mockup .mock-badge { font-size: 11px; padding: 4px 10px; }
body.payroll-services .payroll-mockup .mock-period {
  margin-top: 6px;
  font-size: 12px;
  padding: 0 22px;
}
body.payroll-services .payroll-mockup .mock-body {
  padding: 12px 22px 18px;
}
body.payroll-services .payroll-mockup .mock-stat-row { margin-bottom: 12px; }
body.payroll-services .payroll-mockup .mock-stat { padding: 10px 14px; }
body.payroll-services .payroll-mockup .mock-stat-label { font-size: 10.5px; margin-bottom: 2px; }
body.payroll-services .payroll-mockup .mock-stat-value { font-size: 18px; }
body.payroll-services .payroll-mockup .mock-checklist li {
  padding: 6px 0;
  font-size: 12.5px;
  gap: 8px;
}
body.payroll-services .payroll-mockup .check-icon { width: 16px; height: 16px; }
body.payroll-services .payroll-mockup .check-icon svg { width: 10px; height: 10px; }
body.payroll-services .payroll-mockup .mock-run-btn {
  margin-top: 10px;
  padding: 10px;
  font-size: 13px;
}
/* Mobile: preserve compact silhouette, ensure it doesn't grow */
@media (max-width: 900px) {
  body.payroll-services .payroll-mockup { max-width: 380px; }
}

/* ── Hero "Payroll Run" mockup — mobile pass (2026-06-08) ────────────────
   The card was built entirely on ultra-low-opacity whites (.10 surface,
   .06 stat tiles) that only read as a card WHILE backdrop-filter blur
   renders. On mobile Safari that blur frequently degrades, so the card
   collapsed to near-invisible white-on-navy — "blends into the background"
   and "looks different on my phone." Fix: give it a self-contained, mostly
   opaque navy surface + crisper border/shadow so it reads as a distinct
   floating card with OR without backdrop-filter, and tighten the footprint
   (keep the two stat tiles side-by-side instead of stacking, which the
   global 480px rule does — that just made the card taller). */
@media (max-width: 600px) {
  body.payroll-services .payroll-mockup {
    max-width: 100%;
    background: linear-gradient(180deg, rgba(20,46,72,.94) 0%, rgba(9,26,44,.96) 100%);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 18px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 10px 30px -10px rgba(0,0,0,.50),
      0 24px 60px -28px rgba(20,121,163,.40);
  }
  body.payroll-services .payroll-mockup .mock-header { padding: 13px 18px 11px; }
  body.payroll-services .payroll-mockup .mock-period { padding: 0 18px; }
  body.payroll-services .payroll-mockup .mock-body { padding: 12px 18px 16px; }
  /* side-by-side stats (override the global 480px column stack) */
  body.payroll-services .payroll-mockup .mock-stat-row {
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
  }
  body.payroll-services .payroll-mockup .mock-stat {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.13);
    padding: 10px 12px;
  }
  body.payroll-services .payroll-mockup .mock-stat-value { font-size: 17px; }
  body.payroll-services .payroll-mockup .mock-checklist li {
    border-bottom-color: rgba(255,255,255,.10);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SCOPE STRIP — 5-card "what payroll covers" navigation row
   Outline-card pattern: colored 1.5px border, icon top-left,
   arrow top-right, label + sub at bottom. Each card anchor-links
   to a deep section that proves the claim.
   ═════════════════════════════════════════════════════════════════── */
.payroll-scope {
  background: #fff;
}
.payroll-scope__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.payroll-scope .sec-head {
  text-align: center;
  margin-bottom: 36px;
}
.payroll-scope .sec-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #0F172A;
  margin: 0 0 10px;
}
.payroll-scope .sec-head p {
  font-size: 17px;
  color: #475569;
  max-width: 680px;
  margin: 0 auto;
}

.payroll-scope__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.payroll-scope__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "icon . arrow"
    "label label label"
    "sub   sub   sub";
  row-gap: 14px;
  column-gap: 12px;
  padding: 20px 22px 20px 20px;
  min-height: 142px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--ps-border, rgba(20, 121, 163, 0.18));
  text-decoration: none;
  color: #0F172A;
  transition: transform .28s cubic-bezier(.22,1,.36,1),
              box-shadow .28s cubic-bezier(.22,1,.36,1),
              border-color .28s ease;
  isolation: isolate;
  overflow: hidden;
}
/* Hover gradient bloom — accent-tinted radial wash, fades in */
.payroll-scope__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 0% 0%,
              color-mix(in oklab, var(--ps-accent, #1479A3) 8%, transparent) 0%,
              transparent 60%);
  opacity: 0;
  transition: opacity .28s ease;
  z-index: -1;
  pointer-events: none;
}
.payroll-scope__card:hover,
.payroll-scope__card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--ps-accent, #1479A3);
  box-shadow:
    0 24px 48px -24px color-mix(in oklab, var(--ps-accent, #1479A3) 60%, transparent),
    0 6px 14px -8px rgba(15, 23, 42, 0.08);
  outline: none;
}
.payroll-scope__card:hover::before,
.payroll-scope__card:focus-visible::before {
  opacity: 1;
}
.payroll-scope__card:focus-visible {
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--ps-accent, #1479A3) 22%, transparent),
    0 24px 48px -24px color-mix(in oklab, var(--ps-accent, #1479A3) 60%, transparent);
}

.payroll-scope__icon {
  grid-area: icon;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--ps-accent, #1479A3);
  background: color-mix(in oklab, var(--ps-accent, #1479A3) 10%, transparent);
  transition: transform .28s cubic-bezier(.22,1,.36,1),
              background .28s ease;
}
.payroll-scope__icon svg {
  width: 20px;
  height: 20px;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.payroll-scope__card:hover .payroll-scope__icon,
.payroll-scope__card:focus-visible .payroll-scope__icon {
  background: color-mix(in oklab, var(--ps-accent, #1479A3) 18%, transparent);
  transform: scale(1.08) rotate(-2deg);
}
.payroll-scope__card:hover .payroll-scope__icon svg,
.payroll-scope__card:focus-visible .payroll-scope__icon svg {
  transform: scale(1.05);
}

.payroll-scope__arrow {
  grid-area: arrow;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #CBD5E1;
  transition: transform .28s cubic-bezier(.22,1,.36,1), color .28s ease;
}
.payroll-scope__arrow svg {
  width: 18px;
  height: 18px;
}
.payroll-scope__card:hover .payroll-scope__arrow,
.payroll-scope__card:focus-visible .payroll-scope__arrow {
  transform: translateX(6px);
  color: var(--ps-accent, #1479A3);
}

.payroll-scope__label {
  grid-area: label;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: #0F172A;
  line-height: 1.18;
}
.payroll-scope__sub {
  grid-area: sub;
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.4;
}

/* Color modifiers — bright F97316 replaces banned burnt orange C2410C (memory: feedback_button_vshr_gradient_shimmer.md) */
.payroll-scope__card--blue    { --ps-accent: #1479A3; --ps-border: rgba(20, 121, 163, 0.20); }
.payroll-scope__card--amber   { --ps-accent: #F97316; --ps-border: rgba(249, 115, 22, 0.22); }
.payroll-scope__card--rose    { --ps-accent: #BE185D; --ps-border: rgba(190, 24, 93, 0.20); }
.payroll-scope__card--emerald { --ps-accent: #15803D; --ps-border: rgba(21, 128, 61, 0.20); }
.payroll-scope__card--indigo  { --ps-accent: #4338CA; --ps-border: rgba(67, 56, 202, 0.20); }

@media (prefers-reduced-motion: reduce) {
  .payroll-scope__card,
  .payroll-scope__card::before,
  .payroll-scope__icon,
  .payroll-scope__icon svg,
  .payroll-scope__arrow {
    transition: none !important;
  }
  .payroll-scope__card:hover { transform: none; }
  .payroll-scope__card:hover .payroll-scope__icon { transform: none; }
  .payroll-scope__card:hover .payroll-scope__arrow { transform: none; }
}

/* Tablet: 3 across, 5th wraps to second row centered visually */
@media (max-width: 1024px) {
  .payroll-scope__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: 2 across, condensed */
@media (max-width: 640px) {
  .payroll-scope__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .payroll-scope__card {
    padding: 14px 14px 14px 14px;
    min-height: 110px;
    row-gap: 10px;
  }
  .payroll-scope__label { font-size: 15px; }
  .payroll-scope__sub { font-size: 12px; }
  .payroll-scope__icon { width: 24px; height: 24px; }
  .payroll-scope__icon svg { width: 20px; height: 20px; }
}
