// Seven industries for Brik, in tab order: legal, logistics and transportation,
// home services and trades, manufacturing, medical and dental, aerospace, real estate.
// Each: id, name, hook, iconKey, accent, narrative (3 paragraphs), winners (3), workflows (8).

const INDUSTRIES = [
  {
    id: "proservices",
    name: "Legal · Accounting · Financial Services",
    hook: "Your revenue is tied to labor. Admin hours you hand off go straight back to billable work.",
    iconKey: "Scale",
    accent: "#06D6A0",
    narrative: [
      "Small law firms, accounting practices, wealth managers, and insurance agencies sell time, so there are no materials costs to cut. Every admin hour saved helps the bottom line. Most of the pain sits in document-heavy intake, compliance filings, client communication, and billing.",
      "During tax season, a 15-person accounting firm runs the same intake, classify, key, and review loop thousands of times. Small law firms lose about 40% of associate time to non-billable work such as review, contract assembly, discovery, and status updates. Financial advisors often spend more time on regulatory filings and suitability paperwork than on advising clients."
    ],
    winners: [
      {
        title: "Accounting firm prep time down 60%",
        body: "A regional accounting practice used AI to classify and extract data from client-uploaded tax documents. Prep time per return fell sharply, and partners moved review work earlier in the year."
      },
      {
        title: "Contract review: 2 hours to 15 minutes",
        body: "A small law firm deployed agents that flag non-standard clauses against firm templates. First-pass review dropped sharply, and associates focus on the real risks."
      },
      {
        title: "Meeting prep in one packet",
        body: "An advisory firm uses agents to assemble client meeting briefs covering portfolio performance, market summary, and account changes. Each brief is ready before the meeting."
      }
    ],
    workflows: [
      {
        title: "Client document intake",
        manual: "Clients email a pile of documents, and staff sort and chase the missing ones.",
        agent: "Agent sorts by document type, extracts key data, flags missing items, and fills intake forms.",
        impact: "Intake time down 70%"
      },
      {
        title: "Tax return preparation support",
        manual: "Staff key payslip, invoice, and tax form data into accounting software by hand.",
        agent: "Agent extracts figures from source documents and pre-fills returns for review.",
        impact: "Prep per return down 60%"
      },
      {
        title: "Contract review and redlines",
        manual: "An associate reads the full contract against a checklist.",
        agent: "Agent flags deviations from standard terms, missing clauses, and risk items.",
        impact: "First-pass review from 2 hours to 15 minutes"
      },
      {
        title: "Client status updates",
        manual: "Staff write a separate status email for each client.",
        agent: "Agent drafts personalized updates from matter management data.",
        impact: "About 5 hours per attorney a week returned"
      },
      {
        title: "Compliance filing prep",
        manual: "Staff assemble filings from many data sources.",
        agent: "Agent pulls the data, pre-fills forms, and flags items for human review.",
        impact: "Filing cycle 3x faster"
      },
      {
        title: "Billing and time entry cleanup",
        manual: "Attorneys and accountants enter time in shorthand.",
        agent: "Agent expands abbreviations, checks entries against matter codes, and flags unbilled time.",
        impact: "Realization rate up 3 to 5 points"
      },
      {
        title: "Engagement letters and proposals",
        manual: "Staff customize templates by hand for each engagement.",
        agent: "Agent generates drafts from CRM data and prior engagements.",
        impact: "Turnaround from hours to minutes"
      },
      {
        title: "Accounts receivable follow-up",
        manual: "Staff review the aging report and send collection emails.",
        agent: "Agent runs an escalating reminder sequence based on aging bucket.",
        impact: "Days sales outstanding down 8 to 15 days"
      }
    ]
  },
  {
    id: "logistics",
    name: "Logistics & Transportation",
    hook: "Every load runs on paperwork. Software should carry it, so dispatchers can focus on freight.",
    iconKey: "Truck",
    accent: "#00B4D8",
    narrative: [
      "Freight brokers, trucking fleets, third-party warehouses, and last-mile carriers run on thin margins and high volume. A single load can pass through a rate confirmation, a bill of lading, a proof of delivery, a carrier invoice, and a customer invoice, and each one is often re-keyed by hand.",
      "Most of these businesses already run a transportation management system, a load board, and accounting software. The gaps sit between them: carrier onboarding, rate quotes, exception handling, and billing disputes. Those gaps are where a person ends up copying data from one screen to another.",
      "AI agents can read the paperwork, match it to the load, and flag only the loads that need a dispatcher's attention. Dispatchers keep control of the decisions, and the admin hours go back to moving freight."
    ],
    winners: [
      {
        title: "Carrier invoices cleared the same day",
        body: "A freight broker's agent matches each carrier invoice to its rate confirmation and proof of delivery, then queues only the mismatches for review. Invoices clear on the day they arrive."
      },
      {
        title: "Rate quotes in minutes",
        body: "An agent reads the lane, equipment type, and recent lane history, then drafts a rate quote for the sales team to approve. Quotes that used to take half an hour take a few minutes."
      },
      {
        title: "Delays flagged before the customer calls",
        body: "A fleet's agent watches location updates and check-call notes, then flags late pickups and missed appointments early. Dispatchers spend their time on the loads that need them most."
      }
    ],
    workflows: [
      {
        title: "Carrier invoice matching",
        manual: "Accounting matches carrier invoices to rate confirmations and proofs of delivery by hand.",
        agent: "Agent matches each invoice to its load documents and queues only the mismatches for review.",
        impact: "Invoices cleared the same day they arrive"
      },
      {
        title: "Customer quote requests",
        manual: "Sales looks up lane history and equipment availability, then builds each quote separately.",
        agent: "Agent pulls lane history and current rates, then drafts a quote for sales to approve.",
        impact: "Quote time from 30 minutes to a few minutes"
      },
      {
        title: "Carrier onboarding",
        manual: "Staff collect insurance certificates, tax forms, and operating licenses, then check each one.",
        agent: "Agent collects the documents, checks expiration dates, and flags anything missing or expired.",
        impact: "Onboarding paperwork down sharply"
      },
      {
        title: "Proof of delivery capture",
        manual: "Drivers send PODs by photo or fax, and office staff file them by load number.",
        agent: "Agent reads each POD, matches it to the load, and files it in the right record.",
        impact: "Most POD filing automated"
      },
      {
        title: "Dispatch exception alerts",
        manual: "Dispatchers call drivers for check calls and learn of late pickups after the customer asks.",
        agent: "Agent monitors appointment times and location updates and flags likely late or missed loads early.",
        impact: "Delay notices go out before the customer calls"
      },
      {
        title: "Detention and accessorial billing",
        manual: "Staff gather detention times and accessorial charges from driver notes and emails.",
        agent: "Agent extracts arrival and departure times and drafts accessorial charges for approval.",
        impact: "Unbilled detention recovered"
      },
      {
        title: "Customer invoice disputes",
        manual: "Billing staff reconcile short-paid invoices against proofs of delivery and rate sheets.",
        agent: "Agent compares invoices to load records, drafts a dispute with supporting documents, and tracks the response.",
        impact: "Dispute cycle down by days"
      },
      {
        title: "Warehouse receiving and appointments",
        manual: "Receiving staff log trailer arrivals by hand and reconcile them against purchase orders.",
        agent: "Agent matches inbound appointments to purchase orders and flags discrepancies at the dock door.",
        impact: "Dock check-in time down sharply"
      }
    ]
  },
  {
    id: "homeservices",
    name: "Home Services & Trades",
    hook: "More jobs per truck, without adding office staff.",
    iconKey: "Wrench",
    accent: "#3A86FF",
    narrative: [
      "HVAC, plumbing, electrical, roofing, and general contracting firms often have 20 to 200 employees. Many are private equity backed or acquisition targets. The business runs on operational efficiency: dispatch, estimating, invoicing, permits, warranty, supplier ordering, and customer follow-up.",
      "ServiceTitan, Jobber, accounting software, and email sit side by side. Getting from a customer call to a paid invoice can involve 8 to 12 systems, and a person bridges each gap. AI agents can close those gaps without replacing the tools your crew already knows.",
      "Owners are practical and focused on return on investment. They will try anything that helps them run more jobs with the same crew, as long as they can see it working in their own shop."
    ],
    winners: [
      {
        title: "HVAC estimates: 2 days to 2 hours",
        body: "A regional HVAC company uses AI to draft accurate estimates from photos and property data. Quote turnaround dropped sharply, and the close rate rose by double digits."
      },
      {
        title: "20% more jobs per truck",
        body: "A multi-location plumber added an agent to its dispatch process. Smarter routing and skill matching fit roughly 20% more jobs into the same day with the same crew."
      },
      {
        title: "Permits filed automatically",
        body: "A roofing company lets an agent handle permit applications across several jurisdictions. Filings go out automatically, and status is tracked from start to finish."
      }
    ],
    workflows: [
      {
        title: "Estimates and proposals",
        manual: "Techs take photos and notes, and the office types up the estimate later.",
        agent: "Agent builds a line-item estimate from the price book and property data, then formats and sends it.",
        impact: "Quote turnaround 90% faster"
      },
      {
        title: "Dispatch and scheduling",
        manual: "The dispatcher assigns jobs based on experience and instinct.",
        agent: "Agent optimizes routes, matches skills to jobs, and accounts for parts.",
        impact: "20% more jobs per truck"
      },
      {
        title: "Invoicing and collection",
        manual: "The office creates the invoice after the job from the work order.",
        agent: "Agent generates the invoice when the job closes, sends it, and processes payment.",
        impact: "Days sales outstanding down 10 or more days"
      },
      {
        title: "Permit applications",
        manual: "Staff fill permit forms by hand for each jurisdiction.",
        agent: "Agent pre-fills forms from job data and submits electronically where possible.",
        impact: "Permit cycle 3x faster"
      },
      {
        title: "Warranty claims",
        manual: "Warranty dates live in spreadsheets, and claims slip through.",
        agent: "Agent tracks warranty status, files with manufacturers, and follows each claim to resolution.",
        impact: "More warranty claims recovered"
      },
      {
        title: "Supplier purchase orders",
        manual: "The office orders parts from many suppliers by hand.",
        agent: "Agent creates purchase orders from job needs, compares prices, and tracks delivery.",
        impact: "Material cost down 3 to 6%"
      },
      {
        title: "Customer follow-up and reviews",
        manual: "Staff follow up after jobs sporadically.",
        agent: "Agent sends a survey, requests a review, and schedules maintenance reminders.",
        impact: "Review volume up 2 to 3x"
      },
      {
        title: "Lead response and qualification",
        manual: "Leads from online marketplaces and search wait in a queue.",
        agent: "Agent responds within minutes, qualifies the lead, and books the estimate.",
        impact: "Lead-to-booked rate up 30%"
      }
    ]
  },
  {
    id: "manufacturing",
    name: "Manufacturing",
    hook: "Quoting, quality, and purchasing run on the same data. Software should move it between systems.",
    iconKey: "Building",
    accent: "#06D6A0",
    narrative: [
      "We work with contract manufacturers, precision machining job shops, and fabrication firms in the 50 to 500 person range. Most already run an ERP such as JobBoss, Epicor, or SAP Business One, and an ops manager who knows that a large share of admin time goes to moving data between systems.",
      "The best opportunities are usually in the back office rather than on the shop floor: quoting, purchasing, receiving, nonconformance paperwork, and shipping. These processes touch drawings, supplier certificates, and customer requirements, and people copy data between them by hand.",
      "Our deployments connect your ERP, MES, quality, and supplier portals. The agents work inside the systems your team already uses, so nobody has to learn another dashboard."
    ],
    winners: [
      {
        title: "RFQ response in hours, not days",
        body: "A contract manufacturer connected an AI quoting workflow to drawings and historical job costs. Quotes go out in hours, and win rate rose by double digits."
      },
      {
        title: "Receiving paperwork cleared the same day",
        body: "An agent reads supplier certificates, matches them to PO lines, and flags any nonconformance before material reaches the floor. The receiving backlog that used to build up over weekends is gone."
      },
      {
        title: "Purchase orders that stay on time",
        body: "Buyers get an agent that generates POs from MRP output, tracks supplier confirmations, and raises an alert when a delivery date slips. On-time receipts improve within a quarter."
      }
    ],
    workflows: [
      {
        title: "RFQ intake and quoting",
        manual: "Sales reviews drawings and builds quotes in the ERP by hand.",
        agent: "Agent extracts specs, materials, and tolerances, pulls historical costs, and drafts the quote.",
        impact: "Quote turnaround 10x faster"
      },
      {
        title: "Receiving inspection documents",
        manual: "Quality keys incoming material certificates by hand.",
        agent: "Agent extracts certificate data from supplier PDFs, matches PO lines, and flags nonconformances.",
        impact: "About 6 hours a week per receiver"
      },
      {
        title: "Nonconformance reports",
        manual: "Quality engineers draft NCRs by hand.",
        agent: "Agent drafts the NCR from inspection data, suggests root cause categories, and routes it for disposition.",
        impact: "Disposition cycle down 60%"
      },
      {
        title: "Purchase orders and tracking",
        manual: "Buyers create POs from MRP output by hand.",
        agent: "Agent generates POs, sends them to suppliers, and tracks confirmations and delivery dates.",
        impact: "On-time receipts up 12 points"
      },
      {
        title: "Production schedule updates",
        manual: "Planners update job status across the ERP and spreadsheets each day.",
        agent: "Agent reads shop floor entries, updates job status, and flags schedule conflicts for the planner.",
        impact: "Planner time shifts from data entry to decisions"
      },
      {
        title: "Shipping documentation",
        manual: "Staff create packing lists, bills of lading, and customs forms by hand.",
        agent: "Agent generates them from the sales order and shipping data.",
        impact: "Fewer errors and about 2 hours a day saved"
      },
      {
        title: "Preventive maintenance scheduling",
        manual: "Maintenance runs calendar-based preventive maintenance on every machine.",
        agent: "Agent monitors machine hours and sensor data to time maintenance more precisely.",
        impact: "Unplanned downtime down 30%"
      },
      {
        title: "Customer portal updates",
        manual: "Staff post job status into customer portals by hand.",
        agent: "Agent syncs ERP job status to customer portals automatically.",
        impact: "About 10 hours a week recovered"
      }
    ]
  },
  {
    id: "medical",
    name: "Medical & Dental",
    hook: "Less time on payer portals. More time with patients.",
    iconKey: "Stethoscope",
    accent: "#00B4D8",
    narrative: [
      "Independent dentists, dermatologists, physical therapy clinics, optometrists, vets, and primary care practices lose a large share of staff time to revenue cycle work. Insurance verification, prior authorization, claims submission, and denial management can take 30 to 40% of staff time. The bigger the practice, the more that adds up.",
      "AI agents can now handle much of the loop from eligibility check to payment. Staff stop copying patient data between portals and systems, and step in only when an exception needs a person.",
      "Scheduling optimization, recall campaigns, and documentation cleanup help too. The main gain is simpler: every hour the front desk gets back goes to patients instead of phone holds with payers."
    ],
    winners: [
      {
        title: "Insurance verification: 4 minutes to 15 seconds",
        body: "A multi-location dental group connected an agent to its scheduling system, so eligibility is checked as soon as an appointment is booked. Front-desk verification time dropped sharply, and same-day production rose right away."
      },
      {
        title: "PT clinic days in receivables: 45 to 28",
        body: "A regional PT chain used agents to draft visit notes from session templates and submit claims the same day. Days in accounts receivable dropped within a quarter."
      },
      {
        title: "Vet no-shows down 35%",
        body: "A veterinary practice replaced manual reminder calls with agent-driven sequences by text, email, and voice. No-shows fell meaningfully, and staff moved to higher-value work."
      }
    ],
    workflows: [
      {
        title: "Insurance eligibility checks",
        manual: "Front desk checks payer portals one patient at a time.",
        agent: "Agent verifies eligibility at scheduling and again the night before.",
        impact: "4 minutes per patient down to 15 seconds"
      },
      {
        title: "Prior authorization",
        manual: "Staff fill payer forms by hand from clinical notes.",
        agent: "Agent pulls the clinical criteria, drafts and submits the request, and tracks its status.",
        impact: "Approval cycle from days to hours"
      },
      {
        title: "Claim status follow-up",
        manual: "Staff call payers or check portals for unpaid claims.",
        agent: "Agent checks claim status daily, flags exceptions, and drafts appeals.",
        impact: "Little to no staff time on receivables follow-up"
      },
      {
        title: "Patient recall campaigns",
        manual: "Staff pull overdue patient lists and call or email one at a time.",
        agent: "Agent builds personalized recall sequences across channels.",
        impact: "Reactivation up 20 to 30%"
      },
      {
        title: "Schedule optimization",
        manual: "Front desk books from experience, and gaps go unfilled.",
        agent: "Agent fills schedule gaps using past no-show and cancellation patterns.",
        impact: "Chair utilization up 10 to 15%"
      },
      {
        title: "Clinical documentation cleanup",
        manual: "Providers dictate notes with missing codes, and billers chase them.",
        agent: "Agent flags incomplete documentation before it reaches billing.",
        impact: "Billing rework down sharply"
      },
      {
        title: "Payment posting and reconciliation",
        manual: "Staff match remittance and explanation-of-benefits documents to patient accounts by hand.",
        agent: "Agent posts payments automatically and flags discrepancies for review.",
        impact: "About 6 hours a week recovered"
      },
      {
        title: "Referral tracking",
        manual: "Faxed referrals get lost in inboxes and queues.",
        agent: "Agent tracks each referral and follows up with the receiving provider.",
        impact: "Lost referrals close to zero"
      }
    ]
  },
  {
    id: "aerospace",
    name: "Aerospace",
    hook: "AS9100 paperwork and traceability take weeks to assemble. Agents can build them as the work happens.",
    iconKey: "Plane",
    accent: "#3A86FF",
    narrative: [
      "We focus on aerospace suppliers and MRO (maintenance, repair, and overhaul) shops: composites manufacturers, precision machining for airframe programs, and repair stations. Customers and regulators expect the same traceability in Seattle, Toulouse, or Hamburg, so the way we work carries across markets.",
      "Aerospace quality runs on records. AS9100 and FAA- or EASA-regulated shops must show traceability for every part, inspection, and certificate. Teams often spend weeks assembling audit evidence from several systems, and it is the same data every time.",
      "We build agents that work inside your ERP, quality system, and document management tools. They gather the records as the work happens, so audits become a review rather than a scramble."
    ],
    winners: [
      {
        title: "First-article reports from CMM data",
        body: "A composites manufacturer generates first-article inspection reports from CMM output automatically. Reports that took hours now take minutes."
      },
      {
        title: "Release certificate processing automated",
        body: "A regional MRO shop has agents read airworthiness tags and file return-to-service documentation. The receiving paperwork bottleneck is gone."
      },
      {
        title: "Audit evidence ready before the auditor asks",
        body: "An agent builds an audit-ready package from training records, calibration logs, and inspection data, and flags gaps weeks before the audit. Prep moves from weeks to hours."
      }
    ],
    workflows: [
      {
        title: "AS9100 and ISO audit prep",
        manual: "Quality assembles audit evidence from many systems over several weeks.",
        agent: "Agent pulls records, identifies gaps, and assembles audit-ready packages.",
        impact: "Prep from weeks to hours"
      },
      {
        title: "Release certificate and tag processing",
        manual: "Receiving staff transcribe airworthiness tag data into the ERP by hand.",
        agent: "Agent reads airworthiness tags and certificates, checks them against the PO, and files them with the part record.",
        impact: "Receiving paperwork backlog eliminated"
      },
      {
        title: "First-article inspection reports",
        manual: "Inspectors compile first-article reports from CMM output in spreadsheets.",
        agent: "Agent generates the report from CMM data, formats it to the customer template, and routes it for signature.",
        impact: "Reports from hours to minutes"
      },
      {
        title: "Traceability records",
        manual: "Staff trace each part's material certs, heat lots, and operators through separate systems.",
        agent: "Agent links certs, heat lots, and operator records to each serial number and flags gaps.",
        impact: "Trace requests answered in minutes"
      },
      {
        title: "Nonconformance and MRB routing",
        manual: "Engineers draft nonconformance reports and chase material review board signoffs by email.",
        agent: "Agent drafts the report, pulls inspection data, and tracks each signoff until disposition.",
        impact: "Disposition cycle down 50%"
      },
      {
        title: "Export and shipping documentation",
        manual: "Staff prepare export documentation and check classifications by hand for each shipment.",
        agent: "Agent prepares documents from the order and flags items that need compliance review.",
        impact: "Fewer shipment holds for paperwork"
      },
      {
        title: "Training and certification tracking",
        manual: "Training records and expiring certifications live in separate spreadsheets.",
        agent: "Agent tracks certification expirations, sends reminders, and flags assignments without current training.",
        impact: "Lapsed certifications caught before audits"
      },
      {
        title: "Supplier certificate management",
        manual: "Buyers chase supplier certificates of conformance by email.",
        agent: "Agent requests missing certificates, checks them against requirements, and logs each receipt.",
        impact: "Missing certificates chased automatically"
      }
    ]
  },
  {
    id: "realestate",
    name: "Real Estate",
    hook: "A typical transaction has 40+ documents. Software should track them, not your coordinator.",
    iconKey: "Home",
    accent: "#3A86FF",
    narrative: [
      "A single residential transaction moves 40+ documents between agents, lenders, title companies, and clients over 30 to 45 days. Transaction coordinators spend much of their day moving data between transaction platforms, listing feeds, email, CRMs, and lender portals. Property management follows the same pattern with tenant applications, maintenance requests, and lease administration in systems such as Yardi.",
      "This industry already runs on cloud software, and most of these tools have APIs. The bottleneck is a person copying a value from one tab to another and remembering which document still needs a signature.",
      "Independent brokerages and property managers use AI to draft listing content, screen tenants end to end, and keep transactions moving without a coordinator chasing every party. Pressure on commissions and margins makes efficiency a practical concern."
    ],
    winners: [
      {
        title: "Listing content in minutes",
        body: "A mid-size brokerage connected AI to its listing feed. Listing descriptions, social posts, and buyer presentation packets are drafted automatically, and agents recover 3 to 5 hours a week."
      },
      {
        title: "Tenant screening: 2 days to 2 hours",
        body: "A property management firm automated the full screening loop: credit, background, reference checks, scoring, and a recommendation. Application volume tripled with the same staff."
      },
      {
        title: "Title prep on autopilot",
        body: "A regional title and conveyancing firm uses agents to pull property records, tax data, and lien searches for preliminary title reports. Turnaround time was cut in half, and clean files clear without an analyst."
      }
    ],
    workflows: [
      {
        title: "Transaction document tracking",
        manual: "Coordinator tracks 40+ documents across email and portals.",
        agent: "Agent monitors every party and flags missing or unsigned documents each day.",
        impact: "Closings on schedule up 20 points"
      },
      {
        title: "Listing content generation",
        manual: "Agents write descriptions and flyers from scratch for each listing.",
        agent: "Agent writes descriptions, social posts, and flyer copy from listing data and photos.",
        impact: "3 to 5 hours per agent a week saved"
      },
      {
        title: "Market analysis and buyer presentations",
        manual: "Agents pull comparables and assemble decks by hand.",
        agent: "Agent pulls comps, formats the report, and fills presentation templates.",
        impact: "Prep time down 70%"
      },
      {
        title: "Tenant application processing",
        manual: "Staff order credit, background, and reference checks one at a time.",
        agent: "Agent runs all three checks, scores the applicant, and drafts an approval recommendation.",
        impact: "2 days down to 2 hours"
      },
      {
        title: "Maintenance triage and dispatch",
        manual: "Tenants submit requests through a portal or text, and staff classify and assign them.",
        agent: "Agent classifies urgency, matches the preferred vendor, and schedules and confirms.",
        impact: "Time to dispatch down 80%"
      },
      {
        title: "Lease renewal administration",
        manual: "Staff track expiring leases by hand and send offers.",
        agent: "Agent builds renewal terms from market comps and sends 90, 60, and 30-day notices.",
        impact: "Renewal rate up 5 to 8 points"
      },
      {
        title: "Rent collection and delinquency",
        manual: "Staff watch for late payments and send notices as needed.",
        agent: "Agent tracks payment status and runs the full notice sequence automatically.",
        impact: "Fewer delinquencies and legal events"
      },
      {
        title: "Vendor invoice processing",
        manual: "Staff match invoices to work orders by hand.",
        agent: "Agent matches invoices automatically, flags discrepancies, and queues approvals.",
        impact: "Accounts payable throughput up 3x"
      }
    ]
  }
];

window.INDUSTRIES = INDUSTRIES;
