{% extends "emails/_base.html" %}
{% from "emails/_macros.html" import email_button %}

{% block body %}
<h2 style="margin:0 0 8px;color:#0F172A;font-size:22px;">{{ t.email_lead_matched_heading }}</h2>
<hr style="border:none;border-top:1px solid #E2E8F0;margin:0 0 16px;">
<p>{{ t.email_lead_matched_greeting | tformat(first_name=first_name) }}</p>
<p>{{ t.email_lead_matched_body }}</p>
<p style="font-size:13px;color:#64748B;">{{ t.email_lead_matched_context | tformat(facility_type=facility_type, court_count=court_count, country=country) }}</p>

<p style="font-size:14px;font-weight:600;color:#0F172A;margin:20px 0 8px;">{{ t.email_lead_matched_next_heading }}</p>
<p style="font-size:14px;color:#334155;">{{ t.email_lead_matched_next_body }}</p>
<p style="font-size:13px;color:#64748B;padding:10px 14px;background-color:#F0F9FF;border-radius:6px;border-left:3px solid #1D4ED8;">{{ t.email_lead_matched_tip }}</p>

{{ email_button(base_url ~ "/dashboard", t.email_lead_matched_btn) }}
<p style="font-size:12px;color:#94A3B8;">{{ t.email_lead_matched_note }}</p>
{% endblock %}
