.hcc-page {
	--hcc-accent: #ef7f1a;
	--hcc-accent-dark: #c85d00;
	--hcc-ink: #3f3b39;
	--hcc-muted: #6f6a67;
	--hcc-border: #dedad7;
	--hcc-surface: #f8f7f6;
	padding: 64px 20px 96px;
	color: var(--hcc-ink);
	font-size: 16px;
	line-height: 1.8;
}

.hcc-page *,
.hcc-page *::before,
.hcc-page *::after {
	box-sizing: border-box;
}

.hcc-container {
	width: min(100%, 960px);
	margin: 0 auto;
}

.hcc-intro {
	margin-bottom: 48px;
	text-align: center;
}

.hcc-intro h2 {
	margin: 0 0 14px;
	font-size: clamp(24px, 4vw, 36px);
	line-height: 1.45;
}

.hcc-intro p,
.hcc-guide,
.hcc-required-note,
.hcc-consent-status {
	margin: 0;
}

.hcc-section {
	margin-top: 56px;
}

.hcc-section:first-of-type {
	margin-top: 0;
}

.hcc-section-heading {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.hcc-section-heading h3 {
	margin: 0;
	font-size: 25px;
	line-height: 1.4;
}

.hcc-step {
	display: inline-grid;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 50%;
	background: var(--hcc-accent);
	color: #fff;
	font-weight: 700;
	line-height: 1;
}

.hcc-guide {
	margin-bottom: 12px;
	color: var(--hcc-muted);
}

.hcc-scroll-box {
	height: 360px;
	overflow-y: auto;
	padding: 28px 32px;
	border: 1px solid #bdb8b5;
	background: #fff;
	box-shadow: inset 0 1px 4px rgb(0 0 0 / 6%);
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.hcc-scroll-box:focus-visible {
	outline: 3px solid rgb(239 127 26 / 35%);
	outline-offset: 2px;
}

.hcc-scroll-box h4 {
	margin: 0 0 24px;
	font-size: 21px;
	text-align: center;
}

.hcc-scroll-box h4:not(:first-child) {
	margin-top: 34px;
}

.hcc-scroll-box h5 {
	margin: 28px 0 8px;
	font-size: 17px;
}

.hcc-scroll-box p {
	margin: 0 0 10px;
}

.hcc-scroll-box ol {
	margin: 12px 0 0;
	padding-left: 1.7em;
}

.hcc-scroll-box li + li {
	margin-top: 7px;
}

.hcc-scroll-box address {
	font-style: normal;
}

.hcc-scroll-box--privacy {
	height: 320px;
}

.hcc-consent {
	margin-top: 20px;
	padding: 22px 24px;
	border: 1px solid var(--hcc-border);
	background: var(--hcc-surface);
	text-align: center;
}

.hcc-consent label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	cursor: pointer;
}

.hcc-consent input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--hcc-accent);
}

.hcc-consent--locked label {
	color: #999;
	cursor: not-allowed;
}

.hcc-consent-status {
	margin-top: 7px;
	color: var(--hcc-accent-dark);
	font-size: 14px;
}

.hcc-consent--unlocked {
	border-color: #f0b47d;
	background: #fff8f1;
}

.hcc-consent--unlocked label {
	color: var(--hcc-ink);
	cursor: pointer;
}

.hcc-required-note {
	margin: -4px 0 12px;
	text-align: right;
}

.hcc-required-note span {
	color: #c64032;
	font-weight: 700;
}

.hcc-form-table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid var(--hcc-border);
	background: #fff;
}

.hcc-form-table th,
.hcc-form-table td {
	padding: 22px 20px;
	border-bottom: 1px solid var(--hcc-border);
	vertical-align: middle;
}

.hcc-form-table th {
	width: 34%;
	background: var(--hcc-surface);
	text-align: left;
	font-weight: 700;
}

.hcc-form-table th > label {
	display: inline;
}

.hcc-required,
.hcc-optional {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 7px;
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: 2px;
}

.hcc-required {
	background: var(--hcc-accent);
}

.hcc-optional {
	background: #8a8582;
}

.hcc-form input[type="text"],
.hcc-form select {
	width: min(100%, 430px);
	min-height: 46px;
	padding: 9px 12px;
	border: 1px solid #aaa5a2;
	border-radius: 3px;
	background: #fff;
	color: var(--hcc-ink);
	font: inherit;
	line-height: 1.4;
}

.hcc-form input[type="text"]:focus,
.hcc-form select:focus {
	border-color: var(--hcc-accent);
	outline: 3px solid rgb(239 127 26 / 20%);
}

.hcc-name-fields {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
}

.hcc-name-fields label {
	display: grid;
	grid-template-columns: auto minmax(120px, 180px);
	align-items: center;
	gap: 8px;
}

.hcc-name-fields input[type="text"] {
	width: 100%;
}

.hcc-address-fields {
	display: grid;
	gap: 14px;
}

.hcc-address-fields > label {
	display: grid;
	gap: 5px;
	color: var(--hcc-muted);
	font-size: 14px;
	font-weight: 700;
}

.hcc-address-fields input[type="text"] {
	width: min(100%, 520px);
	color: var(--hcc-ink);
	font-size: 16px;
	font-weight: 400;
}

.hcc-address-fields select {
	width: min(100%, 220px);
	color: var(--hcc-ink);
	font-size: 16px;
	font-weight: 400;
}

.hcc-zip {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--hcc-ink);
	font-size: 16px;
	font-weight: 400;
}

.hcc-zip input[type="text"] {
	width: min(100%, 200px);
}

.hcc-consent--privacy {
	margin-top: 18px;
}

.hcc-submit {
	margin: 46px 0 0;
	text-align: center;
}

.hcc-submit input[type="submit"] {
	min-width: 240px;
	min-height: 56px;
	padding: 12px 34px;
	border: 0;
	border-radius: 4px;
	background: var(--hcc-accent);
	box-shadow: 0 3px 0 var(--hcc-accent-dark);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hcc-submit input[type="submit"]:hover,
.hcc-submit input[type="submit"]:focus-visible {
	background: #dc6e0b;
}

.hcc-submit input[type="submit"]:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 var(--hcc-accent-dark);
}

@media (max-width: 769px) {
	.hcc-page {
		padding: 42px 16px 72px;
		font-size: 15px;
	}

	.hcc-intro {
		margin-bottom: 36px;
	}

	.hcc-section {
		margin-top: 44px;
	}

	.hcc-section-heading {
		gap: 10px;
	}

	.hcc-section-heading h3 {
		font-size: 21px;
	}

	.hcc-step {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
	}

	.hcc-scroll-box,
	.hcc-scroll-box--privacy {
		height: 300px;
		padding: 22px 18px;
	}

	.hcc-scroll-box h4 {
		font-size: 18px;
	}

	.hcc-scroll-box h5 {
		font-size: 16px;
	}

	.hcc-consent {
		padding: 18px 14px;
	}

	.hcc-required-note {
		text-align: left;
	}

	.hcc-form-table,
	.hcc-form-table tbody,
	.hcc-form-table tr,
	.hcc-form-table th,
	.hcc-form-table td {
		display: block;
		width: 100%;
	}

	.hcc-form-table tr {
		border-bottom: 1px solid var(--hcc-border);
	}

	.hcc-form-table th,
	.hcc-form-table td {
		border-bottom: 0;
	}

	.hcc-form-table th {
		padding: 14px 16px;
	}

	.hcc-form-table td {
		padding: 16px 16px 22px;
	}

	.hcc-form input[type="text"],
	.hcc-form select {
		width: 100%;
		font-size: 16px;
	}

	.hcc-name-fields {
		display: grid;
		gap: 12px;
	}

	.hcc-name-fields label {
		grid-template-columns: 1.2em minmax(0, 1fr);
	}

	.hcc-submit input[type="submit"] {
		width: min(100%, 320px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hcc-submit input[type="submit"] {
		transition: none;
	}
}
