/* ============================================================================
   PMDG Technologies — Costing & Quotation Automation Styles
   ========================================================================= */

/* --- Interactive Section Animation Layers --- */
.mrp-animated-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.mrp-section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}
.mrp-animated-section > .measure {
  position: relative;
  z-index: 1;
}

/* --- Extracted Internal CSS --- */
#core-problem-section { isolation: isolate; }
    #core-problem-glow {
      background: radial-gradient(
        400px circle at var(--mx, 50%) var(--my, 50%),
        rgba(13, 120, 201, 0.10) 0%,
        transparent 70%
      );
      opacity: 0;
    }

#faq-section {
      position: relative;
      overflow: hidden;
      background: #ffffff;
      isolation: isolate;
    }
    #ripple-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      display: block;
    }
    #faq-section .measure {
      position: relative;
      z-index: 1;
    }

.sac-wrap{max-width:680px;margin:2.5rem auto 0;background:#fff;border-radius:1.25rem;box-shadow:0 20px 60px rgba(15,23,42,0.10);border:1px solid rgba(148,163,184,0.2);overflow:hidden;}
    .sac-steps-bar{display:flex;align-items:center;background:#0d78c9;padding:1.25rem 2rem;gap:0;}
    .sac-step{display:flex;align-items:center;gap:.55rem;opacity:.5;transition:opacity .3s;flex-shrink:0;}
    .sac-step.active{opacity:1;}
    .sac-step-num{width:1.7rem;height:1.7rem;border-radius:50%;background:rgba(255,255,255,.25);color:#fff;font-size:.8rem;font-weight:700;display:grid;place-items:center;flex-shrink:0;}
    .sac-step.active .sac-step-num{background:#fff;color:#0d78c9;}
    .sac-step-label{color:#fff;font-size:.85rem;font-weight:500;white-space:nowrap;}
    .sac-step-divider{flex:1;height:1px;background:rgba(255,255,255,.3);margin:0 .75rem;}
    .sac-panel{padding:2rem 2.25rem;}
    .sac-hidden{display:none!important;}
    .sac-panel-desc{color:#64748b;font-size:.9rem;margin-bottom:1.25rem;}
    .sac-label{display:block;font-size:.85rem;font-weight:600;color:#0f172a;margin-bottom:.5rem;}
    .sac-date-input,.sac-input,.sac-select{width:100%;padding:.7rem 1rem;border:1px solid #e2e8f0;border-radius:.6rem;font-size:.95rem;background:#f8fafc;color:#0f172a;outline:none;transition:border-color .2s,box-shadow .2s;box-sizing:border-box;}
    .sac-date-input:focus,.sac-input:focus,.sac-select:focus{border-color:#0d78c9;box-shadow:0 0 0 3px rgba(13,120,201,.12);}
    textarea.sac-input{resize:vertical;}
    .sac-timeslots{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.75rem;}
    .sac-slot{cursor:pointer;}
    .sac-slot input{display:none;}
    .sac-slot-label{display:block;text-align:center;padding:.6rem .5rem;border:1.5px solid #e2e8f0;border-radius:.6rem;font-size:.9rem;font-weight:500;color:#0f172a;background:#f8fafc;transition:all .2s;}
    .sac-slot input:checked + .sac-slot-label{border-color:#0d78c9;background:rgba(13,120,201,.08);color:#0d78c9;font-weight:700;}
    .sac-slot-label:hover{border-color:#0d78c9;}
    .sac-tz-display{padding:.7rem 1rem;border:1px solid #e2e8f0;border-radius:.6rem;background:#f8fafc;color:#64748b;font-size:.9rem;min-height:2.5rem;}
    .sac-row-2col{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
    @media(max-width:580px){.sac-row-2col{grid-template-columns:1fr;}.sac-panel{padding:1.5rem 1.25rem;}.sac-steps-bar{padding:1rem 1.25rem;}.sac-step-label{display:none;}}
    .sac-nav-row{display:flex;justify-content:space-between;align-items:center;margin-top:1.75rem;}
    .sac-nav-row--right{justify-content:flex-end;}
    .sac-btn{padding:.65rem 1.75rem;font-size:.95rem;cursor:pointer;}
    .sac-btn-back{background:none;border:1.5px solid #cbd5e1;border-radius:.55rem;padding:.6rem 1.4rem;font-size:.9rem;cursor:pointer;color:#475569;transition:border-color .2s,color .2s;}
    .sac-btn-back:hover{border-color:#0d78c9;color:#0d78c9;}
    .sac-success-banner{background:#dcfce7;border:1px solid #86efac;color:#166534;border-radius:.6rem;padding:.8rem 1.1rem;font-size:.9rem;}
    .sac-confirm-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.25rem;}
    .sac-confirm-grid > div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.6rem;padding:1rem;}
    .sac-confirm-label{font-size:.78rem;color:#64748b;margin-bottom:.3rem;}
    .sac-confirm-val{font-weight:600;color:#0f172a;font-size:.95rem;}
    .sac-meet-btn{display:inline-flex;align-items:center;justify-content:center;background:#0d78c9;color:#fff;font-weight:700;border:none;border-radius:.6rem;padding:.85rem 1.5rem;text-decoration:none;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 10px 20px rgba(13,120,201,0.18);}
    .sac-meet-btn:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(13,120,201,0.22);}
    .sac-error-msg{color:#dc2626;font-size:.875rem;margin-top:.75rem;}

:root {
  --spacing-section: 2.25rem;
}

.hero-section {
  padding-top: 4.85rem !important;
  padding-bottom: 1.25rem !important;
}

section,
.section-divider {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

/* --- Extracted Inline Utility Classes --- */
.cq-s-1 { font-size: clamp(1.8rem, 1rem + 3.8vw, 4rem) !important; }
.cq-s-2 { display:flex; flex-wrap:wrap; gap:0.6rem; align-items:center; }
.cq-s-3 { font-weight:600; }
.cq-s-4 { padding-top: 0; }
.cq-s-5 { margin-bottom: 0.65rem; }

/* --- Desktop Outcome Panel & Section Padding Reduction --- */
@media (min-width: 769px) {
  .hero-grid .outcome-panel,
  .outcome-panel {
    padding: 1rem 1.25rem !important;
  }
  .hero-grid .outcome-panel-head,
  .outcome-panel-head {
    padding-bottom: 0.65rem !important;
  }
  .cq-s-5 {
    margin-bottom: 0.65rem !important;
  }
  .outcome-list {
    margin-top: 0.35rem !important;
  }
  .hero-grid .outcome-item,
  .outcome-item {
    padding: 0.65rem 0 !important;
  }
  .mfa-style-63 {
    padding: clamp(1.5rem, 5vw, 3rem) !important;
  }

  /* #roi section (Quantifiable value) desktop padding reduction */
  #roi {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  #roi .outcome-panel,
  #roi .mfa-style-28 {
    padding: 0.95rem 1.25rem !important;
  }
  #roi h2.mfa-style-29 {
    margin: 0.4rem 0 1rem !important;
  }
  #roi .work-metrics-row {
    padding-top: 0.85rem !important;
    gap: 1rem !important;
  }
  #roi .cq-s-63 {
    margin-top: 0.85rem !important;
  }

  /* #download-guide (Case Study Download) Desktop Padding */
  #download-guide {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  #download-guide h3.mfa-style-32 {
    margin: 0.35rem 0 0.65rem !important;
  }
  #download-guide .outcome-panel.mfa-style-52 {
    padding: 1.15rem 1.25rem !important;
  }
  #download-guide .form-group.mfa-style-35 {
    margin-bottom: 0.25rem !important;
  }
  #download-guide .cq-s-120 {
    margin-top: 0.65rem !important;
  }

  /* #faq-section Desktop Padding & Card Spacing */
  #faq-section {
    padding-top: 1.25rem !important;
    padding-bottom: 1.35rem !important;
  }
  #faq-section .section-head.mfa-style-51 {
    margin: 0 auto 1.35rem !important;
  }
  #faq-section h2.mfa-style-32 {
    margin: 0.35rem 0 0.5rem !important;
  }
  #faq-section .mfa-style-39 {
    gap: 0.9rem !important;
  }
  #faq-section .commitment-card {
    padding: 0.95rem 1.15rem !important;
  }
  #faq-section .mfa-style-40 {
    font-size: 1.02rem !important;
  }
  #faq-section .mfa-style-41 {
    margin-top: 0.65rem !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
  }

  /* #schedule-call Desktop Padding & Spacing */
  #schedule-call {
    padding-top: 1.25rem !important;
    padding-bottom: 1.35rem !important;
  }
  #schedule-call .section-head.mfa-style-51 {
    margin: 0 auto 1.25rem !important;
  }
  #schedule-call h2.mfa-style-32 {
    margin: 0.35rem 0 0.5rem !important;
  }
  .sac-wrap {
    margin: 1.15rem auto 0 !important;
  }
  .sac-steps-bar {
    padding: 0.85rem 1.5rem !important;
  }
  .sac-panel {
    padding: 1.25rem 1.5rem !important;
  }
  .sac-panel-desc {
    margin-bottom: 0.85rem !important;
    font-size: 0.88rem !important;
  }
  .sac-nav-row {
    margin-top: 1.15rem !important;
  }
  .sac-confirm-grid {
    margin-top: 0.85rem !important;
    gap: 0.75rem !important;
  }
  .sac-confirm-grid > div {
    padding: 0.75rem 0.85rem !important;
  }

  /* #cqa-bottom-cta & #contact-form Desktop Padding */
  #cqa-bottom-cta {
    padding-top: 1.25rem !important;
    padding-bottom: 1.5rem !important;
  }
  #cqa-bottom-cta .section-head.mfa-style-51 {
    margin: 0 auto 1.25rem !important;
  }
  #cqa-bottom-cta h2.mfa-style-32 {
    margin: 0.35rem 0 !important;
  }
  #cqa-bottom-cta .mfa-style-54 {
    gap: 1.5rem !important;
  }
  #cqa-bottom-cta .mfa-style-58 > div {
    padding: 1.1rem 0.75rem !important;
  }
  #cqa-bottom-cta .mfa-style-58 img,
  #cqa-bottom-cta .mfa-style-58 span {
    max-height: 32px !important;
  }
  #contact-form,
  #cqa-bottom-cta .outcome-panel.mfa-style-59 {
    padding: 1.15rem 1.25rem !important;
  }
  #contact-form h3.mfa-style-68 {
    margin-bottom: 0.65rem !important;
    font-size: 1.22rem !important;
  }
  #contact-form .form-group.mfa-style-60 {
    margin-bottom: 0.55rem !important;
  }
  #contact-form .form-label.mfa-style-36 {
    margin-bottom: 0.25rem !important;
    font-size: 0.82rem !important;
  }
  #contact-form .form-input {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.88rem !important;
  }
  #contact-form textarea.form-input {
    min-height: 52px !important;
  }
  #contact-form .cq-s-135 {
    margin-top: 0.65rem !important;
    padding: 0.65rem 1.25rem !important;
  }
}
.cq-s-6 { padding: 2rem 0; background: var(--paper-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cq-s-7 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.cq-s-8 { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.cq-s-9 { font-size: 0.95rem; font-weight: 600; color: var(--fg); }
.cq-s-10 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.cq-s-11 { font-weight: 700; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--fg-muted); }
.cq-s-12 { color: var(--rule); }
.cq-s-13 { font-size: 0.825rem; color: var(--fg-muted); }
.cq-s-14 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.85rem 1.25rem; width: 100%; }
.cq-s-15 { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; font-weight: 600; font-size: 0.875rem; color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.cq-s-16 { height: 18px; width: auto; }
.cq-s-17 { height: 14px; width: auto; }
.cq-s-18 { height: 16px; width: auto; }
.cq-s-19 { width: 17px; height: 17px; color: #c8590a; }
.cq-s-20 { width: 17px; height: 17px; color: #137333; }
.cq-s-21 { width: 17px; height: 17px; color: #7c3aed; }
.cq-s-22 { width: 17px; height: 17px; color: var(--accent); }
.cq-s-23 { position:relative;overflow:hidden; }
.cq-s-24 { display:grid;grid-template-columns:1fr 1.2fr;gap:2rem;align-items:center;padding:2.5rem 2rem; }
.cq-s-25 { display:flex;justify-content:center; }
.cq-s-26 { width:min(100%, 760px);border:1px solid rgba(148,163,184,.25);border-radius:18px;background:linear-gradient(180deg,#0f172a 0%, #111827 100%);box-shadow:0 25px 60px rgba(15,23,42,.35);overflow:hidden; }
.cq-s-27 { display:flex;align-items:center;justify-content:space-between;padding:0.9rem 1rem;border-bottom:1px solid rgba(148,163,184,.18);background:rgba(15,23,42,.9); }
.cq-s-28 { display:flex;align-items:center;gap:0.7rem; }
.cq-s-29 { width:0.7rem;height:0.7rem;border-radius:50%;background:#f87171; }
.cq-s-30 { width:0.7rem;height:0.7rem;border-radius:50%;background:#fbbf24; }
.cq-s-31 { width:0.7rem;height:0.7rem;border-radius:50%;background:#4ade80; }
.cq-s-32 { display:flex;align-items:center;gap:0.8rem;color:#dbeafe;font-size:0.72rem;letter-spacing:0.04em;text-transform:uppercase; }
.cq-s-33 { padding:0.38rem 0.65rem;border-radius:999px;background:rgba(96,165,250,.16); }
.cq-s-34 { display:grid;grid-template-columns:180px 1fr 1fr;gap:0.9rem;padding:1rem; }
.cq-s-35 { padding:0.8rem 0.6rem;border-right:1px solid rgba(148,163,184,.18);color:#dbeafe; }
.cq-s-36 { font-size:0.72rem;letter-spacing:0.06em;text-transform:uppercase;color:#93c5fd;margin-bottom:0.8rem; }
.cq-s-37 { display:grid;gap:0.55rem; }
.cq-s-38 { padding:0.6rem 0.7rem;border-radius:10px;background:rgba(59,130,246,.16);color:#dbeafe;font-weight:600; }
.cq-s-39 { padding:0.6rem 0.7rem;border-radius:10px;background:rgba(15,23,42,.42);color:#cbd5e1; }
.cq-s-40 { display:grid;grid-template-rows:auto auto;gap:0.8rem; }
.cq-s-41 { background:rgba(15,23,42,.56);border:1px solid rgba(148,163,184,.18);border-radius:14px;padding:0.9rem; }
.cq-s-42 { display:flex;align-items:center;justify-content:space-between;margin-bottom:0.7rem;color:#dbeafe;font-size:0.72rem;letter-spacing:0.05em;text-transform:uppercase; }
.cq-s-43 { color:#86efac; }
.cq-s-44 { font-size:1.8rem;font-weight:700;color:#f8fafc; }
.cq-s-45 { height:6rem;display:flex;align-items:flex-end;gap:0.35rem;padding-top:0.8rem; }
.cq-s-46 { flex:1;background:linear-gradient(180deg,#60a5fa, #2563eb);height:45%;border-radius:10px 10px 0 0; }
.cq-s-47 { flex:1;background:linear-gradient(180deg,#93c5fd,#2563eb);height:66%;border-radius:10px 10px 0 0; }
.cq-s-48 { flex:1;background:linear-gradient(180deg,#bfdbfe,#3b82f6);height:52%;border-radius:10px 10px 0 0; }
.cq-s-49 { flex:1;background:linear-gradient(180deg,#60a5fa,#1d4ed8);height:78%;border-radius:10px 10px 0 0; }
.cq-s-50 { flex:1;background:linear-gradient(180deg,#a5b4fc,#4f46e5);height:90%;border-radius:10px 10px 0 0; }
.cq-s-51 { display:flex;align-items:center;justify-content:space-between;color:#dbeafe;font-size:0.72rem;letter-spacing:0.05em;text-transform:uppercase; }
.cq-s-52 { color:#fca5a5; }
.cq-s-53 { margin-top:0.8rem;display:grid;gap:0.5rem; }
.cq-s-54 { display:flex;justify-content:space-between;align-items:center;padding:0.5rem 0.7rem;border-radius:8px;background:rgba(30,41,59,.8);color:#e2e8f0;font-size:0.74rem; }
.cq-s-55 { margin-top:0.8rem;display:grid;gap:0.55rem; }
.cq-s-56 { height:0.65rem;border-radius:999px;background:rgba(148,163,184,.18);overflow:hidden; }
.cq-s-57 { width:82%;height:100%;background:linear-gradient(90deg,#60a5fa,#34d399);border-radius:999px; }
.cq-s-58 { width:71%;height:100%;background:linear-gradient(90deg,#8b5cf6,#60a5fa);border-radius:999px; }
.cq-s-59 { width:63%;height:100%;background:linear-gradient(90deg,#f59e0b,#f97316);border-radius:999px; }
.cq-s-60 { margin-top:1.2rem;background:rgba(59,130,246,.12);border:1px solid rgba(96,165,250,.26);border-radius:10px;padding:0.8rem;color:#dbeafe;font-size:0.78rem;line-height:1.6; }
.cq-s-61 { pointer-events:none;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1; }
.cq-s-62 { pointer-events:none;position:absolute;inset:0;z-index:1;transition:opacity 0.5s ease; }
.cq-s-63 { margin-top: 1.5rem; text-align: center; }
.cq-s-64 { font-size: 0.8rem; color: var(--fg-muted); background: rgba(13,120,201,0.06); padding: 0.35rem 0.95rem; border-radius: 999px; border: 1px solid var(--border); font-weight: 500; }
.cq-s-65 { display:none; background: linear-gradient(145deg, #f0f9ff 0%, #e8f4fd 100%); padding: 1.15rem 0 1.5rem; scroll-margin-top: 80px; }
.cq-s-66 { margin-bottom: 0.75rem !important; max-width: 820px; padding: 0; }
.cq-s-67 { display: inline-block; margin-bottom: 0.2rem; font-size: 0.75rem; letter-spacing: 0.05em; }
.cq-s-68 { margin: 0.15rem 0 0.25rem; font-size: clamp(1.4rem, 2vw, 1.95rem); line-height: 1.15; }
.cq-s-69 { max-width: 760px; margin: 0 auto; font-size: 0.88rem; line-height: 1.4; padding: 0; color: var(--fg-muted); }
.cq-s-70 { margin-top: 0.5rem; background: #ffffff; border-radius: 1rem; box-shadow: 0 10px 30px rgba(15,23,42,0.06); border: 1px solid rgba(148,163,184,0.25); padding: clamp(0.9rem, 1.3vw, 1.25rem); }
.cq-s-71 { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 0.65rem; flex-wrap: wrap; gap: 0.5rem; }
.cq-s-72 { display: flex; align-items: center; gap: 0.45rem; }
.cq-s-73 { width: 18px; height: 18px; color: var(--accent); }
.cq-s-74 { font-weight: 700; font-size: 0.95rem; color: var(--fg); }
.cq-s-75 { font-size: 0.72rem; }
.cq-s-76 { margin-top: 0.85rem; display: grid; gap: 1.25rem; }
.cq-s-77 { display: flex; flex-direction: column; gap: 0.85rem; }
.cq-s-78 { display: flex; justify-content: space-between; align-items: baseline; }
.cq-s-79 { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.cq-s-80 { display: flex; align-items: baseline; gap: 0.25rem; }
.cq-s-81 { color: var(--accent); font-size: 1.45rem; font-weight: 700; }
.cq-s-82 { font-size: 0.8rem; color: var(--fg-muted); }
.cq-s-83 { margin-top: 0.25rem; width: 100%; }
.cq-s-84 { margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cq-s-85 { padding: 0.22rem 0.55rem; font-size: 0.75rem; }
.cq-s-86 { font-size: 0.875rem; font-weight: 600; color: var(--fg); display: block; margin-bottom: 0.35rem; }
.cq-s-87 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cq-s-88 { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; background: var(--paper-raised); transition: all 0.2s; }
.cq-s-89 { accent-color: var(--accent); }
.cq-s-90 { font-size: 0.82rem; font-weight: 600; color: var(--fg); }
.cq-s-91 { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border: 1.5px solid var(--accent); border-radius: 8px; cursor: pointer; background: rgba(13,120,201,0.06); transition: all 0.2s; }
.cq-s-92 { font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.cq-s-93 { display: flex; align-items: baseline; gap: 0.2rem; }
.cq-s-94 { font-size: 0.95rem; color: var(--accent); font-weight: 700; }
.cq-s-95 { color: var(--accent); font-size: 1.35rem; font-weight: 700; }
.cq-s-96 { background: #f8fafc; border: 1px solid var(--border); border-radius: 0.85rem; padding: 1rem 1.15rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.65rem; }
.cq-s-97 { font-size: 0.72rem; color: #166534; background: #dcfce7; padding: 2px 7px; border-radius: 4px; font-weight: 700; }
.cq-s-98 { margin-top: 0.45rem; }
.cq-s-99 { font-size: 0.8rem; color: var(--fg-muted); font-weight: 500; }
.cq-s-100 { font-size: clamp(1.85rem, 2.4vw, 2.35rem); font-weight: 800; color: var(--accent); line-height: 1.05; margin-top: 0.15rem; }
.cq-s-101 { margin-top: 0.65rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.cq-s-102 { background: #ffffff; padding: 0.55rem 0.7rem; border-radius: 6px; border: 1px solid var(--border); }
.cq-s-103 { font-size: 1.3rem; font-weight: 700; color: var(--fg); line-height: 1; }
.cq-s-104 { margin-top: 0.2rem; font-size: 0.72rem; color: var(--fg-muted); }
.cq-s-105 { font-size: 1.3rem; font-weight: 700; color: #166534; line-height: 1; }
.cq-s-106 { margin-top: 0.65rem; }
.cq-s-107 { height: 7px; border-radius: 999px; overflow: hidden; display: flex; background: #e2e8f0; }
.cq-s-108 { width: 92%; background: var(--accent); transition: width 0.4s ease; }
.cq-s-109 { width: 8%; background: #94a3b8; transition: width 0.4s ease; }
.cq-s-110 { margin-top: 0.35rem; display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--fg-muted); }
.cq-s-111 { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); margin-right:4px; }
.cq-s-112 { display:inline-block; width:7px; height:7px; border-radius:50%; background:#94a3b8; margin-right:4px; }
.cq-s-113 { margin-top: 0.65rem; padding-top: 0.65rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.65rem; }
.cq-s-114 { padding: 0.45rem 1.1rem; font-size: 0.82rem; border-radius: 999px; }
.cq-s-115 { gap: 0; }
.cq-s-116 { margin-bottom: 0.6rem; }
.cq-s-117 { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; }
.cq-s-118 { flex: 1; min-width: 0; margin: 0; }
.cq-s-119 { white-space: nowrap; flex-shrink: 0; }
.cq-s-120 { margin-top: 0.85rem; }
.cq-s-121 { color: #ffffff; opacity: 0.92; font-size: 0.85rem; text-decoration: underline; font-weight: 500; }
.cq-s-122 { display:none; background: linear-gradient(145deg, #f0f9ff 0%, #e8f4fd 100%); scroll-margin-top: 80px; }
.cq-s-123 { max-width:520px;margin:0 auto; }
.cq-s-124 { margin-top:1.5rem; }
.cq-s-125 { margin-top:1rem; }
.cq-s-126 { display:none; }
.cq-s-127 { text-align:center;margin:1.25rem 0 0.25rem;font-weight:600; }
.cq-s-128 { text-align:center;color:#64748b;font-size:0.9rem; }
.cq-s-129 { display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem; }
.cq-s-130 { padding:0.65rem 1.75rem; }
.cq-s-131 { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.cq-s-132 { font-size: 0.78rem; color: var(--fg-muted); font-weight: 600; }
.cq-s-133 { font-size: 0.75rem; font-weight: 600; padding: 2px 7px; background: rgba(13,120,201,0.06); }
.cq-s-134 { scroll-margin-top: 100px; }
.cq-s-135 { background:#0d78c9; font-weight:700; }

/* Mobile view: exactly 3 in row 1, remaining in row 2 */
@media (max-width: 768px) {
  :root {
    --text-display: clamp(1.65rem, 1.25rem + 1.8vw, 2.2rem) !important;
    --text-headline: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem) !important;
    --text-title: clamp(0.98rem, 0.9rem + 0.5vw, 1.15rem) !important;
    --text-lede: clamp(0.82rem, 0.78rem + 0.3vw, 0.88rem) !important;
  }

  body {
    font-size: 0.85rem !important;
  }

  .cq-s-1 {
    font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.1rem) !important;
    line-height: 1.16 !important;
  }
  .text-headline,
  .section-title,
  .section-head h2,
  h2 {
    font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem) !important;
    line-height: 1.25 !important;
  }
  .text-title,
  .mfa-style-32,
  h3 {
    font-size: clamp(0.98rem, 0.9rem + 0.5vw, 1.15rem) !important;
    line-height: 1.25 !important;
  }
  .text-lede,
  p.text-lede,
  .hero-thesis p,
  .section-head p,
  #download-guide p,
  #download-guide .text-lede,
  p {
    font-size: clamp(0.82rem, 0.78rem + 0.3vw, 0.88rem) !important;
    line-height: 1.45 !important;
  }
  .hero-copy,
  .hero-copy.mfa-style-45,
  p.hero-copy,
  .mfa-style-45 {
    font-size: clamp(0.92rem, 0.88rem + 0.35vw, 0.98rem) !important;
    line-height: 1.5 !important;
    margin-top: 0.65rem !important;
    margin-bottom: 0 !important;
  }
  .hero-actions {
    margin-top: 0.85rem !important;
  }
  .mfa-style-30 {
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
  }
  .mfa-style-31 {
    margin-top: 0.35rem !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }
  .work-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem 0.75rem !important;
    padding-top: 1rem !important;
  }
  .cq-s-100 {
    font-size: 1.55rem !important;
  }
  .outcome-panel {
    padding: 1.15rem 1rem !important;
  }
  .outcome-panel-head {
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  .outcome-item {
    padding: 0.75rem 0 !important;
  }
  .mfa-style-63 {
    padding: 1.15rem 1rem !important;
  }
  #contact-form,
  .mfa-style-59 {
    padding: 0.82rem 0.75rem !important;
  }
  #contact-form .mfa-style-68 {
    margin-bottom: 0.85rem !important;
  }
  #contact-form .mfa-style-60 {
    margin-bottom: 0.62rem !important;
  }
  #contact-form .form-input {
    padding: 0.52rem 0.72rem !important;
  }
  .mfa-style-33 {
    gap: 0.75rem !important;
  }
  .mfa-style-35 {
    margin-bottom: 0.25rem !important;
  }
  .form-input {
    padding: 0.6rem 0.8rem !important;
  }
  .measure {
    padding-inline: 0.75rem !important;
  }
  .cq-s-2,
  .mfa-style-12 {
    margin-top: 1.25rem !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, auto)) !important;
    gap: 0.35rem 0.2rem !important;
    align-items: center !important;
    justify-content: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .mfa-style-13 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    padding: 0.18rem 0.22rem !important;
    font-size: clamp(0.48rem, 0.44rem + 0.35vw, 0.58rem) !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    letter-spacing: -0.025em !important;
    max-width: 100% !important;
  }
  .mfa-style-14 {
    height: 9px !important;
    width: auto !important;
    vertical-align: middle !important;
  }
  .mfa-style-15 {
    height: 9px !important;
    width: auto !important;
    vertical-align: middle !important;
  }
  .mfa-style-16 {
    width: 9px !important;
    height: 9px !important;
    vertical-align: middle !important;
  }

  .expandable-paragraph-wrap {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .expandable-paragraph-wrap .mfa-style-67 {
    width: 100% !important;
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.25rem !important;
    max-width: 100% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: left !important;
    cursor: pointer;
    transition: max-height 0.3s ease;
  }
  .expandable-paragraph-wrap.is-expanded .mfa-style-67 {
    display: block !important;
    -webkit-line-clamp: none !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    max-height: none !important;
    margin-bottom: 0.45rem !important;
  }
  .expand-text-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    margin: 0.4rem auto 0.85rem auto !important;
    padding: 0.25rem 0.75rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--accent, #0d78c9) !important;
    cursor: pointer !important;
    text-align: center !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    width: auto !important;
    transition: opacity 0.2s ease;
  }
  .expand-text-toggle:hover,
  .expand-text-toggle:active {
    opacity: 0.85;
  }
  .expand-toggle-label {
    display: block !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: var(--accent, #0d78c9) !important;
    text-transform: capitalize !important;
    line-height: 1.2 !important;
    margin-bottom: 0.15rem !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
  }
  .expand-toggle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--accent, #0d78c9) !important;
    transform-origin: center !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    animation: arrow-swing 1.8s ease-in-out infinite !important;
  }
  .expandable-paragraph-wrap.is-expanded .expand-toggle-icon {
    transform: rotate(180deg) !important;
    animation: none !important;
  }
}

@media (max-width: 380px) {
  :root {
    --text-display: clamp(1.4rem, 1.2rem + 1vw, 1.75rem) !important;
    --text-headline: clamp(1.15rem, 1rem + 0.8vw, 1.35rem) !important;
    --text-title: clamp(0.92rem, 0.85rem + 0.4vw, 1.05rem) !important;
    --text-lede: 0.78rem !important;
  }

  body {
    font-size: 0.8rem !important;
  }

  .cq-s-1 {
    font-size: clamp(1.25rem, 1.05rem + 1vw, 1.5rem) !important;
    line-height: 1.18 !important;
  }
  .text-headline,
  .section-title,
  .section-head h2,
  h2 {
    font-size: clamp(1.15rem, 1rem + 0.8vw, 1.35rem) !important;
    line-height: 1.22 !important;
  }
  .text-title,
  .mfa-style-32,
  h3 {
    font-size: clamp(0.92rem, 0.85rem + 0.4vw, 1.05rem) !important;
    line-height: 1.22 !important;
  }
  .text-lede,
  p.text-lede,
  .hero-thesis p,
  .section-head p,
  #download-guide p,
  #download-guide .text-lede,
  p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  .hero-copy,
  .hero-copy.mfa-style-45,
  p.hero-copy,
  .mfa-style-45 {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
  }
  .hero-actions {
    margin-top: 0.75rem !important;
  }
  .mfa-style-30 {
    font-size: 1.45rem !important;
    line-height: 1.1 !important;
  }
  .mfa-style-31 {
    margin-top: 0.25rem !important;
    font-size: 0.65rem !important;
    line-height: 1.3 !important;
  }
  .work-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem 0.5rem !important;
    padding-top: 0.75rem !important;
  }
  .cq-s-100 {
    font-size: 1.35rem !important;
  }
  .outcome-panel {
    padding: 0.85rem 0.75rem !important;
  }
  .outcome-panel-head {
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .outcome-item {
    padding: 0.55rem 0 !important;
  }
  .mfa-style-63 {
    padding: 0.85rem 0.75rem !important;
  }
  #contact-form,
  .mfa-style-59 {
    padding: 0.72rem 0.62rem !important;
  }
  #contact-form .mfa-style-68 {
    margin-bottom: 0.65rem !important;
  }
  #contact-form .mfa-style-60 {
    margin-bottom: 0.52rem !important;
  }
  #contact-form .form-input {
    padding: 0.46rem 0.65rem !important;
  }
  .mfa-style-33 {
    gap: 0.5rem !important;
  }
  .mfa-style-35 {
    margin-bottom: 0.2rem !important;
  }
  .form-input {
    padding: 0.55rem 0.75rem !important;
  }
  .measure {
    padding-inline: 0.6rem !important;
  }
  .cq-s-2,
  .mfa-style-12 {
    gap: 0.25rem 0.15rem !important;
  }
  .mfa-style-13 {
    padding: 0.15rem 0.2rem !important;
    font-size: 0.52rem !important;
  }

  .expandable-paragraph-wrap .mfa-style-67 {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.25rem !important;
  }
  .expand-text-toggle {
    width: 30px;
    height: 30px;
    margin: 0.1rem 0 0.75rem 0;
  }
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  padding: 0.65rem 1.35rem;
}

@media (max-width: 640px) {
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.85rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.25 !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  /* ERP / Accounting Integration Strip Mobile View */
  #connectivity-strip {
    padding: 1.25rem 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    scroll-margin-top: 4.5rem !important;
  }
  #connectivity-strip .measure {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 0.75rem !important;
    box-sizing: border-box !important;
    margin-inline: auto !important;
  }
  .cq-s-6 {
    padding: 1.25rem 0 !important;
  }
  .cq-s-7 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.7rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .cq-s-8 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.35rem !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .cq-s-8 .annot {
    font-size: 0.72rem !important;
    padding: 0.2rem 0.55rem !important;
    border-radius: 9999px !important;
    display: inline-block !important;
    margin: 0 auto !important;
  }
  .cq-s-9 {
    font-size: 0.86rem !important;
    line-height: 1.35 !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    text-align: center !important;
    color: var(--fg) !important;
  }
  .cq-s-10 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .cq-s-11,
  .cq-s-12 {
    display: none !important;
  }
  .cq-s-13 {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    max-width: 290px !important;
    margin: 0 auto !important;
    color: var(--fg-muted) !important;
  }
  .cq-s-14 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.38rem 0.45rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  .cq-s-15 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.32rem !important;
    padding: 0.24rem 0.58rem !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(1, 2, 46, 0.05) !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
  .cq-s-16 { height: 13px !important; width: auto !important; }
  .cq-s-17 { height: 10px !important; width: auto !important; }
  .cq-s-18 { height: 11px !important; width: auto !important; }
  .cq-s-19,
  .cq-s-20,
  .cq-s-21,
  .cq-s-22 {
    width: 13px !important;
    height: 13px !important;
  }

  /* Balanced visual grouping on mobile */
  .cq-s-14 .cq-s-15:nth-child(1) { order: 1; } /* SAP */
  .cq-s-14 .cq-s-15:nth-child(2) { order: 2; } /* Oracle NetSuite */
  .cq-s-14 .cq-s-15:nth-child(3) { order: 3; } /* Microsoft Dynamics 365 */
  .cq-s-14 .cq-s-15:nth-child(7) { order: 4; } /* Custom REST APIs & SFTP */
  .cq-s-14 .cq-s-15:nth-child(4) { order: 5; } /* Epicor */
  .cq-s-14 .cq-s-15:nth-child(5) { order: 6; } /* Infor */
  .cq-s-14 .cq-s-15:nth-child(6) { order: 7; } /* JobBOSS */
}

/* Narrow Mobile Screens (<= 380px) */
@media (max-width: 380px) {
  #connectivity-strip {
    padding: 0.95rem 0 !important;
  }
  #connectivity-strip .measure {
    padding-inline: 0.4rem !important;
  }
  .cq-s-6 {
    padding: 0.95rem 0 !important;
  }
  .cq-s-7 {
    gap: 0.5rem !important;
  }
  .cq-s-9 {
    font-size: 0.8rem !important;
    max-width: 270px !important;
  }
  .cq-s-13 {
    font-size: 0.68rem !important;
    max-width: 260px !important;
  }
  .cq-s-14 {
    gap: 0.25rem 0.3rem !important;
  }
  .cq-s-15 {
    padding: 0.18rem 0.42rem !important;
    font-size: 0.64rem !important;
    gap: 0.22rem !important;
    border-radius: 9999px !important;
  }
  .cq-s-16 { height: 11px !important; width: auto !important; }
  .cq-s-17 { height: 9px !important; width: auto !important; }
  .cq-s-18 { height: 10px !important; width: auto !important; }
  .cq-s-19,
  .cq-s-20,
  .cq-s-21,
  .cq-s-22 {
    width: 11px !important;
    height: 11px !important;
  }
}




