:root {
	--kala-ink: #17384b;
	--kala-muted: #17384b;
	--kala-line: #e1e4e5;
	--kala-premium: #08aabd;
	--kala-premium-dark: #079daf;
	--kala-essential: #4a8fbe;
	--kala-essential-light: #68c7e5;
	--kala-sale: #e76650;
	--kala-gold: #f0c414;
}

html {
	scroll-behavior: smooth;
}

body.kala-purchase-page {
	margin: 0;
	background: #fff;
	color: var(--kala-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 18px;
	line-height: 1.45;
}

.kala-sandbox-banner {
	padding: 8px 16px;
	background: #17384b;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}

body.kala-onboarding-active .kala-purchase {
	display: none !important;
}

.kala-purchase-page * {
	box-sizing: border-box;
}

.kala-purchase-page button,
.kala-purchase-page a {
	font: inherit;
}

.kala-purchase {
	width: 100%;
	min-height: 100vh;
	padding: 48px 28px 38px;
}

.kala-purchase__header {
	position: relative;
	margin: 0 auto 72px;
	text-align: center;
}

.kala-purchase__back {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--kala-sale);
	text-decoration: none;
	transition: transform 180ms ease;
}

.kala-purchase__back svg {
	width: 44px;
	height: 44px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

.kala-purchase__back:hover,
.kala-purchase__back:focus-visible {
	color: var(--kala-sale);
	transform: translateX(-4px);
}

.kala-purchase__back:focus-visible {
	outline: 3px solid var(--kala-ink);
	outline-offset: 4px;
}

.kala-purchase__header h1 {
	margin: 0 0 48px;
	color: var(--kala-ink);
	font-size: clamp(42px, 4vw, 64px);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.05;
	animation: kala-heading-in 620ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.kala-billing-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(30px, 4vw, 68px);
	animation: kala-fade-up 520ms 110ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.kala-billing-tab {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px;
	border: 0;
	border-radius: 30px;
	background: transparent;
	color: #1e242b;
	cursor: pointer;
	font-size: clamp(18px, 1.65vw, 25px);
	line-height: 1;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.kala-purchase button.kala-billing-tab,
.kala-purchase button.kala-billing-tab:hover,
.kala-purchase button.kala-billing-tab:focus,
.kala-purchase button.kala-billing-tab:active,
.kala-purchase button.kala-billing-tab[aria-selected="true"] {
	color: #1e242b;
	-webkit-text-fill-color: #1e242b;
}

.kala-billing-tab[aria-selected="true"] {
	background: rgba(231, 102, 80, 0.1);
	font-weight: 700;
}

.kala-billing-tab__dot {
	position: relative;
	display: block;
	width: 35px;
	height: 35px;
	border: 2px solid #252c33;
	border-radius: 50%;
	background: #fff;
	transition: border-color 180ms ease, transform 180ms ease;
}

.kala-billing-tab__dot::after {
	position: absolute;
	inset: 5px;
	border-radius: inherit;
	background: var(--kala-sale);
	content: "";
	transform: scale(0);
	transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kala-billing-tab[aria-selected="true"] .kala-billing-tab__dot::after {
	transform: scale(1);
}

.kala-billing-tab small {
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--kala-sale);
	color: #fff;
	-webkit-text-fill-color: #fff;
	font-size: 15px;
	font-weight: 750;
	white-space: nowrap;
}

.kala-billing-tab:focus-visible,
.kala-plan__button:focus-visible,
.kala-purchase__footer a:focus-visible {
	outline: 3px solid #182b3f;
	outline-offset: 4px;
}

.kala-plans {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 560px));
	align-items: center;
	justify-content: center;
	gap: clamp(28px, 3.2vw, 58px);
	max-width: 1260px;
	margin: 0 auto;
}

.kala-plans:not([hidden]) {
	animation: kala-panel-in 380ms ease-out backwards;
}

.kala-plans[hidden] {
	display: none;
}

.kala-plans--with-sale {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1840px;
}

.kala-plans:not(.kala-plans--with-sale) .kala-plan:only-child {
	grid-column: 1 / -1;
	width: min(100%, 560px);
	justify-self: center;
}

.kala-plan {
	--kala-plan-color: var(--kala-premium);
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 620px;
	padding: 44px 42px 30px;
	border: 4px solid var(--kala-plan-custom-color, var(--kala-line));
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(30, 46, 64, 0);
	transition: border-color 220ms ease, box-shadow 260ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kala-plans:not([hidden]) .kala-plan {
	animation: kala-card-in 560ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.kala-plans:not([hidden]) .kala-plan:nth-child(2) {
	animation-delay: 90ms;
}

.kala-plans:not([hidden]) .kala-plan:nth-child(3) {
	animation-delay: 180ms;
}

.kala-plan--sale {
	min-height: 680px;
	--kala-plan-color: var(--kala-sale);
	border-color: var(--kala-plan-color);
}

.kala-plan--essential {
	--kala-plan-color: var(--kala-essential);
	border-color: var(--kala-plan-custom-color, var(--kala-line));
}

.kala-plan__badge {
	position: absolute;
	top: 0;
	left: 50%;
	margin: 0;
	padding: 8px 17px;
	border-radius: 7px;
	background: var(--kala-plan-color);
	color: #fff;
	font-size: 16px;
	font-weight: 750;
	line-height: 1;
	transform: translate(-50%, -54%);
	transition: box-shadow 220ms ease, transform 220ms ease;
	white-space: nowrap;
}

.kala-plan--sale .kala-plan__badge {
	background: var(--kala-plan-color);
}

.kala-plan--essential .kala-plan__badge {
	background: var(--kala-plan-color);
}

.kala-plan--sale .kala-plan__badge::before,
.kala-plan--sale .kala-plan__badge::after {
	color: #ffe76b;
	content: "\2726";
}

.kala-plan--sale .kala-plan__badge::before {
	margin-right: 7px;
}

.kala-plan--sale .kala-plan__badge::after {
	margin-left: 7px;
}

.kala-plan__heading {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 56px;
	margin-bottom: 17px;
}

.kala-plan__heading h2 {
	margin: 0;
	color: var(--kala-plan-color);
	font-size: clamp(26px, 2vw, 32px);
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.kala-plan--sale .kala-plan__heading h2 {
	color: var(--kala-plan-color);
}

.kala-plan--essential .kala-plan__heading h2 {
	color: var(--kala-plan-color);
}

.kala-plan__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	color: #080f16;
	line-height: 1.1;
}

.kala-plan__price strong {
	font-size: clamp(40px, 3.2vw, 56px);
	font-weight: 780;
	letter-spacing: -0.035em;
}

.kala-plan__price span {
	font-size: clamp(20px, 1.8vw, 28px);
}

.kala-plan__description {
	min-height: 58px;
	margin: 4px 0 24px;
	color: var(--kala-muted);
	font-size: clamp(17px, 1.35vw, 23px);
	line-height: 1.35;
}

.kala-plan__features {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0 0 29px;
	border-bottom: 2px solid #ddd;
	color: #1f252c;
	font-size: clamp(17px, 1.3vw, 22px);
	line-height: 1.35;
	list-style: none;
}

.kala-plan__features li {
	display: grid;
	grid-template-columns: 35px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
}

.kala-plan__features li > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--kala-plan-color);
	color: #fff;
	font-size: 23px;
	font-weight: 700;
	line-height: 1;
	transition: transform 180ms ease;
}

.kala-plan--sale .kala-plan__features li > span {
	background: var(--kala-plan-color);
}

.kala-plan--essential .kala-plan__features li > span {
	background: var(--kala-plan-color);
}

.kala-plan__action {
	margin-top: auto;
	padding-top: 30px;
	text-align: center;
}

.kala-plan__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 74px;
	padding: 15px 22px;
	border-radius: 999px;
	background: var(--kala-plan-custom-color, linear-gradient(100deg, #22bdca, var(--kala-premium-dark)));
	box-shadow: 0 5px 7px rgba(25, 45, 62, 0.2);
	color: #fff;
	font-size: clamp(17px, 1.4vw, 23px);
	font-weight: 750;
	line-height: 1.15;
	text-decoration: none;
	overflow: hidden;
	transition: box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.kala-plan__button::after {
	position: absolute;
	top: -80%;
	left: -45%;
	width: 30%;
	height: 260%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
	content: "";
	transform: rotate(18deg);
	transition: left 520ms ease;
}

.kala-plan--sale .kala-plan__button {
	background: var(--kala-plan-custom-color, var(--kala-sale));
}

.kala-plan--essential .kala-plan__button {
	background: var(--kala-plan-custom-color, linear-gradient(100deg, var(--kala-essential-light), var(--kala-essential)));
}

a.kala-plan__button:hover {
	box-shadow: 0 9px 18px rgba(25, 45, 62, 0.24);
	color: #fff;
	filter: brightness(0.96) saturate(1.08);
	transform: translateY(-3px);
}

a.kala-plan__button:hover::after {
	left: 115%;
}

.kala-plan__button--disabled {
	cursor: not-allowed;
	filter: grayscale(1);
	opacity: 0.55;
}

.kala-plan__action p {
	margin: 13px 0 0;
	color: var(--kala-ink);
	font-size: 15px;
}

.kala-ratings {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 18px;
	margin: 68px auto 72px;
}

.kala-rating {
	position: relative;
	display: grid;
	grid-template-columns: 54px minmax(120px, auto);
	align-items: center;
	column-gap: 12px;
	min-width: 250px;
	min-height: 128px;
	padding: 20px 42px;
	color: #18202a;
	font-size: 14px;
	line-height: 1.25;
	animation: kala-fade-up 520ms 260ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
	transition: border-color 180ms ease, transform 220ms ease;
}

.kala-rating:nth-child(2) {
	animation-delay: 340ms;
}

.kala-rating strong {
	font-size: 16px;
}

.kala-rating__wreath {
	position: absolute;
	z-index: 0;
	display: block;
	top: 50%;
	width: 62px;
	height: 96px;
	pointer-events: none;
	object-fit: contain;
}

.kala-rating__wreath--left {
	left: -1px;
	transform: translateY(-50%);
}

.kala-rating__wreath--right {
	right: -1px;
	transform: translateY(-50%);
}

/* Keep a consistent gap between the inner wreaths at tablet widths. */
@media (min-width: 641px) and (max-width: 1024px) {
	.kala-rating__wreath--left {
		left: -6px;
	}

	.kala-rating__wreath--right {
		right: -6px;
	}
}

@media (max-width: 640px) {
	.kala-rating__wreath--left {
		left: -20px;
	}

	.kala-rating__wreath--right {
		right: -20px;
	}
}

.kala-rating__store {
	position: relative;
	z-index: 1;
	grid-row: 1 / span 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kala-rating > strong,
.kala-rating > span {
	position: relative;
	z-index: 1;
}

.kala-rating__store svg {
	display: block;
	width: 48px;
	height: 52px;
}

.kala-rating__store--apple svg {
	fill: #0d131a;
}

.kala-rating__stars {
	color: var(--kala-gold);
	font-size: 18px;
	letter-spacing: 1px;
	white-space: nowrap;
}

.kala-purchase__footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	color: #1c252d;
	font-size: 17px;
	text-align: center;
	animation: kala-fade-up 480ms 420ms ease-out backwards;
}

.kala-purchase__footer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 160ms ease, text-underline-offset 160ms ease;
}

body.kala-checkout-open {
	overflow: hidden;
}

.kala-checkout-modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 28px;
	background: rgba(16, 28, 40, 0.38);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}

.kala-checkout-modal[hidden] {
	display: none;
}

.kala-checkout-modal.is-open {
	opacity: 1;
	pointer-events: auto;
	animation: kala-modal-backdrop-in 280ms ease-out both;
}

.kala-checkout-modal__window {
	display: flex;
	flex-direction: column;
	width: min(1120px, 96vw);
	height: min(850px, 92vh);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 30px 90px rgba(8, 18, 28, 0.32);
	transform: translateY(20px) scale(0.98);
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.kala-checkout-modal.is-open .kala-checkout-modal__window {
	transform: translateY(0) scale(1);
	animation: kala-modal-window-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kala-checkout-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
	padding: 12px 16px 12px 24px;
	border-bottom: 1px solid var(--kala-line);
	background: #fff;
}

.kala-checkout-modal__header h2 {
	margin: 0;
	color: var(--kala-ink);
	font-size: 21px;
	font-weight: 750;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.kala-checkout-modal.is-open .kala-checkout-modal__header h2 {
	animation: kala-modal-title-in 360ms 110ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.kala-checkout-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #eef2f4;
	color: var(--kala-ink);
	cursor: pointer;
	font-size: 32px;
	line-height: 1;
	transition: background-color 160ms ease, transform 160ms ease;
}

.kala-checkout-modal button.kala-checkout-modal__close,
.kala-checkout-modal button.kala-checkout-modal__close:hover,
.kala-checkout-modal button.kala-checkout-modal__close:focus,
.kala-checkout-modal button.kala-checkout-modal__close:active {
	background: #eef2f4;
	color: var(--kala-ink);
	-webkit-text-fill-color: var(--kala-ink);
}

.kala-checkout-modal__close:hover {
	background: #e2e8eb !important;
	transform: rotate(5deg) scale(1.05);
}

.kala-checkout-modal__close:focus-visible {
	outline: 3px solid var(--kala-sale);
	outline-offset: 2px;
}

.kala-checkout-modal__body {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	background: #f4f6f7;
}

.kala-checkout-modal__body::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 38px;
	height: 38px;
	margin: -19px 0 0 -19px;
	border: 4px solid #d7e0e4;
	border-top-color: var(--kala-sale);
	border-radius: 50%;
	animation: kala-checkout-spin 800ms linear infinite;
	content: "";
}

.kala-checkout-modal.is-loaded .kala-checkout-modal__body::before {
	display: none;
}

.kala-checkout-modal iframe {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #fff;
}

.kala-checkout-modal__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 20px;
	border-top: 1px solid var(--kala-line);
	background: #fff;
	font-size: 14px;
}

.kala-checkout-modal__footer a {
	color: var(--kala-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@keyframes kala-checkout-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes kala-modal-backdrop-in {
	from {
		opacity: 0;
		-webkit-backdrop-filter: blur(0);
		backdrop-filter: blur(0);
	}

	to {
		opacity: 1;
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}
}

@keyframes kala-modal-window-in {
	from {
		opacity: 0;
		transform: translateY(32px) scale(0.955);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes kala-modal-title-in {
	from {
		opacity: 0;
		transform: translateX(-12px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (hover: hover) {
	.kala-billing-tab:hover {
		background: rgba(231, 102, 80, 0.1);
		transform: translateY(-2px);
	}

	.kala-billing-tab:hover .kala-billing-tab__dot {
		border-color: var(--kala-sale);
		transform: scale(1.06);
	}

	.kala-plan:hover {
		border-color: #86bcb6;
		box-shadow: 0 20px 48px rgba(30, 46, 64, 0.14);
		transform: translateY(-8px);
	}

	.kala-plan--sale:hover {
		border-color: var(--kala-sale);
		box-shadow: 0 22px 54px rgba(231, 102, 80, 0.18);
	}

	.kala-plan--essential:hover {
		border-color: #a9b5eb;
	}

	.kala-plan:hover .kala-plan__badge {
		box-shadow: 0 7px 18px rgba(30, 46, 64, 0.16);
		transform: translate(-50%, -62%);
	}

	.kala-plan:hover .kala-plan__features li > span {
		transform: scale(1.05);
	}

	.kala-rating:hover {
		border-color: #d7aa12;
		transform: translateY(-4px);
	}

	.kala-purchase__footer a:hover {
		color: var(--kala-sale);
		text-underline-offset: 5px;
	}
}

@keyframes kala-heading-in {
	from {
		opacity: 0;
		transform: translateY(-18px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes kala-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes kala-panel-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes kala-card-in {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.985);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 1280px) {
	.kala-purchase {
		padding-right: 22px;
		padding-left: 22px;
	}

	.kala-plans--with-sale {
		gap: 22px;
	}

	.kala-plan {
		padding-right: 28px;
		padding-left: 28px;
	}

	.kala-plan__features li {
		grid-template-columns: 31px minmax(0, 1fr);
		gap: 9px;
	}

	.kala-plan__features li > span {
		width: 30px;
		height: 30px;
		font-size: 20px;
	}
}

@media (min-width: 981px) {
	.kala-purchase {
		padding-top: 34px;
		padding-bottom: 30px;
	}

	.kala-purchase__header {
		margin-bottom: 52px;
	}

	.kala-purchase__header h1 {
		margin-bottom: 34px;
		font-size: clamp(36px, 3vw, 48px);
	}

	.kala-purchase__back {
		width: 38px;
		height: 38px;
	}

	.kala-purchase__back svg {
		width: 33px;
		height: 33px;
	}

	.kala-billing-tabs {
		gap: clamp(28px, 3vw, 48px);
	}

	.kala-billing-tab {
		gap: 8px;
		font-size: clamp(17px, 1.35vw, 20px);
	}

	.kala-billing-tab__dot {
		width: 29px;
		height: 29px;
	}

	.kala-billing-tab__dot::after {
		inset: 4px;
	}

	.kala-billing-tab small {
		min-height: 24px;
		padding: 3px 11px;
		font-size: 13px;
	}

	.kala-plans {
		grid-template-columns: repeat(2, minmax(0, 420px));
		gap: 34px;
		max-width: 880px;
	}

	.kala-plans--with-sale {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 30px;
		max-width: 1320px;
	}

	.kala-plan {
		min-height: 500px;
		padding: 34px 28px 22px;
		border-width: 3px;
		border-radius: 22px;
	}

	.kala-plan--sale {
		min-height: 540px;
	}

	.kala-plan__badge {
		padding: 6px 13px;
		font-size: 13px;
	}

	.kala-plan__heading {
		min-height: 43px;
		margin-bottom: 12px;
	}

	.kala-plan__heading h2 {
		font-size: clamp(22px, 1.7vw, 27px);
	}

	.kala-plan__price {
		gap: 6px;
	}

	.kala-plan__price strong {
		font-size: clamp(34px, 2.65vw, 42px);
	}

	.kala-plan__price span {
		font-size: clamp(17px, 1.45vw, 21px);
	}

	.kala-plan__description {
		min-height: 42px;
		margin: 3px 0 18px;
		font-size: clamp(15px, 1.15vw, 17px);
	}

	.kala-plan__features {
		gap: 11px;
		padding-bottom: 20px;
		font-size: clamp(15px, 1.1vw, 17px);
	}

	.kala-plan__features li {
		grid-template-columns: 27px minmax(0, 1fr);
		gap: 9px;
	}

	.kala-plan__features li > span {
		width: 26px;
		height: 26px;
		font-size: 18px;
	}

	.kala-plan__action {
		padding-top: 22px;
	}

	.kala-plan__button {
		min-height: 56px;
		padding: 12px 18px;
		font-size: clamp(15px, 1.15vw, 18px);
	}

	.kala-plan__action p {
		margin-top: 9px;
		font-size: 13px;
	}

	.kala-ratings {
		gap: 28px;
		margin-top: 52px;
		margin-bottom: 58px;
	}

	.kala-rating {
		grid-template-columns: 52px minmax(110px, auto);
		min-width: 215px;
		padding: 12px 24px;
		font-size: 12px;
	}

	.kala-rating strong {
		font-size: 14px;
	}

	.kala-rating__wreath {
		width: 62px;
		height: 96px;
	}

	.kala-rating__store svg {
		width: 39px;
		height: 42px;
	}

	.kala-rating__stars {
		font-size: 15px;
	}

	.kala-purchase__footer {
		font-size: 15px;
	}
}

@media (max-width: 980px) {
	.kala-purchase__header {
		margin-bottom: 58px;
	}

	.kala-plans,
	.kala-plans--with-sale {
		grid-template-columns: minmax(0, 620px);
		gap: 52px;
		max-width: 620px;
	}

	.kala-plan,
	.kala-plan--sale {
		min-height: 0;
	}

	.kala-plan__description {
		min-height: 0;
	}

	.kala-ratings {
		margin-top: 58px;
	}
}

@media (max-width: 640px) {
	body.kala-purchase-page {
		font-size: 16px;
	}

	.kala-purchase {
		padding: 34px 16px 28px;
	}

	.kala-purchase__header {
		margin-bottom: 50px;
	}

	.kala-purchase__header h1 {
		margin-bottom: 34px;
		font-size: 40px;
	}

	.kala-purchase__back {
		top: -4px;
		width: 42px;
		height: 42px;
	}

	.kala-purchase__back svg {
		width: 36px;
		height: 36px;
	}

	.kala-billing-tabs {
		align-items: stretch;
		gap: 7px;
	}

	.kala-billing-tab {
		position: relative;
		justify-content: center;
		min-width: 0;
		padding: 10px;
		border: 2px solid var(--kala-line);
		font-size: 16px;
	}

	.kala-billing-tab[aria-selected="true"] {
		border-color: var(--kala-sale);
	}

	.kala-billing-tab__dot {
		display: none;
	}

	.kala-billing-tab small {
		position: absolute;
		top: 100%;
		left: 50%;
		min-height: 0;
		padding: 3px 9px;
		font-size: 11px;
		transform: translate(-50%, 5px);
	}

	.kala-plan {
		padding: 38px 22px 24px;
		border-width: 3px;
		border-radius: 22px;
	}

	.kala-plan__heading {
		min-height: 42px;
		margin-bottom: 12px;
	}

	.kala-plan__heading h2 {
		font-size: 25px;
	}

	.kala-plan__price {
		flex-wrap: wrap;
		gap: 6px;
	}

	.kala-plan__price strong {
		font-size: 42px;
	}

	.kala-plan__price span {
		font-size: 20px;
	}

	.kala-plan__description {
		margin-bottom: 22px;
		font-size: 17px;
	}

	.kala-plan__features {
		gap: 14px;
		font-size: 17px;
	}

	.kala-plan__button {
		min-height: 62px;
		font-size: 17px;
	}

	.kala-ratings {
		flex-direction: column;
		align-items: center;
		gap: 20px;
		margin-bottom: 52px;
	}

	.kala-rating {
		width: min(100%, 290px);
	}

	.kala-checkout-modal {
		padding: 0;
	}

	.kala-checkout-modal__window {
		width: 100%;
		height: 100%;
		border: 0;
		border-radius: 0;
	}

	.kala-checkout-modal__header {
		min-height: 60px;
		padding-left: 18px;
	}

	.kala-checkout-modal__header h2 {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.kala-purchase-page *,
	.kala-purchase-page *::before,
	.kala-purchase-page *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
