root = Card([header, description, qualsSection, salarySection, applySection, shareSection])
header = CardHeader("Senior Product Designer", "Design Systems Team")
description = TextContent("We're looking for a product designer who loves building scalable design systems. You'll craft components, tokens, and guidelines that empower dozens of product teams to ship cohesive, high-quality experiences.", "default")
qualsSection = Card([qualsHeading, qualsList], "sunk")
qualsHeading = Heading("Qualifications", "h3")
qualsList = ListBlock([qual1, qual2, qual3, qual4], "number")
qual1 = ListItem("5+ years of product design experience")
qual2 = ListItem("A strong portfolio of shipped design systems")
qual3 = ListItem("Deep proficiency in Figma, tokens, and component libraries")
qual4 = ListItem("Excellent communication and cross-team collaboration")
salarySection = Card([salaryHeading, salaryCallout], "sunk")
salaryHeading = Heading("Salary & benefits", "h3")
salaryCallout = Callout("success", "$120,000 – $150,000", "Plus equity, health benefits, and a $5,000 annual learning stipend.")
applySection = Card([applyHeading, applyForm], "sunk")
applyHeading = Heading("Apply for this role", "h3")
applyForm = Form("apply-form", formBtns, [nameField, emailField, resumeField])
nameField = FormControl("Full name", nameInput)
nameInput = Input("name", "Jane Doe")
emailField = FormControl("Email", emailInput, "We'll only use this to reach you about the role")
emailInput = Input("email", "jane@company.com", "email")
resumeField = FormControl("Resume link", resumeInput, "Paste a link to your résumé or portfolio")
resumeInput = Input("resume", "https://", "url")
formBtns = Buttons([submitBtn])
submitBtn = Button("Submit application", null, "primary")
shareSection = Card([shareHeading, shareButtons], "sunk")
shareHeading = Heading("Know someone perfect for this role?", "h3")
shareButtons = Buttons([shareBtn, copyBtn])
shareBtn = Button("Share posting", null, "secondary")
copyBtn = Button("Copy link", null, "tertiary")