Layout tree (as in design/layout.json)
{
"pattern": "cta.neumorphism-power-key",
"kind": "cta",
"slots": [
"sectionLabel",
"title",
"body",
"signup",
"meta"
],
"tree": {
"el": "box",
"bg": "surface",
"pad": [
12,
10
],
"children": [
{
"el": "grid",
"gap": 8,
"align": "center",
"children": [
{
"el": "box",
"span": "1-3",
"mobile": "hide",
"align": "center",
"children": [
{
"el": "box",
"bg": "surface",
"pad": 6,
"children": [
{
"el": "shape",
"kind": "ring",
"size": "lg",
"fill": "accent"
}
]
}
]
},
{
"el": "box",
"span": "4-8",
"gap": 4,
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 6,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 18
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 40
}
]
},
{
"el": "box",
"span": "9-12",
"gap": 4,
"children": [
{
"el": "form",
"slot": "signup",
"fields": [
"email"
],
"inline": true
},
{
"el": "text",
"color": "textMuted",
"slot": "meta",
"role": "small"
}
]
}
]
}
]
}
}