root = Card([header, uptimeCard, incidentCard])
header = Card([headerText, statusTag], "clear", "row", "m", "center", "between")
headerText = CardHeader("Platform Status", "API service · live")
statusTag = Tag("Operational", null, null, "success")
uptimeCard = Card([uptimeHeading, uptimeValue, uptimeProgress, uptimeTrend], "sunk")
uptimeHeading = Heading("API uptime — March", "h3")
uptimeValue = TextContent("**99.98%**", "large-heavy")
uptimeProgress = Progress(99.98, "Uptime this month")
uptimeTrend = LineChart(["Mar 1–7", "Mar 8–14", "Mar 15–21", "Mar 22–28", "Mar 29–31"], [uptimeSeries], "linear", "", "Uptime %")
uptimeSeries = Series("Uptime", [99.99, 99.95, 99.88, 99.99, 100])
incidentCard = Card([incidentHeading, incidentCallout], "sunk")
incidentHeading = Heading("Most recent incident", "h3")
incidentCallout = Callout("info", "Resolved — Elevated API error rates", "On March 4, the API returned 5xx errors for 22 minutes due to database connection pool exhaustion. The pool was scaled and a retry policy deployed; resolved at 14:32 UTC.")