/**
 * American Concealed certification theme
 * Matches ecom-dashboard-design certification / account atmosphere.
 */

/* Beat Bricks .reviews-location bg.webp on the same section. */
section.main-form-flow,
.main-form-flow.reviews-location,
.reviews-location.main-form-flow,
.main-form-flow {
	background-color: #141c28 !important;
	background-image:
		linear-gradient(
			155deg,
			rgba(42, 56, 78, 0.75) 0%,
			rgba(24, 34, 48, 0.72) 100%
		),
		radial-gradient(70% 55% at 50% 0%, rgba(45, 78, 120, 0.35) 0%, transparent 60%),
		radial-gradient(40% 40% at 18% 12%, rgba(212, 176, 74, 0.08) 0%, transparent 70%),
		linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
	background-size: auto, auto, auto, 44px 44px, 44px 44px !important;
	background-repeat: no-repeat, no-repeat, repeat, repeat, repeat !important;
	background-position: center top, center top, 0 0, 0 0, 0 0 !important;
}

.hff-theme-american-concealed {
	--ac-bg: #141c28;
	--ac-card: #1e2a3a;
	--ac-card-soft: rgba(36, 48, 68, 0.55);
	--ac-fg: #f2f5f8;
	--ac-muted: #9aa8b8;
	--ac-gold: #d4b04a;
	--ac-gold-fg: #1a2030;
	--ac-blue: #4ba3e3;
	--ac-success: #3ecf8e;
	--ac-danger: #e05a4e;
	--ac-border: rgba(255, 255, 255, 0.09);
	--ac-input: rgba(255, 255, 255, 0.12);
	--ac-radius: 0.75rem;

	--hff-accent: var(--ac-gold);
	--hff-text: var(--ac-fg);
	--hff-title-color: var(--ac-fg);
	--hff-label-color: var(--ac-muted);
	--hff-field-bg: rgba(20, 28, 40, 0.55);
	--hff-field-text: var(--ac-fg);
	--hff-field-border-color: var(--ac-border);
	--hff-field-focus-border: var(--ac-gold);
	--hff-panel-bg: rgba(30, 42, 58, 0.82);
	--hff-panel-border-color: var(--ac-border);
	--hff-panel-shadow: 0 0 0 1px rgba(75, 163, 227, 0.25), 0 0 24px -6px rgba(75, 163, 227, 0.35);
	--hff-button-bg: var(--ac-gold);
	--hff-button-text: var(--ac-gold-fg);
	--hff-choice-bg: rgba(36, 48, 68, 0.4);
	--hff-choice-border-color: var(--ac-border);
	--hff-choice-hover-bg: rgba(36, 48, 68, 0.7);
	--hff-choice-hover-border: rgba(212, 176, 74, 0.4);

	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 42rem;
	margin: 0 auto;
	padding: 2rem 1rem 2.5rem;
	font-family: "DM Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ac-fg);
	background: transparent;
	border-radius: 0;
}

.hff-theme-american-concealed .hff-flow__panel,
.hff-theme-american-concealed .hff-flow__stage {
	position: relative;
	border: 1px solid var(--ac-border);
	border-radius: 1rem;
	background: transparent;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.06),
		0 0 0 1px rgba(75, 163, 227, 0.22),
		0 18px 40px -20px rgba(0, 0, 0, 0.7);
	padding: 1.75rem 1.5rem;
}

@media (min-width: 640px) {
	.hff-theme-american-concealed .hff-flow__panel,
	.hff-theme-american-concealed .hff-flow__stage {
		padding: 2rem;
	}
}

.hff-theme-american-concealed .hff-flow__title {
	margin: 0 0 0.75rem;
	text-align: center;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ac-fg);
}

.hff-theme-american-concealed .hff-flow__description,
.hff-theme-american-concealed .hff-flow__lede {
	margin: 0 auto 1.25rem;
	max-width: 28rem;
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--ac-muted);
}

.hff-theme-american-concealed .hff-flow__progress,
.hff-theme-american-concealed .hff-flow__step-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ac-muted);
}

.hff-theme-american-concealed .hff-flow__progress-bar,
.hff-theme-american-concealed [data-hff-progress] {
	flex: 1;
	height: 0.375rem;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
}

.hff-theme-american-concealed .hff-flow__progress-fill,
.hff-theme-american-concealed [data-hff-progress-fill] {
	height: 100%;
	border-radius: inherit;
	background: var(--ac-blue);
	transition: width 0.45s ease;
}

.hff-theme-american-concealed .hff-flow__field > label,
.hff-theme-american-concealed .hff-flow__field legend {
	display: block;
	margin: 0 0 1rem;
	text-align: center;
	font-size: clamp(1.1rem, 2.4vw, 1.35rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--ac-fg);
}

.hff-theme-american-concealed .hff-flow__field--radio .hff-flow__options,
.hff-theme-american-concealed .hff-flow__field--radio {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hff-theme-american-concealed .hff-flow__radio-option {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--ac-border);
	border-radius: 0.75rem;
	background: rgba(36, 48, 68, 0.4);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hff-theme-american-concealed .hff-flow__radio-option:hover {
	border-color: rgba(212, 176, 74, 0.4);
	background: rgba(36, 48, 68, 0.7);
}

.hff-theme-american-concealed .hff-flow__radio-option:has(input:checked) {
	border-color: var(--ac-gold);
	background: rgba(212, 176, 74, 0.1);
	box-shadow: 0 0 0 1px rgba(212, 176, 74, 0.25), 0 0 24px -6px rgba(212, 176, 74, 0.35);
}

.hff-theme-american-concealed .hff-flow__radio-option input[type="radio"] {
	appearance: none;
	width: 2rem;
	height: 2rem;
	margin: 0;
	flex-shrink: 0;
	border: 0;
	border-radius: 0.5rem;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px var(--ac-border);
	cursor: pointer;
}

.hff-theme-american-concealed .hff-flow__radio-option:has(input:checked) input[type="radio"] {
	background: var(--ac-gold);
	box-shadow: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2030' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
	background-size: 1rem;
	background-repeat: no-repeat;
	background-position: center;
}

.hff-theme-american-concealed .hff-flow__radio-option span,
.hff-theme-american-concealed .hff-flow__radio-option label {
	flex: 1;
	margin: 0;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--ac-muted);
	text-align: left;
}

.hff-theme-american-concealed .hff-flow__radio-option:has(input:checked) span,
.hff-theme-american-concealed .hff-flow__radio-option:has(input:checked) label {
	color: var(--ac-fg);
}

.hff-theme-american-concealed .hff-flow__field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.hff-theme-american-concealed .hff-flow__field select,
.hff-theme-american-concealed .hff-flow__field textarea {
	min-height: 2.75rem;
	border: 1px solid var(--ac-border);
	border-radius: 0.65rem;
	background: rgba(20, 28, 40, 0.55);
	color: var(--ac-fg);
}

.hff-theme-american-concealed .hff-flow__field input:focus,
.hff-theme-american-concealed .hff-flow__field select:focus,
.hff-theme-american-concealed .hff-flow__field textarea:focus {
	outline: none;
	border-color: var(--ac-gold);
	box-shadow: 0 0 0 3px rgba(212, 176, 74, 0.2);
}

.hff-theme-american-concealed .hff-flow__field--checkbox label,
.hff-theme-american-concealed .hff-flow__checkbox-option {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	padding: 1rem;
	border: 1px solid var(--ac-border);
	border-radius: 0.75rem;
	background: rgba(36, 48, 68, 0.4);
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ac-muted);
}

.hff-theme-american-concealed .hff-flow__actions,
.hff-theme-american-concealed .hff-flow__nav {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.hff-theme-american-concealed .hff-flow__btn,
.hff-theme-american-concealed button[type="submit"],
.hff-theme-american-concealed .hff-flow__submit {
	flex: 1;
	min-height: 3.25rem;
	padding: 0.85rem 1.25rem;
	border: 0;
	border-radius: 0.65rem;
	background: var(--ac-gold);
	color: var(--ac-gold-fg);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.hff-theme-american-concealed .hff-flow__btn:hover,
.hff-theme-american-concealed button[type="submit"]:hover,
.hff-theme-american-concealed .hff-flow__submit:hover {
	background: #c9a63f;
}

.hff-theme-american-concealed .hff-flow__btn:disabled,
.hff-theme-american-concealed button[type="submit"]:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.hff-theme-american-concealed .hff-flow__btn--ghost,
.hff-theme-american-concealed .hff-flow__back {
	flex: 0 0 auto;
	background: transparent;
	color: var(--ac-muted);
	font-weight: 500;
	box-shadow: none;
}

.hff-theme-american-concealed .hff-flow__btn--ghost:hover,
.hff-theme-american-concealed .hff-flow__back:hover {
	background: transparent;
	color: var(--ac-fg);
}

.hff-theme-american-concealed .hff-flow__quiz-result,
.hff-theme-american-concealed .hff-flow__success {
	text-align: center;
}

.hff-theme-american-concealed .hff-flow__quiz-result h2,
.hff-theme-american-concealed .hff-flow__success h2 {
	color: var(--ac-fg);
}

.hff-theme-american-concealed .hff-flow__quiz-passed {
	color: var(--ac-success);
}

.hff-theme-american-concealed .hff-flow__quiz-failed {
	color: var(--ac-danger);
}

.hff-theme-american-concealed .hff-flow__quiz-correct {
	color: var(--ac-success);
}

.hff-theme-american-concealed .hff-flow__quiz-actions {
	margin-top: 1.5rem;
}

.hff-theme-american-concealed .hff-flow__quiz-actions .hff-flow__submit {
	min-width: 12rem;
}

.hff-theme-american-concealed .hff-flow__trust,
.hff-theme-american-concealed .hff-flow__footer-note {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.5rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ac-border);
	font-size: 0.75rem;
	color: var(--ac-muted);
}

/*
 * Certification experience
 * Mirrors ecom-dashboard-design/components/certification/test-controller.tsx.
 */
.hff-theme-american-concealed {
	--ac-bg: oklch(0.16 0.02 250);
	--ac-card: oklch(0.21 0.025 250);
	--ac-card-soft: oklch(0.27 0.03 250 / 40%);
	--ac-fg: oklch(0.96 0.005 250);
	--ac-muted: oklch(0.7 0.02 250);
	--ac-gold: oklch(0.8 0.14 84);
	--ac-gold-fg: oklch(0.2 0.03 260);
	--ac-blue: oklch(0.68 0.16 235);
	--ac-success: oklch(0.72 0.16 155);
	--ac-danger: oklch(0.62 0.21 25);
	--ac-border: oklch(1 0 0 / 9%);

	max-width: 42rem;
	padding: 0;
	font-family: Geist, "Geist Fallback", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: transparent;
}

/* Standalone mode clears surfaces in frontend.css; restore one card, not nested cards. */
.hff-theme-american-concealed.hff-flow--standalone .hff-flow__panel,
.hff-theme-american-concealed.hff-flow--form-only .hff-flow__panel {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.hff-theme-american-concealed.hff-flow--standalone .hff-flow__stage,
.hff-theme-american-concealed.hff-flow--form-only .hff-flow__stage,
.hff-theme-american-concealed .hff-flow__stage {
	overflow: hidden;
	padding: 1.5rem !important;
	border: 1px solid var(--ac-border) !important;
	border-radius: 1rem !important;
	background: transparent !important;
	box-shadow:
		0 0 0 1px oklch(0.68 0.16 235 / 25%),
		0 0 24px -6px oklch(0.68 0.16 235 / 35%) !important;
}

@media (min-width: 640px) {
	.hff-theme-american-concealed.hff-flow--standalone .hff-flow__stage,
	.hff-theme-american-concealed.hff-flow--form-only .hff-flow__stage,
	.hff-theme-american-concealed .hff-flow__stage {
		padding: 2rem !important;
	}
}

.hff-theme-american-concealed .hff-flow__step--form,
.hff-theme-american-concealed form[data-hff-form],
.hff-theme-american-concealed .hff-flow__fields {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.hff-theme-american-concealed .hff-flow__step--form {
	position: relative;
}

.hff-theme-american-concealed .hff-flow__quiz-progress {
	display: grid;
	grid-template-columns: auto minmax(4rem, 1fr) auto;
	align-items: center;
	gap: 1rem;
	margin: 0 0 2rem;
	font-size: 0.875rem;
}

.hff-theme-american-concealed .hff-flow__quiz-progress-label {
	white-space: nowrap;
	font-weight: 500;
	color: var(--ac-muted);
}

.hff-theme-american-concealed .hff-flow__quiz-progress-track {
	display: block;
	height: 0.375rem;
	overflow: hidden;
	border-radius: 999px;
	background: oklch(0.27 0.03 250);
}

.hff-theme-american-concealed .hff-flow__quiz-progress-fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--ac-blue);
	transition: width 0.5s ease;
}

.hff-theme-american-concealed .hff-flow__quiz-progress-percent {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--ac-blue);
}

.hff-theme-american-concealed .hff-flow__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	text-align: center;
}

.hff-theme-american-concealed .hff-flow__content-block .hff-flow__lede {
	margin: 0 auto 1.5rem;
	max-width: 28rem;
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--ac-muted);
}

/* Shield badge on the intro card only (terms without email). */
.hff-theme-american-concealed form:has([name="terms_agree"]):not(:has(input[name="email"]))::before {
	content: "";
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1.25rem;
	border-radius: 1rem;
	background-color: var(--ac-gold);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2030' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 1.75rem;
	box-shadow:
		0 0 0 1px oklch(0.8 0.14 84 / 25%),
		0 0 24px -6px oklch(0.8 0.14 84 / 35%);
}

.hff-theme-american-concealed .hff-flow__field--radio {
	counter-reset: ac-answer;
	gap: 0.75rem;
}

.hff-theme-american-concealed .hff-flow__field--radio > legend {
	margin-bottom: 2rem;
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	line-height: 1.35;
	text-wrap: balance;
}

.hff-theme-american-concealed .hff-flow__field--radio > legend .hff-flow__required,
.hff-theme-american-concealed .hff-flow__required {
	display: none;
}

.hff-theme-american-concealed .hff-flow__radio-option {
	counter-increment: ac-answer;
	display: flex;
	align-items: center;
	justify-content: flex-start !important;
	gap: 0;
	position: relative;
	min-height: 4rem;
	padding: 1rem;
	border-radius: 0.75rem;
	background: var(--ac-card-soft);
}

.hff-theme-american-concealed .hff-flow__radio-option::before {
	content: counter(ac-answer, upper-alpha);
	display: inline-flex;
	position: absolute;
	top: 50%;
	left: 1rem;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	flex: 0 0 2rem;
	align-items: center;
	justify-content: center;
	margin: 0;
	border-radius: 0.5rem;
	background: var(--ac-gold);
	color: var(--ac-gold-fg);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	transition: color 0.2s ease, background 0.2s ease;
}

.hff-theme-american-concealed .hff-flow__radio-option input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	opacity: 0;
}

.hff-theme-american-concealed .hff-flow__radio-option:hover::before {
	color: var(--ac-gold-fg);
}

.hff-theme-american-concealed .hff-flow__radio-option:has(input:checked)::before {
	content: "";
	background-color: var(--ac-gold);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2030' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 1rem;
}

.hff-theme-american-concealed .hff-flow__radio-option:focus-within {
	outline: 2px solid var(--ac-gold);
	outline-offset: 2px;
}

.hff-theme-american-concealed .hff-flow__radio-option span {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	padding-left: 2.85rem;
	box-sizing: border-box;
	font-size: clamp(0.9rem, 2.6vw, 1rem);
	line-height: 1.4;
	color: var(--ac-muted);
	text-align: left !important;
}

.hff-theme-american-concealed .hff-flow__check-options {
	display: grid;
	gap: 0.75rem;
}

.hff-theme-american-concealed .hff-flow__check-option {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem;
	border: 1px solid var(--ac-border);
	border-radius: 0.75rem;
	background: var(--ac-card-soft);
	color: var(--ac-muted);
}

/* Terms gate: plain checkbox row, not a choice card */
.hff-theme-american-concealed .hff-flow__field--terms-agree,
.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-flow__check-options,
.hff-theme-american-concealed .hff-flow__field--terms-agree fieldset {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0.75rem 0 0 !important;
	outline: none !important;
}

.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-flow__check-option,
.hff-theme-american-concealed .hff-flow__field--terms-agree label {
	display: flex !important;
	align-items: center !important;
	gap: 0.9rem !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	color: #fff !important;
	font-size: 1.05rem !important;
	line-height: 1.6 !important;
	cursor: pointer;
}

.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-flow__check-input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	pointer-events: none;
}

.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-flow__check-box {
	box-sizing: border-box;
	flex: none;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(133, 216, 253, 0.5);
	border-radius: 5px;
	background: rgba(130, 211, 249, 0.15);
	position: relative;
	box-shadow: none !important;
}

.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-flow__check-input:checked + .hff-flow__check-box {
	background: rgba(133, 216, 253, 0.35);
	border-color: #85d8fd;
}

.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-flow__check-input:checked + .hff-flow__check-box::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 12px;
	border: solid #85d8fd;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-flow__check-label a,
.hff-theme-american-concealed .hff-flow__field--terms-agree .hff-terms-agree__link {
	color: #ca9b17 !important;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	font-weight: 600;
}

.hff-theme-american-concealed .hff-flow__check-input {
	accent-color: var(--ac-gold);
}

.hff-theme-american-concealed .hff-flow__step-actions {
	margin-top: 2rem;
	gap: 0.75rem;
}

.hff-theme-american-concealed .hff-flow__submit {
	min-height: 3rem;
	padding: 0.75rem 1.5rem;
	border-radius: 0.75rem;
	background: var(--ac-gold);
	color: var(--ac-gold-fg);
	font-weight: 700;
	box-shadow: none;
}

.hff-theme-american-concealed .hff-flow__submit::after {
	content: "→";
	margin-left: 0.6rem;
	font-size: 1.15em;
}

.hff-theme-american-concealed .hff-flow__submit:hover:not(:disabled) {
	background: oklch(0.8 0.14 84 / 90%);
	filter: none;
}

.hff-theme-american-concealed .hff-flow__back-action {
	flex: 0 0 auto;
	padding-inline: 0.75rem;
	border-color: transparent;
	background: transparent;
	color: var(--ac-muted);
	font-weight: 500;
}

.hff-theme-american-concealed .hff-flow__back-action::before {
	content: "←";
	margin-right: 0.5rem;
}

.hff-theme-american-concealed .hff-flow__back-action:hover {
	border-color: transparent;
	color: var(--ac-fg);
}

.hff-theme-american-concealed .hff-flow__form-footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ac-border);
}

.hff-theme-american-concealed .hff-flow__trust {
	margin: 0;
	padding: 0;
	border: 0;
	gap: 0.5rem 1.5rem;
}

.hff-theme-american-concealed .hff-flow__trust span {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.hff-theme-american-concealed .hff-flow__trust span::before {
	content: "✓";
	display: inline-flex;
	width: 1rem;
	height: 1rem;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: oklch(0.8 0.14 84 / 20%);
	color: var(--ac-gold);
	font-size: 0.65rem;
	font-weight: 800;
}

.hff-theme-american-concealed .hff-flow__step--success {
	padding: 1rem 0;
}

.hff-theme-american-concealed .hff-flow__step--success .hff-flow__title {
	color: var(--ac-fg);
}

@media (max-width: 520px) {
	.hff-theme-american-concealed .hff-flow__quiz-progress {
		grid-template-columns: 1fr auto;
		gap: 0.5rem 0.75rem;
	}

	.hff-theme-american-concealed .hff-flow__quiz-progress-track {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.hff-theme-american-concealed .hff-flow__quiz-progress-percent {
		grid-column: 2;
		grid-row: 1;
	}

	.hff-theme-american-concealed .hff-flow__step-actions {
		align-items: center;
	}

	.hff-theme-american-concealed .hff-flow__back-action {
		padding-inline: 0.25rem;
	}
}

/* Keep answer copy anchored left even when saved flow CSS centers labels. */
[data-hff-flow].hff-theme-american-concealed
	.hff-flow__field--radio
	> label.hff-flow__radio-option
	> span {
	display: block !important;
	flex: 1 1 0% !important;
	width: auto !important;
	justify-content: flex-start !important;
	text-align: left !important;
}
