:root{--brand-primary:#6630b4;--brand-accent:#43bea5;--brand-ink:#222a39;--brand-soft:#cbcae3;--canvas:#ececf1;--panel:#ffffffb8;--line:color-mix(in srgb, var(--brand-primary) 45%, #fff);--shadow:0 16px 36px #1f232e1f;color:var(--brand-ink);background:radial-gradient(circle at 0% 0%, #ffffffeb, var(--canvas) 55%);font-family:Nunito Sans,Avenir Next,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-height:100vh;color:var(--brand-ink);background:var(--canvas);margin:0}#app{min-height:100vh}.roi-app{background-image:linear-gradient(90deg,#ffffff52 1px,#0000 1px),linear-gradient(#ffffff52 1px,#0000 1px);background-size:22px 22px;gap:clamp(.85rem,1.6vw,1.5rem);max-width:1380px;min-height:100vh;margin:0 auto;padding:clamp(.9rem,2vw,1.8rem);display:grid}.roi-app.is-entering{animation:.45s intro-fade}.roi-header{justify-content:space-between;align-items:flex-start;gap:clamp(.8rem,2vw,2rem);display:flex}.roi-header h1{letter-spacing:-.01em;text-wrap:balance;max-width:30ch;margin:0;font-size:clamp(1.7rem,2.9vw,2.6rem)}.roi-main{gap:clamp(.9rem,1.4vw,1.2rem);display:grid}.brand-wrap{align-items:center;padding:.15rem .35rem .2rem 0;display:inline-flex}.brand-logo{filter:drop-shadow(0 6px 14px #191e2a29);width:clamp(11rem,16vw,18rem);height:auto;display:block}.input-section{background:var(--panel);border:2px solid var(--line);box-shadow:var(--shadow);border-radius:1rem;gap:clamp(.6rem,1.2vw,.95rem);padding:clamp(.85rem,1.8vw,1.2rem);display:grid}.two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.7rem,1.4vw,1.15rem)}.section-title{color:var(--brand-primary);letter-spacing:-.01em;text-wrap:balance;margin:0;font-size:clamp(1.05rem,2vw,1.3rem);font-weight:900}.two-column .section-title,.result-section .section-title{grid-column:1/-1}.field-column,.field-grid{gap:.75rem;display:grid}.field{grid-template-columns:minmax(0,1fr) minmax(14rem,21rem);align-items:center;gap:.75rem;font-size:clamp(.95rem,1.3vw,1.05rem);line-height:1.35;display:grid}.field span:first-child{text-wrap:balance;font-weight:700}.field-input-wrap{align-items:center;display:flex;position:relative}.field-prefix,.field-suffix{color:var(--brand-primary);font-size:1rem;font-weight:800;position:absolute}.field-prefix{left:.8rem}.field-suffix{right:.8rem}.field input{border:2px solid var(--brand-primary);width:100%;color:var(--brand-primary);background:#ffffffd9;border-radius:.5rem;min-height:3rem;padding:.5rem .8rem;font-size:clamp(1.1rem,2.2vw,1.35rem);font-weight:800;line-height:1.2}.field[data-kind=currency] input{padding-inline-end:2.8rem}.field input:has(+.field-suffix){padding-inline-end:2.8rem}.field-input-wrap .field-prefix+input{padding-inline-start:2rem}.field input:focus{outline:3px solid color-mix(in srgb, var(--brand-accent) 45%, transparent);outline-offset:1px}.currency-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;display:flex}.currency-row.align-end{grid-column:1/-1}.currency-row label{font-weight:700}.currency-row select{border:2px solid var(--brand-primary);color:var(--brand-primary);touch-action:manipulation;background:#ffffffe6;border-radius:.5rem;min-width:5.2rem;min-height:2.6rem;padding:.35rem .6rem;font-size:1rem;font-weight:800}.result-section{gap:clamp(.75rem,1.4vw,1rem);display:grid}.customer-layout{grid-template-columns:repeat(3,minmax(0,1fr))}.ecommerce-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.result-card{background:var(--panel);border:2px solid var(--line);box-shadow:var(--shadow);text-align:center;border-radius:1rem;align-content:center;justify-items:center;gap:.45rem;min-height:13rem;padding:clamp(.8rem,1.6vw,1.15rem);display:grid}.result-icon{color:var(--brand-soft);font-size:clamp(3rem,8vw,6rem);line-height:1}.result-icon .fa-solid{display:inline-block}.result-value{color:var(--brand-accent);letter-spacing:-.03em;margin:0;font-size:clamp(2rem,5vw,4rem);font-weight:900}.result-label{color:var(--brand-primary);margin:0;font-size:clamp(1.35rem,2.9vw,1.65rem);font-weight:800}.result-subline{color:color-mix(in srgb, var(--brand-ink) 65%, #fff);margin:0;font-size:1rem}.gauge-card{padding:.5rem}.gauge-widget{justify-items:center;width:100%;display:grid}.gauge-svg{width:min(27rem,100%);height:auto}.gauge-base,.gauge-fill{fill:none;stroke-width:20px;stroke-linecap:round}.gauge-base{stroke:color-mix(in srgb, var(--brand-soft) 82%, #fff)}.gauge-fill{stroke-dasharray:430}.gauge-tick{stroke:color-mix(in srgb, var(--brand-soft) 45%, #fff);stroke-width:2px}.gauge-needle{stroke-width:8px;stroke-linecap:round;transform-origin:180px 180px;transition:transform .3s}.gauge-cap{stroke:var(--brand-primary);stroke-width:2px}.gauge-metric,.gauge-cost{margin:0;font-weight:900}.gauge-metric{color:var(--brand-accent);font-size:2rem}.gauge-cost{color:var(--brand-primary);font-size:1.5rem}.gauge-widget span{font-size:.95rem;font-weight:700}.roi-footnotes{color:var(--brand-primary);justify-content:space-between;gap:1rem;font-size:clamp(.86rem,1.3vw,1rem);font-style:italic;font-weight:600;display:flex}.help-trigger{right:max(.9rem, env(safe-area-inset-right));bottom:max(.9rem, env(safe-area-inset-bottom));background:var(--brand-primary);color:#fff;cursor:pointer;width:3rem;height:3rem;box-shadow:var(--shadow);border:0;border-radius:999px;font-size:1.4rem;font-weight:800;position:fixed}.help-trigger:hover{transform:translateY(-1px)}.help-modal{opacity:0;pointer-events:none;z-index:10;background:#10131c7a;place-items:center;padding:1rem;transition:opacity .2s;display:grid;position:fixed;inset:0}.help-modal.is-open{opacity:1;pointer-events:auto}.help-dialog{border:2px solid var(--brand-primary);width:min(72rem,100%);max-height:86vh;box-shadow:var(--shadow);background:#f7f8fb;border-radius:.8rem;overflow:auto}.help-dialog-head{border-bottom:2px solid var(--line);justify-content:space-between;align-items:center;gap:.8rem;padding:.9rem 1rem;display:flex}.help-dialog-head h2{margin:0;font-size:1.25rem}.help-close{border:2px solid var(--brand-primary);color:var(--brand-primary);cursor:pointer;background:#fffc;border-radius:.45rem;padding:.35rem .65rem;font-weight:700}.help-dialog-body{gap:1rem;padding:1rem;display:grid}.help-card{border:2px solid var(--line);background:#fff;border-radius:.65rem;gap:.65rem;padding:.9rem;display:grid}.help-card h3{color:var(--brand-primary);margin:0;font-size:1.1rem}.help-equation{border:1px solid color-mix(in srgb, var(--brand-primary) 30%, #fff);background:color-mix(in srgb, var(--brand-soft) 20%, #fff);border-radius:.5rem;flex-wrap:wrap;align-items:center;gap:.45rem .55rem;padding:.55rem .65rem;display:flex}.help-term{min-width:7.6rem;color:var(--brand-ink);place-items:center;gap:.15rem;display:inline-grid}.help-term i{color:var(--brand-primary);font-size:1.2rem}.help-term small{text-align:center;font-size:.73rem;font-weight:700;line-height:1.2}.help-op{color:var(--brand-primary);font-size:1.1rem;font-weight:900}.help-formula,.help-example,.help-note{margin:0;line-height:1.4}.help-formula{font-weight:700}.help-note{color:color-mix(in srgb, var(--brand-ink) 65%, #fff);font-size:.94rem}@keyframes intro-fade{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1040px){.two-column,.customer-layout,.ecommerce-layout,.field{grid-template-columns:1fr}.roi-header{flex-direction:column;align-items:flex-start}.roi-footnotes{flex-direction:column}.currency-row{justify-content:flex-start}}@media (max-width:760px){.roi-app{background-size:16px 16px}.field{gap:.45rem}.field input{min-height:2.85rem}.gauge-metric{font-size:1.65rem}.gauge-cost{font-size:1.25rem}.result-card{min-height:11rem}.result-subline{font-size:.95rem}.help-dialog{max-height:90vh}.help-term{min-width:6.6rem}.help-term small{font-size:.68rem}}@media (max-width:520px){.roi-header h1{font-size:1.5rem}.result-value{font-size:clamp(1.7rem,10vw,2.4rem)}.result-label{font-size:1.25rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
