:root {
	--hhsc-red: #d71920;
	--hhsc-red-dark: #a90e14;
	--hhsc-ink: #171717;
	--hhsc-muted: #666;
	--hhsc-line: #dedede;
	--hhsc-soft: #f6f4f2;
	--hhsc-white: #fff;
	--hhsc-success: #14753d;
}

.hhsc-shell {
	box-sizing: border-box;
	width: min(100%, 980px);
	margin: 2rem auto;
	color: var(--hhsc-ink);
	font-family: inherit;
}

.hhsc-shell *,
.hhsc-shell *::before,
.hhsc-shell *::after {
	box-sizing: border-box;
}

.hhsc-form-header {
	max-width: 720px;
	margin-bottom: 2rem;
}

.hhsc-kicker {
	margin: 0 0 .4rem;
	color: var(--hhsc-red);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.hhsc-form-header h2 {
	margin: 0 0 .65rem;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1;
}

.hhsc-form-header p,
.hhsc-step-heading p {
	color: var(--hhsc-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

.hhsc-progress {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: .35rem;
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
}

.hhsc-progress li {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	align-items: center;
	color: #777;
	font-size: .72rem;
	font-weight: 700;
	text-align: center;
}

.hhsc-progress li::before {
	content: "";
	width: 100%;
	height: 4px;
	border-radius: 99px;
	background: #e6e3e0;
}

.hhsc-progress li span {
	display: grid;
	place-items: center;
	width: 1.85rem;
	height: 1.85rem;
	border: 1px solid var(--hhsc-line);
	border-radius: 50%;
	background: var(--hhsc-white);
}

.hhsc-progress li.is-active,
.hhsc-progress li.is-complete {
	color: var(--hhsc-red);
}

.hhsc-progress li.is-active::before,
.hhsc-progress li.is-complete::before,
.hhsc-progress li.is-complete span {
	border-color: var(--hhsc-red);
	background: var(--hhsc-red);
	color: var(--hhsc-white);
}

.hhsc-progress li.is-active span {
	border-color: var(--hhsc-red);
}

.hhsc-form {
	border: 1px solid var(--hhsc-line);
	border-radius: 20px;
	background: var(--hhsc-white);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
	overflow: hidden;
}

.hhsc-step {
	padding: clamp(1.25rem, 4vw, 3rem);
}

.hhsc-step-heading {
	margin-bottom: 2rem;
}

.hhsc-step-heading > span {
	color: var(--hhsc-red);
	font-size: .8rem;
	font-weight: 800;
	text-transform: uppercase;
}

.hhsc-step-heading h3 {
	margin: .3rem 0 .55rem;
	font-size: clamp(1.65rem, 4vw, 2.5rem);
	line-height: 1.15;
	outline: none;
}

.hhsc-step-heading p {
	max-width: 720px;
	margin: 0;
}

.hhsc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
}

.hhsc-field {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	margin-bottom: 1.2rem;
	font-weight: 700;
}

.hhsc-field small {
	color: var(--hhsc-muted);
	font-size: .82rem;
	font-weight: 400;
	line-height: 1.45;
}

.hhsc-field input,
.hhsc-field textarea,
.hhsc-member-row input {
	width: 100%;
	border: 1px solid #bdbdbd;
	border-radius: 9px;
	background: var(--hhsc-white);
	color: var(--hhsc-ink);
	font: inherit;
	font-weight: 400;
	padding: .85rem .95rem;
}

.hhsc-field input:focus,
.hhsc-field textarea:focus,
.hhsc-member-row input:focus,
.hhsc-upload:focus-within {
	border-color: var(--hhsc-red);
	outline: 3px solid rgba(215, 25, 32, .14);
}

.hhsc-members {
	margin: 1.6rem 0;
	padding: 0;
	border: 0;
}

.hhsc-members legend {
	margin-bottom: .8rem;
	font-weight: 800;
}

.hhsc-member-row {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: .75rem;
	align-items: end;
	margin-bottom: .75rem;
}

.hhsc-member-row label {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	font-size: .9rem;
	font-weight: 700;
}

.hhsc-remove-member {
	width: 2.85rem;
	height: 2.85rem;
	border: 0;
	border-radius: 8px;
	background: #f0efed;
	color: #555;
	cursor: pointer;
	font-size: 1.5rem;
}

.hhsc-remove-member:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.hhsc-upload {
	display: grid;
	gap: .55rem;
	margin: 1rem 0 1.5rem;
	padding: 1.5rem;
	border: 2px dashed #c7c3c0;
	border-radius: 14px;
	background: var(--hhsc-soft);
	color: var(--hhsc-muted);
	cursor: pointer;
	text-align: center;
}

.hhsc-upload-title {
	color: var(--hhsc-ink);
	font-size: 1.05rem;
	font-weight: 800;
}

.hhsc-upload input {
	max-width: 520px;
	margin: .4rem auto 0;
}

.hhsc-check {
	display: grid;
	grid-template-columns: 1.2rem 1fr;
	gap: .75rem;
	align-items: start;
	padding: .9rem 0;
	border-bottom: 1px solid #ebe8e5;
	cursor: pointer;
	line-height: 1.55;
}

.hhsc-check input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: .16rem;
	accent-color: var(--hhsc-red);
}

.hhsc-check a {
	color: var(--hhsc-red-dark);
	font-weight: 700;
}

.hhsc-instrumental {
	margin-bottom: 1.3rem;
	border: 1px solid var(--hhsc-line);
	border-radius: 10px;
	padding: 1rem;
}

.hhsc-confirmations {
	border-top: 1px solid #ebe8e5;
}

.hhsc-navigation {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hhsc-line);
}

.hhsc-primary-button,
.hhsc-secondary-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 46px;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	padding: .75rem 1.35rem;
	cursor: pointer;
}

.hhsc-primary-button {
	border: 1px solid var(--hhsc-red);
	background: var(--hhsc-red);
	color: var(--hhsc-white);
}

.hhsc-primary-button:hover {
	border-color: var(--hhsc-red-dark);
	background: var(--hhsc-red-dark);
}

.hhsc-secondary-button {
	border: 1px solid #aaa;
	background: var(--hhsc-white);
	color: var(--hhsc-ink);
}

.hhsc-primary-button:disabled,
.hhsc-secondary-button:disabled {
	opacity: .55;
	cursor: wait;
}

.hhsc-or {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--hhsc-muted);
}

.hhsc-or::before,
.hhsc-or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--hhsc-line);
}

.hhsc-summary {
	display: grid;
	gap: 0;
	border: 1px solid var(--hhsc-line);
	border-radius: 12px;
	overflow: hidden;
}

.hhsc-summary > div {
	display: grid;
	grid-template-columns: minmax(110px, .35fr) 1fr;
	gap: 1rem;
	padding: .9rem 1rem;
	border-bottom: 1px solid var(--hhsc-line);
}

.hhsc-summary > div:last-child {
	border-bottom: 0;
}

.hhsc-summary span {
	color: var(--hhsc-muted);
}

.hhsc-summary strong {
	overflow-wrap: anywhere;
}

.hhsc-submit-note {
	margin-top: 1.2rem;
	padding: 1rem;
	border-left: 4px solid var(--hhsc-red);
	background: var(--hhsc-soft);
}

.hhsc-notice {
	margin: 1rem 0;
	padding: 1rem 1.2rem;
	border-radius: 10px;
	border-left: 5px solid #47729e;
	background: #edf5fc;
	line-height: 1.55;
}

.hhsc-notice--success {
	border-color: var(--hhsc-success);
	background: #ebf8f0;
}

.hhsc-notice--error {
	border-color: var(--hhsc-red);
	background: #fff0f0;
}

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

.is-disabled {
	opacity: .45;
}

@media (max-width: 720px) {
	.hhsc-progress li {
		font-size: 0;
	}

	.hhsc-progress li span {
		font-size: .72rem;
	}

	.hhsc-grid,
	.hhsc-member-row {
		grid-template-columns: 1fr;
	}

	.hhsc-remove-member {
		width: 100%;
	}

	.hhsc-navigation {
		flex-direction: column-reverse;
	}

	.hhsc-navigation > span {
		display: none;
	}

	.hhsc-primary-button,
	.hhsc-secondary-button {
		width: 100%;
	}

	.hhsc-summary > div {
		grid-template-columns: 1fr;
		gap: .2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hhsc-shell * {
		scroll-behavior: auto !important;
	}
}
