import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { ToastProvider } from "@/components/ui/toast";

const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });

export const metadata: Metadata = {
  title: "CREdispo — Intelligent CRE Disposition Platform",
  description:
    "Automate buyer-seller matching and deal dispositions for commercial real estate. Match sellers to qualified buyers instantly with AI-powered scoring.",
  keywords: [
    "commercial real estate",
    "CRE",
    "disposition",
    "buyer matching",
    "deal management",
    "broker tools",
  ],
  openGraph: {
    title: "CREdispo — Intelligent CRE Disposition Platform",
    description:
      "Automate buyer-seller matching and deal dispositions for commercial real estate.",
    type: "website",
    url: "https://credispo.com",
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" className={inter.variable}>
      <body className={`${inter.className} antialiased`}>
        <ToastProvider>
          {children}
        </ToastProvider>
      </body>
    </html>
  );
}
