/**
 * Terms of Service page (page-terms.php) — sport theme: charcoal hero,
 * red skew kicker, white document card with a sticky contents list.
 */

.lqt {
	--lqt-ink: #14171c;
	--lqt-text: #1f2937;
	--lqt-muted: #64748b;
	--lqt-line: #e5e7eb;
	--lqt-soft: #f8fafc;
	--lqt-red: #AD0303;
	--lqt-red-ink: #8A0202;

	background: #f3f4f6;
	color: var(--lqt-text);
	font-family: var(--font-body, 'Mona Sans', system-ui, sans-serif);
	padding-bottom: 72px;
}
.lqt *,
.lqt *::before,
.lqt *::after {
	box-sizing: border-box;
}
.lqt .lqt-wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero */
.lqt .lqt-hero {
	padding: calc(var(--nav-h, 76px) + 48px) 0 96px;
	background:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 110px),
		radial-gradient(600px 320px at 100% 0%, rgba(173, 3, 3, 0.32), transparent 70%),
		var(--lqt-ink);
	color: #ffffff;
}
.lqt .lqt-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #ff6b6b;
}
.lqt .lqt-kicker::before {
	content: "";
	width: 22px;
	height: 4px;
	background: var(--lqt-red);
	transform: skew(-24deg);
}
.lqt .lqt-hero h1 {
	margin: 12px 0 10px;
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: #ffffff;
}
.lqt .lqt-hero p {
	max-width: 560px;
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}
.lqt .lqt-updated {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	padding: 6px 12px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
}

/* Key points */
.lqt .lqt-body {
	margin-top: -60px;
}
.lqt .lqt-keys {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.lqt .lqt-key {
	display: flex;
	gap: 14px;
	padding: 18px;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.lqt .lqt-key-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: #fdf1f1;
	color: var(--lqt-red);
	clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
	font-size: 17px;
	flex-shrink: 0;
}
.lqt .lqt-key strong {
	display: block;
	font-size: 15px;
	font-weight: 800;
	color: var(--lqt-ink);
}
.lqt .lqt-key div > span {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--lqt-muted);
}

/* Document */
.lqt .lqt-card {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}
.lqt .lqt-toc {
	padding: 28px 22px;
	background: var(--lqt-soft);
	border-right: 1px solid var(--lqt-line);
}
.lqt .lqt-toc ol {
	position: sticky;
	top: calc(var(--nav-h, 76px) + 20px);
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 2px;
}
.lqt .lqt-toc-h {
	display: block;
	margin-bottom: 12px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lqt-muted);
}
.lqt .lqt-toc li {
	margin: 0;
}
.lqt .lqt-toc a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--lqt-text);
	text-decoration: none;
}
.lqt .lqt-toc a span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid var(--lqt-line);
	font-size: 11.5px;
	font-weight: 800;
	color: var(--lqt-muted);
	flex-shrink: 0;
}
.lqt .lqt-toc a:hover,
.lqt .lqt-toc a.is-active {
	background: #ffffff;
	color: var(--lqt-red-ink);
}
.lqt .lqt-toc a.is-active span {
	border-color: var(--lqt-red);
	background: var(--lqt-red);
	color: #ffffff;
}
.lqt .lqt-doc {
	padding: 36px 44px 40px;
	min-width: 0;
}
.lqt .lqt-sec {
	padding: 4px 0 26px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--lqt-line);
	scroll-margin-top: calc(var(--nav-h, 76px) + 20px);
}
.lqt .lqt-sec:last-of-type {
	border-bottom: 0;
	margin-bottom: 0;
}
.lqt .lqt-sec h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--lqt-ink);
}
.lqt .lqt-sec h2 span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 30px;
	background: var(--lqt-ink);
	color: #ffffff;
	clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
	font-size: 14px;
	font-weight: 800;
	flex-shrink: 0;
}
.lqt .lqt-sec p,
.lqt .lqt-sec li {
	font-size: 16px;
	line-height: 1.7;
	color: #374151;
	text-align: left;
}
.lqt .lqt-sec p {
	margin: 0 0 10px;
}
.lqt .lqt-sec ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}
.lqt .lqt-sec li {
	position: relative;
	margin: 0;
	padding-left: 26px;
}
.lqt .lqt-sec li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 11px;
	width: 12px;
	height: 4px;
	background: var(--lqt-red);
	transform: skew(-24deg);
}
.lqt .lqt-sec a {
	color: var(--lqt-red-ink);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lqt .lqt-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 34px;
	padding: 20px 22px;
	border-radius: 14px;
	background: var(--lqt-ink);
	color: #ffffff;
}
.lqt .lqt-cta strong {
	display: block;
	font-size: 17px;
	font-weight: 800;
}
.lqt .lqt-cta span {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
}
.lqt .lqt-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 26px;
	background: var(--lqt-red);
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
	color: #ffffff !important;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}
.lqt .lqt-btn:hover {
	background: var(--lqt-red-ink);
}

@media (max-width: 900px) {
	.lqt .lqt-keys {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lqt .lqt-card {
		grid-template-columns: minmax(0, 1fr);
	}
	.lqt .lqt-toc {
		border-right: 0;
		border-bottom: 1px solid var(--lqt-line);
	}
	.lqt .lqt-toc ol {
		position: static;
	}
}
@media (max-width: 640px) {
	.lqt {
		background: #ffffff;
		padding-bottom: 40px;
	}
	.lqt .lqt-wrap {
		padding: 0 16px;
	}
	.lqt .lqt-hero {
		padding: calc(var(--nav-h, 64px) + 28px) 0 76px;
	}
	.lqt .lqt-hero p {
		font-size: 15.5px;
	}
	.lqt .lqt-keys {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
	.lqt .lqt-key {
		padding: 14px;
	}
	.lqt .lqt-body {
		padding: 0;
	}
	.lqt .lqt-keys {
		padding: 0 16px;
	}
	.lqt .lqt-card {
		border-radius: 0;
		box-shadow: none;
	}
	.lqt .lqt-toc {
		padding: 20px 16px;
	}
	.lqt .lqt-doc {
		padding: 24px 16px 8px;
	}
	.lqt .lqt-sec h2 {
		font-size: 19px;
	}
	.lqt .lqt-sec p,
	.lqt .lqt-sec li {
		font-size: 15px;
	}
	.lqt .lqt-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* style.css positions icon fonts inside spans; keep these centred. */
.lqt .lqt-key-icon i {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	transform: none !important;
	font-size: 17px !important;
	line-height: 1 !important;
	color: #AD0303 !important;
}
@media (max-width: 640px) {
	.lqt .lqt-key {
		border: 1px solid var(--lqt-line);
		box-shadow: none;
	}
}

/* Related legal documents (main site). */
.lqt .lqt-docs {
	margin-top: 30px;
}
.lqt .lqt-docs > div {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.lqt .lqt-docs a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid var(--lqt-line);
	border-radius: 10px;
	background: var(--lqt-soft);
	color: var(--lqt-ink);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
}
.lqt .lqt-docs a:hover {
	border-color: var(--lqt-red);
	color: var(--lqt-red-ink);
}
.lqt .lqt-docs a i:first-child {
	color: var(--lqt-red);
	font-size: 16px;
}
.lqt .lqt-docs a i:last-child {
	margin-left: auto;
	font-size: 12px;
	color: var(--lqt-muted);
}
.lqt .lqt-docs a i {
	position: static !important;
	transform: none !important;
}
@media (max-width: 640px) {
	.lqt .lqt-docs > div {
		grid-template-columns: minmax(0, 1fr);
	}
}
