/*
 * Phase 2.7.5a-FINAL — Shopify NetSuite Integration prototype styles.
 *
 * Ported from the approved Integration Page Template V4 reference
 * (References/integration.zip -> styles.css) and scoped entirely under
 * .erpp-sniv4 so no selector can leak into or be overridden by sitewide
 * theme styles. Class names are kept identical to the V4 reference;
 * only the scope prefix and the removed standalone-page chrome rules
 * (site-header/nav/brand/site-footer — replaced by the real theme
 * header/footer) differ from the source file.
 *
 * Enqueued only on page-templates/shopify-netsuite-integration-prototype-template.php
 * (see erpp_sni_prototype_css_enqueue() in functions.php).
 */

.erpp-sniv4 {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #6366f1;
  --accent: #a5b4fc;
  --tint: #eef2ff;
  --white: #ffffff;
  --surface: #f8f8fc;
  --ink: #1e1b4b;
  --body: #33475b;
  --muted: #667085;
  --dark: #0f0e2a;
  --dark-2: #171532;
  --line: #dedfec;
  --dark-line: rgba(255,255,255,.13);
  --shopify: #95bf47;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow: 0 24px 70px rgba(30,27,75,.12);
  --shell: 1200px;
}

.erpp-sniv4 *, .erpp-sniv4 *::before, .erpp-sniv4 *::after { box-sizing: border-box; }
.erpp-sniv4 {
  color: var(--body);
  background: var(--white);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.erpp-sniv4 img, .erpp-sniv4 svg { display: block; max-width: 100%; }
.erpp-sniv4 button, .erpp-sniv4 input, .erpp-sniv4 textarea, .erpp-sniv4 select { font: inherit; }
.erpp-sniv4 a { color: inherit; }
.erpp-sniv4 h1, .erpp-sniv4 h2, .erpp-sniv4 h3, .erpp-sniv4 p { margin-top: 0; }
.erpp-sniv4 h1, .erpp-sniv4 h2, .erpp-sniv4 h3 { color: var(--ink); letter-spacing: -.035em; }
.erpp-sniv4 h1 { margin-bottom: 22px; font-size: 2.75rem; line-height: 1.08; }
.erpp-sniv4 h2 { margin-bottom: 18px; font-size: 2.125rem; line-height: 1.15; }
.erpp-sniv4 h3 { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.3; }
.erpp-sniv4 p { margin-bottom: 20px; }

.erpp-sniv4 .shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.erpp-sniv4 .section { padding: 92px 0; }
.erpp-sniv4 .dark-section { color: rgba(255,255,255,.72); background: var(--dark); }
.erpp-sniv4 .dark-section h1, .erpp-sniv4 .dark-section h2, .erpp-sniv4 .dark-section h3 { color: var(--white); }
.erpp-sniv4 .eyebrow {
  margin-bottom: 16px;
  color: var(--primary-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.erpp-sniv4 .dark-section .eyebrow { color: var(--accent); }
.erpp-sniv4 .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; }
.erpp-sniv4 :focus-visible { outline: 3px solid var(--primary-light); outline-offset: 4px; }

.erpp-sniv4 .button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
  padding: 13px 23px; color: var(--white); background: var(--primary);
  border: 1px solid var(--primary); border-radius: 999px;
  box-shadow: 0 12px 30px rgba(79,70,229,.24);
  font-size: .9rem; font-weight: 700; letter-spacing: .01em; text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.erpp-sniv4 .button:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(79,70,229,.28); }
.erpp-sniv4 .button--compact { min-height: 42px; padding: 9px 18px; font-size: .82rem; }
.erpp-sniv4 .button--dark { background: var(--dark); border-color: var(--dark); box-shadow: none; }
.erpp-sniv4 .button--dark:hover { background: var(--ink); }
.erpp-sniv4 .text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 700; text-decoration: none; }
.erpp-sniv4 .text-link span { transition: transform .2s ease; }
.erpp-sniv4 .text-link:hover span { transform: translateX(4px); }
.erpp-sniv4 .text-link--inverse { color: var(--white); }

.erpp-sniv4 .hero { position: relative; overflow: hidden; padding: 112px 0 0; }
.erpp-sniv4 .hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -330px;
  border-radius: 50%; background: radial-gradient(circle, rgba(79,70,229,.22), transparent 68%); pointer-events: none;
}
.erpp-sniv4 .hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(430px,.95fr); gap: 78px; align-items: center; }
.erpp-sniv4 .hero__copy { position: relative; z-index: 2; padding-bottom: 82px; }
.erpp-sniv4 .hero__copy h1 { max-width: 610px; }
.erpp-sniv4 .hero__lead { max-width: 680px; color: rgba(255,255,255,.74); font-size: 1.14rem; line-height: 1.75; }
.erpp-sniv4 .hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.erpp-sniv4 .hero__assurances { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.erpp-sniv4 .hero__assurances li { position: relative; padding-left: 17px; color: rgba(255,255,255,.64); font-size: .82rem; }
.erpp-sniv4 .hero__assurances li::before { content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.erpp-sniv4 .hero-visual { position: relative; min-height: 440px; }
.erpp-sniv4 .platform {
  position: absolute; z-index: 3; top: 50%; display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 14px;
  width: 190px; min-height: 98px; padding: 17px 18px; background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.55); border-radius: 18px; box-shadow: 0 22px 50px rgba(0,0,0,.24);
  transform: translateY(-50%);
}
.erpp-sniv4 .platform--shopify { left: 0; }
.erpp-sniv4 .platform--netsuite { right: 0; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.erpp-sniv4 .platform > span:last-child small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.erpp-sniv4 .platform > span:last-child strong { display: block; color: var(--ink); font-size: .98rem; }
.erpp-sniv4 .shopify-mark { width: 48px; }
.erpp-sniv4 .data-loop { position: absolute; inset: 40px 52px; }
.erpp-sniv4 .data-loop svg { width: 100%; height: 100%; overflow: visible; }
.erpp-sniv4 .data-loop rect { fill: none; vector-effect: non-scaling-stroke; }
.erpp-sniv4 .data-loop__track { stroke: rgba(165,180,252,.34); stroke-width: 1.5; }
.erpp-sniv4 .data-loop__dot { stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: .12 99.88; filter: drop-shadow(0 0 7px rgba(165,180,252,.9)); }
.erpp-sniv4 .data-loop__dot--a { animation: orbit 14s linear infinite; }
.erpp-sniv4 .data-loop__dot--b { stroke: var(--white); animation: orbit-reverse 17s linear infinite; }
.erpp-sniv4 .flow-label { position: absolute; left: 50%; padding: 5px 10px; color: rgba(255,255,255,.52); background: var(--dark); font-size: .68rem; letter-spacing: .04em; white-space: nowrap; transform: translateX(-50%); }
.erpp-sniv4 .flow-label--top { top: -10px; }
.erpp-sniv4 .flow-label--bottom { bottom: -10px; }
@keyframes orbit { to { stroke-dashoffset: -100; } }
@keyframes orbit-reverse { from { stroke-dashoffset: -100; } to { stroke-dashoffset: 0; } }

.erpp-sniv4 .credential-strip { display: grid; grid-template-columns: 1.2fr .9fr .9fr; border-top: 1px solid var(--dark-line); }
.erpp-sniv4 .credential-strip__intro, .erpp-sniv4 .credential { min-height: 112px; display: flex; align-items: center; gap: 16px; padding: 22px 28px; }
.erpp-sniv4 .credential-strip__intro { padding-left: 0; }
.erpp-sniv4 .credential { border-left: 1px solid var(--dark-line); }
.erpp-sniv4 .credential p, .erpp-sniv4 .credential-strip p { margin: 0; }
.erpp-sniv4 .credential strong, .erpp-sniv4 .credential-strip strong { display: block; color: var(--white); font-size: .9rem; }
.erpp-sniv4 .credential span, .erpp-sniv4 .credential-strip p span { display: block; color: rgba(255,255,255,.5); font-size: .75rem; }
.erpp-sniv4 .credential img { width: 56px; height: 56px; flex: 0 0 auto; object-fit: contain; border-radius: 10px; }
.erpp-sniv4 .status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--primary-light); box-shadow: 0 0 0 7px rgba(99,102,241,.13); }

.erpp-sniv4 .service-answer { padding: 68px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.erpp-sniv4 .service-answer__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.erpp-sniv4 .service-answer h2 { max-width: 520px; margin-bottom: 0; }
.erpp-sniv4 .service-answer__content { padding-left: 34px; border-left: 1px solid var(--line); }
.erpp-sniv4 .service-answer__content p { max-width: 690px; margin-bottom: 12px; color: var(--muted); }
.erpp-sniv4 .service-answer__content .text-link { margin-top: 10px; }

.erpp-sniv4 .section-heading { margin-bottom: 54px; }
.erpp-sniv4 .section-heading--split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.6fr); gap: 100px; align-items: end; }
.erpp-sniv4 .section-heading h2 { max-width: 780px; margin-bottom: 0; }
.erpp-sniv4 .section-heading > p { max-width: 520px; margin-bottom: 4px; color: var(--muted); font-size: 1.02rem; }
.erpp-sniv4 .section-heading--inverse > p { color: rgba(255,255,255,.6); }

.erpp-sniv4 .outcome-section { background: var(--surface); }
.erpp-sniv4 .outcome-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.erpp-sniv4 .outcome-card { position: relative; min-height: 255px; display: flex; flex-direction: column; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.erpp-sniv4 .outcome-card::after { content: ""; position: absolute; right: -44px; bottom: -56px; width: 130px; height: 130px; border: 1px solid var(--tint); border-radius: 50%; }
.erpp-sniv4 .outcome-card--feature { grid-row: auto; min-height: 255px; color: rgba(255,255,255,.68); background: var(--ink); border-color: var(--ink); }
.erpp-sniv4 .outcome-card--feature h3 { max-width: 500px; color: var(--white); font-size: 1.375rem; }
.erpp-sniv4 .outcome-card--feature .card-kicker, .erpp-sniv4 .outcome-card--feature .card-index { color: var(--accent); }
.erpp-sniv4 .outcome-card--wide { min-height: 255px; display: flex; }
.erpp-sniv4 .card-index { display: inline-flex; margin-bottom: 28px; color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.erpp-sniv4 .card-kicker { margin-bottom: 10px; color: var(--primary); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.erpp-sniv4 .outcome-card h3 { max-width: 540px; }
.erpp-sniv4 .outcome-card p:last-child { margin-bottom: 0; color: var(--muted); }
.erpp-sniv4 .outcome-card--feature p:last-child { color: rgba(255,255,255,.68); }
.erpp-sniv4 .mini-list { display: none; }
.erpp-sniv4 .mini-list li { position: relative; padding: 8px 0 8px 18px; font-size: .88rem; }
.erpp-sniv4 .mini-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.erpp-sniv4 .flow-section { padding-bottom: 96px; }
.erpp-sniv4 .flow-table { width: 100%; border-spacing: 0; border-collapse: collapse; border-top: 1px solid var(--dark-line); }
.erpp-sniv4 .flow-table__head, .erpp-sniv4 .flow-row { display: grid; grid-template-columns: .8fr .55fr 1.2fr; gap: 30px; align-items: center; }
.erpp-sniv4 .flow-table__head { min-height: 58px; color: rgba(255,255,255,.42); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.erpp-sniv4 .flow-table th { font-weight: inherit; text-align: left; }
.erpp-sniv4 .flow-row { min-height: 102px; border-top: 1px solid var(--dark-line); }
.erpp-sniv4 .flow-row > td:first-child { display: flex; align-items: center; gap: 22px; }
.erpp-sniv4 .flow-row strong { color: var(--white); font-size: 1rem; }
.erpp-sniv4 .flow-row td { padding: 20px 0; color: rgba(255,255,255,.56); font-size: .92rem; }
.erpp-sniv4 .flow-number { color: var(--accent); font-size: .72rem; font-weight: 700; }
.erpp-sniv4 .direction { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: .83rem; }
.erpp-sniv4 .direction b { color: var(--accent); }
.erpp-sniv4 .direction i { position: relative; width: 100%; height: 1px; display: block; margin-top: 6px; overflow: visible; background: rgba(165,180,252,.24); }
.erpp-sniv4 .direction i::after { content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(165,180,252,.85); animation: scope-forward 4.8s linear infinite; animation-play-state: paused; }
.erpp-sniv4 .flow-section.is-visible .direction i::after { animation-play-state: running; }
.erpp-sniv4 .direction--reverse i::after { animation-name: scope-reverse; }
.erpp-sniv4 .direction--both i:nth-of-type(2)::after { animation-name: scope-reverse; animation-delay: -2.4s; }
.erpp-sniv4 .direction--adaptive i::after { left: 50%; animation: scope-pulse 3.2s ease-in-out infinite; }
@keyframes scope-forward { from { transform: translateX(0); } to { transform: translateX(128px); } }
@keyframes scope-reverse { from { transform: translateX(128px); } to { transform: translateX(0); } }
@keyframes scope-pulse { 50% { opacity: .25; transform: scale(1.8); } }
.erpp-sniv4 .scope-note { max-width: 850px; margin: 34px 0 0; color: rgba(255,255,255,.48); font-size: .78rem; }
.erpp-sniv4 .scope-note strong { color: rgba(255,255,255,.74); }

.erpp-sniv4 .method-section { background: var(--white); }
.erpp-sniv4 .method-explorer { min-height: 590px; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.erpp-sniv4 .method-explorer > .method-tabs { display: none; }
.erpp-sniv4 .method-explorer > .method-panels { padding: 54px 58px; }
.erpp-sniv4 .method-category-tabs { display: grid; grid-template-columns: repeat(4,1fr); padding: 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.erpp-sniv4 .method-category-tabs button { min-height: 74px; display: flex; align-items: center; gap: 13px; padding: 14px 18px; color: var(--muted); background: transparent; border: 0; border-radius: var(--radius-md); font: inherit; font-size: .87rem; font-weight: 600; text-align: left; cursor: pointer; }
.erpp-sniv4 .method-category-tabs button span { color: var(--primary-light); font-size: .68rem; }
.erpp-sniv4 .method-category-tabs button[aria-selected="true"] { color: var(--ink); background: var(--white); box-shadow: 0 8px 26px rgba(30,27,75,.08); }
.erpp-sniv4 .method-workspace { display: grid; grid-template-columns: 290px 1fr; min-height: 500px; }
.erpp-sniv4 .method-workspace[hidden] { display: none; }
.erpp-sniv4 .method-option-nav { padding: 30px 20px; background: var(--surface); border-right: 1px solid var(--line); }
.erpp-sniv4 .method-option-nav__summary { margin: 0 8px 24px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.erpp-sniv4 .method-option-tabs { display: grid; gap: 6px; }
.erpp-sniv4 .method-option-tabs button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--body); background: transparent; border: 1px solid transparent; border-radius: var(--radius-md); font: inherit; font-size: .83rem; font-weight: 600; text-align: left; cursor: pointer; }
.erpp-sniv4 .method-option-tabs button[aria-selected="true"] { color: var(--primary); background: var(--white); border-color: var(--line); box-shadow: 0 7px 20px rgba(30,27,75,.06); }
.erpp-sniv4 .method-option-label { flex: 1; }
/* Logo/mark chip — fixed size so every provider mark (real logo or
   fallback icon) reads consistently regardless of source asset shape. */
.erpp-sniv4 .method-option-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; overflow: hidden; }
.erpp-sniv4 .method-option-logo img { max-width: 22px; max-height: 18px; width: auto; height: auto; object-fit: contain; }
.erpp-sniv4 .method-option-logo--light { background: var(--white); border: 1px solid var(--line); }
.erpp-sniv4 .method-option-logo--dark { background: var(--ink); }
.erpp-sniv4 .method-option-logo--icon { background: var(--tint); color: var(--primary); }
.erpp-sniv4 .method-option-logo--icon svg { width: 17px; height: 17px; }
.erpp-sniv4 .method-detail { position: relative; padding: 54px 58px; }
.erpp-sniv4 .method-panel { max-width: 710px; }
.erpp-sniv4 .method-panel[hidden] { display: none; }
.erpp-sniv4 .method-label { margin-bottom: 14px; color: var(--primary); font-size: .74rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.erpp-sniv4 .method-panel h3 { max-width: 680px; font-size: 1.75rem; }
.erpp-sniv4 .method-panel > p:not(.method-label) { max-width: 670px; color: var(--muted); font-size: 1.02rem; }
.erpp-sniv4 .method-facts { display: grid; grid-template-columns: repeat(3,1fr); margin: 40px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.erpp-sniv4 .method-facts div { min-height: 150px; padding: 24px 20px 24px 0; }
.erpp-sniv4 .method-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.erpp-sniv4 .method-facts small { display: block; margin-bottom: 12px; color: var(--primary); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.erpp-sniv4 .method-facts strong { color: var(--ink); font-size: .87rem; line-height: 1.45; }
.erpp-sniv4 .method-footnote { max-width: 900px; margin: 24px auto 0; color: var(--muted); font-size: .78rem; text-align: center; }
.erpp-sniv4 .method-footnote strong { color: var(--ink); }

.erpp-sniv4 .stakeholder-section { background: var(--surface); }
.erpp-sniv4 .stakeholder-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.erpp-sniv4 .stakeholder-copy { position: sticky; top: 120px; }
.erpp-sniv4 .stakeholder-copy p:not(.eyebrow) { color: var(--muted); }
.erpp-sniv4 .stakeholder-list { border-top: 1px solid var(--line); }
.erpp-sniv4 .stakeholder-list article { display: grid; grid-template-columns: 110px .9fr 1fr; gap: 30px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.erpp-sniv4 .stakeholder-list span { color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.erpp-sniv4 .stakeholder-list h3 { margin: 0; font-size: 1.15rem; }
.erpp-sniv4 .stakeholder-list p { margin: 0; color: var(--muted); font-size: .9rem; }

.erpp-sniv4 .delivery-track { position: relative; display: grid; grid-template-columns: repeat(5,1fr); margin: 76px 0 0; padding: 0; border-top: 1px solid var(--dark-line); list-style: none; }
.erpp-sniv4 .delivery-track::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: linear-gradient(90deg,var(--primary-light),var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 1.5s cubic-bezier(.22,.75,.25,1); }
.erpp-sniv4 .delivery-section.is-visible .delivery-track::after { transform: scaleX(1); }
.erpp-sniv4 .delivery-track li { position: relative; min-height: 280px; padding: 38px 26px 0 0; }
.erpp-sniv4 .delivery-track li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--primary-light); box-shadow: 0 0 0 7px rgba(99,102,241,.13); }
.erpp-sniv4 .delivery-track li::before { opacity: .45; transform: scale(.7); transition: opacity .35s ease, transform .35s ease; }
.erpp-sniv4 .delivery-section.is-visible .delivery-track li::before { opacity: 1; transform: scale(1); }
.erpp-sniv4 .delivery-section.is-visible .delivery-track li:nth-child(2)::before { transition-delay: .22s; }
.erpp-sniv4 .delivery-section.is-visible .delivery-track li:nth-child(3)::before { transition-delay: .44s; }
.erpp-sniv4 .delivery-section.is-visible .delivery-track li:nth-child(4)::before { transition-delay: .66s; }
.erpp-sniv4 .delivery-section.is-visible .delivery-track li:nth-child(5)::before { transition-delay: .88s; }
.erpp-sniv4 .delivery-track span { display: block; margin-bottom: 48px; color: var(--accent); font-size: .75rem; font-weight: 700; }
.erpp-sniv4 .delivery-track h3 { font-size: 1.25rem; }
.erpp-sniv4 .delivery-track p { margin: 0; color: rgba(255,255,255,.52); font-size: .86rem; }

.erpp-sniv4 .evidence-section { background: var(--white); }
.erpp-sniv4 .evidence-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.erpp-sniv4 .evidence-media { position: relative; }
.erpp-sniv4 .evidence-media::before { content: ""; position: absolute; inset: -16px 18px 18px -16px; z-index: -1; background: var(--tint); border-radius: var(--radius-lg); }
.erpp-sniv4 .evidence-media img { width: 100%; min-height: 340px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.erpp-sniv4 .evidence-media > span { position: absolute; left: 22px; top: 22px; padding: 8px 12px; color: var(--white); background: rgba(15,14,42,.86); border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.erpp-sniv4 .evidence-copy > p:not(.eyebrow):not(.evidence-note) { color: var(--muted); font-size: 1.02rem; }
.erpp-sniv4 .evidence-note { margin: 24px 0 0; color: var(--muted); font-size: .74rem; }

.erpp-sniv4 .case-section { overflow: hidden; background: var(--surface); }
.erpp-sniv4 .case-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.erpp-sniv4 .case-heading h2 { max-width: 720px; margin: 0; }
.erpp-sniv4 .case-controls { display: flex; align-items: center; gap: 8px; }
.erpp-sniv4 .case-controls p { min-width: 46px; margin: 0 8px 0 0; color: var(--muted); font-size: .75rem; }
.erpp-sniv4 .case-controls button { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.erpp-sniv4 .case-controls button:hover { color: var(--primary); border-color: var(--primary-light); transform: translateY(-2px); }
.erpp-sniv4 .case-window { overflow: hidden; }
.erpp-sniv4 .case-track { display: flex; gap: 16px; transition: transform .65s cubic-bezier(.22,.75,.25,1); will-change: transform; }
.erpp-sniv4 .case-card { flex: 0 0 calc((100% - 32px)/3); min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.erpp-sniv4 .case-card__visual { position: relative; height: 185px; overflow: hidden; background: var(--ink); }
.erpp-sniv4 .case-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.erpp-sniv4 .case-card:hover .case-card__visual img { transform: scale(1.035); }
.erpp-sniv4 .case-card__visual > span { position: absolute; left: 18px; top: 18px; padding: 6px 9px; color: var(--white); background: rgba(15,14,42,.78); border-radius: 999px; font-size: .62rem; font-weight: 700; letter-spacing: .05em; }
.erpp-sniv4 .case-card__body { min-height: 252px; display: flex; flex-direction: column; padding: 24px; }
.erpp-sniv4 .case-card__body > p { margin-bottom: 9px; color: var(--primary); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.erpp-sniv4 .case-card__body h3 { margin-bottom: 14px; font-size: 1.18rem; }
.erpp-sniv4 .case-card__body > span { color: var(--muted); font-size: .72rem; }
.erpp-sniv4 .case-card__body a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--primary); font-size: .78rem; font-weight: 700; text-decoration: none; }
.erpp-sniv4 .case-card__body a b { transition: transform .2s ease; }
.erpp-sniv4 .case-card__body a:hover b { transform: translateX(4px); }
.erpp-sniv4 .case-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; }
.erpp-sniv4 .case-footer p { max-width: 610px; margin: 0; color: var(--muted); font-size: .7rem; }

.erpp-sniv4 [data-reveal].is-visible { animation: reveal-in .7s cubic-bezier(.22,.75,.25,1) both; }
@keyframes reveal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.erpp-sniv4 .review-section { color: rgba(255,255,255,.68); background: var(--dark); }
.erpp-sniv4 .review-section h2 { color: var(--white); }
.erpp-sniv4 .review-heading { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; margin-bottom: 44px; }
.erpp-sniv4 .review-heading h2 { max-width: 650px; margin: 0; }
.erpp-sniv4 .review-ratings { display: flex; border: 1px solid var(--dark-line); border-radius: var(--radius-md); overflow: hidden; }
.erpp-sniv4 .review-ratings a { min-width: 176px; padding: 16px 20px; text-decoration: none; }
.erpp-sniv4 .review-ratings a + a { border-left: 1px solid var(--dark-line); }
.erpp-sniv4 .review-ratings strong { display: block; color: var(--white); font-size: 1.15rem; }
.erpp-sniv4 .review-ratings strong span { color: rgba(255,255,255,.45); font-size: .7rem; }
.erpp-sniv4 .review-ratings small { display: block; color: rgba(255,255,255,.48); font-size: .67rem; }
.erpp-sniv4 .review-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; }
.erpp-sniv4 .review-card { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 28px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); }
.erpp-sniv4 .review-card--featured { background: linear-gradient(150deg,rgba(79,70,229,.24),transparent 60%),var(--dark-2); }
.erpp-sniv4 .review-card blockquote { margin: 0; color: var(--white); font-size: 1.05rem; line-height: 1.6; }
.erpp-sniv4 .review-card figcaption { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--dark-line); }
.erpp-sniv4 .review-avatar { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--primary); border-radius: 50%; font-size: .7rem; font-weight: 700; }
.erpp-sniv4 .review-card figcaption strong { display: block; color: var(--white); font-size: .8rem; }
.erpp-sniv4 .review-card figcaption small { display: block; color: rgba(255,255,255,.46); font-size: .65rem; }
.erpp-sniv4 .review-card figcaption b { color: #f6c453; font-size: .72rem; letter-spacing: .08em; }
.erpp-sniv4 .review-disclosure { margin: 20px 0 0; color: rgba(255,255,255,.4); font-size: .7rem; text-align: right; }

.erpp-sniv4 .integration-strip { padding: 88px 0 64px; overflow: hidden; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.erpp-sniv4 .integration-strip__heading { display: grid; grid-template-columns: 1fr .7fr; gap: 80px; align-items: end; margin-bottom: 40px; }
.erpp-sniv4 .integration-strip__heading h2 { max-width: 670px; margin-bottom: 0; font-size: 1.75rem; }
.erpp-sniv4 .integration-strip__heading > p { margin-bottom: 4px; color: var(--muted); }
.erpp-sniv4 .marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(to right,transparent,#000 8%,#000 92%,transparent); }
.erpp-sniv4 .marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.erpp-sniv4 .marquee__group { display: flex; gap: 14px; padding-right: 14px; }
.erpp-sniv4 .marquee:hover .marquee__track, .erpp-sniv4 .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.erpp-sniv4 .integration-card { width: 286px; min-height: 142px; display: grid; grid-template-columns: 1fr 38px 1fr; grid-template-rows: 74px auto; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.erpp-sniv4 .integration-card > strong { grid-column: 1 / 4; padding-top: 12px; color: var(--ink); border-top: 1px solid var(--line); font-size: .78rem; }
.erpp-sniv4 .brand-mark { justify-self: center; font-weight: 700; }
.erpp-sniv4 .brand-mark--salesforce { padding: 10px 8px; color: white; background: #0d9dda; border-radius: 50%; font-size: .66rem; }
.erpp-sniv4 .brand-mark--woo { padding: 6px 9px; color: white; background: #96588a; border-radius: 8px; }
.erpp-sniv4 .brand-mark--amazon { color: #111820; font-size: .9rem; }
.erpp-sniv4 .brand-mark--amazon span { display: block; color: #ff9900; line-height: .4; text-align: center; }
.erpp-sniv4 .brand-mark--hubspot { color: #ff7a59; font-size: .9rem; }
.erpp-sniv4 .brand-mark--adp { color: #d0271d; font-size: 1.1rem; }
.erpp-sniv4 .bi-arrow { color: var(--primary-light); font-size: 1.2rem; text-align: center; animation: arrow-breathe 3s ease-in-out infinite; }
@keyframes arrow-breathe { 50% { opacity: .35; transform: scaleX(.82); } }
.erpp-sniv4 .ns-wordmark { justify-self: center; color: #29272a; font-size: .82rem; line-height: 1; text-align: center; }
.erpp-sniv4 .ns-wordmark small { display: block; font-size: .4rem; }
.erpp-sniv4 .compact-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.erpp-sniv4 .compact-cta h3 { margin-bottom: 4px; font-size: 1.1rem; }
.erpp-sniv4 .compact-cta p { margin: 0; color: var(--muted); font-size: .87rem; }

.erpp-sniv4 .faq-section { background: var(--white); }
.erpp-sniv4 .faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.erpp-sniv4 .faq-intro { position: sticky; top: 120px; }
.erpp-sniv4 .faq-intro > p:not(.eyebrow) { color: var(--muted); }
.erpp-sniv4 .faq-list { border-top: 1px solid var(--line); }
.erpp-sniv4 .faq-list details { border-bottom: 1px solid var(--line); }
.erpp-sniv4 .faq-list summary { position: relative; display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 48px 20px 0; color: var(--ink); font-size: 1.03rem; font-weight: 600; cursor: pointer; list-style: none; }
.erpp-sniv4 .faq-list summary::-webkit-details-marker { display: none; }
.erpp-sniv4 .faq-list summary span { position: absolute; right: 5px; width: 18px; height: 18px; }
.erpp-sniv4 .faq-list summary span::before, .erpp-sniv4 .faq-list summary span::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1px; background: var(--primary); transition: transform .2s ease; }
.erpp-sniv4 .faq-list summary span::after { transform: rotate(90deg); }
.erpp-sniv4 .faq-list details[open] summary span::after { transform: rotate(0); }
.erpp-sniv4 .faq-list details p { max-width: 720px; padding: 0 48px 28px 0; margin: 0; color: var(--muted); }

.erpp-sniv4 .consultation { padding: 96px 0; }
.erpp-sniv4 .consultation__grid { display: grid; grid-template-columns: 1fr .8fr; gap: 120px; align-items: center; }
.erpp-sniv4 .consultation h2 { max-width: 720px; }
.erpp-sniv4 .consultation > div > div:first-child > p:not(.eyebrow) { max-width: 660px; color: rgba(255,255,255,.62); font-size: 1.05rem; }
.erpp-sniv4 .consultation__action { padding: 34px; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); }
.erpp-sniv4 .consultation__action p { margin-bottom: 12px; color: var(--white); }
.erpp-sniv4 .consultation__action .button { width: 100%; }
.erpp-sniv4 .consultation__action > span { display: block; margin-top: 12px; color: rgba(255,255,255,.42); font-size: .72rem; text-align: center; }
.erpp-sniv4 .consultation__action > span a { color: rgba(255,255,255,.78); }
.erpp-sniv4 .form-context { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; padding: 12px 14px; background: rgba(99,102,241,.12); border: 1px solid rgba(165,180,252,.18); border-radius: var(--radius-md); }
.erpp-sniv4 .form-context span { color: rgba(255,255,255,.48); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.erpp-sniv4 .form-context strong { color: var(--white); font-size: .78rem; text-align: right; }
.erpp-sniv4 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 18px; }
.erpp-sniv4 .form-field { display: grid; gap: 7px; }
.erpp-sniv4 .form-field--wide { grid-column: 1 / -1; }
.erpp-sniv4 .form-field > span { color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 600; }
.erpp-sniv4 .form-field input, .erpp-sniv4 .form-field select, .erpp-sniv4 .form-field textarea { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); border-radius: 9px; font: inherit; font-size: .82rem; }
.erpp-sniv4 .form-field select option { color: var(--ink); background: var(--white); }
.erpp-sniv4 .form-field textarea { resize: vertical; }
.erpp-sniv4 .form-field input::placeholder, .erpp-sniv4 .form-field textarea::placeholder { color: rgba(255,255,255,.32); }
.erpp-sniv4 .form-field input:focus, .erpp-sniv4 .form-field select:focus, .erpp-sniv4 .form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }

@media (max-width: 1050px) {
  .erpp-sniv4 .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .erpp-sniv4 .hero__copy { padding-bottom: 20px; }
  .erpp-sniv4 .hero-visual { width: min(100%,650px); margin: 0 auto 40px; }
  .erpp-sniv4 .credential-strip { grid-template-columns: 1fr 1fr; }
  .erpp-sniv4 .credential-strip__intro { grid-column: 1 / 3; min-height: 78px; border-bottom: 1px solid var(--dark-line); }
  .erpp-sniv4 .credential:nth-child(2) { padding-left: 0; border-left: 0; }
  .erpp-sniv4 .section-heading--split { gap: 50px; }
  .erpp-sniv4 .service-answer__grid { gap: 50px; }
  .erpp-sniv4 .outcome-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .erpp-sniv4 .method-workspace { grid-template-columns: 250px 1fr; }
  .erpp-sniv4 .method-detail { padding: 42px; }
  .erpp-sniv4 .method-facts { grid-template-columns: 1fr; }
  .erpp-sniv4 .method-facts div { min-height: auto; padding: 18px 0; }
  .erpp-sniv4 .method-facts div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .erpp-sniv4 .stakeholder-layout, .erpp-sniv4 .faq-layout { gap: 56px; }
  .erpp-sniv4 .stakeholder-list article { grid-template-columns: 90px 1fr; }
  .erpp-sniv4 .stakeholder-list p { grid-column: 2; }
  .erpp-sniv4 .delivery-track { grid-template-columns: repeat(3,1fr); }
  .erpp-sniv4 .delivery-track li { min-height: 230px; }
  .erpp-sniv4 .delivery-track li:nth-child(n+4) { border-top: 1px solid var(--dark-line); }
  .erpp-sniv4 .evidence-grid { gap: 45px; }
  .erpp-sniv4 .case-card { flex-basis: calc((100% - 16px)/2); }
  .erpp-sniv4 .review-heading { grid-template-columns: 1fr; gap: 28px; }
  .erpp-sniv4 .review-grid { grid-template-columns: 1fr 1fr; }
  .erpp-sniv4 .review-card--featured { grid-column: 1 / 3; }
}

@media (max-width: 760px) {
  .erpp-sniv4 .shell { width: min(calc(100% - 32px), var(--shell)); }
  .erpp-sniv4 .section { padding: 70px 0; }
  .erpp-sniv4 .hero { padding-top: 74px; }
  .erpp-sniv4 .hero__lead { font-size: 1rem; }
  .erpp-sniv4 .hero__actions { align-items: flex-start; flex-direction: column; }
  .erpp-sniv4 .hero__assurances { display: grid; gap: 8px; }
  .erpp-sniv4 .hero-visual { min-height: 340px; }
  .erpp-sniv4 .platform { width: 148px; min-height: 82px; grid-template-columns: 42px 1fr; padding: 13px; }
  .erpp-sniv4 .platform--netsuite { grid-template-columns: 1fr; }
  .erpp-sniv4 .shopify-mark { width: 38px; }
  .erpp-sniv4 .platform > span:last-child strong { font-size: .82rem; }
  .erpp-sniv4 .platform > span:last-child small { font-size: .55rem; }
  .erpp-sniv4 .data-loop { inset: 34px 40px; }
  .erpp-sniv4 .flow-label { font-size: .58rem; }
  .erpp-sniv4 .credential-strip { grid-template-columns: 1fr; }
  .erpp-sniv4 .credential-strip__intro { grid-column: auto; padding-left: 0; }
  .erpp-sniv4 .credential { min-height: 90px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--dark-line); }
  .erpp-sniv4 .credential img { width: 48px; height: 48px; }
  .erpp-sniv4 .service-answer { padding: 54px 0; }
  .erpp-sniv4 .service-answer__grid { grid-template-columns: 1fr; gap: 24px; }
  .erpp-sniv4 .service-answer__content { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .erpp-sniv4 .section-heading--split, .erpp-sniv4 .integration-strip__heading, .erpp-sniv4 .consultation__grid { grid-template-columns: 1fr; gap: 22px; }
  .erpp-sniv4 .outcome-grid { grid-template-columns: 1fr; }
  .erpp-sniv4 .outcome-card, .erpp-sniv4 .outcome-card--feature { min-height: auto; }
  .erpp-sniv4 .outcome-card--feature { grid-row: auto; gap: 60px; }
  .erpp-sniv4 .outcome-card--wide { display: block; }
  .erpp-sniv4 .card-index { margin-bottom: 38px; }
  .erpp-sniv4 .flow-table__head { display: none; }
  .erpp-sniv4 .flow-row { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .erpp-sniv4 .method-explorer { min-height: 0; border-radius: var(--radius-lg); }
  .erpp-sniv4 .method-category-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .erpp-sniv4 .method-category-tabs button { min-width: 190px; scroll-snap-align: start; }
  .erpp-sniv4 .method-workspace { display: block; min-height: 0; }
  .erpp-sniv4 .method-option-nav { padding: 20px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .erpp-sniv4 .method-option-nav__summary { margin-bottom: 14px; }
  .erpp-sniv4 .method-option-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .erpp-sniv4 .method-option-tabs button { min-width: 165px; scroll-snap-align: start; }
  .erpp-sniv4 .method-detail { padding: 32px 24px; }
  .erpp-sniv4 .stakeholder-layout, .erpp-sniv4 .faq-layout, .erpp-sniv4 .evidence-grid { grid-template-columns: 1fr; gap: 44px; }
  .erpp-sniv4 .stakeholder-copy, .erpp-sniv4 .faq-intro { position: static; }
  .erpp-sniv4 .stakeholder-list article { grid-template-columns: 1fr; gap: 9px; }
  .erpp-sniv4 .stakeholder-list p { grid-column: auto; }
  .erpp-sniv4 .delivery-track { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--dark-line); }
  .erpp-sniv4 .delivery-track::after { display: none; }
  .erpp-sniv4 .delivery-track li { min-height: 0; display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 0 0 42px 28px; }
  .erpp-sniv4 .delivery-track li::before { top: 7px; left: -5px; }
  .erpp-sniv4 .delivery-track li:nth-child(n+4) { border-top: 0; }
  .erpp-sniv4 .delivery-track span { margin: 4px 0 0; }
  .erpp-sniv4 .evidence-media img { min-height: 260px; }
  .erpp-sniv4 .case-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .erpp-sniv4 .case-card { flex-basis: 100%; }
  .erpp-sniv4 .case-card__visual { height: 205px; }
  .erpp-sniv4 .case-footer { align-items: flex-start; flex-direction: column; }
  .erpp-sniv4 .review-ratings { width: 100%; }
  .erpp-sniv4 .review-ratings a { min-width: 0; flex: 1; padding: 14px; }
  .erpp-sniv4 .review-grid { grid-template-columns: 1fr; }
  .erpp-sniv4 .review-card--featured { grid-column: auto; }
  .erpp-sniv4 .review-card { min-height: 230px; }
  .erpp-sniv4 .review-card figcaption { grid-template-columns: 38px 1fr; }
  .erpp-sniv4 .review-card figcaption b { grid-column: 2; }
  .erpp-sniv4 .review-disclosure { text-align: left; }
  .erpp-sniv4 .integration-strip { padding-top: 70px; }
  .erpp-sniv4 .compact-cta { align-items: flex-start; flex-direction: column; }
  .erpp-sniv4 .consultation { padding: 78px 0; }
  .erpp-sniv4 .consultation__action { padding: 26px 22px; }
  .erpp-sniv4 .form-grid { grid-template-columns: 1fr; }
  .erpp-sniv4 .form-field--wide { grid-column: auto; }
  .erpp-sniv4 .form-context { align-items: flex-start; flex-direction: column; }
  .erpp-sniv4 .form-context strong { text-align: left; }
}

@media (max-width: 430px) {
  .erpp-sniv4 h1 { font-size: 2.125rem; }
  .erpp-sniv4 h2 { font-size: 1.75rem; }
  .erpp-sniv4 h3 { font-size: 1.25rem; }
  .erpp-sniv4 .platform { width: 135px; }
  .erpp-sniv4 .platform--shopify { left: -4px; }
  .erpp-sniv4 .platform--netsuite { right: -4px; }
  .erpp-sniv4 .data-loop { inset-inline: 28px; }
  .erpp-sniv4 .outcome-card { padding: 28px 24px; }
  .erpp-sniv4 .integration-card { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .erpp-sniv4 *, .erpp-sniv4 *::before, .erpp-sniv4 *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .erpp-sniv4 .marquee__track { transform: none; }
}

@media print {
  .erpp-sniv4 .marquee, .erpp-sniv4 .hero-visual { display: none; }
  .erpp-sniv4 .dark-section { color: var(--body); background: var(--white); }
  .erpp-sniv4 .dark-section h1, .erpp-sniv4 .dark-section h2, .erpp-sniv4 .dark-section h3 { color: var(--ink); }
  .erpp-sniv4 .section { padding: 42px 0; }
}
