.hat-pricing {
	--hat-pricing-popular-mat-scale: 1.04;
	background: #000;
	color: #fff;
	padding: clamp(48px, 3.75vw, 72px) 0 clamp(132px, 11.45vw, 220px);
}

.hat-pricing__heading {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	column-gap: clamp(24px, 7.813vw, 150px);
	margin-bottom: clamp(36px, 2.813vw, 54px);
}

.hat-pricing__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: clamp(10px, 0.781vw, 15px);
	margin: 0;
	font-size: clamp(12px, 0.833vw, 16px);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hat-pricing__eyebrow-word {
	letter-spacing: 0.2em;
}

.hat-pricing__title {
	grid-column: 2;
	justify-self: start;
	margin: 0;
	display: grid;
	grid-template-columns: auto auto;
	column-gap: clamp(10px, 0.781vw, 15px);
	row-gap: clamp(4px, 0.365vw, 7px);
	align-items: baseline;
	width: max-content;
	font-weight: 500;
	font-size: clamp(44px, 5.208vw, 100px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.hat-pricing__title-prefix {
	text-align: right;
}

.hat-pricing__title-main--gradient {
	background: linear-gradient(90deg, #FFFFFF 0%, #999999 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hat-pricing__title-main--with-wire {
	display: inline-flex;
	align-items: center;
}

.hat-pricing__title-main--with-end-blur,
.hat-pricing__title-prefix--with-start-blur {
	position: relative;
}

.hat-pricing__title-blur {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: clamp(36px, 3.385vw, 65px);
	height: clamp(76px, 6.771vw, 130px);
	pointer-events: none;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.hat-pricing__title-blur:not(.hat-pricing__title-blur--start) {
	right: clamp(-30px, -1.563vw, -12px);
	-webkit-mask-image: linear-gradient(to right, transparent, black 30%);
	mask-image: linear-gradient(to right, transparent, black 30%);
}

.hat-pricing__title-blur--start {
	left: clamp(-30px, -1.563vw, -12px);
	-webkit-mask-image: linear-gradient(to left, transparent, black 30%);
	mask-image: linear-gradient(to left, transparent, black 30%);
}

.hat-pricing__title-wire {
	width: clamp(88px, 6.563vw, 126px);
	height: auto;
	margin-left: clamp(24px, 5.208vw, 100px);
}

.hat-pricing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.823vw, 35px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hat-pricing__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(515px, 44.68vw, 858px);
	max-width: clamp(300px, 29.01vw, 557px);
	padding: clamp(20px, 1.563vw, 30px);
	background: rgba(255, 255, 255, 0.01);
	border: 1px solid rgba(255, 255, 255, 0.35);
	overflow: hidden;
	z-index: 0;
	transform: scale(1);
	transform-origin: center center;
	transition:
		transform 0.45s ease-out,
		background 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.55s ease-out;
}

.hat-pricing__card-link {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
}

.hat-pricing__card:not(.hat-pricing__card--popular):hover,
.hat-pricing__card:not(.hat-pricing__card--popular):focus-within {
	z-index: 2;
	background: rgba(255, 255, 255, 0.18);
	border-color: transparent;
	box-shadow:
		0 0 0 5px rgba(255, 255, 255, 0.95),
		0 16px 44px rgba(0, 0, 0, 0.4);
}

.hat-pricing__card--popular {
	overflow: visible;
	background: rgba(255, 255, 255);
	border-color: transparent;
	box-shadow:
		0 14px 36px rgba(0, 0, 0, 0.1),
		0 4px 14px rgba(0, 0, 0, 0.06);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.hat-pricing__card--popular::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #ffffff;
	pointer-events: none;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.45s ease-out;
}

.hat-pricing__card--popular:hover::before,
.hat-pricing__card--popular:focus-within::before {
	transform: scale(var(--hat-pricing-popular-mat-scale));
}

.hat-pricing__card--popular .hat-pricing__card-link {
	position: relative;
	z-index: 1;
}

.hat-pricing__card--popular:hover,
.hat-pricing__card--popular:focus-within {
	z-index: 2;
	background: rgba(255, 255, 255);
	border-color: transparent;
	box-shadow:
		0 26px 56px rgba(0, 0, 0, 0.14),
		0 12px 28px rgba(0, 0, 0, 0.09);
}

.hat-pricing__card--popular .hat-pricing__bg-index {
	color: rgba(21, 20, 20, 0.14);
}

.hat-pricing__card--popular,
.hat-pricing__card--popular .hat-pricing__card-link {
	color: rgba(69, 69, 69, 1);
}

.hat-pricing__card--popular .hat-pricing__duration,
.hat-pricing__card--popular .hat-pricing__features li,
.hat-pricing__card--popular .hat-pricing__price {
	color: rgba(50, 49, 49, 1);
}

.hat-pricing__card--popular .hat-pricing__card-tag {
	color: #000000;
}

.hat-pricing__card--popular .hat-pricing__card-tag::before {
	background-color: #000000;
}

.hat-pricing__card--popular .hat-pricing__card-title {
	background: linear-gradient(90deg, #000000 0%, #ffffff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
	color: transparent;
}

.hat-pricing__card--popular .hat-pricing__cta {
	background: #000000;
	color: #ffffff;
	border-color: #000000;
}

.hat-pricing__card--popular .hat-pricing__cta-icon {
	background: #ffffff;
	color: #000000;
}

.hat-pricing__duration {
	margin: 0;
	font-size: clamp(18px, 1.667vw, 32px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 2%;
}

.hat-pricing__duration-label {
	font-weight: 300;
}

.hat-pricing__badge {
	position: absolute;
	top: 0;
	right: clamp(20px, 1.563vw, 30px);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: clamp(6px, 0.521vw, 10px);
	margin: 0;
	width: clamp(132px, 10.26vw, 197px);
	height: clamp(44px, 3.125vw, 60px);
	padding: clamp(8px, 0.729vw, 14px) clamp(8px, 0.677vw, 13px) clamp(8px, 0.729vw, 14px) clamp(8px, 0.729vw, 14px);
	background: #7015E5;
	color: #fff;
	font-size: clamp(12px, 0.938vw, 18px);
	line-height: 1.2;
	z-index: 2;
}

.hat-pricing__badge-icon {
	width: clamp(20px, 1.667vw, 32px);
	height: clamp(20px, 1.667vw, 32px);
	flex-shrink: 0;
}

.hat-pricing__bg-index {
	position: absolute;
	top: clamp(16px, 1.198vw, 23px);
	left: clamp(8px, 0.625vw, 12px);
	font-size: clamp(180px, 21.927vw, 421px);
	filter: blur(clamp(6px, 0.729vw, 14px));
	line-height: 0.8;
	font-weight: 600;
	color: rgba(47, 47, 47, 0.59);
	letter-spacing: -3%;
	pointer-events: none;
	z-index: 0;
	transition: color 0.2s ease;
}

.hat-pricing__card-title,
.hat-pricing__card-tag,
.hat-pricing__features,
.hat-pricing__price,
.hat-pricing__cta,
.hat-pricing__duration {
	position: relative;
	z-index: 1;
}

.hat-pricing__card-tag {
	margin: auto 0 clamp(6px, 0.625vw, 12px);
	display: inline-flex;
	align-items: center;
	gap: clamp(5px, 0.417vw, 8px);
	font-size: clamp(14px, 1.042vw, 20px);
	font-weight: 500;
	line-height: 1.2;
	color: #ffffff;
	text-transform: lowercase;
	width: fit-content;
}

.hat-pricing__card-tag::before {
	content: "";
	flex-shrink: 0;
	width: clamp(14px, 1.042vw, 20px);
	height: clamp(14px, 1.042vw, 20px);
	background-color: #ffffff;
	-webkit-mask-image: url("../images/star.svg");
	mask-image: url("../images/star.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.hat-pricing__card-title {
	margin: auto 0 clamp(22px, 2.292vw, 44px);
	font-size: clamp(34px, 3.385vw, 65px);
	line-height: 0.95;
	font-weight: 500;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.hat-pricing__card-tag + .hat-pricing__card-title {
	margin-top: 0;
}

.hat-pricing__cta {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(10px, 1.354vw, 26px);
	width: 100%;
	max-width: clamp(267px, 21.146vw, 406px);
	min-height: clamp(56px, 4.427vw, 85px);
	height: auto;
	margin-top: clamp(18px, 1.563vw, 30px);
	padding: clamp(13px, 1.042vw, 20px) clamp(22px, 1.927vw, 37px) clamp(12px, 0.99vw, 19px);
	background: #fff;
	border: clamp(1px, 0.104vw, 2px) solid #fff;
	color: #000;
	font-family: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
	font-size: clamp(13px, 1.25vw, 24px);
	font-weight: 600;
	line-height: clamp(16px, 1.51vw, 29px);
	letter-spacing: 0.01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hat-pricing__cta-text {
	flex: 1 1 auto;
	font-size: inherit;
	line-height: inherit;
	text-align: center;
	white-space: nowrap;
}

.hat-pricing__cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(36px, 2.969vw, 57px);
	height: clamp(36px, 3.021vw, 58px);
	flex: 0 0 clamp(36px, 2.969vw, 57px);
	background: #000;
	color: #fff;
}

.hat-pricing__cta-icon svg {
	width: clamp(22px, 1.823vw, 35px);
	height: clamp(22px, 1.823vw, 35px);
	display: block;
}

.hat-pricing__features {
	margin: 0 0 clamp(20px, 2.292vw, 44px);
	padding: 0;
	list-style: none;
	display: grid;
	gap: clamp(6px, 0.521vw, 10px);
}

.hat-pricing__features li {
	position: relative;
	padding-left: calc(clamp(18px, 1.25vw, 24px) + clamp(8px, 0.521vw, 10px));
	font-size: clamp(16px, 1.146vw, 22px);
	font-weight: 300;
	line-height: 1.35;
}

.hat-pricing__features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.12em;
	width: clamp(18px, 1.25vw, 24px);
	height: clamp(18px, 1.25vw, 24px);
	background: url("../images/light_check.svg") no-repeat center / contain;
}

.hat-pricing__card--popular .hat-pricing__features li::before {
	background: none;
	background-color: rgba(50, 49, 49, 1);
	-webkit-mask-image: url("../images/light_check.svg");
	mask-image: url("../images/light_check.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.hat-pricing__price {
	margin: 0;
	font-size: clamp(44px, 5.208vw, 100px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

@media (max-width: 1100px) {
	.hat-pricing__grid {
		grid-template-columns: 1fr;
	}

	.hat-pricing__card {
		min-height: auto;
		max-width: none;
		width: 100%;
	}

	.hat-pricing__cta {
		max-width: none;
	}
}

@media (min-width: 600px) and (max-width: 1100px) {
	.hat-pricing__duration {
		margin-bottom: 14px;
	}
}

@media (max-width: 640px) {
	.hat-pricing {
		padding: 40px 0 60px;
	}

	.hat-pricing__heading {
		grid-template-columns: 1fr;
		row-gap: 14px;
		margin-bottom: 24px;
	}

	.hat-pricing__eyebrow {
		gap: 8px;
		font-size: 14px;
		letter-spacing: 0.04em;
		text-transform: uppercase;
	}

	.hat-pricing__title {
		grid-column: 1;
		font-size: clamp(24px, 9.3vw, 40px);
	}

	.hat-pricing__title-wire {
		width: 38px;
		height: auto;
	}

	/*.hat-pricing__title-blur {*/
	/*	display: none;*/
	/*}*/

	.hat-pricing__grid {
		gap: 15px;
	}

	.hat-pricing__card {
		max-width: none;
		min-height: 485px;
		padding: 11px 9px 13px;
		background: rgba(0, 0, 0, 0.14);
		border: 1px solid #999999;
	}

	.hat-pricing__card--popular {
		background: rgba(255, 255, 255, 0.19);
		border-color: transparent;
		box-shadow:
			0 12px 32px rgba(0, 0, 0, 0.12),
			0 4px 12px rgba(0, 0, 0, 0.06);
	}

	.hat-pricing__duration {
		font-size: 14px;
		font-weight: 300;
		line-height: 17px;
		letter-spacing: 0.02em;
		text-transform: uppercase;
	}

	.hat-pricing__badge {
		top: 11px;
		right: 9px;
		width: auto;
		min-width: 138px;
		height: 42px;
		padding: 9px 10px;
		gap: 2px;
		background: #7015E5;
		font-size: 13px;
		font-weight: 500;
		line-height: 16px;
		letter-spacing: 0.01em;
		color: #E7E6E6;
	}

	.hat-pricing__badge-icon {
		width: 22px;
		height: 22px;
	}

	.hat-pricing__bg-index {
		display: block;
		top: 0;
		left: -8px;
		font-size: 220px;
		filter: blur(8px);
		color: rgba(70, 70, 70, 0.6);
	}

	.hat-pricing__card--popular .hat-pricing__bg-index {
		color: rgba(21, 20, 20, 0.14);
	}

	.hat-pricing__card-title {
		margin: auto 0 0;
		font-size: 32px;
		line-height: 39px;
		font-weight: 500;
		letter-spacing: -0.01em;
	}

	.hat-pricing__card-tag {
		margin: auto 0 0;
		gap: 6px;
		font-size: 13px;
		font-weight: 500;
		line-height: 16px;
		text-transform: none;
	}

	.hat-pricing__card-tag::before {
		width: 16px;
		height: 16px;
	}

	.hat-pricing__card-tag + .hat-pricing__card-title {
		margin-top: 6px;
	}

	.hat-pricing__cta {
		max-width: none;
		width: 100%;
		min-height: clamp(45px, 13.74vw, 54px);
		height: auto;
		margin-top: 20px;
		padding: clamp(8px, 2.29vw, 9px);
		font-size: clamp(13px, 4.07vw, 16px);
		font-weight: 600;
		line-height: clamp(16px, 4.83vw, 19px);
		letter-spacing: 0.01em;
		gap: clamp(10px, 3.05vw, 12px);
		border-width: clamp(1px, 0.51vw, 2px);
	}

	.hat-pricing__cta-icon {
		width: clamp(30px, 9.16vw, 36px);
		height: clamp(30px, 9.16vw, 36px);
		flex-basis: clamp(30px, 9.16vw, 36px);
	}

	.hat-pricing__cta-icon svg {
		width: clamp(18px, 5.6vw, 22px);
		height: clamp(18px, 5.6vw, 22px);
	}

	.hat-pricing__features {
		margin: 16px 0 30px;
		gap: 9px;
	}

	.hat-pricing__features li {
		padding-left: 27px;
		font-size: 15px;
		font-weight: 500;
		line-height: 18px;
		letter-spacing: 0.02em;
	}

	.hat-pricing__features li::before {
		top: 0;
		width: 18px;
		height: 18px;
	}

	.hat-pricing__price {
		font-size: 40px;
		line-height: 48px;
		letter-spacing: 0;
	}
}
