/* Legal surfaces inherit BeautyD's established palette and typography. */
.auth-form form > .btn,
.booking form > .btn {
	background: #674858;
	transition:
		background 0.18s,
		transform 0.18s;
}
.auth-form form > .btn:hover,
.booking form > .btn:hover {
	background: #563747;
}
.auth-form form > .btn:active,
.booking form > .btn:active {
	transform: translateY(1px);
}
.consent-group,
.booking-legal {
	border-top: 1px solid var(--line);
	padding-top: 22px;
	margin: 4px 0 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
label.consent-row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.65;
	font-weight: 400;
	color: #62515c;
	padding: 8px 0;
	min-height: 44px;
	cursor: pointer;
}
.consent-row input[type="checkbox"] {
	appearance: none;
	position: relative;
	width: 20px;
	height: 20px;
	min-height: 20px;
	flex: 0 0 20px;
	margin: 2px 0 0;
	padding: 0;
	border: 1px solid #bba6b2;
	border-radius: 6px;
	background: #fff;
	transition:
		background 0.18s,
		border-color 0.18s;
	cursor: pointer;
}
.consent-row input:checked {
	background: #efdee7;
	border-color: #a97b93;
}
.consent-row input:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 3px;
	width: 5px;
	height: 9px;
	border: solid #71455e;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.consent-row input:focus-visible {
	outline: 2px solid #8a5268;
	outline-offset: 4px;
}
.consent-row:hover input {
	border-color: #8a5268;
}
.consent-row a,
.privacy-note a {
	color: #785167;
	text-decoration-color: #cbb5c1;
	text-underline-offset: 4px;
}
.consent-row a:hover,
.privacy-note a:hover {
	color: #583648;
	text-decoration-color: currentColor;
}
.recipient {
	font-size: 13px;
	line-height: 1.75;
	color: #6e646d;
	max-width: 52ch;
}
.privacy-note {
	margin-left: 32px;
	font-size: 12px;
	line-height: 1.8;
}
.legal-footer {
	border-top: 1px solid var(--line);
	margin-top: 30px;
	padding-top: 18px;
}
.legal-footer nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 16px;
	font-size: 12px;
	line-height: 1.8;
}
.legal-footer a {
	color: #71626d;
	text-decoration: none;
	padding: 6px 0;
}
.legal-footer a:hover {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.legal-service-note,
.field-help {
	color: #6e646d;
	font-size: 12px;
	line-height: 1.8;
	margin-top: 14px;
}
.legal-service-note {
	margin-top: 24px;
}
.legal-service-note + .legal-footer {
	margin-top: 20px;
}
.legal-document {
	max-width: 800px;
	margin: auto;
	padding: 36px 24px 56px;
}
.legal-document > .brand {
	margin-bottom: 36px;
}
.legal-document h1 {
	font-size: 34px;
	line-height: 1.2;
	letter-spacing: -0.03em;
}
.legal-lead {
	font-size: 14px;
	color: #6e646d;
	margin-top: 14px;
}
.legal-date {
	font-size: 12px;
	color: #6e646d;
	margin: 18px 0 26px;
}
.legal-draft {
	padding: 16px 20px;
	background: var(--pink-soft);
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.7;
	color: #744c60;
	margin-bottom: 30px;
}
.legal-document article {
	max-width: 68ch;
}
.legal-document article section + section {
	margin-top: 30px;
}
.legal-document article h2 {
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 10px;
}
.legal-document article p {
	font-size: 14px;
	line-height: 1.85;
	color: #625660;
	overflow-wrap: anywhere;
}
.legal-return {
	font-size: 12px;
	line-height: 1.8;
	color: #6e646d;
	margin-top: 32px;
}
@media (max-width: 700px) {
	.legal-document {
		padding: 28px 20px 40px;
	}
	.legal-document h1 {
		font-size: 28px;
	}
	.legal-footer nav {
		gap: 4px 13px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.consent-row input[type="checkbox"],
	.auth-form form > .btn,
	.booking form > .btn {
		transition: none;
	}
}
@media (forced-colors: active) {
	.consent-row input[type="checkbox"] {
		appearance: auto;
	}
	.consent-row input::after {
		display: none;
	}
}
