.terms-main
{
	width: min(850px, calc(100% - 80px));
	margin: 0 auto;
	padding: 0 0 80px;
}

.terms-header
{
	max-width: 750px;
}

.terms-card
{
	margin-bottom: 9px;
	padding: 20px 28px;
	background: var(--light-overlay-46);
	border: 1px solid var(--border);
	border-radius: 7px;
}

.terms-card h2
{
	margin: 0 0 6px;
	color: var(--primary);
	font-family: var(--font-heading);
	font-size: 1.4rem;
	line-height: 1.15;
	text-transform: uppercase;
}

.terms-card p
{
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.55;
}

.terms-button
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
	padding: 11px 20px;
	color: var(--light);
	background: var(--primary);
	border-radius: 4px;
	font-family: var(--font-heading);
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		background .2s ease,
		transform .2s ease,
		box-shadow .2s ease;
}

.terms-button:hover,
.terms-button:focus-visible
{
	background: var(--primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 7px 18px var(--shadow-10);
}

.terms-update
{
	margin: 22px 0 0;
	color: var(--text-muted);
	font-size: 1rem;
	text-align: center;
}


/* TABLET */

@media (max-width: 900px)
{
	.terms-main
	{
		width: min(100% - 40px, 850px);
		padding: 50px 0 75px;
	}
}


/* MOBILE */

@media (max-width: 650px)
{
	.terms-main
	{
		width: calc(100% - 30px);
		padding: 40px 0 65px;
	}

	.terms-header
	{
		margin-bottom: 24px;
	}

	.terms-header h1
	{
		font-size: 2.7rem;
	}

	.terms-header > p:last-child
	{
		font-size: 1.1rem;
	}

	.terms-card
	{
		margin-bottom: 8px;
		padding: 18px 20px;
	}

	.terms-card h2
	{
		font-size: 1.3rem;
	}

	.terms-card p
	{
		font-size: 1.05rem;
	}

	.terms-button
	{
		font-size: .9rem;
	}

	.terms-update
	{
		font-size: .95rem;
	}
}