/* ERP hosting is a scoped product surface; existing site and Cashflow styles remain independent. */
.erp-page{background:var(--ground);color:var(--paper)}
.erp-page p{line-height:1.7}.erp-page h1,.erp-page h2,.erp-page h3{font-weight:700}
/* Header contract matches the approved Cashflow header, without loading its application CSS. */
.erp-page .site-header{max-width:1760px;margin:auto;padding-inline:clamp(20px,3.2vw,64px);height:82px;display:flex;align-items:center;gap:30px;border-bottom:1px solid var(--line)}
.erp-page .site-header .brand{font-size:24px;font-weight:750;letter-spacing:-1.1px;white-space:nowrap}
.erp-page .product-label{font-size:10px;letter-spacing:.22em;color:var(--muted);padding-left:28px;border-left:1px solid var(--line)}
.erp-page .home-link{margin-left:auto;font-size:12px;color:var(--muted);display:flex;gap:18px;align-items:center;min-height:44px}.erp-page .home-link span{color:var(--accent);font-size:18px}
.erp-page .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.erp-page .rotating-slogans{min-width:0;flex:0 1 auto;text-transform:uppercase}.erp-page .slogan-viewport{display:grid;line-height:1.5}.erp-page .header-slogan{grid-area:1/1;white-space:nowrap;opacity:0;filter:blur(4px)}.erp-page .header-slogan:first-child{opacity:1;filter:none}
@media(prefers-reduced-motion:no-preference){.erp-page .rotating-slogans .header-slogan{animation:header-slogan-dissolve 30s linear infinite}.erp-page .header-slogan:nth-child(2){animation-delay:-24s}.erp-page .header-slogan:nth-child(3){animation-delay:-18s}.erp-page .header-slogan:nth-child(4){animation-delay:-12s}.erp-page .header-slogan:nth-child(5){animation-delay:-6s}}
@keyframes header-slogan-dissolve{0%,17.333%,100%{opacity:1;filter:blur(0)}20%,97.333%{opacity:0;filter:blur(4px)}}
@media(max-width:780px){.erp-page .site-header{height:68px;gap:15px}.erp-page .site-header .brand{font-size:22px}.erp-page .product-label{display:none}.erp-page .home-link{font-size:11px;gap:12px}}
@media(max-width:420px){.erp-page .site-header{padding-inline:16px}.erp-page .home-link{font-size:10px}}
@media print{.erp-page .header-slogan{animation:none!important;opacity:0;filter:none}.erp-page .header-slogan:first-child{opacity:1}}
.erp-eyebrow,.erp-kicker{font-size:12px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;line-height:1.6}
.erp-eyebrow{margin:0 0 24px;color:var(--accent)}
.erp-live{display:inline-flex;align-items:center;gap:7px;color:var(--accent);white-space:nowrap;font-size:12px;font-weight:500;letter-spacing:.02em;text-transform:none}
.erp-live::before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}
.erp-kicker{display:flex;justify-content:space-between;gap:24px;margin-bottom:32px;color:var(--muted)}
.erp-hero{padding-top:52px}.erp-hero h1{font-size:clamp(56px,8.1vw,112px);line-height:.99;letter-spacing:-.065em;margin:0 0 36px;max-width:16ch}.erp-hero h1 .erp-hero-line{display:block;color:var(--accent)}.erp-hero h1 .erp-hero-line:first-child{color:var(--paper)}
.erp-hero-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:48px}.erp-hero-bottom>p{font-size:20px;line-height:1.55;margin:0;max-width:31em;color:var(--muted)}.erp-hero-bottom strong{color:var(--paper);font-weight:400}
.erp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px 24px;flex-shrink:0}.erp-hero-bottom .erp-actions{flex-direction:column;align-items:flex-start;gap:16px}
.erp-button{display:inline-flex;white-space:nowrap;align-items:center;justify-content:space-between;gap:36px;background:var(--accent);color:#171612;padding:17px 23px;min-height:54px;font-size:15px;font-weight:600;border:1px solid transparent;border-radius:3px}.erp-button:hover{background:#edbb89;color:#171612}.erp-button>span,.erp-text-link>span{font-size:23px;line-height:1;font-weight:400}.erp-text-link{display:inline-flex;align-items:center;gap:18px;font-size:14px;min-height:44px}.erp-text-link>span{color:var(--accent)}
.erp-product-shot{min-width:0;margin:0}.erp-shot-heading{display:flex;justify-content:space-between;gap:20px;background:#262721;padding:13px 20px;font-size:12px;color:#d1d1c6;border:1px solid #45463d;border-bottom:0}.erp-product-shot img{display:block;width:100%;height:auto;background:#000;border:1px solid #45463d}.erp-product-shot figcaption{color:var(--muted);font-size:11px;line-height:1.6;margin-top:10px}.erp-product-shot figcaption a{text-decoration:underline;text-underline-offset:3px}.erp-hero-shot{max-width:1080px;margin-left:auto}
.erp-workspace{display:grid;grid-template-columns:1fr 1fr;gap:10%;padding-block:100px}.erp-section-heading h2,.erp-access h2{font-size:clamp(36px,4.5vw,64px);letter-spacing:-.045em;line-height:1.08;margin:0 0 28px}.erp-workspace-copy>p{font-size:16px;color:var(--muted);margin:0 0 22px}.erp-workspace-copy .erp-lead{font-size:24px;line-height:1.5;color:var(--paper)}
.erp-capabilities{margin:32px 0 0}.erp-capabilities>div{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:20px 0;border-top:1px solid var(--line)}.erp-capabilities dt{font-size:15px;font-weight:600;line-height:1.6}.erp-capabilities dd{margin:0;font-size:14px;color:var(--muted);line-height:1.65}
.erp-access{display:grid;grid-template-columns:1.3fr 1fr;gap:7%;align-items:center;border-top:1px solid var(--line);padding-block:72px}.erp-access-copy>p:not(.erp-eyebrow){font-size:15px;color:var(--muted);margin:0 0 18px}.erp-access-copy .erp-eyebrow{margin-bottom:20px}.erp-access h2{font-size:clamp(32px,3.4vw,48px);margin-bottom:26px}
.erp-home{display:grid;grid-template-columns:1fr 1.18fr;gap:36px 6%;padding-top:80px;padding-bottom:24px;border-top:1px solid var(--line);align-items:center}.erp-home .erp-eyebrow{display:flex;gap:18px;flex-wrap:wrap;align-items:center}.erp-home h2{font-size:clamp(40px,4.8vw,64px);letter-spacing:-.045em;line-height:1.06;margin:0 0 24px}.erp-home-copy>p:not(.erp-eyebrow){color:var(--muted);font-size:15px;line-height:1.75;max-width:31em;margin:0 0 24px}.erp-home-copy>p.erp-home-lead{font-size:24px;line-height:1.4;letter-spacing:-.03em;color:var(--paper);margin-bottom:20px}.erp-home .erp-actions{gap:12px 24px}.erp-home .erp-button{padding:14px 18px;min-height:50px;gap:24px}.erp-trademark{grid-column:1/-1;max-width:80em;font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0 0}
.erp-resources{padding:42px 0 58px}.erp-resource-intro{display:flex;align-items:center;justify-content:space-between;gap:28px}.erp-resources h2{font-size:clamp(28px,3.2vw,42px);line-height:1.15;letter-spacing:-.04em;margin:0 0 16px}.erp-resource-intro p:not(.erp-eyebrow){color:var(--muted);font-size:15px;line-height:1.7;margin:0}.erp-resource-intro .erp-eyebrow{margin:0 0 16px}.erp-resource-open{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;padding:20px 28px;border:1px solid #635342;border-radius:4px;background:#26231d;color:var(--paper);font:inherit;font-size:14px;min-width:218px;cursor:pointer}.erp-resource-open>span:last-child{display:flex;gap:25px;align-items:center}.erp-resource-open:hover{background:#302a21}.erp-resource-open:focus-visible,.erp-resource-close:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.erp-mini-deck{position:relative;display:block;width:100px;height:60px}.erp-mini-deck i{position:absolute;left:calc(50% - 22px);top:4px;width:44px;height:54px;border:1px solid #d9c5a6;background:#b9bea9;border-radius:3px;transform-origin:50% 100%;transition:transform .35s ease}.erp-mini-deck i:first-child{transform:rotate(-22deg);background:#e9e2d4}.erp-mini-deck i:last-child{transform:rotate(22deg);background:#e0aa76}.erp-resource-open:hover .erp-mini-deck i:first-child{transform:rotate(-34deg)}.erp-resource-open:hover .erp-mini-deck i:last-child{transform:rotate(34deg)}
.erp-resource-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:32px}.erp-resource-shortcuts>a{display:flex;justify-content:space-between;gap:20px;padding:19px 0;border-top:1px solid var(--line);font-size:16px}.erp-resource-shortcuts>a>span:last-child{color:var(--muted);font-size:13px}.erp-resource-shortcuts b{font-size:17px;font-weight:400;color:var(--accent);margin-left:12px}.erp-resource-note{color:var(--muted);font-size:12px;line-height:1.7;max-width:75em;margin:10px 0 0}
.erp-resource-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-block:26px}.erp-resource-card{display:flex;flex-direction:column;min-width:0;min-height:272px;padding:22px;background:#ebe5d9;color:#252820;border:1px solid #c9c4b8;border-radius:5px}.erp-resource-card:hover{color:#111}.erp-card-category{display:flex;align-items:center;justify-content:space-between;font-size:11px;letter-spacing:.09em;text-transform:uppercase}.erp-card-category>span{font-size:22px;line-height:1}.erp-resource-card h3{font-size:29px;font-weight:600;line-height:1.07;letter-spacing:-.04em;margin:24px 0 18px}.erp-resource-card p{font-size:13px;line-height:1.65;margin:0 0 20px}.erp-card-source{font-size:11px;line-height:1.5;margin-top:auto;padding-top:12px;border-top:1px solid #25282033}.erp-card-courses{background:#bfc7ad}.erp-card-manual{background:var(--accent)}.erp-card-community{background:#c2cac9}.erp-card-overview{background:#dbd4c4}
.erp-resource-dialog{position:fixed;inset:0;width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:36px 40px 25px;color:var(--paper);background:#1d1e19;border:1px solid #5b5b4f;border-radius:12px;overflow:auto;box-shadow:0 24px 100px #0008}.erp-resource-dialog:not([open]){display:none}.erp-resource-dialog::backdrop{background:#070806bb;backdrop-filter:blur(7px)}.erp-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.erp-dialog-heading .erp-eyebrow{margin-bottom:13px}.erp-dialog-heading h2{font-size:clamp(32px,4vw,48px);margin:0}.erp-resource-close{display:flex;align-items:center;gap:12px;border:1px solid #626254;border-radius:30px;background:transparent;color:var(--paper);padding:10px 16px;font:inherit;font-size:13px;cursor:pointer}.erp-resource-close span{font-size:22px;line-height:1}.erp-resource-close:hover{background:#33352b}.erp-dialog-help{font-size:14px;line-height:1.6;color:var(--muted);margin:17px 0 0}.erp-fan-stage{height:450px;position:relative;overflow:hidden;margin-inline:-20px}.erp-fan-stage .erp-resource-cards{display:block;height:100%;margin:0;position:relative}.erp-fan-stage .erp-resource-card{position:absolute;left:50%;bottom:100px;width:224px;min-height:290px;height:290px;margin:0;transform-origin:50% calc(100% + 210px);transform:translateX(-50%) rotate(var(--card-turn));transition:transform .45s cubic-bezier(.22,.8,.25,1),box-shadow .3s;box-shadow:0 10px 25px #0005;z-index:var(--card-stack)}.erp-card-start{--card-turn:-29deg;--card-stack:1}.erp-card-courses{--card-turn:-14deg;--card-stack:2}.erp-card-manual{--card-turn:0deg;--card-stack:3}.erp-card-community{--card-turn:14deg;--card-stack:2}.erp-card-overview{--card-turn:29deg;--card-stack:1}.erp-fan-stage .erp-resource-card:hover,.erp-fan-stage .erp-resource-card:focus-visible{transform:translateX(-50%) rotate(var(--card-turn)) translateY(-32px);z-index:10;box-shadow:0 18px 40px #0007;outline:2px solid var(--paper);outline-offset:4px}.erp-resource-dialog[open] .erp-fan-stage .erp-resource-card{animation:erp-fan-unfold .8s cubic-bezier(.2,.7,.2,1) backwards}.erp-dialog-caption{text-align:center;font-size:16px;line-height:1.6;margin:0}.erp-dialog-caption span{font-size:12px;color:var(--muted)}
@keyframes erp-fan-unfold{from{opacity:.35;transform:translateX(-50%) rotate(0deg) translateY(40px)}to{opacity:1;transform:translateX(-50%) rotate(var(--card-turn)) translateY(0)}}
.erp-footer{padding-block:30px 44px;border-top:1px solid var(--line);display:grid;grid-template-columns:160px 1fr auto;align-items:start;gap:40px}.erp-footer p{font-size:12px;color:var(--muted);max-width:64em;margin:0}.erp-footer>a:last-child{font-size:13px;line-height:1.8}.erp-footer>a:last-child span{color:var(--accent);margin-left:12px}
@media(min-width:1500px){.erp-hero h1{font-size:118px}.erp-hero-shot{max-width:1120px}}
@media(max-width:1000px){.erp-hero-bottom{align-items:flex-start;gap:25px;flex-direction:column}.erp-hero-bottom>p{font-size:18px;max-width:28em}.erp-hero-bottom .erp-actions{flex-shrink:0;flex-direction:row;align-items:center}.erp-button{gap:24px}.erp-access{grid-template-columns:1fr 1fr;gap:5%}.erp-capabilities>div{grid-template-columns:1fr;gap:5px}.erp-home{grid-template-columns:1fr 1fr}.erp-home .erp-actions{align-items:flex-start;flex-direction:column}.erp-resource-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.erp-fan-stage .erp-resource-card{width:204px;height:278px;min-height:278px;padding:18px;transform-origin:50% calc(100% + 165px)}.erp-resource-card h3{font-size:27px}.erp-card-start{--card-turn:-27deg}.erp-card-overview{--card-turn:27deg}.erp-footer{grid-template-columns:140px 1fr}.erp-footer>a:last-child{grid-column:2}}
@media(max-width:760px){.erp-hero{padding-top:38px}.erp-kicker{font-size:10px;margin-bottom:27px;gap:12px}.erp-hero h1{font-size:clamp(46px,8.8vw,66px);margin-bottom:28px}.erp-hero-bottom{flex-direction:column;margin-bottom:34px}.erp-hero-bottom .erp-actions{flex-direction:row;align-items:center;gap:10px 20px}.erp-workspace{grid-template-columns:1fr;gap:28px;padding-block:60px}.erp-section-heading h2{margin-bottom:0}.erp-workspace-copy .erp-lead{font-size:21px}.erp-capabilities>div{grid-template-columns:150px 1fr}.erp-access{grid-template-columns:1fr;gap:36px;padding-block:48px}.erp-access-copy{grid-row:1}.erp-home{grid-template-columns:1fr;padding-top:52px;gap:30px}.erp-home h2 br{display:none}.erp-home h2{max-width:13ch}.erp-home .erp-actions{flex-direction:row;align-items:center}.erp-trademark{margin-top:0}.erp-resource-intro{align-items:flex-start}.erp-resource-open{min-width:175px;padding:18px 15px}.erp-resource-shortcuts{gap:20px}.erp-resource-shortcuts>a{flex-direction:column;gap:7px}.erp-resource-dialog{padding:25px 24px;max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}.erp-fan-stage{height:auto;overflow:visible;margin:28px 0}.erp-fan-stage .erp-resource-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}.erp-fan-stage .erp-resource-card{position:relative;left:auto;bottom:auto;width:auto;height:auto;min-height:260px;transform:none;box-shadow:none}.erp-fan-stage .erp-resource-card:hover,.erp-fan-stage .erp-resource-card:focus-visible{transform:translateY(-4px)}.erp-fan-stage .erp-card-manual{grid-column:1/-1;min-height:200px}.erp-fan-stage .erp-card-manual h3 br{display:none}.erp-footer{gap:22px}.erp-resource-cards{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.erp-hero h1{font-size:clamp(28px,8.7vw,42px);letter-spacing:-.06em}.erp-kicker{flex-wrap:wrap;row-gap:8px}.erp-hero-bottom>p{font-size:16px}.erp-hero-bottom .erp-actions{align-items:flex-start;flex-direction:column}.erp-capabilities>div{grid-template-columns:1fr}.erp-resource-intro{flex-direction:column;gap:20px}.erp-resource-open{flex-direction:row;gap:25px;padding:15px 20px;min-width:0}.erp-mini-deck{width:62px;height:44px}.erp-mini-deck i{width:31px;height:38px;left:calc(50% - 15px)}.erp-resource-shortcuts{grid-template-columns:1fr;gap:0;margin-top:24px}.erp-resource-shortcuts>a{flex-direction:row;align-items:center;font-size:14px}.erp-resource-shortcuts>a>span:last-child{font-size:11px}.erp-resource-shortcuts b{margin-left:5px}.erp-resource-dialog{padding:22px 19px}.erp-dialog-heading h2{font-size:32px}.erp-dialog-heading{gap:14px}.erp-dialog-heading .erp-eyebrow{font-size:10px}.erp-resource-close{padding:8px 10px;font-size:12px}.erp-resource-close span{font-size:18px}.erp-fan-stage .erp-resource-cards{grid-template-columns:1fr}.erp-fan-stage .erp-resource-card{min-height:220px}.erp-resource-cards{grid-template-columns:1fr}.erp-resource-card{min-height:225px}.erp-resource-card h3 br{display:none}.erp-footer{grid-template-columns:1fr;gap:20px}.erp-footer>a:last-child{grid-column:auto}.erp-shot-heading{padding:10px 12px;font-size:10px}.erp-product-shot figcaption{font-size:10px}}
@media(prefers-reduced-motion:reduce){.erp-resource-dialog[open] .erp-fan-stage .erp-resource-card{animation:none}.erp-mini-deck i,.erp-fan-stage .erp-resource-card{transition:none}}
@media(forced-colors:active){.erp-resource-card,.erp-resource-open,.erp-button,.erp-resource-close{border:1px solid ButtonText}.erp-resource-card,.erp-resource-open,.erp-button{background:Canvas;color:CanvasText}.erp-live::before{background:CanvasText}.erp-resource-dialog{border-color:CanvasText}}

/* Match the homepage's responsive arrows and deliberate ease-out timing. */
.erp-button,.erp-text-link{transition:background-color .18s ease,color .18s ease}
.erp-button>span,.erp-text-link>span{transition:transform .22s ease}
.erp-button:hover>span,.erp-button:focus-visible>span,.erp-text-link:hover>span,.erp-text-link:focus-visible>span{transform:translate(3px,-3px)}
.erp-button:active{transform:translateY(1px)}
.erp-home:focus{outline:none}.erp-home:focus-visible h2{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1px;text-underline-offset:10px}
/* Enhancement is page-specific, finite and opt-in after the observer is ready. */
.erp-page[data-erp-motion] [data-erp-reveal]{transition:opacity .65s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1),filter .65s ease;transition-delay:var(--erp-reveal-delay,0s)}
.erp-page[data-erp-motion] [data-erp-delay="1"]{--erp-reveal-delay:.09s}.erp-page[data-erp-motion] [data-erp-delay="2"]{--erp-reveal-delay:.18s}.erp-page[data-erp-motion] [data-erp-delay="3"]{--erp-reveal-delay:.27s}
.erp-page[data-erp-motion] [data-erp-reveal]:not([data-erp-visible]){opacity:0;transform:translateY(24px)}
.erp-page[data-erp-motion] [data-erp-reveal="heading"]:not([data-erp-visible]){filter:blur(6px);transform:translateY(18px)}
.erp-page[data-erp-motion] [data-erp-reveal="row"]:not([data-erp-visible]){transform:translateX(24px)}
.erp-page[data-erp-motion] [data-erp-reveal="media"]{transform-origin:50% 100%;transition-duration:.8s,1s,.65s}
.erp-page[data-erp-motion] [data-erp-reveal="media"]:not([data-erp-visible]){transform:perspective(1400px) translateY(40px) rotateX(6deg) scale(.975)}
.erp-page [data-erp-reveal]:focus-within{opacity:1!important;filter:none!important;transform:none!important;transition:none!important}
@media(max-width:760px){.erp-resource-dialog[open] .erp-fan-stage .erp-resource-card{animation:none}}
@media(prefers-reduced-motion:reduce){.erp-button,.erp-button>span,.erp-text-link,.erp-text-link>span{transition:none;transform:none}.erp-page[data-erp-motion] [data-erp-reveal]{opacity:1!important;filter:none!important;transform:none!important;transition:none!important}}
@media print{.erp-page[data-erp-motion] [data-erp-reveal]{opacity:1!important;filter:none!important;transform:none!important;transition:none!important}}
@media(max-width:760px){.erp-page[data-erp-motion] [data-erp-reveal="row"]:not([data-erp-visible]){transform:translateY(20px)}}
