:root {
	--edl-accent: #84d42a;
	--edl-accent-dark: #4e8615;
	--edl-ink: #1d2419;
	--edl-muted: #687064;
	--edl-line: #dfe4da;
	--edl-soft: #f5f7f2;
	--edl-danger: #b42318;
}

.edl-modal,
.edl-modal * {
	box-sizing: border-box;
}

.edl-modal[hidden],
.edl-modal [hidden] {
	display: none !important;
}

body.edl-modal-open {
	overflow: hidden !important;
}

.edl-open-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--edl-accent);
	color: #17200f;
	font: inherit;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.edl-open-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(73, 112, 26, .23);
	filter: brightness(.97);
}

.edl-open-button:focus-visible {
	outline: 3px solid rgba(132, 212, 42, .35);
	outline-offset: 3px;
}

.edl-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-family: inherit;
	color: var(--edl-ink);
}

.edl-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 12, 7, .64);
	backdrop-filter: blur(3px);
	animation: edl-fade-in .2s ease-out both;
}

.edl-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: 92vh;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .29);
	overscroll-behavior: contain;
	animation: edl-dialog-in .26s cubic-bezier(.2, .75, .28, 1) both;
}

.edl-modal__topbar {
	position: sticky;
	top: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 22px 34px 18px;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid rgba(223, 228, 218, .9);
	backdrop-filter: blur(8px);
}

.edl-progress {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 8px 14px;
	width: 100%;
}

.edl-progress__track {
	grid-column: 1 / -1;
	height: 7px;
	overflow: hidden;
	background: #e9ede5;
	border-radius: 999px;
}

.edl-progress__bar {
	display: block;
	height: 100%;
	background: var(--edl-accent);
	border-radius: inherit;
	transition: width .3s ease;
}

.edl-progress__text {
	grid-column: 2;
	grid-row: 2;
	color: var(--edl-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}

.edl-modal__close {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--edl-line);
	border-radius: 50%;
	background: #fff;
	color: var(--edl-ink);
	cursor: pointer;
	transition: background .18s ease, transform .18s ease;
}

.edl-modal__close:hover {
	background: var(--edl-soft);
	transform: rotate(3deg);
}

.edl-modal__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.9;
}

.edl-form {
	margin: 0;
	padding: 38px 48px 0;
}

.edl-step {
	animation: edl-step-in .22s ease-out both;
}

.edl-step__heading {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0 0 27px;
}

.edl-step__icon {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: #eef9e3;
	background: color-mix(in srgb, var(--edl-accent) 20%, white);
	color: #3f7310;
}

.edl-step__icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

.edl-step__icon img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.edl-step__eyebrow {
	margin: 0 0 3px !important;
	color: #578c22;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	line-height: 1.3;
	text-transform: uppercase;
}

.edl-step h2,
.edl-success h2 {
	margin: 0 !important;
	color: var(--edl-ink);
	font-size: clamp(22px, 3.2vw, 29px);
	font-weight: 780;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.edl-step h2:focus,
.edl-success h2:focus {
	outline: none;
}

.edl-intro {
	margin: -11px 0 25px !important;
	color: var(--edl-muted);
	font-size: 15px;
	line-height: 1.6;
}

.edl-fieldset {
	min-width: 0;
	margin: 0 0 25px;
	padding: 0;
	border: 0;
}

.edl-fieldset legend,
.edl-field > span,
.edl-field > label,
.edl-field > :first-child:not(input):not(textarea):not(select) {
	display: block;
	margin: 0 0 9px;
	color: #31372d;
	font-size: 14px;
	font-weight: 720;
	line-height: 1.4;
}

.edl-fieldset legend {
	width: 100%;
	padding: 0;
}

.edl-field small,
.edl-fieldset small {
	color: var(--edl-muted);
	font-size: 12px;
	font-weight: 500;
}

.edl-fieldset legend > span,
.edl-field > span > span,
.edl-field > label > span,
.edl-privacy-row > span > span {
	color: #619b28;
}

.edl-fieldset--compact {
	margin-bottom: 20px;
}

.edl-fields-grid {
	display: grid;
	gap: 18px;
	margin-bottom: 22px;
}

.edl-fields-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edl-field {
	display: block;
	margin: 0 0 22px;
}

.edl-fields-grid .edl-field {
	margin-bottom: 0;
}

.edl-field--large {
	max-width: 360px;
	margin-bottom: 70px;
}

.edl-field input,
.edl-field select,
.edl-field textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #cfd6ca;
	border-radius: 11px;
	background: #fff;
	box-shadow: none;
	color: var(--edl-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.edl-field textarea {
	min-height: 108px;
	resize: vertical;
}

.edl-field input:hover,
.edl-field select:hover,
.edl-field textarea:hover {
	border-color: #aeb8a7;
}

.edl-field input:focus,
.edl-field select:focus,
.edl-field textarea:focus {
	border-color: #70b329;
	box-shadow: 0 0 0 4px rgba(132, 212, 42, .17);
	outline: none;
}

.edl-field input::placeholder,
.edl-field textarea::placeholder {
	color: #969e91;
	opacity: 1;
}

.edl-input-suffix {
	position: relative;
}

.edl-input-suffix input {
	padding-right: 52px;
}

.edl-input-suffix > span {
	position: absolute;
	top: 50%;
	right: 14px;
	margin: 0;
	color: var(--edl-muted);
	font-size: 14px;
	font-weight: 650;
	transform: translateY(-50%);
	pointer-events: none;
}

.edl-choice-grid {
	display: grid;
	gap: 11px;
}

.edl-choice-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edl-choice-grid--durations {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.edl-choice-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 58px;
	margin: 0;
	padding: 13px 42px 13px 15px;
	border: 1px solid var(--edl-line);
	border-radius: 13px;
	background: #fff;
	color: #30372c;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.edl-choice-card:hover {
	border-color: #a8bc94;
	transform: translateY(-1px);
}

.edl-choice-card:has(input:checked) {
	border-color: #71b72a;
	background: #f4fbed;
	background: color-mix(in srgb, var(--edl-accent) 10%, white);
	box-shadow: 0 0 0 2px rgba(132, 212, 42, .14);
}

.edl-choice-card input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.edl-choice-card:has(input:focus-visible) {
	outline: 3px solid rgba(132, 212, 42, .3);
	outline-offset: 2px;
}

.edl-choice-card__check {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 19px;
	height: 19px;
	border: 1.5px solid #bdc7b6;
	border-radius: 50%;
	transform: translateY(-50%);
}

.edl-choice-card input:checked + .edl-choice-card__check {
	border: 5px solid var(--edl-accent);
	background: #fff;
}

.edl-choice-card--speed {
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.edl-choice-card--speed strong {
	font-size: 18px;
}

.edl-choice-card--speed small {
	color: var(--edl-muted);
	font-size: 12px;
	font-weight: 500;
}

.edl-choice-card--center {
	justify-content: center;
	padding-left: 12px;
	text-align: center;
}

.edl-choice-list {
	display: grid;
	gap: 9px 15px;
}

.edl-choice-list--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.edl-check-row,
.edl-privacy-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: #363c32;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	cursor: pointer;
}

.edl-check-row {
	align-items: center;
	min-height: 43px;
	padding: 9px 11px;
	border: 1px solid var(--edl-line);
	border-radius: 11px;
	background: #fff;
}

.edl-check-row:has(input:checked) {
	border-color: #8bc451;
	background: #f6fbed;
	background: color-mix(in srgb, var(--edl-accent) 8%, white);
}

.edl-check-row input,
.edl-privacy-row input {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin: 0;
	accent-color: var(--edl-accent-dark);
}

.edl-segmented {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	max-width: 430px;
	padding: 4px;
	border-radius: 12px;
	background: #edf0e9;
}

.edl-segmented label {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.edl-segmented input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.edl-segmented span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 39px;
	padding: 8px 12px;
	border-radius: 9px;
	color: #50584b;
	font-size: 14px;
	font-weight: 680;
	transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.edl-segmented input:checked + span {
	background: #fff;
	box-shadow: 0 2px 7px rgba(31, 43, 22, .11);
	color: var(--edl-ink);
}

.edl-segmented input:focus-visible + span {
	outline: 3px solid rgba(132, 212, 42, .32);
}

.edl-conditional {
	margin: -4px 0 22px;
	padding: 16px;
	border-left: 3px solid var(--edl-accent);
	border-radius: 0 12px 12px 0;
	background: var(--edl-soft);
}

.edl-conditional .edl-field {
	margin: 0;
}

.edl-toggle-row {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 25px;
	color: #30372c;
	font-size: 14px;
	font-weight: 660;
	cursor: pointer;
}

.edl-toggle-row input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.edl-toggle {
	position: relative;
	flex: 0 0 auto;
	width: 43px;
	height: 24px;
	border-radius: 999px;
	background: #ccd3c7;
	transition: background .18s ease;
}

.edl-toggle::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
	content: '';
	transition: transform .18s ease;
}

.edl-toggle-row input:checked + .edl-toggle {
	background: var(--edl-accent);
}

.edl-toggle-row input:checked + .edl-toggle::after {
	transform: translateX(19px);
}

.edl-toggle-row input:focus-visible + .edl-toggle {
	outline: 3px solid rgba(132, 212, 42, .3);
	outline-offset: 2px;
}

.edl-privacy-row {
	margin: 25px 0 4px;
	padding: 14px;
	border-radius: 11px;
	background: var(--edl-soft);
}

.edl-privacy-row a {
	color: #4c7f1c;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.edl-alert {
	margin: 0 0 22px;
	padding: 13px 15px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 620;
	line-height: 1.45;
}

.edl-alert--error,
.edl-copy-warning {
	border: 1px solid #f0b8b3;
	background: #fff1f0;
	color: var(--edl-danger);
}

.edl-form .is-invalid {
	border-color: #dd4e43 !important;
}

.edl-form__actions {
	position: sticky;
	bottom: 0;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 34px -48px 0;
	padding: 20px 48px 28px;
	border-top: 1px solid var(--edl-line);
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(8px);
}

.edl-form__actions > :only-child,
.edl-form__actions > [data-edl-next]:first-child,
.edl-form__actions > [data-edl-submit]:first-child {
	margin-left: auto;
}

.edl-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: 14px;
	font-weight: 760;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
}

.edl-button:hover:not(:disabled) {
	transform: translateY(-1px);
}

.edl-button:focus-visible {
	outline: 3px solid rgba(132, 212, 42, .34);
	outline-offset: 2px;
}

.edl-button--primary {
	background: var(--edl-accent);
	box-shadow: 0 6px 15px rgba(78, 134, 21, .18);
	color: #18220f;
}

.edl-button--primary:hover:not(:disabled) {
	box-shadow: 0 9px 21px rgba(78, 134, 21, .25);
}

.edl-button--secondary {
	border-color: var(--edl-line);
	background: #fff;
	color: #414a3c;
}

.edl-button:disabled {
	cursor: wait;
	opacity: .68;
}

.edl-spinner {
	display: none;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	border: 2px solid rgba(24, 34, 15, .3);
	border-top-color: #18220f;
	border-radius: 50%;
	animation: edl-spin .7s linear infinite;
}

.edl-button.is-loading .edl-spinner {
	display: inline-block;
}

.edl-summary {
	display: grid;
	gap: 14px;
}

.edl-summary__section {
	overflow: hidden;
	border: 1px solid var(--edl-line);
	border-radius: 14px;
	background: #fff;
}

.edl-summary__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 12px 14px;
	background: var(--edl-soft);
}

.edl-summary__header h3 {
	margin: 0 !important;
	color: #323a2d;
	font-size: 15px;
	font-weight: 780;
}

.edl-summary__header button {
	margin: 0;
	padding: 3px 0;
	border: 0;
	background: transparent;
	color: #4c7f1c;
	font: inherit;
	font-size: 12px;
	font-weight: 760;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.edl-summary__row {
	display: grid;
	grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr);
	gap: 14px;
	padding: 10px 14px;
	border-top: 1px solid #edf0e9;
	font-size: 13px;
	line-height: 1.45;
}

.edl-summary__row > span {
	color: var(--edl-muted);
}

.edl-summary__row > strong {
	color: #30372c;
	font-weight: 650;
	white-space: pre-wrap;
	word-break: break-word;
}

.edl-success {
	padding: 58px 40px 50px;
	text-align: center;
}

.edl-success__icon {
	display: inline-grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: #eef9e3;
	background: color-mix(in srgb, var(--edl-accent) 20%, white);
	color: #4b8317;
}

.edl-success__icon svg {
	width: 43px;
	height: 43px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.55;
}

.edl-success > p {
	max-width: 520px;
	margin: 15px auto !important;
	color: var(--edl-muted);
	font-size: 15px;
	line-height: 1.65;
}

.edl-success .edl-success__reference {
	margin: 24px auto !important;
	padding: 15px;
	border-radius: 12px;
	background: var(--edl-soft);
	color: #4b5445;
	font-size: 13px;
}

.edl-success__reference strong {
	display: inline-block;
	margin-top: 4px;
	color: var(--edl-ink);
	font-size: 18px;
	letter-spacing: .03em;
}

.edl-copy-warning {
	padding: 12px 14px;
	border-radius: 10px;
}

.edl-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@keyframes edl-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes edl-dialog-in {
	from { opacity: 0; transform: translateY(16px) scale(.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes edl-step-in {
	from { opacity: 0; transform: translateX(7px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes edl-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
	.edl-modal {
		align-items: flex-end;
		padding: 0;
	}

	.edl-modal__dialog {
		width: 100%;
		max-height: 94dvh;
		border-radius: 24px 24px 0 0;
		animation-name: edl-sheet-in;
	}

	.edl-modal__topbar {
		padding: 18px 24px 15px;
	}

	.edl-form {
		padding: 30px 26px 0;
	}

	.edl-form__actions {
		margin-right: -26px;
		margin-left: -26px;
		padding: 17px 26px calc(20px + env(safe-area-inset-bottom));
	}

	.edl-step__heading {
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 23px;
	}

	.edl-step__icon {
		width: 44px;
		height: 44px;
		border-radius: 13px;
	}

	.edl-step__icon svg,
.edl-step__icon img {
    width: 24px;
    height: 24px;
}

	.edl-choice-grid--two,
	.edl-choice-list--two,
	.edl-fields-grid--two {
		grid-template-columns: 1fr;
	}

	.edl-choice-grid--durations {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.edl-fields-grid {
		gap: 20px;
	}

	.edl-field--large {
		margin-bottom: 45px;
	}

	.edl-summary__row {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.edl-success {
		padding: 45px 21px calc(38px + env(safe-area-inset-bottom));
	}

	.edl-button {
		min-height: 47px;
		padding-right: 17px;
		padding-left: 17px;
	}
}

@keyframes edl-sheet-in {
	from { opacity: .6; transform: translateY(45px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 380px) {
	.edl-choice-grid--durations,
	.edl-segmented {
		grid-template-columns: 1fr;
	}

	.edl-form__actions {
		flex-wrap: wrap;
	}

	.edl-form__actions .edl-button {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.edl-modal *,
	.edl-modal *::before,
	.edl-modal *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
