Layout tree (as in design/layout.json)
{
"pattern": "faq.neobrutal-toggle-stack",
"kind": "faq",
"grid": {
"title": "1-4",
"list": "5-12"
},
"slots": [
"sectionLabel",
"title",
"faqs[4..8]"
],
"notes": "Every box is open: the answer shows and the toggle reads × (the plus rotated 45°); a closed box shows the upright plus. No chevrons.",
"tree": {
"el": "grid",
"gap": 5,
"children": [
{
"el": "box",
"span": "1-4",
"alignSelf": "start",
"gap": 3,
"children": [
{
"el": "text",
"bg": "accent",
"color": "onAccent",
"slot": "sectionLabel",
"role": "label",
"weight": 700,
"rotate": -3
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"maxCh": 12
}
]
},
{
"el": "repeat",
"span": "5-12",
"slot": "faqs",
"min": 4,
"max": 8,
"layout": "list",
"gap": 2,
"of": {
"el": "box",
"bg": "surface",
"gap": 2,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "box",
"mobile": "keep",
"dir": "row",
"gap": 3,
"align": "center",
"justify": "between",
"children": [
{
"el": "text",
"slot": "title",
"role": "h3"
},
{
"el": "shape",
"kind": "cross",
"size": "md",
"fill": "heading",
"rotate": 45
}
]
},
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 60
}
]
}
}
]
}
}