// SVS MSP Calculator — Pricing Configuration
// Edit values below to update pricing. No web server needed.
// This file is loaded via <script> tag so it works on file:// protocol.
// Format: { "KEY": { "value": number, "description": "..." } }

window.SVS_PRICING_DATA = {
  "user_packages": {
    "RATE_M365": { "value": 130, "description": "Per-user/mo rate — M365 included (standard package)" },
    "RATE_BYOL": { "value": 110, "description": "Per-user/mo rate — Bring Your Own License (client supplies M365)" }
  },

  "user_addons": {
    "ADDON_EXT_HOURS": { "value": 25, "description": "Per-user/mo — Extended support hours add-on" },
    "ADDON_1PASSWORD": { "value": 9, "description": "Per-user/mo — 1Password password manager add-on" },
    "ADDON_INKY": { "value": 8, "description": "Per-user/mo — Inky email security add-on" },
    "ADDON_ZERO_TRUST_USER": { "value": 55, "description": "Per-user/mo — Zero Trust security add-on (user seat)" }
  },

  "endpoints": {
    "RATE_ENDPOINT": { "value": 35, "description": "Per-endpoint/mo — Managed endpoint (workstation/laptop)" },
    "RATE_SERVER": { "value": 120, "description": "Per-server/mo — Managed server" }
  },

  "endpoint_addons": {
    "ADDON_USB_BLOCKING": { "value": 4, "description": "Per-endpoint/mo — USB blocking/device control add-on" },
    "ADDON_BARE_METAL_BACKUP": { "value": 25, "description": "Per-endpoint/mo — Bare metal backup add-on" }
  },

  "zero_trust_network": {
    "ZT_SEAT_RATE": { "value": 25, "description": "Per-seat/mo — Zero Trust Network Access seat" },
    "ZT_ROUTER_RATE": { "value": 100, "description": "Per-router/mo — Zero Trust Network Access router" }
  },

  "voip": {
    "VOIP_RATE_BASIC": { "value": 28, "description": "Per-seat/mo — VoIP Basic tier" },
    "VOIP_RATE_STANDARD": { "value": 35, "description": "Per-seat/mo — VoIP Standard tier" },
    "VOIP_RATE_PREMIUM": { "value": 45, "description": "Per-seat/mo — VoIP Premium tier" },
    "VOIP_PHONE_RATE": { "value": 15, "description": "Per-seat/mo — VoIP physical phone hardware add-on" },
    "VOIP_FAX_RATE": { "value": 10, "description": "Per-seat/mo — VoIP eFax add-on" }
  },

  "site_admin": {
    "ADMIN_FEE_FLOOR": { "value": 150, "description": "Minimum site admin fee regardless of seat count ($/mo)" },
    "ADMIN_FEE_MINIMUM": { "value": 650, "description": "Engagement threshold — admin = max(FLOOR, MINIMUM - subtotal)" },
    "ADMIN_FEE_ZT": { "value": 250, "description": "Additional site admin supplement when Zero Trust is active ($/mo)" },
    "ADMIN_1PWM_PCT": { "value": 0.10, "description": "Site admin surcharge as fraction of 1Password MRR (0.10 = 10%)" }
  },

  "contract_discounts": {
    "DISCOUNT_M2M": { "value": 0, "description": "Month-to-month contract discount (0 = no discount)" },
    "DISCOUNT_12MO": { "value": 0.03, "description": "12-month contract discount (0.03 = 3% off MRR)" },
    "DISCOUNT_24MO": { "value": 0.05, "description": "24-month contract discount (0.05 = 5% off MRR)" }
  },

  "tax": {
    "HST_RATE": { "value": 0.13, "description": "Ontario HST rate (0.13 = 13%)" }
  },

  "vs_comparison": {
    "TOOL_COST_PER_USER": { "value": 42, "description": "Internal tool cost per user (VS Hiring comparison only — not billed)" },
    "TOOL_COST_PER_ENDPOINT": { "value": 23, "description": "Internal tool cost per endpoint (VS Hiring comparison only — not billed)" },
    "TOOL_COST_MIN": { "value": 650, "description": "Minimum internal tool cost floor (VS Hiring comparison only — not billed)" },
    "IT_SALARY_1": { "value": 85000, "description": "Ottawa benchmark annual salary for 1 in-house IT staff (VS Hiring comparison)" },
    "IT_SALARY_5": { "value": 420000, "description": "Ottawa benchmark annual salary for 5 in-house IT staff (VS Hiring comparison)" }
  }
};
