// src/components/docs/safety/SafetySecurityTrustPage.tsx
import Link from "@contractspec/lib.ui-link";
import { ChevronRight } from "lucide-react";
import { jsx, jsxs } from "react/jsx-runtime";
function SafetySecurityTrustPage() {
  return /* @__PURE__ */ jsxs("div", {
    className: "space-y-8",
    children: [
      /* @__PURE__ */ jsxs("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx("h1", {
            className: "text-4xl font-bold",
            children: "Security & Trust"
          }),
          /* @__PURE__ */ jsx("p", {
            className: "text-muted-foreground",
            children: "ContractSpec focuses on deterministic, auditable software delivery. This page summarizes our security posture and trust commitments so teams can adopt with clarity."
          })
        ]
      }),
      /* @__PURE__ */ jsxs("div", {
        className: "card-subtle space-y-4 p-6",
        children: [
          /* @__PURE__ */ jsx("h2", {
            className: "text-2xl font-bold",
            children: "Security policy"
          }),
          /* @__PURE__ */ jsx("p", {
            className: "text-muted-foreground text-sm",
            children: "We publish a dedicated security policy that explains how to report vulnerabilities and how we respond."
          }),
          /* @__PURE__ */ jsxs(Link, {
            href: "/SECURITY.md",
            className: "btn-primary",
            children: [
              "Read the security policy ",
              /* @__PURE__ */ jsx(ChevronRight, {
                size: 16
              })
            ]
          })
        ]
      }),
      /* @__PURE__ */ jsxs("div", {
        className: "grid gap-4 md:grid-cols-2",
        children: [
          /* @__PURE__ */ jsxs("div", {
            className: "card-subtle space-y-3 p-6",
            children: [
              /* @__PURE__ */ jsx("h3", {
                className: "text-lg font-semibold",
                children: "Release hygiene"
              }),
              /* @__PURE__ */ jsx("p", {
                className: "text-muted-foreground text-sm",
                children: "We ship with deterministic CI, changesets, and contract validation so teams can trust every release."
              }),
              /* @__PURE__ */ jsxs("ul", {
                className: "text-muted-foreground space-y-2 text-sm",
                children: [
                  /* @__PURE__ */ jsx("li", {
                    children: "Changesets required for published packages."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "CI gate for contract validation and drift detection."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "Rollback-friendly release process."
                  })
                ]
              })
            ]
          }),
          /* @__PURE__ */ jsxs("div", {
            className: "card-subtle space-y-3 p-6",
            children: [
              /* @__PURE__ */ jsx("h3", {
                className: "text-lg font-semibold",
                children: "Data handling"
              }),
              /* @__PURE__ */ jsx("p", {
                className: "text-muted-foreground text-sm",
                children: "ContractSpec promotes strict data classification and policy-driven access. Specs can tag sensitive fields for enforcement."
              }),
              /* @__PURE__ */ jsxs("ul", {
                className: "text-muted-foreground space-y-2 text-sm",
                children: [
                  /* @__PURE__ */ jsx("li", {
                    children: "Schema-level sensitivity tags."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "Policy Decision Point enforcement."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "Audit logs for operational traceability."
                  })
                ]
              })
            ]
          })
        ]
      }),
      /* @__PURE__ */ jsxs("div", {
        className: "grid gap-4 md:grid-cols-2",
        children: [
          /* @__PURE__ */ jsxs("div", {
            className: "card-subtle space-y-3 p-6",
            children: [
              /* @__PURE__ */ jsx("h3", {
                className: "text-lg font-semibold",
                children: "Supply chain"
              }),
              /* @__PURE__ */ jsx("p", {
                className: "text-muted-foreground text-sm",
                children: "We track dependency updates and keep the monorepo build reproducible."
              }),
              /* @__PURE__ */ jsxs("ul", {
                className: "text-muted-foreground space-y-2 text-sm",
                children: [
                  /* @__PURE__ */ jsx("li", {
                    children: "Dependabot + Renovate-style updates where available."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "Signed release artifacts planned for Studio release cycles."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "Transparent changelogs for every package."
                  })
                ]
              })
            ]
          }),
          /* @__PURE__ */ jsxs("div", {
            className: "card-subtle space-y-3 p-6",
            children: [
              /* @__PURE__ */ jsx("h3", {
                className: "text-lg font-semibold",
                children: "Responsible disclosure"
              }),
              /* @__PURE__ */ jsx("p", {
                className: "text-muted-foreground text-sm",
                children: "We respond quickly to security reports and coordinate fixes before public disclosure."
              }),
              /* @__PURE__ */ jsxs("ul", {
                className: "text-muted-foreground space-y-2 text-sm",
                children: [
                  /* @__PURE__ */ jsx("li", {
                    children: "Security response within 5 business days."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "Private disclosure via security@contractspec.io."
                  }),
                  /* @__PURE__ */ jsx("li", {
                    children: "Credit for researchers (with permission)."
                  })
                ]
              })
            ]
          })
        ]
      }),
      /* @__PURE__ */ jsxs("div", {
        className: "space-y-4",
        children: [
          /* @__PURE__ */ jsx("h2", {
            className: "text-2xl font-bold",
            children: "Next steps"
          }),
          /* @__PURE__ */ jsx("p", {
            className: "text-muted-foreground",
            children: "Explore the broader safety controls or read the roadmap to see upcoming trust investments."
          }),
          /* @__PURE__ */ jsxs("div", {
            className: "flex flex-wrap gap-4 pt-4",
            children: [
              /* @__PURE__ */ jsxs(Link, {
                href: "/docs/safety",
                className: "btn-ghost",
                children: [
                  "Safety overview ",
                  /* @__PURE__ */ jsx(ChevronRight, {
                    size: 16
                  })
                ]
              }),
              /* @__PURE__ */ jsxs(Link, {
                href: "/ROADMAP.md",
                className: "btn-ghost",
                children: [
                  "Roadmap ",
                  /* @__PURE__ */ jsx(ChevronRight, {
                    size: 16
                  })
                ]
              })
            ]
          })
        ]
      })
    ]
  });
}
export {
  SafetySecurityTrustPage
};
