/**
 * Thank You page — Figma "Thank you at end" (900:7391).
 */

.rc-ty-page {
	position: relative;
	overflow: hidden;
	background-color: #f7f5ef;
	background-image:
		url("../images/founding/ellipse-lg.svg"),
		url("../images/founding/ellipse-md.svg"),
		url("../images/founding/ellipse-sm.svg"),
		url("../images/founding/ellipse-lg.svg"),
		url("../images/founding/ellipse-md.svg"),
		url("../images/founding/ellipse-sm.svg");
	background-repeat: no-repeat;
	background-size: 520px 520px, 300px 300px, 360px 360px, 520px 520px, 300px 300px, 360px 360px;
	background-position:
		-220px -220px,
		-120px -120px,
		calc(100% + 80px) -180px,
		calc(100% + 40px) 60%,
		calc(100% + 100px) 70%,
		-180px calc(100% - 40px);
}

.rc-ty-inner,
.rc-ty-shortcode {
	position: relative;
	z-index: 1;
	width: 100%;
}

.rc-ty {
	box-sizing: border-box;
	width: 100%;
	max-width: 748px;
	margin: 0 auto;
	padding: 0 48px 25px;
	background: #ffffff;
	border: 1px solid #e3dbdb;
	border-radius: 32px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	overflow: hidden;
}

.rc-ty *,
.rc-ty *::before,
.rc-ty *::after {
	box-sizing: border-box;
}

.rc-ty__hero-wrap {
	width: calc(100% + 96px);
	max-width: none;
	margin-left: -48px;
	margin-right: -48px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 32px 32px 0 0;
}

.rc-ty__hero {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	object-fit: cover;
	object-position: center top;
}

.rc-ty__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
	text-align: center;
}

.rc-ty__title {
	margin: 0;
	font-family: "Montaga", Georgia, serif;
	font-size: 29px;
	font-weight: 400;
	line-height: 1.2;
	color: #1e1e1e;
}

.rc-ty__lead {
	margin: 0;
	max-width: 652px;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	color: #4a4a4a;
}

.rc-ty__panel {
	width: 100%;
	padding: 24px;
	background: #f7f5ef;
	border: 1px solid #e3dbdb;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rc-ty__members {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.rc-ty__members-main {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 351px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rc-ty__members-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.rc-ty__members-labels {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.rc-ty__members-title {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: #1e1e1e;
}

.rc-ty__members-sub {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: #1e1e1e;
}

.rc-ty__members-count {
	margin: 0;
	flex-shrink: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	color: #1e1e1e;
	white-space: nowrap;
}

.rc-ty__badge {
	display: block;
	flex-shrink: 0;
	width: auto;
	height: 31px;
	max-width: 172px;
	object-fit: contain;
}

.rc-ty__progress {
	width: 100%;
	height: 7px;
	border-radius: 6px;
	background: rgba(30, 30, 30, 0.1);
	overflow: hidden;
}

.rc-ty__progress-fill {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: #1a4b1a;
	box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.rc-ty__next-title {
	margin: 0;
	font-family: "Montaga", Georgia, serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	color: #1a4b1a;
}

.rc-ty__next-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	width: 100%;
}

.rc-ty__next-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: #4a4a4a;
}

.rc-ty__check {
	flex: 0 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 33px;
	background: #1a4b1a;
	border: 1.5px solid #1a4b1a;
}

.rc-ty__check img {
	display: block;
	width: 12px;
	height: 12px;
}

.rc-ty__share {
	position: relative;
	width: 100%;
	padding: 20px 25px;
	border-radius: 24px;
	background-color: #093709;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.rc-ty__share-art {
	position: absolute;
	top: 0;
	width: 300px;
	height: 100%;
	opacity: 0.42;
	background-image: url("../images/founding/thankyou/share-pattern.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	pointer-events: none;
}

.rc-ty__share-art--left {
	left: -73px;
	transform: scaleY(-1) rotate(180deg);
}

.rc-ty__share-art--left::after,
.rc-ty__share-art--right::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(9, 55, 9, 0) 24.5%, #093709 76.3%);
}

.rc-ty__share-art--right {
	right: -73px;
}

.rc-ty__share-copy {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.rc-ty__share-title {
	margin: 0;
	font-family: "Montaga", Georgia, serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.25;
	color: #ffffff;
}

.rc-ty__share-text {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	color: #ffffff;
}

.rc-ty__share-btn {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 8px 15px;
	border: none;
	border-radius: 35px;
	background: #b8860b;
	color: #ffffff;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.rc-ty__share-btn img {
	display: block;
	width: 14px;
	height: 14px;
}

.rc-ty__social-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.rc-ty__social-title {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #4a4a4a;
}

.rc-ty__social-sub {
	margin: 5px 0 0;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: #1e1e1e;
}

.rc-ty__socials {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.rc-ty__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 22px;
	background: #f7f5ef;
	border: 1px solid #e3dbdb;
	text-decoration: none;
	overflow: hidden;
}

.rc-ty__social img {
	display: block;
	max-width: 20px;
	max-height: 20px;
}

.rc-ty__social--fb {
	padding: 0;
	background: transparent;
	border: none;
}

.rc-ty__social--fb img {
	max-width: 36px;
	max-height: 36px;
	width: 36px;
	height: 36px;
}

.rc-ty__social:nth-child(3) img {
	max-width: 28px;
	max-height: 28px;
}

.rc-ty__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	border-radius: 999px;
	background: #1a4b1a;
	color: #ffffff !important;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
}

.rc-ty__cta:hover {
	opacity: 0.94;
	color: #ffffff !important;
}

@media (max-width: 767px) {
	.rc-ty {
		padding: 16px 16px 20px;
		border-radius: 24px;
		gap: 16px;
	}

	.rc-ty__hero-wrap {
		width: calc(100% + 32px);
		margin-left: -16px;
		margin-right: -16px;
		border-radius: 24px 24px 0 0;
	}

	.rc-ty__title {
		font-size: 22px;
	}

	.rc-ty__members {
		flex-direction: column;
		align-items: flex-start;
	}

	.rc-ty__members-main {
		max-width: none;
		width: 100%;
	}

	.rc-ty__next-list {
		grid-template-columns: 1fr;
	}

	.rc-ty__share {
		flex-direction: column;
		align-items: flex-start;
	}

	.rc-ty__social-row {
		flex-direction: column;
		align-items: flex-start;
	}
}
