/**
 * DopeThemes Waitlist — agency-ready styles.
 * Scoped under .dtwl-waitlist so nothing leaks into the theme. No external assets.
 */
.dtwl-waitlist {
	--dtwl-accent: #2563eb;
	--dtwl-accent-dark: #1d4ed8;
	--dtwl-ink: #0f172a;
	--dtwl-muted: #475569;
	--dtwl-line: #e2e8f0;
	--dtwl-surface: #ffffff;
	--dtwl-surface-2: #f8fafc;
	max-width: 920px;
	margin: 0 auto;
	box-sizing: border-box;
}

.dtwl-waitlist *,
.dtwl-waitlist *::before,
.dtwl-waitlist *::after {
	box-sizing: border-box;
}

.dtwl-lead {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--dtwl-muted);
	max-width: 62ch;
	margin: 0 0 2rem;
}

/* Feature grid */
.dtwl-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

@media ( max-width: 640px ) {
	.dtwl-features {
		grid-template-columns: 1fr;
	}
}

.dtwl-feature {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	background: var(--dtwl-surface-2);
	border: 1px solid var(--dtwl-line);
	border-radius: 12px;
	padding: 1.25rem;
}

.dtwl-feature__icon {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	color: var(--dtwl-accent);
}

.dtwl-feature__title {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--dtwl-ink);
}

.dtwl-feature__desc {
	margin: 0;
	font-size: 0.925rem;
	line-height: 1.5;
	color: var(--dtwl-muted);
}

/* Form card */
.dtwl-card {
	background: var(--dtwl-surface);
	border: 1px solid var(--dtwl-line);
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: 0 1px 3px rgba( 15, 23, 42, 0.06 ), 0 10px 28px rgba( 15, 23, 42, 0.05 );
}

.dtwl-form p {
	margin: 0 0 1.1rem;
}

.dtwl-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--dtwl-ink);
}

.dtwl-form input[type="email"],
.dtwl-form input[type="text"],
.dtwl-form select {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--dtwl-line);
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--dtwl-ink);
	background: #fff;
}

.dtwl-form input:focus,
.dtwl-form select:focus {
	outline: 2px solid var(--dtwl-accent);
	outline-offset: 1px;
	border-color: var(--dtwl-accent);
}

.dtwl-consent label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--dtwl-muted);
}

.dtwl-consent input {
	margin-top: 0.2rem;
	flex: 0 0 auto;
}

.dtwl-submit {
	display: block;
	width: 100%;
	padding: 0.85rem 1.5rem;
	border: 0;
	border-radius: 10px;
	background: var(--dtwl-accent);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}

.dtwl-submit:hover {
	background: var(--dtwl-accent-dark);
}

.dtwl-submit:focus-visible {
	outline: 2px solid var(--dtwl-accent-dark);
	outline-offset: 2px;
}

.dtwl-footnote {
	margin: 1rem 0 0;
	text-align: center;
	font-size: 0.85rem;
	color: var(--dtwl-muted);
}

/* Result messages */
.dtwl-success,
.dtwl-error {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	font-size: 0.95rem;
}

.dtwl-success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.dtwl-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}
