import type { Metadata } from "next";
import "./globals.css";

export const metadata: Metadata = {
  metadataBase: new URL("https://backplane.cyberelf.link"),
  title: {
    default: "Backplane — Governed extension runtime for open models",
    template: "%s — Backplane",
  },
  description:
    "Mount tenant policy, memory, tools, adapters, sensors, and bounded activation cards onto a frozen open-weight model—with isolation, signatures, telemetry, and rollback.",
  applicationName: "Backplane Runtime",
  authors: [{ name: "Cyberelf Labs", url: "https://cyberelf.link/" }],
  creator: "Cyberelf Labs",
  publisher: "Cyberelf Labs",
  keywords: [
    "open-weight models",
    "AI infrastructure",
    "model runtime",
    "LoRA serving",
    "activation interventions",
    "multi-tenant AI",
  ],
  alternates: { canonical: "/" },
  openGraph: {
    type: "website",
    url: "/",
    siteName: "Cyberelf Labs",
    title: "Backplane — The model stays frozen. The system keeps growing.",
    description:
      "A governed extension runtime for open-weight models: signed cards, tenant isolation, batching, telemetry, and reversible model interventions.",
    images: [
      {
        url: "https://cyberelf.link/assets/cyberelf-social.png",
        width: 1731,
        height: 909,
        alt: "Cyberelf Labs: strange ideas, serious systems",
      },
    ],
  },
  twitter: {
    card: "summary_large_image",
    title: "Backplane — Governed extension runtime for open models",
    description:
      "Hot-plug skills, memory, policy, tools, and sensors onto one frozen model.",
    images: ["https://cyberelf.link/assets/cyberelf-social.png"],
  },
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body>{children}</body>
    </html>
  );
}
