@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&family=Barlow:wght@400;500;600&family=Bitter:wght@400;500;600&family=Cardo:wght@400;700&family=Cormorant+Garamond:wght@400;500;600&family=Crimson+Text:wght@400;600&family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600&family=Domine:wght@400;500;600&family=EB+Garamond:wght@400;500;600&family=Fira+Code:wght@400;500&family=Fira+Sans:wght@400;500;600&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&family=Inconsolata:wght@400;500&family=Inter:wght@400;500;600&family=Josefin+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Karla:wght@400;500;600&family=Lato:wght@400;700&family=Libre+Baskerville:wght@400;700&family=Libre+Franklin:wght@400;500;600&family=Lora:wght@400;500;600&family=Manrope:wght@400;500;600&family=Merriweather:wght@400;700&family=Montserrat:wght@400;500;600&family=Mulish:wght@400;500;600&family=Noto+Sans:wght@400;500;600&family=Noto+Serif:wght@400;500;600&family=Nunito:wght@400;500;600&family=Open+Sans:wght@400;500;600&family=Oswald:wght@400;500;600&family=PT+Sans:wght@400;700&family=PT+Serif:wght@400;700&family=Playfair+Display:wght@400;500;600&family=Poppins:wght@400;500;600&family=Public+Sans:wght@400;500;600&family=Quicksand:wght@400;500;600&family=Raleway:wght@400;500;600&family=Roboto:wght@400;500;700&family=Roboto+Mono:wght@400;500&family=Roboto+Slab:wght@400;500;600&family=Rubik:wght@400;500;600&family=Source+Code+Pro:wght@400;500&family=Source+Sans+Pro:wght@400;600&family=Source+Serif+4:ital,wght@0,400;0,500;1,400&family=Space+Mono:wght@400;700&family=Titillium+Web:wght@400;600&family=Ubuntu:wght@400;500;700&family=Vollkorn:wght@400;500;600&family=Work+Sans:wght@400;500;600&display=swap");

:root {
	--c-bg: #FAFAF7;
	--c-panel: #F2EFE7;
	--c-white: #FFFFFF;
	--c-ink-bg: #1A1714;
	--c-gold: #C9A84C;
	--c-gold-deep: #A67C2E;
	--c-champagne: #E8D5A3;
	--c-text: #1F1B16;
	--c-text-soft: #54504A;
	--c-text-mute: #87827A;
	--c-text-inv: #F5F1E8;
	--c-line: #E5DDC8;
	--c-line-soft: #ECE7D6;
	--f-sans: "Geist", "Inter", system-ui, -apple-system, sans-serif;
	--f-serif: "Source Serif 4", "Source Serif Pro", "Iowan Old Style", Georgia, serif;
	--f-mono: "Geist Mono", "JetBrains Mono", "SF Mono", Consolas, monospace;
}

.afb-form-wrap {
	box-sizing: border-box;
	position: relative;
	width: 100%;
}

.afb-form-shell {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	color: var(--c-text);
	font-family: var(--f-sans);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.afb-form {
	align-items: flex-start;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: var(--afb-field-spacing, 16px);
}

.afb-form-fields {
	align-items: flex-start;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: var(--afb-field-spacing, 16px);
	min-width: 0;
	width: 100%;
}

.afb-form-fields > .afb-progress-bubbles,
.afb-form-fields > .afb-progress-bar-wrap,
.afb-form-fields > .afb-step-counter,
.afb-form-fields > .afb-step-error,
.afb-form-fields > .afb-step,
.afb-form-fields > .afb-step-nav {
	box-sizing: border-box;
	flex: 0 0 100%;
	width: 100%;
}

.afb-form--button-below {
	display: block;
}

.afb-form--button-left,
.afb-form--button-right {
	align-items: start;
	display: grid;
	gap: var(--afb-field-spacing, 16px);
	justify-content: start;
}

.afb-form--button-left {
	grid-template-columns: auto max-content;
}

.afb-form--button-right {
	grid-template-columns: max-content auto;
}

.afb-form--button-left .afb-form-fields {
	grid-column: 2;
	grid-row: 1;
	max-width: 100%;
	width: max-content;
}

.afb-form--button-left .afb-submit-wrap {
	grid-column: 1;
	grid-row: 1;
}

.afb-form--button-right .afb-form-fields {
	grid-column: 1;
	grid-row: 1;
	max-width: 100%;
	width: max-content;
}

.afb-form--button-right .afb-submit-wrap {
	grid-column: 2;
	grid-row: 1;
}

.afb-field {
	box-sizing: border-box;
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

.afb-field.afb-is-hidden,
.afb-step[aria-hidden="true"] {
	display: none;
}

.afb-field-width-full {
	flex: 0 0 100%;
	width: 100%;
}

.afb-field-width-half {
	flex: 0 0 calc((100% - var(--afb-field-spacing, 16px)) / 2);
	width: calc((100% - var(--afb-field-spacing, 16px)) / 2);
}

.afb-field-width-third {
	flex: 0 0 calc((100% - (var(--afb-field-spacing, 16px) * 2)) / 3);
	width: calc((100% - (var(--afb-field-spacing, 16px) * 2)) / 3);
}

.afb-field-width-quarter {
	flex: 0 0 calc((100% - (var(--afb-field-spacing, 16px) * 3)) / 4);
	width: calc((100% - (var(--afb-field-spacing, 16px) * 3)) / 4);
}

.afb-field > .afb-field-label,
.afb-subfield-label {
	color: var(--c-text);
	display: block;
	font-weight: 600;
	margin: 0 0 6px;
}

.afb-field-required {
	color: #c92a2a;
}

.afb-input-wrap {
	position: relative;
}

.afb-input-wrap::before {
	background: var(--afb-field-overlay-bg, transparent);
	border-radius: inherit;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.afb-input-control,
.afb-field input[type="text"],
.afb-field input[type="email"],
.afb-field input[type="tel"],
.afb-field input[type="number"],
.afb-field input[type="date"],
.afb-field input[type="url"],
.afb-field input[type="password"],
.afb-field input[type="time"],
.afb-field input[type="file"],
.afb-field textarea,
.afb-field select {
	border: 1px solid var(--c-line);
	border-radius: 4px;
	box-sizing: border-box;
	color: var(--c-text);
	font-family: var(--f-sans);
	position: relative;
	width: 100%;
	z-index: 0;
}

.afb-field select,
select.afb-input-control {
	line-height: 1.4;
	min-height: 44px;
	overflow: visible;
	padding-bottom: 10px;
	padding-right: 40px;
	padding-top: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.afb-field select .afb-select-placeholder,
select.afb-input-control .afb-select-placeholder {
	color: var(--afb-placeholder-color, var(--c-text-mute));
}

.afb-file-upload input[type="file"] {
	padding: 10px 12px;
}

.afb-input-control::placeholder,
.afb-field textarea::placeholder,
.afb-field input[type="text"]::placeholder,
.afb-field input[type="email"]::placeholder,
.afb-field input[type="tel"]::placeholder,
.afb-field input[type="number"]::placeholder,
.afb-field input[type="date"]::placeholder,
.afb-field input[type="url"]::placeholder,
.afb-field input[type="password"]::placeholder,
.afb-field input[type="time"]::placeholder {
	color: var(--afb-placeholder-color, var(--c-text-mute));
	opacity: 1;
}

.afb-choice-label,
.afb-subfield-label,
.afb-field-help-text,
.afb-section-text,
.afb-section-title {
	word-break: break-word;
}

.afb-choice-label {
	display: block;
	margin: 0 0 6px;
}

.afb-field-help-text {
	color: var(--c-text-mute);
	font-size: 12px;
	margin-top: 6px;
	opacity: 0.9;
}

.afb-name-group,
.afb-address-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
}

.afb-name-row,
.afb-address-row,
.afb-address-row-full {
	box-sizing: border-box;
	width: 100%;
}

.afb-name-row-half,
.afb-address-row-half {
	width: calc(50% - 6px);
}

.afb-name-row-third {
	width: calc(33.333% - 8px);
}

.afb-section {
	background: transparent;
	border: 0;
	box-shadow: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 100%;
}

.afb-section-title {
	font-family: var(--f-serif);
	line-height: 1.3;
	margin: 0;
}

.afb-section-text {
	margin: 0;
}

.afb-section-divider {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--c-line);
	box-shadow: none;
	margin: 0;
	width: 100%;
}

.afb-section-spacer {
	display: block;
	width: 100%;
}

.afb-submit-wrap,
.afb-recaptcha-wrap {
	box-sizing: border-box;
	flex: 0 0 100%;
	width: 100%;
}

.afb-form--button-below .afb-submit-wrap {
	margin-top: var(--afb-field-spacing, 16px);
}

.afb-form--button-left .afb-submit-wrap,
.afb-form--button-right .afb-submit-wrap {
	align-self: start;
	margin-top: 0;
	width: auto;
}

.afb-submit-button {
	cursor: pointer;
	line-height: 1.2;
	max-width: 100%;
	overflow: hidden;
	padding: 12px 22px;
	position: relative;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.afb-submit-button:disabled,
.afb-submit-button.is-submitting,
.afb-submit-button.is-submitted {
	cursor: not-allowed;
	opacity: 0.68;
}

.afb-submit-button.afb-has-button-hover:hover,
.afb-submit-button.afb-has-button-hover:focus {
	background: var(--afb-button-hover-bg);
	border-color: var(--afb-button-hover-border-color);
	color: var(--afb-button-hover-color);
}

.afb-submit-button::before {
	background: var(--afb-button-overlay-bg, transparent);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.afb-submit-button > span {
	position: relative;
	z-index: 1;
}

.afb-form-response {
	box-sizing: border-box;
	margin: 0 0 12px;
	width: 100%;
}

.afb-form-response:empty {
	display: none;
}

.afb-success-message,
.afb-error-message,
.afb-quiz-result {
	border-radius: 4px;
	font-size: 14px;
	margin: 0 0 14px;
	padding: 12px 14px;
}

.afb-success-message,
.afb-quiz-result {
	background: #d4edda;
	color: #1e7e34;
}

.afb-error-message,
.afb-step-error {
	background: #f8d7da;
	color: #c92a2a;
}

.afb-quiz-result {
	margin-top: 14px;
}

.afb-quiz-score,
.afb-quiz-message {
	font-size: 13px;
	margin: 0;
}

.afb-quiz-score {
	font-weight: 600;
	margin-bottom: 6px;
}

.afb-honeypot {
	height: 1px;
	left: -9999px;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	top: auto;
	width: 1px;
	z-index: -1;
}

.afb-progress-bubbles {
	align-items: center;
	display: flex;
	gap: 0;
	justify-content: center;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.afb-progress-bubbles li {
	align-items: center;
	display: flex;
}

.afb-progress-bubble {
	align-items: center;
	background: var(--c-white);
	border: 2px solid var(--c-line);
	border-radius: 50%;
	color: var(--c-text-mute);
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	height: 32px;
	justify-content: center;
	transition: all 0.2s;
	width: 32px;
}

.afb-progress-bubble.is-done,
.afb-progress-bubble.is-active {
	background: var(--c-gold);
	border-color: var(--c-gold);
	color: var(--c-ink-bg);
}

.afb-progress-connector {
	background: var(--c-line);
	height: 2px;
	width: 32px;
}

.afb-progress-connector.is-done,
.afb-progress-bar-fill {
	background: var(--c-gold);
}

.afb-progress-bar-wrap {
	background: var(--c-line-soft);
	border-radius: 999px;
	height: 6px;
	margin: 0 0 24px;
	overflow: hidden;
	width: 100%;
}

.afb-progress-bar-fill {
	border-radius: 999px;
	height: 100%;
	transition: width 0.3s ease;
	width: 0;
}

.afb-step-counter {
	color: var(--c-text-mute);
	display: block;
	font-size: 13px;
	margin: 0 0 20px;
	text-align: center;
}

.afb-step {
	align-items: flex-start;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: var(--afb-field-spacing, 16px);
	width: 100%;
}

.afb-step-header {
	flex: 0 0 100%;
	margin-bottom: 4px;
	width: 100%;
}

.afb-step-title {
	font-family: var(--f-serif);
	font-size: 17px;
	font-weight: 500;
	margin: 0 0 4px;
}

.afb-step-description {
	color: var(--c-text-mute);
	font-size: 13px;
	margin: 0;
}

.afb-step-nav {
	display: flex;
	flex: 0 0 100%;
	gap: 10px;
	margin-top: 4px;
	width: 100%;
}

.afb-step-error {
	border-radius: 4px;
	display: none;
	font-size: 14px;
	margin: 0 0 12px;
	padding: 10px 14px;
	width: 100%;
}

.afb-step-back,
.afb-step-next {
	align-items: center;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 600;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
}

.afb-step-back {
	background: var(--c-panel);
	color: var(--c-text);
}

.afb-step-next {
	background: var(--c-gold);
	color: var(--c-ink-bg);
}

.afb-step-back.is-hidden {
	display: none;
}

.afb-payment-amount {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
}

.afb-stripe-element {
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 4px;
	min-height: 44px;
	padding: 12px 14px;
}

.afb-stripe-errors {
	color: #c92a2a;
	font-size: 12px;
	margin-top: 6px;
}

.afb-consent-label {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 10px;
}

.afb-consent-checkbox {
	flex-shrink: 0;
	margin-top: 3px;
	width: auto;
}

.afb-consent-text {
	font-size: 13px;
	line-height: 1.6;
}

.afb-popup-wrap {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 99999;
}

.afb-popup-dialog {
	border-radius: 4px;
	max-height: 90vh;
	max-width: 640px;
	overflow-y: auto;
	position: relative;
	width: calc(100% - 32px);
}

.afb-popup-close {
	background: none;
	border: 0;
	color: var(--c-text-mute);
	cursor: pointer;
	font-size: 22px;
	position: absolute;
	right: 12px;
	top: 10px;
	z-index: 1;
}

.afb-popup-trigger {
	color: inherit;
}

@media (max-width: 767px) {
	.afb-form--button-left,
	.afb-form--button-right {
		align-items: start !important;
		column-gap: var(--afb-button-side-gap, var(--afb-field-spacing, 16px)) !important;
		display: grid !important;
		justify-content: start !important;
		row-gap: 0 !important;
	}

	.afb-form--button-left {
		grid-template-columns: max-content minmax(0, max-content) !important;
	}

	.afb-form--button-right {
		grid-template-columns: minmax(0, max-content) max-content !important;
	}

	.afb-form--button-left .afb-form-fields,
	.afb-form--button-right .afb-form-fields {
		grid-column: 2 !important;
		grid-row: 1 !important;
		max-width: 100% !important;
		width: max-content !important;
	}

	.afb-form--button-right .afb-form-fields {
		grid-column: 1 !important;
	}

	.afb-form--button-left .afb-submit-wrap,
	.afb-form--button-right .afb-submit-wrap {
		align-self: start !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		margin-top: 0 !important;
		text-align: left !important;
		width: auto !important;
	}

	.afb-form--button-right .afb-submit-wrap {
		grid-column: 2 !important;
	}

	.afb-field-width-half,
	.afb-field-width-third,
	.afb-field-width-quarter,
	.afb-address-row-half,
	.afb-name-row-half,
	.afb-name-row-third {
		flex: 0 0 100%;
		width: 100%;
	}
}
