/* clean-code-exception:magic_number stylesheet -- CSS geometry literals are measured figma values, not registry values */
.redesign_static {
	position: relative;
	z-index: 1;
	width: 100%;
	overflow-x: clip;
	background: transparent;
}

.redesign_static_column {
	width: 100%;
	max-width: min(var(--reading_column_max_width), 100% - 2 * var(--column_gutter_wide));
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.redesign_static_title {
	width: 100%;
	margin: 0;
	font-size: var(--font_size_page_title);
	line-height: var(--line_height_page_title);
	font-weight: var(--font_weight_regular);
	color: var(--color_white_900);
	text-align: center;
}

.redesign_static_lead {
	width: 100%;
	margin: 0;
	font-size: var(--font_size_body);
	line-height: var(--line_height_body);
	font-weight: var(--font_weight_regular);
	color: var(--color_white_900);
	text-align: right;
}

.redesign_static_body {
	width: 100%;
	margin: 0;
	font-size: var(--font_size_body);
	line-height: var(--line_height_body);
	font-weight: var(--font_weight_regular);
	color: var(--color_white_900);
	text-align: right;
	white-space: pre-line;
}

.legal_page {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 60px 0 80px;
	gap: 40px;
	position: relative;
}

.legal_page .redesign_static_column {
	gap: 40px;
}

.legal_prose {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: var(--color_white_900);
}

.matching_process .redesign_static_column {
	max-width: min(var(--reading_column_max_width), 100% - 32px);
	gap: 12px;
}

.matching_process .redesign_static_title {
	font-size: 24px;
	font-weight: var(--font_weight_medium);
	line-height: 28px;
	text-align: right;
}

.matching_process .legal_prose > p {
	font-size: var(--font_size_body);
	line-height: var(--line_height_body);
	font-weight: var(--font_weight_regular);
}

.matching_process_portrait,
.matching_process_signature {
	order: -1;
}

.matching_process_portrait {
	position: relative;
	width: 100%;
	max-width: 240px;
	aspect-ratio: 358 / 477;
	margin-inline: auto;
	--metallic_edge_width: 0px;
}

.matching_process_portrait::before {
	display: none;
}

.matching_process_portrait .stories_card_photo_frame {
	inset: 0;
	border-radius: 0;
}

.matching_process_signature {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.legal_prose .matching_process_name {
	font-size: 20px;
	line-height: 24px;
	font-weight: var(--font_weight_medium);
}

.legal_prose .matching_process_role {
	font-size: 16px;
	line-height: 24px;
}

.legal_prose h2 {
	margin: 0;
	font-size: 24px;
	line-height: 33.6px;
	font-weight: var(--font_weight_regular);
	text-align: right;
}

.legal_prose h3 {
	margin: 0;
	font-size: 18px;
	line-height: 28.8px;
	font-weight: var(--font_weight_regular);
	text-align: right;
}

.legal_prose p,
.legal_prose li {
	margin: 0;
	font-size: var(--font_size_body);
	line-height: var(--line_height_body);
	font-weight: var(--font_weight_regular);
	text-align: right;
}

.legal_terms .legal_prose h2 {
	font-size: 18px;
	line-height: 27px;
}

.legal_terms .legal_prose h3 {
	font-size: 16px;
	line-height: 24px;
}

.legal_prose ul {
	margin: 0;
	padding-inline-start: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.legal_prose a {
	color: var(--color_pink_500);
}

.legal_prose a.activate_keyboard {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	cursor: pointer;
	text-decoration: underline;
}

.legal_prose a.activate_keyboard:hover,
.legal_prose a.activate_keyboard:focus-visible {
	color: var(--color_pink_300);
}

.legal_prose a.activate_keyboard:active {
	color: var(--color_pink_700);
}

.legal_prose b {
	font-weight: var(--font_weight_regular);
}
