import type { Metadata } from "next";
import { AtlasPageView } from "@/components/clinical/AtlasPageView";
import { getMethodologyPage } from "@/lib/clinical/atlas-pages";

export const metadata: Metadata = {
  title: "Methodology",
  description:
    "How OrthoGlobe calculates orthopaedic surgeon density, categorises capacity, and collects training-programme data — the full methodology behind the Global Orthopaedic Atlas.",
  openGraph: {
    title: "Methodology · OrthoGlobe Atlas",
    description:
      "Numerator, denominator, capacity thresholds, data collection, analytical limitations, and validation behind the Global Orthopaedic Atlas.",
  },
};

export default function MethodologyPage() {
  const page = getMethodologyPage();

  return (
    <AtlasPageView
      page={page}
      eyebrow="Clinical · Atlas methodology"
      lede="How the numerator and denominator are defined, how capacity thresholds were derived, what our data collection process looks like, and what the analytical limits are."
      related={[
        { href: "/clinical", label: "Clinical overview" },
        { href: "/clinical/data-sources", label: "Data sources" },
        { href: "/products/atlas", label: "Orthopaedic Atlas" },
      ]}
    />
  );
}
