{# brutalist newsletter-signup override — the {% signup_form %} tag carries the untouchable subscribe wiring; this template only supplies brutalist chrome. Fields: layout, title, description, listSlug, source, submitText, successMessage, placeholder. #}
<section class="bru-section bg-background text-foreground{% if class %} {{ class }}{% endif %}">
<div class="bru-wrap-narrow">
<div class="bru-slab bru-shadow px-6 py-10 text-center md:px-10"{% if layout == "inline" %} style="background:hsl(var(--accent));color:hsl(var(--accent-foreground))"{% endif %}>
{% if title %}<h2 class="bru-kicker" style="font-size:clamp(1.5rem,3.5vw,2.25rem){% if layout == "inline" %};color:hsl(var(--accent-foreground)){% endif %}">{{ title }}</h2>{% endif %}
{% if description %}<p class="mx-auto mt-3 max-w-xl" style="{% if layout == "inline" %}color:hsl(var(--accent-foreground));opacity:0.85{% else %}color:hsl(var(--muted-foreground)){% endif %}">{{ description }}</p>{% endif %}
<div class="mx-auto mt-6 max-w-md">{% signup_form list=listSlug source=source submit=submitText success_message=successMessage placeholder=placeholder %}</div>
</div>
</div>
</section>
