/* A2P Ready Tools. Colors and type come from the Elementor global kit, so the tools match the rest of the site. */
.a2pt {
	--a2pt-primary: var(--e-global-color-primary, #2563EB);
	--a2pt-navy: var(--e-global-color-secondary, #0B1220);
	--a2pt-text: var(--e-global-color-text, #475569);
	--a2pt-muted: var(--e-global-color-a2pmuted, #64748B);
	--a2pt-border: var(--e-global-color-a2pborder, #E2E8F4);
	--a2pt-light: var(--e-global-color-a2plight, #F5F8FF);
	--a2pt-soft: var(--e-global-color-a2psoft, #E3ECFF);
	--a2pt-white: var(--e-global-color-a2pwhite, #FFFFFF);
	--a2pt-ok: var(--e-global-color-a2pgreen, #18B26B);
	--a2pt-warn: #B45309;
	--a2pt-bad: #DC2626;
	color: var(--a2pt-text);
	font-family: var(--e-global-typography-text-font-family, "Satoshi"), sans-serif;
	font-size: var(--e-global-typography-text-font-size, 16px);
	font-weight: var(--e-global-typography-text-font-weight, 400);
	line-height: var(--e-global-typography-text-line-height, 1.65em);
	text-align: left;
	width: 100%;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
.a2pt *, .a2pt *::before, .a2pt *::after { box-sizing: border-box; }

/* Section header, same pattern as every section on the site */
.a2pt-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.a2pt-eyebrow {
	color: var(--a2pt-primary);
	font-family: var(--e-global-typography-a2psub-font-family, "Satoshi"), sans-serif;
	font-size: var(--e-global-typography-a2psub-font-size, 15px);
	font-weight: var(--e-global-typography-a2psub-font-weight, 700);
	line-height: var(--e-global-typography-a2psub-line-height, 1.3em);
	letter-spacing: var(--e-global-typography-a2psub-letter-spacing, 1px);
	text-transform: uppercase;
	margin: 0 0 12px;
}
.a2pt-h {
	color: var(--a2pt-navy);
	font-family: var(--e-global-typography-secondary-font-family, "Satoshi"), sans-serif;
	font-size: var(--e-global-typography-secondary-font-size, 44px);
	font-weight: var(--e-global-typography-secondary-font-weight, 500);
	line-height: var(--e-global-typography-secondary-line-height, 1.12em);
	letter-spacing: var(--e-global-typography-secondary-letter-spacing, -1.5px);
	margin: 0 0 16px;
}
.a2pt-intro { margin: 0; color: var(--a2pt-text); }

/* Cards: white, square, the site's 3px primary bottom line */
.a2pt-card {
	background: var(--a2pt-white);
	border: 0;
	border-bottom: 3px solid var(--a2pt-primary);
	border-radius: 0;
	padding: 40px;
}
.a2pt-section ~ .a2pt-section { margin-top: 64px; }
.a2pt-card-title {
	color: var(--a2pt-navy);
	font-family: var(--e-global-typography-a2pcardh-font-family, "Satoshi"), sans-serif;
	font-size: var(--e-global-typography-a2pcardh-font-size, 20px);
	font-weight: var(--e-global-typography-a2pcardh-font-weight, 500);
	line-height: var(--e-global-typography-a2pcardh-line-height, 1.1em);
	letter-spacing: var(--e-global-typography-a2pcardh-letter-spacing, -1.5px);
	margin: 0 0 8px;
}

/* Form */
.a2pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.a2pt-grid .a2pt-full { grid-column: 1 / -1; }
.a2pt-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.a2pt-label {
	color: var(--a2pt-navy);
	font-family: var(--e-global-typography-a2phf-font-family, "Satoshi"), sans-serif;
	font-size: var(--e-global-typography-a2phf-font-size, 15px);
	font-weight: var(--e-global-typography-a2phf-font-weight, 500);
	line-height: var(--e-global-typography-a2phf-line-height, 1.5em);
}
.a2pt-label .a2pt-req { color: var(--a2pt-primary); }
.a2pt-hint, .a2pt-block-meta, .a2pt-note, .a2pt-disclaimer, .a2pt-group-sub, .a2pt-item-detail, .a2pt-item-fix {
	font-family: var(--e-global-typography-a2pshort-font-family, "Satoshi"), sans-serif;
	font-size: var(--e-global-typography-a2pshort-font-size, 14px);
	font-weight: var(--e-global-typography-a2pshort-font-weight, 400);
	line-height: var(--e-global-typography-a2pshort-line-height, 1.6em);
}
.a2pt-hint { color: var(--a2pt-muted); margin: 0; }
.a2pt input[type="text"], .a2pt input[type="url"], .a2pt input[type="email"], .a2pt input[type="tel"],
.a2pt input[type="number"], .a2pt input[type="date"], .a2pt select, .a2pt textarea {
	width: 100%;
	border: 1px solid var(--a2pt-border);
	border-radius: 0;
	background: var(--a2pt-light);
	color: var(--a2pt-navy);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	padding: 12px 16px;
	min-height: 50px;
	box-shadow: none;
	transition: border-color .15s ease, background-color .15s ease;
}
.a2pt textarea { min-height: 130px; resize: vertical; }
.a2pt input::placeholder, .a2pt textarea::placeholder { color: var(--a2pt-muted); opacity: .8; }
.a2pt input:focus, .a2pt select:focus, .a2pt textarea:focus {
	outline: none;
	border-color: var(--a2pt-primary);
	background: var(--a2pt-white);
	box-shadow: none;
}
.a2pt-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.a2pt-check { display: flex; align-items: flex-start; gap: 10px; color: var(--a2pt-navy); cursor: pointer; font-size: 15px; line-height: 1.5; }
.a2pt-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--a2pt-primary); flex: none; border-radius: 0; }
.a2pt-inline { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.a2pt-inline > * { flex: 1 1 140px; }

/* Lead details */
.a2pt-lead { margin-top: 36px; }
.a2pt-lead .a2pt-card-title { margin-bottom: 6px; }
.a2pt-lead-hint { margin: 0 0 18px; }
.a2pt-consent { font-size: 14px; line-height: 1.6; color: var(--a2pt-text); margin-top: 4px; }
.a2pt-consent a, .a2pt-note a { color: var(--a2pt-primary); text-decoration: underline; }
.a2pt-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Buttons: match the site's square buttons */
.a2pt-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.a2pt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 2px solid var(--a2pt-primary);
	border-radius: 0;
	background: var(--a2pt-primary);
	color: var(--a2pt-white);
	font-family: var(--e-global-typography-accent-font-family, "Satoshi"), sans-serif;
	font-size: 15px;
	font-weight: var(--e-global-typography-accent-font-weight, 600);
	line-height: 18px;
	text-transform: uppercase;
	padding: 15px 28px;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.a2pt-btn:hover, .a2pt-btn:focus-visible { background: var(--a2pt-navy); border-color: var(--a2pt-navy); color: var(--a2pt-white); outline: none; }
.a2pt-btn[disabled] { opacity: .6; cursor: wait; }
.a2pt-btn-ghost { background: var(--a2pt-white); color: var(--a2pt-primary); }
.a2pt-btn-ghost:hover, .a2pt-btn-ghost:focus-visible { background: var(--a2pt-primary); border-color: var(--a2pt-primary); color: var(--a2pt-white); }
.a2pt-btn-sm { padding: 9px 16px; font-size: 13px; line-height: 16px; }

.a2pt-error { margin-top: 20px; padding: 14px 18px; background: #FDEDED; color: var(--a2pt-bad); border-bottom: 3px solid var(--a2pt-bad); }

/* Output panels: light boxes, no outlines */
.a2pt-out:empty { display: none; }
.a2pt-out { margin-top: 64px; }
.a2pt-block { background: var(--a2pt-light); margin-top: 20px; }
.a2pt-block:first-of-type { margin-top: 0; }
.a2pt-block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 0; flex-wrap: wrap; }
.a2pt-block-title {
	color: var(--a2pt-navy); margin: 0;
	font-family: var(--e-global-typography-a2pshorth-font-family, "Satoshi"), sans-serif;
	font-size: var(--e-global-typography-a2pshorth-font-size, 16px);
	font-weight: var(--e-global-typography-a2pshorth-font-weight, 500);
	line-height: var(--e-global-typography-a2pshorth-line-height, 1.1em);
	letter-spacing: var(--e-global-typography-a2pshorth-letter-spacing, -1.5px);
}
.a2pt-block-meta { color: var(--a2pt-muted); display: block; margin-top: 4px; }
.a2pt-block-body { padding: 14px 22px 20px; }
.a2pt-text {
	white-space: pre-wrap; word-break: break-word; margin: 0;
	font-family: inherit; font-size: 15px; line-height: 1.65; color: var(--a2pt-navy);
	background: var(--a2pt-white); border: 0; padding: 16px 18px;
}
.a2pt-note { color: var(--a2pt-text); margin: 12px 0 0; }
.a2pt-note strong { color: var(--a2pt-navy); font-weight: 600; }

/* Results */
.a2pt-summary { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.a2pt-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.a2pt-pill-ok { background: #E8F7EF; color: var(--a2pt-ok); }
.a2pt-pill-warn { background: #FEF6E7; color: var(--a2pt-warn); }
.a2pt-pill-bad { background: #FDEDED; color: var(--a2pt-bad); }
.a2pt-group { margin-top: 32px; }
.a2pt-group-sub { color: var(--a2pt-muted); margin: 0 0 12px; word-break: break-all; }
.a2pt-list { list-style: none; margin: 0; padding: 0; background: var(--a2pt-light); }
.a2pt-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 16px 20px; border-top: 2px solid var(--a2pt-white); }
.a2pt-item:first-child { border-top: 0; }
.a2pt-icon { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1; color: var(--a2pt-white); margin-top: 1px; }
.a2pt-icon-ok { background: var(--a2pt-ok); }
.a2pt-icon-warn { background: var(--a2pt-warn); }
.a2pt-icon-bad { background: var(--a2pt-bad); }
.a2pt-icon-info { background: var(--a2pt-primary); }
.a2pt-item-title { color: var(--a2pt-navy); font-weight: 500; margin: 0; font-size: 15px; line-height: 1.5; }
.a2pt-item-detail { margin: 4px 0 0; color: var(--a2pt-text); }
.a2pt-item-fix { margin: 4px 0 0; color: var(--a2pt-navy); }
.a2pt-item-fix strong { font-weight: 600; }
.a2pt-item-code { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--a2pt-muted); }

.a2pt-disclaimer { margin: 28px 0 0; color: var(--a2pt-muted); }
.a2pt-loading { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; color: var(--a2pt-navy); font-weight: 500; }
.a2pt-spin { width: 18px; height: 18px; border: 2px solid var(--a2pt-soft); border-top-color: var(--a2pt-primary); border-radius: 50%; animation: a2pt-spin .8s linear infinite; }
@keyframes a2pt-spin { to { transform: rotate(360deg); } }
.a2pt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1024px) {
	.a2pt-card { padding: 30px; }
	.a2pt-head { margin-bottom: 32px; }
	.a2pt-out, .a2pt-section ~ .a2pt-section { margin-top: 48px; }
}
@media (max-width: 767px) {
	.a2pt-card { padding: 22px 18px; }
	.a2pt-grid, .a2pt-checks { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.a2pt-head { margin-bottom: 24px; }
	.a2pt-out, .a2pt-section ~ .a2pt-section { margin-top: 40px; }
	.a2pt-actions .a2pt-btn { width: 100%; }
	.a2pt-block-head { padding: 16px 16px 0; }
	.a2pt-block-body { padding: 12px 16px 16px; }
	.a2pt-text { padding: 14px; }
	.a2pt-item { padding: 14px 16px; gap: 12px; }
}
