/* Home page shell + sections (not site chrome). */

.tf-home {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	/* Transparent so fixed shell waves/particles show through; body keeps --tf-bg. */
	background: transparent;
}

.tf-home-stage {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow-x: clip;
}

.tf-home__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

/* Hero */

.tf-home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	/* Copy under fixed header — tighter than artboard y=200 so title sits higher */
	padding: 140px 24px 0;
	text-align: center;
	overflow: visible;
}

/*
 * Baked hero plate (pattern + ambient light). Intrinsic 1440×1024.
 * Full-bleed; vignette lives in the asset — no extra glow/mask layers.
 */
.tf-home-hero__backdrop {
	position: absolute;
	/* Absolute vs padding box — full section width without 100vw (avoids mobile side-scroll). */
	left: 0;
	right: 0;
	/* Vertical offset scales with viewport width (design artboard 1440). */
	top: calc(100vw * -148 / 1440);
	z-index: 0;
	width: 100%;
	aspect-ratio: 1440 / 1024;
	pointer-events: none;
}

.tf-home-hero__backdrop img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.tf-home-hero__backdrop picture {
	display: block;
	width: 100%;
	height: 100%;
}

.tf-home-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 1044px;
	max-width: 100%;
}

.tf-home-hero__title {
	margin: 0;
	max-width: 100%;
	font-size: 88px;
	font-weight: 600;
	line-height: 112px;
	letter-spacing: -2.464px;
	text-transform: capitalize;
	color: var(--tf-white);
}

.tf-home-hero__text {
	margin: 24px 0 0;
	max-width: 795px;
	font-size: 32px;
	font-weight: 300;
	line-height: 40px;
	letter-spacing: -0.896px;
	color: var(--tf-grey);
}

.tf-home-hero__cta {
	position: relative;
	z-index: 1;
	margin-top: 47px;
}

/* Frame 693 — dashboard media */

.tf-home-hero__media {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--tf-container);
	margin-top: 67px;
}

.tf-home-hero__media-frame {
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: var(--tf-radius-lg);
	background: var(--tf-bg);
	/* Fallback when ACF dimensions are missing — keeps space before decode */
	aspect-ratio: 1200 / 750;
}

/* Border under the fade overlay so gradient covers it at the bottom */
.tf-home-hero__media-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	border: 2px solid rgba(104, 218, 245, 0.1);
	pointer-events: none;
}

.tf-home-hero__media-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(1, 1, 6, 0.62) 5.48%, #010106 83.68%);
	filter: blur(0px);
}

.tf-home-hero__image {
	display: block;
	position: relative;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	filter: blur(0px);
}

@media (max-width: 1024px) {
	.tf-home-hero {
		padding-top: 140px;
	}

	.tf-home-hero__title {
		font-size: 56px;
		line-height: 72px;
		letter-spacing: -1.5px;
	}

	.tf-home-hero__text {
		font-size: 22px;
		line-height: 32px;
		letter-spacing: -0.5px;
	}
}

@media (max-width: 640px) {
	.tf-home-hero {
		padding-top: 220px;
	}

	.tf-home-hero__backdrop {
		top: 0;
		aspect-ratio: 390 / 1024;
	}

	.tf-home-hero__media {
		display: none;
	}

	.tf-home-hero__title {
		font-size: 48px;
		font-weight: 600;
		line-height: 1.15;
		letter-spacing: -1px;
	}

	.tf-home-hero__text {
		font-size: 24px;
		font-weight: 300;
		line-height: normal;
		letter-spacing: -0.36px;
	}
}

/* How It Works — Figma 1116:20815 (desktop) */

.tf-home-hiw {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	margin-top: 55px;
	padding: 96px 24px 96px;
	overflow-x: clip;
	background: transparent;
}

/* Soft blue top-edge glow. */
.tf-home-hiw__top-glow {
	position: absolute;
	left: 50%;
	top: 0;
	z-index: 0;
	width: 100%;
	max-width: 1443px;
	aspect-ratio: 1443 / 212;
	transform: translateX(-50%);
	pointer-events: none;
}

.tf-home-hiw__top-glow img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.tf-home-hiw__intro {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: var(--tf-container);
	max-width: 100%;
	text-align: center;
}

.tf-home-hiw__title {
	margin: 0;
	min-height: 1.15em;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--tf-white);
	text-align: center;
}

.tf-home-hiw__subtitle {
	margin: 0;
	max-width: 920px;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
	text-align: center;
}

.tf-home-hiw__rail {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 995px;
	max-width: 100%;
	margin-top: 72px;
	height: 80px;
}

/*
 * Unfilled gap track — Figma fill + project glass (blur + inset).
 */
.tf-home-hiw__rail-gap {
	position: absolute;
	left: 0;
	top: 37px;
	z-index: 0;
	width: 0;
	height: 6px;
	border-radius: 24px;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(3, 12, 53, 0.1) 0%,
		rgba(0, 0, 0, 0.1) 100%
	);
	backdrop-filter: blur(var(--tf-glass-blur));
	-webkit-backdrop-filter: blur(var(--tf-glass-blur));
	box-shadow:
		inset 0 0 2px 0 #0a0f2f,
		inset 0 0 2px 0 #0a0f2f,
		var(--tf-glass-inset);
	isolation: isolate;
}

/*
 * Progress segments — Figma Rect 133/134 (1116:25911 / 1116:25971)
 * One bar per gap between tiles (never under tiles — glass would show through).
 * Gradient rgba(23,70,234,0.73) → #5DD7F2; left/width set by JS.
 */
.tf-home-hiw__rail-progress {
	position: absolute;
	left: 0;
	top: 37px;
	z-index: 0;
	width: 0;
	height: 6px;
	border-radius: 24px;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(
		180deg,
		rgba(23, 70, 234, 0.73) 0%,
		var(--tf-cyan) 100%
	);
	box-shadow:
		inset 0 0 2px 0 #0a0f2f,
		inset 0 0 2px 0 #0a0f2f;
}

.tf-home-hiw__rail-progress.is-visible {
	opacity: 1;
}

/*
 * Step tile — 80×80, radius 24.
 * Inactive: `.tf-glass` + WebGL rim; fill/inset match Figma surface (0.1 + #0a0f2f).
 * Active: same fill/glow/inset; CTA stroke via SVG (fill=none — never paints center).
 */
.tf-home-hiw__step {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	padding: 0;
	border: 0;
	border-radius: 24px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background: var(--tf-hiw-step-fill);
	box-shadow: var(--tf-hiw-step-inset);
	transition: box-shadow 200ms ease;
}

/* Keep glow / rim under icon (`.tf-glass > *` would raise them). */
.tf-home-hiw__step.tf-glass > .tf-home-hiw__step-glow {
	position: absolute;
	z-index: 0;
}

.tf-home-hiw__step.tf-glass > .tf-home-hiw__step-active-rim {
	position: absolute;
	z-index: 2;
}

.tf-home-hiw__step.tf-glass > .tf-home-hiw__step-icon {
	position: relative;
	z-index: 3;
}

/*
 * Active — fill stays default; hide WebGL/CSS glass rim; show SVG CTA stroke.
 */
.tf-home-hiw__step.is-active.tf-glass::before,
.tf-home-hiw__step.is-active.tf-glass::after {
	content: none;
	background: none;
	box-shadow: none;
	padding: 0;
	-webkit-mask: none;
	mask: none;
}

.tf-home-hiw__step.is-active .tf-glass-surface,
.tf-home-hiw__step.is-active .tf-glass-surface__canvas {
	opacity: 0 !important;
	visibility: hidden;
	transition: none;
}

.tf-home-hiw__step-active-rim {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease;
}

.tf-home-hiw__step.is-active .tf-home-hiw__step-active-rim {
	opacity: 1;
}

/*
 * Step glow — slot behind the tile; clipped by `.tf-glass` overflow.
 */
.tf-home-hiw__step-glow {
	position: absolute;
	left: -95px;
	top: -88px;
	z-index: 0;
	width: 142px;
	height: 79px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease;
}

.tf-home-hiw__step-glow-inner {
	position: absolute;
	top: -174.18%;
	right: -96.9%;
	bottom: -174.18%;
	left: -96.9%;
}

.tf-home-hiw__step-glow-inner img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.tf-home-hiw__step.is-lit .tf-home-hiw__step-glow {
	opacity: 1;
}

.tf-home-hiw__icon-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.tf-home-hiw__step-icon {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	overflow: visible;
}

.tf-home-hiw__icon {
	display: block;
	width: 32px;
	height: 32px;
	overflow: visible;
}

/* Figma inactive icon: #575757 @ 0.6; active: #1746EA→#5DD7F2 @ 0.6 */
.tf-home-hiw__icon-path {
	fill: #575757;
	fill-opacity: 0.6;
}

.tf-home-hiw__step.is-lit .tf-home-hiw__icon-path {
	fill: url(#tf-hiw-icon-grad);
	fill-opacity: 0.6;
}

.tf-home-hiw__card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 64px;
	width: 1200px;
	max-width: 100%;
	min-height: 564px;
	margin-top: 56px;
	padding: 56px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	/*
	 * Translucent glass over live shell waves (no backdrop-filter — animated
	 * canvas behind a large blurred panel is too expensive). Soft plate keeps
	 * the tile-grid accent without blocking the animation.
	 */
	--tf-glass-from: rgba(3, 12, 53, 0.42);
	--tf-glass-to: rgba(1, 1, 6, 0.62);
	background: var(--tf-glass-fill);
	box-shadow: var(--tf-hiw-step-inset);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.tf-home-hiw__card.tf-glass > .tf-home-hiw__card-backdrop {
	position: absolute;
	z-index: 0;
}

.tf-home-hiw__card-backdrop {
	inset: 0;
	pointer-events: none;
	opacity: 0.28;
	mix-blend-mode: soft-light;
}

.tf-home-hiw__card-backdrop img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tf-home-hiw__media {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 636px;
	max-width: 55%;
	height: 452px;
	aspect-ratio: 636 / 452;
	border-radius: var(--tf-radius-sm);
	overflow: hidden;
}

.tf-home-hiw__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--tf-radius-sm);
	opacity: 0;
	visibility: hidden;
	z-index: 0;
	pointer-events: none;
}

.tf-home-hiw__image.is-front {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.tf-home-hiw__media > .tf-home-hiw__image[hidden] {
	display: none;
}

.tf-home-hiw__image.is-empty {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@keyframes tf-hiw-image-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.tf-home-hiw__image.is-front.is-initial {
		animation: tf-hiw-image-in 0.45s ease both;
	}
}

.tf-home-hiw__image-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(3, 12, 53, 0.35) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.tf-home-hiw__image-placeholder[hidden] {
	display: none;
}

.tf-home-hiw__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	box-sizing: border-box;
	width: 351px;
	max-width: 351px;
	min-width: 0;
	min-height: 280px;
	flex: 0 0 351px;
}

.tf-home-hiw__counter {
	margin: 0;
	min-height: 1.25em;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
	background: linear-gradient(180deg, rgba(23, 70, 234, 0.73) 0%, var(--tf-cyan) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tf-home-hiw__step-title {
	margin: 8px 0 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--tf-white);
}

.tf-home-hiw__step-text {
	margin: 16px 0 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--tf-grey);
}

.tf-home-hiw__step-text[hidden] {
	display: none;
}

.tf-home-hiw__nav {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
}

/* HIW step nav — List Button Default / Hovered / Pressed (CSS glass, no WebGL). */
.tf-home-hiw__nav-btn {
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset:
		inset 0 0 2px 0 #0a0f2f,
		inset 0 0 2px 0 #0a0f2f;
	--tf-glass-blur: 37px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 8px;
	border: 0;
	border-radius: var(--tf-radius-sm);
	overflow: hidden;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	color: #e3e3e3;
	isolation: isolate;
}

/* Beat `.tf-glass > *` so the glow stays behind the chevron and clips correctly. */
.tf-home-hiw__nav-btn > .tf-home-hiw__nav-btn-glow {
	position: absolute;
	top: calc(50% - 103.5px);
	left: calc(50% - 8px);
	z-index: 0;
	width: 142px;
	height: 79px;
	translate: -50% -50%;
	pointer-events: none;
	opacity: 0;
	transition:
		opacity var(--tf-duration-fast) var(--tf-ease-out),
		top var(--tf-duration-fast) var(--tf-ease-out);
}

.tf-home-hiw__nav-btn-glow-inner {
	position: absolute;
	inset: -174.18% -96.9%;
	border-radius: 50%;
	background: var(--tf-btn-secondary-glow);
	filter: blur(68.8px);
}

.tf-home-hiw__nav-btn:hover .tf-home-hiw__nav-btn-glow,
.tf-home-hiw__nav-btn:focus-visible .tf-home-hiw__nav-btn-glow {
	opacity: 1;
}

.tf-home-hiw__nav-btn:active .tf-home-hiw__nav-btn-glow {
	top: calc(50% - 71.5px);
	opacity: 1;
}

.tf-home-hiw__nav-btn:focus-visible {
	outline: 2px solid rgba(93, 215, 242, 0.55);
	outline-offset: 2px;
}

.tf-home-hiw__nav-icon {
	position: relative;
	z-index: 3;
	display: block;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	color: inherit;
	transition: color var(--tf-duration-fast) var(--tf-ease-out);
}

.tf-home-hiw__nav-icon path {
	fill: currentColor;
}

.tf-home-hiw__nav-btn:active {
	color: var(--tf-white);
}

.tf-home-hiw__nav-icon--prev {
	transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
	.tf-home-hiw__nav-btn-glow,
	.tf-home-hiw__nav-icon {
		transition: none;
	}

	.tf-home-hiw__image {
		transition: none;
	}
}

/* Mobile dash indicators — hidden on desktop; shown under payout See it in action. */
.tf-home-hiw__dots {
	display: none;
	position: relative;
	z-index: 1;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.tf-home-hiw__dot {
	display: block;
	width: 40px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background: linear-gradient(
		180deg,
		rgba(23, 70, 234, 0.73) 0%,
		var(--tf-cyan) 100%
	);
	opacity: 0.2;
	transition: opacity 200ms ease;
}

.tf-home-hiw__dot.is-active {
	opacity: 0.7;
}

.tf-home-hiw__cta {
	margin-top: 56px;
}

/* Learn as you trade — transparent band; 96px gaps via HIW bottom + BOT top */

.tf-home-learn {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: 0 24px;
	overflow: visible;
	background: transparent;
}

.tf-home-learn__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	width: var(--tf-container);
	max-width: 100%;
	padding: 56px;
	overflow: hidden;
	border-radius: var(--tf-radius-lg);
	/* Light fill — Figma shell at 0.1; WebGL rim via data-tf-glass-shader */
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
}

.tf-home-learn__inner.tf-glass > .tf-home-learn__decor {
	position: absolute;
	z-index: 0;
}

.tf-home-learn__decor {
	top: -74px;
	right: -177px;
	width: 531px;
	height: 290px;
	pointer-events: none;
}

.tf-home-learn__decor img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: screen;
}

.tf-home-learn__header {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	max-width: 550px;
}

.tf-home-learn__title {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-learn__text {
	margin: 12px 0 0;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-learn__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.tf-home-learn__cta.tf-btn--secondary {
	position: relative;
	z-index: 1;
	width: 384px;
	max-width: 100%;
	height: 56px;
	min-height: 56px;
	margin-top: 56px;
}

@media (max-width: 900px) {
	.tf-home-learn__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.tf-home-learn {
		padding: 0 16px;
	}

	.tf-home-learn__decor {
		display: none;
	}

	.tf-home-learn__inner {
		width: 100%;
		padding: 32px 16px;
	}

	.tf-home-learn__header {
		align-items: center;
		max-width: none;
		text-align: center;
	}

	.tf-home-learn__title {
		font-size: 32px;
		text-align: center;
	}

	.tf-home-learn__text {
		margin-top: 8px;
		font-size: 18px;
		text-align: center;
	}

	.tf-home-learn__grid {
		margin-top: 32px;
		gap: 16px;
		max-width: none;
	}

	.tf-home-learn__cta.tf-btn--secondary {
		width: 100%;
		margin-top: 32px;
	}

	/*
	 * Home teasers keep desktop card chrome on mobile (thumb badges + bottom meta).
	 * Reset LM library mobile card layout scoped to this section only.
	 */
	.tf-home-learn .tf-learning-materials__card {
		height: 275px;
		min-height: 0;
		padding: 8px;
	}

	.tf-home-learn .tf-learning-materials__card-glow {
		display: block;
	}

	.tf-home-learn .tf-learning-materials__thumb {
		height: 124px;
		aspect-ratio: auto;
	}

	.tf-home-learn .tf-learning-materials__duration {
		top: 8px;
		right: 8px;
		bottom: auto;
	}

	.tf-home-learn .tf-learning-materials__card-body {
		padding: 11px 8px 8px;
	}

	.tf-home-learn .tf-learning-materials__card-meta {
		order: 0;
		flex-wrap: wrap;
		gap: 8px 12px;
		margin-top: auto;
		margin-bottom: 0;
		padding-top: 16px;
	}

	.tf-home-learn .tf-learning-materials__kind--overlay {
		display: inline-flex;
	}

	.tf-home-learn .tf-learning-materials__kind--chip {
		display: none;
	}

	.tf-home-learn .tf-learning-materials__category {
		flex-shrink: 0;
		overflow: visible;
		text-overflow: unset;
	}

	.tf-home-learn .tf-learning-materials__stat {
		flex-shrink: 0;
		font-size: 12px;
		font-weight: 400;
		line-height: 14px;
		letter-spacing: -0.336px;
	}

	.tf-home-learn .tf-learning-materials__card-title {
		font-weight: 600;
		white-space: nowrap;
	}

	.tf-home-learn .tf-learning-materials__card-desc {
		margin-top: 8px;
		line-height: 20px;
	}
}

/* Built on Trust */

.tf-home-bot {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: 96px 24px 120px;
	overflow: visible;
	background: transparent;
}

.tf-home-bot__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 761px;
	max-width: 100%;
	text-align: center;
}

.tf-home-bot__title {
	margin: 0;
	min-height: 1.15em;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--tf-white);
}

.tf-home-bot__text {
	margin: 8px 0 0;
	min-height: 2.6em;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--tf-grey);
}

.tf-home-bot__grid,
.tf-payout-center__highlights,
.tf-trust-security__highlights {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	width: 1200px;
	max-width: 100%;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.tf-home-bot__card,
.tf-payout-center__card,
.tf-trust-security__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 282px;
	max-width: 100%;
	height: 270px;
	padding: 31px 24px 32px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
}

.tf-payout-center__card,
.tf-trust-security__card {
	height: 254px;
	padding: 31px 24px 24px;
}

.tf-home-bot__card.tf-glass > .tf-home-bot__card-glow,
.tf-payout-center__card.tf-glass > .tf-payout-center__card-glow,
.tf-trust-security__card.tf-glass > .tf-trust-security__card-glow {
	position: absolute;
	z-index: 0;
}

.tf-home-bot__card-glow,
.tf-payout-center__card-glow,
.tf-trust-security__card-glow {
	position: absolute;
	left: calc(50% + 38px);
	top: calc(50% - 330px);
	z-index: 0;
	width: 626px;
	height: 347px;
	translate: -50% -50%;
	pointer-events: none;
}

.tf-home-bot__card-glow img,
.tf-payout-center__card-glow img,
.tf-trust-security__card-glow img {
	position: absolute;
	/* Blur pad baked into the SVG (~138px / ellipse box). */
	inset: -39.65% -21.98%;
	display: block;
	width: auto;
	height: auto;
	max-width: none;
}

.tf-home-bot__icon-wrap,
.tf-payout-center__icon-wrap,
.tf-trust-security__icon-wrap {
	position: relative;
	z-index: 1;
	display: block;
	width: 132px;
	height: 132px;
	flex-shrink: 0;
}

.tf-home-bot__icon,
.tf-payout-center__icon,
.tf-trust-security__icon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}

.tf-payout-center__card-label,
.tf-trust-security__card-label {
	position: relative;
	z-index: 1;
	margin: 10px 0 0;
	max-width: 229px;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	text-align: center;
	color: var(--tf-grey);
}

.tf-payout-center__card-value,
.tf-trust-security__card-value {
	position: relative;
	z-index: 1;
	margin: 4px 0 0;
	max-width: 229px;
	font-size: 20px;
	font-weight: 600;
	line-height: normal;
	text-align: center;
	color: var(--tf-white);
}

.tf-home-bot__card-title {
	position: relative;
	z-index: 1;
	margin: 10px 0 0;
	max-width: 229px;
	min-height: 2.4em;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	color: var(--tf-white);
}

.tf-home-bot__cta.tf-btn--secondary {
	width: 384px;
	max-width: 100%;
	height: 56px;
	min-height: 56px;
	margin-top: 56px;
}

@media (max-width: 1247px) {
	/* 4×282 + 3×24 = 1200; section side padding 24×2 → orphan starts ~1248 */
	.tf-home-bot__grid,
	.tf-payout-center__highlights,
	.tf-trust-security__highlights {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.tf-home-bot__card,
	.tf-payout-center__card,
	.tf-trust-security__card {
		flex: none;
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 1200px) {
	.tf-home-hiw__card {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		padding: 40px 32px;
		/* Keep a floor so media + copy do not grow after paint */
		min-height: 0;
	}

	.tf-home-hiw__media {
		width: 100%;
		max-width: 100%;
		height: auto;
		aspect-ratio: 636 / 452;
	}

	.tf-home-hiw__copy {
		width: 100%;
		max-width: 100%;
		flex: 0 1 auto;
		min-height: 240px;
	}

	.tf-home-hiw__rail {
		width: 100%;
		padding: 0 8px;
	}
}

@media (max-width: 640px) {
	/* Built on Trust — mobile frame 390: title 32, cards 358×270 / gap 24, CTA 358×56 */
	.tf-home-bot {
		padding: 72px 16px 72px;
	}

	.tf-home-bot__title {
		font-size: 32px;
	}

	.tf-home-bot__text {
		max-width: 318px;
		min-height: 2.6em;
		font-size: 18px;
	}

	.tf-home-bot__grid {
		margin-top: 40px;
		gap: 24px;
		grid-template-columns: minmax(0, 1fr);
	}

	.tf-trust-security__highlights,
	.tf-payout-center__highlights {
		margin-top: 56px;
		gap: 24px;
		grid-template-columns: minmax(0, 1fr);
	}

	.tf-home-bot__card,
	.tf-payout-center__card,
	.tf-trust-security__card {
		/* Fixed floor — icon wrap + copy already sized */
		height: auto;
		min-height: 240px;
		padding: 28px 20px 24px;
	}

	.tf-home-bot__card,
	.tf-trust-security__card {
		width: 100%;
		max-width: 358px;
		height: 270px;
		min-height: 270px;
		margin-inline: auto;
		padding: 31px 24px 32px;
	}

	.tf-home-bot__cta.tf-btn--secondary {
		width: 100%;
		max-width: 358px;
		margin-top: 40px;
	}
}

/* Help Center / Payout Center / Trading Rules / Trust & Security / Rule Checker page intro */

.tf-help-center,
.tf-payout-center,
.tf-trading-rules,
.tf-trust-security,
.tf-rule-checker,
.tf-learning-materials {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: 140px 24px 96px;
	overflow: visible;
	background: transparent;
}

.tf-learning-materials {
	gap: 56px;
}

.tf-learning-materials__hub,
.tf-help-center__hub {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
}

.tf-learning-materials::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.02) 0%,
		rgba(255, 255, 255, 0.1) 50.96%,
		rgba(255, 255, 255, 0.02) 100%
	);
	pointer-events: none;
}

.tf-help-center__banner,
.tf-payout-center__banner,
.tf-trading-rules__banner,
.tf-trust-security__banner,
.tf-rule-checker__banner,
.tf-learning-materials__banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--tf-container);
	max-width: 100%;
	min-height: 200px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	isolation: isolate;
	/* Baked plate — keep WebGL rim only */
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.tf-help-center__banner.tf-glass > .tf-help-center__backdrop,
.tf-payout-center__banner.tf-glass > .tf-payout-center__backdrop,
.tf-trading-rules__banner.tf-glass > .tf-trading-rules__backdrop,
.tf-trust-security__banner.tf-glass > .tf-trust-security__backdrop,
.tf-rule-checker__banner.tf-glass > .tf-rule-checker__backdrop,
.tf-learning-materials__banner.tf-glass > .tf-learning-materials__backdrop {
	position: absolute;
	z-index: 0;
}

.tf-help-center__backdrop,
.tf-payout-center__backdrop,
.tf-trading-rules__backdrop,
.tf-trust-security__backdrop,
.tf-rule-checker__backdrop,
.tf-learning-materials__backdrop {
	inset: 0;
	pointer-events: none;
}

.tf-help-center__backdrop img,
.tf-payout-center__backdrop img,
.tf-trading-rules__backdrop img,
.tf-trust-security__backdrop img,
.tf-rule-checker__backdrop img,
.tf-learning-materials__backdrop img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tf-help-center__backdrop picture,
.tf-payout-center__backdrop picture,
.tf-trading-rules__backdrop picture,
.tf-trust-security__backdrop picture,
.tf-rule-checker__backdrop picture,
.tf-learning-materials__backdrop picture {
	display: block;
	width: 100%;
	height: 100%;
}

/* Keep glow + tile plate fully visible while the banner width changes */
.tf-help-center__backdrop img,
.tf-payout-center__backdrop img,
.tf-trading-rules__backdrop img,
.tf-trust-security__backdrop img,
.tf-rule-checker__backdrop img,
.tf-learning-materials__backdrop img {
	object-fit: fill;
}

.tf-help-center__copy,
.tf-payout-center__copy,
.tf-trading-rules__copy,
.tf-trust-security__copy,
.tf-rule-checker__copy,
.tf-learning-materials__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 40px 24px;
	text-align: center;
}

.tf-help-center__title,
.tf-payout-center__title,
.tf-trading-rules__title,
.tf-trust-security__title,
.tf-rule-checker__title,
.tf-learning-materials__title {
	margin: 0;
	max-width: 100%;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-help-center__text,
.tf-payout-center__text,
.tf-trading-rules__text,
.tf-trust-security__text,
.tf-rule-checker__text,
.tf-learning-materials__text {
	margin: 0;
	max-width: 100%;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

/* Trust & Security — detail topics (96px under highlight cards + fade dividers) */
.tf-trust-security__topics {
	--tf-trust-divider: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.02) 0%,
		rgba(255, 255, 255, 0.1) 50.96%,
		rgba(255, 255, 255, 0.02) 100%
	);
	position: relative;
	display: flex;
	flex-direction: column;
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 96px;
}

.tf-trust-security__topics::before,
.tf-trust-security__topics::after,
.tf-trust-security__topic:not(:first-child)::before {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--tf-trust-divider);
	pointer-events: none;
}

.tf-trust-security__topics::before {
	top: 0;
}

.tf-trust-security__topics::after {
	bottom: 0;
}

.tf-trust-security__topic {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	column-gap: 24px;
	align-items: start;
	padding: 56px 0;
}

.tf-trust-security__topic:not(:first-child)::before {
	top: 0;
}

.tf-trust-security__topic-icon {
	position: relative;
	z-index: 1;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 8px;
	border-radius: 16px;
	/* Same icon chip as Help Center / CE calculate */
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: var(--tf-hiw-step-inset);
}

.tf-trust-security__topic-icon img {
	position: relative;
	z-index: 3;
	display: block;
	width: 24px;
	height: 24px;
}

.tf-trust-security__topic-copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	max-width: 760px;
}

.tf-trust-security__topic-title {
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	line-height: normal;
	color: var(--tf-white);
}

.tf-trust-security__topic-body {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-grey);
}

.tf-trust-security__topic-links {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-trust-security__topic-link {
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-grey);
	text-decoration: underline;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
}

.tf-trust-security__topic-link:hover,
.tf-trust-security__topic-link:focus-visible {
	color: var(--tf-white);
}

.tf-trading-rules__type-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 56px;
}

.tf-rule-checker__scenario-chips {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 24px;
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 56px;
}

.tf-rule-checker__scenario-chips > .tf-selection-chip {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

.tf-rule-checker__scenario-chips > .tf-selection-chip .tf-selection-chip__glow-wrap {
	left: 50%;
	transform: translateX(-50%);
}

.tf-rule-checker__result {
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 32px;
}

.tf-rule-checker__result[hidden] {
	display: none;
}

.tf-rule-checker__result-shell {
	display: flex;
	align-items: stretch;
	gap: 64px;
	width: 100%;
	min-height: 564px;
	padding: 56px 40px 56px 56px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	background: var(--tf-hiw-step-fill);
	box-shadow: var(--tf-hiw-step-inset);
}

.tf-rule-checker__result-shell.tf-glass {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.tf-rule-checker__result-main {
	display: flex;
	flex: 1 1 636px;
	flex-direction: column;
	gap: 72px;
	width: 100%;
	max-width: 636px;
	min-height: 452px;
	padding: 40px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
}

.tf-rule-checker__result-copy {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.tf-rule-checker__result-title {
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	line-height: normal;
	color: var(--tf-green);
}

.tf-rule-checker__result[data-tf-rule-checker-status="failed"] .tf-rule-checker__result-title {
	color: var(--tf-red);
}

.tf-rule-checker__result-text {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-rule-checker__chart {
	display: flex;
	justify-content: center;
	width: 100%;
}

.tf-rule-checker__chart-bars {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	max-width: 464px;
	min-height: 200px;
}

.tf-rule-checker__chart-col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
}

.tf-rule-checker__chart-value {
	font-size: 16px;
	font-weight: 300;
	line-height: 20px;
	text-align: center;
	color: var(--tf-green);
}

.tf-rule-checker__chart-value--loss {
	color: var(--tf-red);
}

.tf-rule-checker__chart-bar {
	display: block;
	width: 100%;
	max-width: 80px;
	height: var(--tf-rule-bar-h, 60px);
	border-radius: 8px;
	background: linear-gradient(180deg, #00c735 0%, #5df2a7 100%);
}

.tf-rule-checker__chart-bar--loss {
	background: linear-gradient(180deg, #ff4b4b 0%, #ff8f5e 100%);
}

.tf-rule-checker__chart-label {
	font-size: 16px;
	font-weight: 300;
	line-height: 20px;
	text-align: center;
	color: var(--tf-grey);
	white-space: nowrap;
}

.tf-rule-checker__result-side {
	display: flex;
	flex: 0 1 404px;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	max-width: 404px;
}

.tf-rule-checker__rules-label {
	margin: 0;
	font-size: 24px;
	font-weight: 300;
	line-height: normal;
	text-transform: uppercase;
	color: var(--tf-grey);
}

.tf-rule-checker__rules {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-rule-checker__rule {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	min-height: 88px;
	padding: 20px 24px;
	border-radius: 16px;
	overflow: hidden;
}

.tf-rule-checker__rule.tf-glass > .tf-rule-checker__rule-glow {
	position: absolute;
	z-index: 0;
}

.tf-rule-checker__rule-glow {
	position: absolute;
	left: calc(50% - 6.5px);
	top: -383px;
	z-index: 0;
	width: 347px;
	height: 347px;
	translate: -50% 0;
	opacity: 0.5;
	pointer-events: none;
}

.tf-rule-checker__rule-glow img {
	position: absolute;
	inset: -39.65% -80.86%;
	display: block;
	width: auto;
	height: auto;
	max-width: none;
}

.tf-rule-checker__rule-copy,
.tf-rule-checker__rule-icon {
	position: relative;
	z-index: 1;
}

.tf-rule-checker__rule-copy {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.tf-rule-checker__rule-title {
	font-size: 20px;
	font-weight: 500;
	line-height: normal;
	color: var(--tf-white);
}

.tf-rule-checker__rule-text {
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
	overflow-wrap: anywhere;
}

.tf-rule-checker__rule-icon {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	margin-top: 2px;
}

.tf-rule-checker__rule-icon img {
	display: block;
	width: 24px;
	height: 24px;
}

.tf-trading-rules__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.tf-trading-rules__panel[hidden] {
	display: none;
}

.tf-trading-rules__block {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 56px;
}

.tf-trading-rules__block-heading {
	margin: 0;
	font-size: 24px;
	font-weight: 300;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-trading-rules__block-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin-top: 24px;
}

.tf-trading-rules__item {
	width: 100%;
	margin: 0;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
}

/* Glass shell stays outside <details> — WebGL rim would be hidden when closed. */
.tf-trading-rules__item-details {
	position: relative;
	z-index: 3;
	margin: 0;
}

.tf-trading-rules__item.tf-glass > .tf-trading-rules__item-details {
	position: relative;
	z-index: 3;
}

.tf-trading-rules__item-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
	padding: 20px 32px;
	cursor: pointer;
	list-style: none;
}

.tf-trading-rules__item-summary::-webkit-details-marker {
	display: none;
}

.tf-trading-rules__item-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: var(--tf-white);
}

.tf-trading-rules__item-meta {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 40px;
}

.tf-trading-rules__item-value {
	font-size: 18px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-cyan);
	text-align: right;
	white-space: nowrap;
}

.tf-trading-rules__item-chevron {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	transition: transform var(--tf-duration-fast) var(--tf-ease-out);
}

.tf-trading-rules__item-chevron img {
	display: block;
	width: 32px;
	height: 32px;
}

.tf-trading-rules__item-details[open] > .tf-trading-rules__item-summary .tf-trading-rules__item-chevron {
	transform: rotate(180deg);
}

.tf-trading-rules__item-body {
	padding: 0 32px 24px;
}

.tf-trading-rules__item-body p {
	margin: 0;
	font-size: 18px;
	font-weight: 300;
	line-height: normal;
	color: var(--tf-white);
}

.tf-trading-rules__item-body p + p {
	margin-top: 12px;
}

.tf-trading-rules__item-body strong {
	font-size: 18px;
	font-weight: 600;
}

.tf-help-center__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	width: var(--tf-container);
	max-width: 100%;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.tf-help-center__cat {
	display: flex;
	flex: 1 1 280px;
	max-width: 100%;
	margin: 0;
}

.tf-help-center__cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 180px;
	padding: 24px 24px 24px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.tf-help-center__cat-card:focus-visible {
	outline: 2px solid var(--tf-white);
	outline-offset: 4px;
}

.tf-help-center__cat-card.tf-glass > .tf-help-center__cat-glow {
	position: absolute;
	z-index: 0;
}

.tf-help-center__cat-glow {
	position: absolute;
	left: calc(50% - 13px);
	top: calc(50% - 293.5px);
	z-index: 0;
	width: 626px;
	height: 347px;
	translate: -50% -50%;
	pointer-events: none;
}

.tf-help-center__cat-glow img {
	position: absolute;
	inset: -39.65% -21.98%;
	display: block;
	width: auto;
	height: auto;
	max-width: none;
}

.tf-help-center__cat-icon {
	position: relative;
	z-index: 1;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 8px;
	border-radius: 16px;
	/* Icon chip — fill @ 0.1 + WebGL glass rim (same as CE calc icon) */
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: var(--tf-hiw-step-inset);
}

.tf-help-center__cat-icon img {
	position: relative;
	z-index: 3;
	display: block;
	width: 24px;
	height: 24px;
}

.tf-help-center__cat-title {
	position: relative;
	z-index: 1;
	display: block;
	margin: 16px 0 0;
	max-width: 261px;
	font-size: 20px;
	font-weight: 700;
	line-height: normal;
	text-align: center;
	color: var(--tf-white);
}

.tf-help-center__cat-count {
	position: relative;
	z-index: 1;
	display: block;
	margin: 12px 0 0;
	max-width: 337px;
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	text-align: center;
	color: var(--tf-grey);
}

.tf-help-center__popular {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 96px;
}

.tf-help-center__popular-label {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 300;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-help-center__popular-label--cat {
	text-transform: uppercase;
}

.tf-help-center__catalog-panel {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.tf-help-center__catalog-panel[hidden],
.tf-help-center__popular[hidden],
.tf-help-center__crumbs[hidden] {
	display: none;
}

.tf-help-center[data-tf-help-view="category"] .tf-help-center__popular {
	margin-top: 40px;
}

.tf-help-center__popular-list.tf-home-faq__list {
	width: 100%;
	margin-top: 0;
}

/* Article rows — chevron points right (shared FAQ icon faces down) */
.tf-help-center__popular-list .tf-home-faq__chevron {
	transform: rotate(-90deg);
}

.tf-help-center__popular-list .tf-home-faq__details[open] > .tf-home-faq__summary .tf-home-faq__chevron {
	transform: rotate(90deg);
}

.tf-home-faq__item--button {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
	appearance: none;
}

.tf-home-faq__item--button .tf-home-faq__summary {
	width: 100%;
	cursor: pointer;
}

.tf-help-center__popular-list .tf-home-faq__item,
.tf-help-center__popular-list .tf-home-faq__summary {
	cursor: pointer;
}

.tf-help-center[data-tf-help-view="article"] .tf-help-center__hub,
.tf-help-center[data-tf-help-view="category"] .tf-help-center__hub,
.tf-help-center__hub[hidden],
.tf-help-center__article[hidden] {
	display: none;
}

.tf-help-center__article {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: var(--tf-container);
	max-width: 100%;
}

.tf-help-center__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	width: var(--tf-container);
	max-width: 100%;
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-help-center__crumb-link {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-weight: 400;
	line-height: inherit;
	color: var(--tf-grey);
	background: transparent;
	cursor: pointer;
	appearance: none;
}

.tf-help-center__crumb-link:hover,
.tf-help-center__crumb-link:focus-visible {
	color: var(--tf-white);
}

.tf-help-center__crumb-sep {
	white-space: pre;
}

.tf-help-center__crumb-cat[hidden],
.tf-help-center__crumb-cat:empty,
.tf-help-center__crumb-sep[hidden],
.tf-help-center__crumb-sep--title[hidden],
.tf-help-center__crumb-current:empty {
	display: none;
}

.tf-help-center[data-tf-help-view="category"] .tf-help-center__crumb-cat {
	font-weight: 500;
	color: var(--tf-white);
	cursor: default;
	pointer-events: none;
}

.tf-help-center[data-tf-help-view="category"] .tf-help-center__crumb-sep--title,
.tf-help-center[data-tf-help-view="category"] .tf-help-center__crumb-current {
	display: none;
}

.tf-help-center__crumb-current {
	font-weight: 500;
	color: var(--tf-white);
}

.tf-help-center__article-title {
	margin: 40px 0 0;
	max-width: 788px;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-help-center__article-updated {
	margin: 8px 0 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-grey);
}

.tf-help-center__article-updated[hidden] {
	display: none;
}

.tf-help-center__article-body {
	margin-top: 48px;
	max-width: 1200px;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-white);
}

.tf-help-center__article-body > *:first-child {
	margin-top: 0;
}

.tf-help-center__article-body > *:last-child {
	margin-bottom: 0;
}

.tf-help-center__article-body p {
	margin: 0 0 24px;
}

.tf-help-center__article-body strong,
.tf-help-center__article-body b {
	font-weight: 700;
}

.tf-help-center__article-body a,
.tf-help-center__tip-text a,
.tf-help-center__related-text a {
	background: var(--gradient-1, linear-gradient(180deg, rgba(23, 70, 234, 0.73) 0%, #5dd7f2 100%));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-family: var(--tf-font);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

.tf-help-center__tip {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	min-height: 104px;
	margin-top: 48px;
	padding: 24px;
	border-radius: var(--tf-radius-lg);
	background: var(--tf-surface-tip);
}

.tf-help-center__tip[hidden] {
	display: none;
}

.tf-help-center__tip-icon {
	position: relative;
	z-index: 1;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 8px;
	border-radius: 16px;
	/* Icon chip — fill @ 0.1 + WebGL glass rim */
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: var(--tf-hiw-step-inset);
}

.tf-help-center__tip-icon img {
	position: relative;
	z-index: 3;
	display: block;
	width: 24px;
	height: 24px;
}

.tf-help-center__tip-text {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-white);
}

.tf-help-center__tip-text p {
	margin: 0;
}

.tf-help-center__related {
	margin-top: 32px;
}

.tf-help-center__related[hidden] {
	display: none;
}

.tf-help-center__related-text {
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-white);
}

.tf-help-center__related-text p {
	margin: 0;
}

.tf-help-center__feedback {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	margin-top: 96px;
	padding: 40px 0;
	border-top: 1px solid var(--tf-border-subtle);
	border-bottom: 1px solid var(--tf-border-subtle);
}

.tf-help-center__feedback-label {
	margin: 0;
	font-size: 24px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-white);
}

.tf-help-center__feedback-actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 16px;
}

.tf-help-center__feedback-btn {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	min-width: 77px;
	height: 48px;
	padding: 8px 24px;
	border: 1px solid var(--tf-border-subtle);
	border-radius: var(--tf-feedback-btn-radius);
	font: inherit;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0;
	color: var(--tf-white);
	background: transparent;
	cursor: pointer;
	appearance: none;
	transition:
		background var(--tf-duration-fast) var(--tf-ease-out),
		border-color var(--tf-duration-fast) var(--tf-ease-out);
}

/* Hover — soft white fill, same subtle border */
.tf-help-center__feedback-btn:hover:not(:disabled):not(.is-active),
.tf-help-center__feedback-btn:focus-visible:not(:disabled):not(.is-active) {
	border-color: var(--tf-border-subtle);
	background: var(--tf-feedback-btn-bg-hover);
}

/* Pressed / selected — brighter rim */
.tf-help-center__feedback-btn:active:not(:disabled),
.tf-help-center__feedback-btn.is-active {
	border-color: var(--tf-feedback-btn-border-active);
	background: var(--tf-feedback-btn-bg-active);
}

.tf-help-center__feedback-btn:focus-visible {
	outline: 2px solid rgba(93, 215, 242, 0.55);
	outline-offset: 2px;
}

.tf-help-center__support {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: var(--tf-container);
	max-width: 100%;
	min-height: 368px;
	height: auto;
	margin-top: 96px;
	padding: 72px 80px;
	border-radius: var(--tf-radius-lg);
	/* Clip plate art, but let the card grow with longer locale copy. */
	overflow: hidden;
	isolation: isolate;
	/* Baked plate — glow + grid; keep WebGL rim only */
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.tf-help-center__support.tf-glass > .tf-help-center__support-backdrop {
	position: absolute;
	z-index: 0;
}

.tf-help-center__support.tf-glass > .tf-help-center__support-figure {
	position: absolute;
	z-index: 1;
}

.tf-help-center__support-backdrop {
	inset: 0;
	pointer-events: none;
}

.tf-help-center__support-backdrop picture {
	display: block;
	width: 100%;
	height: 100%;
}

.tf-help-center__support-backdrop img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tf-help-center__support-figure {
	right: 0;
	top: 50%;
	width: 373px;
	max-width: 34%;
	height: auto;
	aspect-ratio: 373 / 368;
	translate: 0 -50%;
	pointer-events: none;
}

.tf-help-center__support-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center right;
	/* Knock out solid black plate so the blue glow shows through */
	mix-blend-mode: screen;
}

.tf-help-center__support-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 622px;
	max-width: 100%;
}

.tf-help-center__support-title {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-help-center__support-text {
	margin: 0;
	max-width: 580px;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-help-center__support-text-br {
	display: none;
}

.tf-help-center__support-cta.tf-btn--primary {
	position: relative;
	z-index: 1;
	width: 312px;
	max-width: 100%;
	margin-top: 32px;
}

/* Trust & Security — Figma title box is 772px (break after "policies") */
.tf-trust-security .tf-help-center__support-copy {
	width: min(772px, 100%);
}

.tf-trust-security .tf-help-center__support-title {
	max-width: 772px;
	font-size: 48px;
	line-height: normal;
}

.tf-trust-security .tf-help-center__support-cta .tf-btn__label {
	text-transform: capitalize;
}

@media (min-width: 1100px) {
	.tf-help-center__cat {
		flex: 0 0 calc((100% - 48px) / 3);
		max-width: calc((100% - 48px) / 3);
	}
}

@media (max-width: 1200px) {
	.tf-help-center__support {
		padding: 56px 40px;
		min-height: 0;
	}

	.tf-help-center__support-copy {
		width: min(622px, 58%);
	}

	.tf-trust-security .tf-help-center__support-copy {
		width: min(772px, 100%);
	}
}

/* Rule Checker result — stack chart + rules before phone */
@media (max-width: 1024px) {
	.tf-rule-checker__result-shell {
		flex-direction: column;
		gap: 40px;
		min-height: 0;
		padding: 40px 32px;
	}

	.tf-rule-checker__result-main {
		flex: 1 1 auto;
		max-width: 100%;
		min-height: 0;
	}

	.tf-rule-checker__result-side {
		flex: 1 1 auto;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.tf-help-center,
	.tf-payout-center,
	.tf-trading-rules,
	.tf-trust-security,
	.tf-rule-checker,
	.tf-learning-materials {
		padding: 120px 16px 72px;
	}

	.tf-payout-center [data-tf-payout-calc] {
		margin-top: 40px;
	}

	.tf-payout-center__features {
		margin-top: 40px;
		gap: 16px;
	}

	.tf-payout-center__feature {
		width: 100%;
		min-height: 0;
		padding: 24px 20px 28px;
	}

	.tf-payout-center__feature-title {
		font-size: 18px;
	}

	.tf-payout-center__feature-text {
		font-size: 16px;
	}

	.tf-payout-center .tf-home-hiw {
		overflow: visible;
	}

	.tf-payout-center .tf-home-hiw.tf-home-hiw--no-rail {
		/* Break out of page horizontal padding — full-bleed glow */
		width: calc(100% + 32px);
		max-width: none;
		margin-top: 72px;
		margin-right: -16px;
		margin-left: -16px;
		padding: 72px 16px 0;
		background-color: transparent;
		background-image: url("../images/payout-center/see-it-mobile-glow.webp");
		background-repeat: no-repeat;
		background-position: top center;
		background-size: 100% auto;
	}

	.tf-payout-center .tf-home-hiw__title {
		font-size: 32px;
	}

	.tf-payout-center .tf-home-hiw__subtitle {
		font-size: 18px;
		max-width: 318px;
	}

	/*
	 * See it in action — mobile: glow plate asset, no backdrop plate,
	 * vertical copy→media→dashes, swipe + dash indicators.
	 */
	.tf-payout-center .tf-home-hiw__top-glow {
		display: none;
	}

	.tf-payout-center .tf-home-hiw__card {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
		width: 100%;
		max-width: 358px;
		min-height: 0;
		margin-top: 56px;
		padding: 56px 45px;
		border-radius: 24px;
		overflow: hidden;
		touch-action: pan-y;
		/* Fill stays CSS; WebGL paints the glass rim (no baked plate). */
		background: var(--tf-hiw-step-fill);
		box-shadow: var(--tf-hiw-step-inset);
	}

	.tf-payout-center .tf-home-hiw--no-rail .tf-home-hiw__card {
		margin-top: 56px;
	}

	/* Hide baked plate only — keep WebGL glass surface visible. */
	.tf-payout-center .tf-home-hiw__card-backdrop {
		display: none !important;
	}

	.tf-payout-center .tf-home-hiw__copy {
		order: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 326px;
		min-height: 0;
		flex: 0 0 auto;
		text-align: center;
	}

	.tf-payout-center .tf-home-hiw__counter,
	.tf-payout-center .tf-home-hiw__nav {
		display: none;
	}

	.tf-payout-center .tf-home-hiw__step-title {
		margin: 0;
		max-width: 100%;
		font-size: clamp(16px, 4.6vw, 20px);
		line-height: 1.25;
		text-align: center;
		overflow-wrap: anywhere;
		hyphens: auto;
	}

	.tf-payout-center .tf-home-hiw__step-text {
		margin: 12px 0 0;
		max-width: 326px;
		min-height: 115px;
		height: auto;
		font-size: 18px;
		line-height: normal;
		text-align: center;
	}

	.tf-payout-center .tf-home-hiw__media {
		order: 2;
		width: 100%;
		max-width: 326px;
		height: auto;
		margin-top: 32px;
		aspect-ratio: 326 / 232;
		border-radius: var(--tf-radius-sm);
	}

	.tf-payout-center .tf-home-hiw__image {
		border-radius: var(--tf-radius-sm);
	}

	.tf-payout-center .tf-home-hiw__dots {
		order: 3;
		display: flex;
		margin-top: 32px;
	}

	.tf-payout-center .tf-home-hiw__cta {
		width: 100%;
		max-width: 358px;
		margin-top: 56px;
	}

	/*
	 * Home How it works — mobile: section glow plate, rail step in slide
	 * without tile fill/glow, copy→media→dashes.
	 * Section is already full-bleed (not nested in padded parent) — do not
	 * widen with negative margins or the page gets horizontal scroll.
	 */
	.tf-home-hiw:not(.tf-home-hiw--no-rail) {
		width: 100%;
		max-width: 100%;
		margin-top: 72px;
		margin-right: 0;
		margin-left: 0;
		padding: 72px 16px 96px;
		background-color: transparent;
		background-image: url("../images/how-it-works/hiw-mobile-glow.webp");
		background-repeat: no-repeat;
		background-position: top center;
		background-size: 100% auto;
	}

	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__top-glow {
		display: none;
	}

	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__title {
		font-size: 32px;
	}

	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__subtitle {
		font-size: 18px;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__card {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
		width: 100%;
		max-width: 358px;
		min-height: 0;
		margin-top: 40px;
		padding: 32px 16px 56px;
		border-radius: 24px;
		overflow: hidden;
		touch-action: pan-y;
		/* CSS glass fill only — no baked PNG plate. */
		background: var(--tf-hiw-step-fill);
		box-shadow: var(--tf-hiw-step-inset);
	}

	/* Hide baked card plate — keep WebGL glass rim. */
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__card-backdrop {
		display: none !important;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__rail {
		order: 0;
		z-index: 1;
		justify-content: center;
		width: auto;
		height: auto;
		margin-top: 0;
		padding: 0;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__rail-gap,
	.tf-home-hiw--rail-in-slide .tf-home-hiw__rail-progress {
		display: none;
	}

	/* Strip step tile plate on mobile (fill / glow / WebGL) — icon + rim only. */
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.tf-glass,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.is-active,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.is-lit {
		--tf-glass-fill: transparent;
		--tf-glass-from: transparent;
		--tf-glass-to: transparent;
		--tf-hiw-step-fill: transparent;
		--tf-glass-inset: none;
		cursor: default;
		pointer-events: none;
		overflow: visible;
		isolation: auto;
		background: transparent !important;
		background-color: transparent !important;
		background-image: none !important;
		box-shadow: none !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}

	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.tf-glass::before,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.tf-glass::after,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.is-active.tf-glass::before,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.is-active.tf-glass::after {
		content: none !important;
		display: none !important;
		background: none !important;
		box-shadow: none !important;
	}

	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step-glow,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.is-lit .tf-home-hiw__step-glow {
		display: none !important;
		opacity: 0 !important;
	}

	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step .tf-glass-surface,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step .tf-glass-surface__canvas,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.is-active .tf-glass-surface,
	.tf-home-hiw:not(.tf-home-hiw--no-rail) .tf-home-hiw__step.is-active .tf-glass-surface__canvas {
		display: none !important;
		opacity: 0 !important;
		visibility: hidden !important;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__step[hidden] {
		display: none;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__copy {
		order: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 326px;
		min-height: 0;
		flex: 0 0 auto;
		margin-top: 24px;
		text-align: center;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__counter,
	.tf-home-hiw--rail-in-slide .tf-home-hiw__nav {
		display: none;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__step-title {
		margin: 0;
		font-size: 20px;
		line-height: 1.25;
		text-align: center;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__step-text {
		margin: 12px 0 0;
		max-width: 326px;
		font-size: 18px;
		line-height: normal;
		text-align: center;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__media {
		order: 2;
		width: 100%;
		max-width: 326px;
		height: auto;
		margin-top: 32px;
		aspect-ratio: 326 / 232;
		border-radius: var(--tf-radius-sm);
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__image {
		border-radius: var(--tf-radius-sm);
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__dots {
		order: 3;
		display: flex;
		margin-top: 32px;
	}

	.tf-home-hiw--rail-in-slide .tf-home-hiw__cta {
		width: 100%;
		max-width: 358px;
		margin-top: 40px;
	}

	/* Page intro banners — mobile plate matches Payout Center (358×200) */
	.tf-help-center__banner,
	.tf-payout-center__banner,
	.tf-trading-rules__banner,
	.tf-trust-security__banner,
	.tf-rule-checker__banner,
	.tf-learning-materials__banner {
		width: 100%;
		height: 200px;
		min-height: 200px;
	}

	.tf-help-center__copy,
	.tf-payout-center__copy,
	.tf-trading-rules__copy,
	.tf-trust-security__copy,
	.tf-rule-checker__copy,
	.tf-learning-materials__copy {
		box-sizing: border-box;
		gap: 8px;
		padding: 24px;
		max-height: 100%;
	}

	.tf-help-center__title,
	.tf-payout-center__title,
	.tf-trading-rules__title,
	.tf-trust-security__title,
	.tf-rule-checker__title,
	.tf-learning-materials__title {
		font-size: 32px;
	}

	.tf-help-center__text,
	.tf-payout-center__text,
	.tf-trading-rules__text,
	.tf-trust-security__text,
	.tf-rule-checker__text,
	.tf-learning-materials__text {
		font-size: 18px;
	}

	.tf-trading-rules__type-chips {
		flex-wrap: nowrap;
		align-items: stretch;
		margin-top: 56px;
		gap: 8px;
	}

	.tf-trading-rules__type-chips > .tf-selection-chip {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	.tf-trading-rules__type-chips > .tf-selection-chip .tf-selection-chip__glow-wrap {
		left: 50%;
		transform: translateX(-50%);
	}

	.tf-rule-checker__scenario-chips {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		margin-top: 56px;
		gap: 8px;
	}

	.tf-rule-checker__scenario-chips > .tf-selection-chip {
		flex: 0 0 auto;
		width: 100%;
	}

	.tf-rule-checker__result {
		margin-top: 32px;
	}

	.tf-rule-checker__result-shell {
		flex-direction: column;
		gap: 48px;
		min-height: 0;
		padding: 40px 24px 24px;
	}

	.tf-rule-checker__result-copy {
		align-items: center;
		text-align: center;
	}

	.tf-rule-checker__result-main {
		flex: 1 1 auto;
		max-width: 100%;
		min-height: 0;
		gap: 32px;
		padding: 0;
		border-radius: 0;
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		box-shadow: none;
	}

	.tf-rule-checker__result-main.tf-glass::before,
	.tf-rule-checker__result-main.tf-glass::after {
		content: none;
		box-shadow: none;
	}

	.tf-rule-checker__result-main.tf-glass > .tf-glass-surface {
		display: none;
	}

	.tf-rule-checker__result-title {
		font-size: 20px;
	}

	.tf-rule-checker__result-text {
		font-size: 16px;
	}

	.tf-rule-checker__chart-bars {
		gap: 8px;
		min-height: 160px;
	}

	.tf-rule-checker__chart-value,
	.tf-rule-checker__chart-label {
		font-size: 14px;
	}

	.tf-rule-checker__result-side {
		flex: 1 1 auto;
		max-width: 100%;
		gap: 16px;
	}

	.tf-rule-checker__rules-label {
		font-size: 16px;
		font-weight: 300;
	}

	.tf-rule-checker__rule {
		min-height: 80px;
		padding: 20px 24px;
	}

	.tf-rule-checker__rule-title {
		font-size: 18px;
	}

	.tf-trust-security__topics {
		margin-top: 72px;
	}

	.tf-trust-security__topic {
		grid-template-columns: 48px minmax(0, 1fr);
		column-gap: 24px;
		padding: 72px 0 56px;
	}

	.tf-trust-security__topic-icon {
		width: 48px;
		height: 48px;
		border-radius: 14px;
	}

	.tf-trust-security__topic-title {
		font-size: 24px;
		font-weight: 500;
	}

	.tf-trust-security__topic-body {
		font-size: 18px;
		font-weight: 400;
		line-height: 24px;
	}

	.tf-trust-security__topic-link {
		font-size: 16px;
		line-height: 22px;
	}

	.tf-trading-rules__block {
		margin-top: 56px;
	}

	.tf-trading-rules__block-heading {
		font-size: 16px;
	}

	.tf-trading-rules__block-list {
		margin-top: 16px;
		gap: 16px;
	}

	.tf-help-center__cats {
		margin-top: 56px;
		gap: 16px;
	}

	.tf-help-center__cat {
		flex: 1 1 100%;
	}

	.tf-help-center__popular {
		margin-top: 72px;
	}

	.tf-help-center__popular-label {
		margin-bottom: 16px;
		font-size: 16px;
		font-weight: 300;
		line-height: 24px;
		letter-spacing: -0.448px;
	}

	.tf-help-center__popular-list.tf-home-faq__list {
		gap: 16px;
	}

	.tf-help-center__popular-list .tf-home-faq__summary {
		min-height: 72px;
		padding: 13px 16px 13px 32px;
		gap: 24px;
	}

	.tf-help-center__popular-list .tf-home-faq__question {
		font-size: 18px;
	}

	.tf-help-center__crumbs {
		font-size: 16px;
	}

	.tf-help-center__article-title {
		margin-top: 40px;
		font-size: 36px;
	}

	.tf-help-center__article-updated {
		font-size: 16px;
	}

	.tf-help-center__article-body {
		margin-top: 32px;
		font-size: 18px;
		line-height: 24px;
	}

	.tf-help-center__tip {
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
		margin-top: 48px;
		padding: 24px 16px 24px 24px;
		min-height: 0;
	}

	.tf-help-center__tip-text {
		font-size: 18px;
		font-weight: 400;
		line-height: 24px;
	}

	.tf-help-center__related-text {
		font-size: 18px;
		font-weight: 400;
		line-height: 24px;
	}

	.tf-help-center__related {
		margin-top: 32px;
	}

	.tf-help-center__feedback {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		margin-top: 72px;
		padding: 20px 0;
	}

	.tf-help-center__feedback-label {
		font-size: 18px;
		font-weight: 400;
	}

	.tf-help-center__feedback-actions {
		justify-content: flex-end;
	}

	/* Support CTA plate — shared mobile (Help Center / Trust & Security) */
	.tf-help-center__support {
		align-items: center;
		min-height: 537px;
		margin-top: 72px;
		padding: 257px 16px 32px;
	}

	.tf-help-center .tf-help-center__support {
		/* Grow with longer FR/ES copy — fixed height clipped the CTA. */
		min-height: 494px;
		height: auto;
		padding-bottom: 40px;
	}

	.tf-help-center__support-backdrop img {
		object-fit: cover;
		object-position: top center;
	}

	.tf-help-center__support-figure {
		display: block;
		top: 8px;
		right: 50%;
		width: min(249px, 70%);
		max-width: none;
		translate: 50% 0;
	}

	.tf-help-center__support-copy {
		gap: 8px;
		width: 100%;
		max-width: 310px;
		text-align: center;
		align-items: center;
	}

	.tf-help-center__support-title,
	.tf-trust-security .tf-help-center__support-title {
		font-size: 32px;
		font-weight: 700;
	}

	.tf-help-center__support-text {
		font-size: 18px;
		font-weight: 400;
	}

	.tf-help-center .tf-help-center__support-text {
		max-width: 310px;
		min-height: 69px;
		height: auto;
		line-height: 23px;
	}

	.tf-help-center .tf-help-center__support-text-br {
		display: inline;
	}

	.tf-help-center__support-cta.tf-btn--primary {
		width: 100%;
		max-width: 326px;
		margin-top: 32px;
	}
}

/* Legal pages (Terms / Privacy) */

.tf-legal {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: 140px 24px 96px;
	background: transparent;
}

.tf-legal__inner {
	display: flex;
	flex-direction: column;
	width: var(--tf-container);
	max-width: 100%;
	gap: 40px;
}

.tf-legal__header {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tf-legal__title {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 48px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.tf-legal__toc {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--tf-border-subtle);
	border-radius: var(--tf-radius-lg);
	background: linear-gradient(
		180deg,
		rgba(3, 12, 53, 0.2) 0%,
		rgba(0, 0, 0, 0.2) 100%
	);
}

.tf-legal__toc-label {
	margin: 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tf-legal__toc-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 16px;
	line-height: 1.4;
}

.tf-legal__toc-link {
	color: var(--tf-white);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tf-legal__toc-link:hover,
.tf-legal__toc-link:focus-visible {
	color: var(--tf-cyan);
}

.tf-legal__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.tf-legal__body > *:first-child {
	margin-top: 0;
}

.tf-legal__body > *:last-child {
	margin-bottom: 0;
}

.tf-legal__body h2 {
	margin: 32px 0 8px;
	scroll-margin-top: 120px;
	color: var(--tf-white);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.25;
}

.tf-legal__body h3 {
	margin: 24px 0 8px;
	scroll-margin-top: 120px;
	color: var(--tf-white);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
}

.tf-legal__body p,
.tf-legal__body ul,
.tf-legal__body ol,
.tf-legal__body dl {
	margin: 0;
}

.tf-legal__body .tf-legal__lead {
	color: var(--tf-white);
	font-size: 18px;
	line-height: 1.55;
}

.tf-legal__body ul,
.tf-legal__body ol {
	padding-left: 1.25em;
}

.tf-legal__body li + li {
	margin-top: 8px;
}

.tf-legal__body {
	counter-reset: tf-legal-section;
}

.tf-legal__body h2 {
	counter-increment: tf-legal-section;
	counter-reset: tf-legal-clause;
}

.tf-legal__body h2 ~ p {
	position: relative;
	padding-left: 2.75em;
	counter-increment: tf-legal-clause;
}

.tf-legal__body h2 ~ p::before {
	content: counter(tf-legal-section) "." counter(tf-legal-clause);
	position: absolute;
	left: 0;
}

.tf-legal__body ul:not(.tf-legal__contacts) {
	list-style: none;
	counter-reset: tf-legal-letter;
	padding-left: 4.5em;
}

.tf-legal__body ul:not(.tf-legal__contacts) > li {
	position: relative;
	counter-increment: tf-legal-letter;
}

.tf-legal__body ul:not(.tf-legal__contacts) > li::before {
	content: "(" counter(tf-legal-letter, lower-alpha) ")";
	position: absolute;
	left: -1.75em;
}

/* AML / Restricted: plain disc bullets, no clause lettering or paragraph numbers. */
.tf-legal__body--bullets h2 ~ p {
	padding-left: 0;
	counter-increment: none;
}

.tf-legal__body--bullets h2 ~ p::before {
	content: none;
}

.tf-legal__body--bullets ul:not(.tf-legal__contacts) {
	list-style: disc;
	counter-reset: none;
	padding-left: 1.25em;
}

.tf-legal__body--bullets ul:not(.tf-legal__contacts) > li {
	counter-increment: none;
}

.tf-legal__body--bullets ul:not(.tf-legal__contacts) > li::before {
	content: none;
}

.tf-legal__body a {
	color: var(--tf-cyan);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tf-legal__body a:hover,
.tf-legal__body a:focus-visible {
	color: var(--tf-white);
}

.tf-legal__body strong,
.tf-legal__body b {
	color: var(--tf-white);
	font-weight: 500;
}

.tf-legal__contacts {
	list-style: none;
	padding-left: 0;
}

.tf-legal__contacts li + li {
	margin-top: 6px;
}

.tf-legal__defs {
	display: grid;
	grid-template-columns: minmax(120px, 220px) 1fr;
	gap: 12px 24px;
}

.tf-legal__defs dt {
	margin: 0;
	color: var(--tf-white);
	font-weight: 500;
}

.tf-legal__defs dd {
	margin: 0;
}

.tf-legal__cross {
	margin: 0;
	padding-top: 8px;
	border-top: 1px solid var(--tf-border-subtle);
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 16px;
	line-height: 1.5;
}

.tf-legal__cross-link {
	color: var(--tf-cyan);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tf-legal__cross-link:hover,
.tf-legal__cross-link:focus-visible {
	color: var(--tf-white);
}

/* FAQ */

.tf-home-faq {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 100%;
	padding: 96px 24px 120px;
	overflow: visible;
	background: transparent;
}

.tf-home-faq__decor {
	position: absolute;
	top: 40px;
	right: max(24px, calc(50% - 600px + 24px));
	z-index: 0;
	width: 211px;
	height: 283px;
	pointer-events: none;
}

.tf-home-faq__decor img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tf-home-faq__intro {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 1200px;
	max-width: 100%;
	padding-right: 180px;
}

.tf-home-faq__title {
	margin: 0;
	max-width: 100%;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-faq__text {
	margin: 8px 0 0;
	max-width: 733px;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-faq__list {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 1200px;
	max-width: 100%;
	margin-top: 56px;
}

.tf-home-faq__item {
	width: 100%;
	margin: 0;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
}

/* Glass shell stays outside <details> — WebGL rim would be hidden when closed. */
.tf-home-faq__details {
	position: relative;
	z-index: 3;
	margin: 0;
}

.tf-home-faq__item.tf-glass > .tf-home-faq__details,
.tf-home-faq__item.tf-glass > .tf-home-faq__summary {
	position: relative;
	z-index: 3;
}

.tf-home-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
	padding: 20px 32px;
	cursor: default;
	list-style: none;
}

.tf-home-faq__details > .tf-home-faq__summary {
	cursor: pointer;
}

.tf-home-faq__summary::-webkit-details-marker {
	display: none;
}

.tf-home-faq__question {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-faq__chevron {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	transition: transform var(--tf-duration-fast) var(--tf-ease-out);
}

.tf-home-faq__chevron img {
	display: block;
	width: 32px;
	height: 32px;
}

.tf-home-faq__details[open] > .tf-home-faq__summary .tf-home-faq__chevron {
	transform: rotate(180deg);
}

.tf-home-faq__answer {
	padding: 0 32px 24px;
}

.tf-home-faq__answer p {
	margin: 0;
	max-width: 920px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--tf-grey);
}

.tf-home-faq__cta.tf-btn--secondary {
	position: relative;
	z-index: 1;
	width: 384px;
	max-width: 100%;
	height: 56px;
	min-height: 56px;
	margin-top: 56px;
}

@media (max-width: 1200px) {
	.tf-home-faq__decor {
		right: 16px;
		width: 157px;
		height: 210px;
		opacity: 0.9;
	}

	.tf-home-faq__intro,
	.tf-home-faq__list {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.tf-home-faq {
		padding: 72px 16px 96px;
	}

	.tf-home-faq__intro {
		align-items: center;
		padding-right: 0;
		text-align: center;
	}

	.tf-home-faq__title {
		font-size: 36px;
	}

	.tf-home-faq__text {
		max-width: 100%;
		font-size: 18px;
	}

	.tf-home-faq__decor {
		display: none;
	}

	.tf-home-faq__list {
		margin-top: 40px;
		gap: 12px;
	}

	.tf-home-faq__summary {
		min-height: 64px;
		padding: 24px 24px 24px 32px;
		gap: 16px;
	}

	.tf-home-faq__question {
		font-size: 16px;
	}

	.tf-home-faq__answer {
		padding: 0 24px 24px 32px;
	}

	.tf-home-faq__cta.tf-btn--secondary {
		margin-top: 40px;
	}
}

/* Ready to trade */

.tf-home-rtt {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	padding: 68px 24px 120px;
	background: transparent;
}

/* Inner pages — tighter RTT gap from section padding-bottom. */
.tf-rule-checker + .tf-home-rtt,
.tf-payout-center + .tf-home-rtt,
.tf-leaderboard + .tf-home-rtt {
	padding-top: 0;
}

.tf-rule-checker + .tf-home-rtt .tf-home-rtt__card {
	padding-top: 42px;
	padding-bottom: 42px;
}

.tf-home-rtt__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 1200px;
	max-width: 100%;
	min-height: 368px;
	padding: 72px 80px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	/* Baked plate — glow + grid; keep WebGL rim only */
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.tf-home-rtt__card.tf-glass > .tf-home-rtt__backdrop {
	position: absolute;
	z-index: 0;
}

.tf-home-rtt__backdrop {
	inset: 0;
	pointer-events: none;
}

.tf-home-rtt__backdrop picture {
	display: block;
	width: 100%;
	height: 100%;
}

.tf-home-rtt__backdrop img {
	display: block;
	width: 100%;
	height: 100%;
	/* Keep glow + tile plate fully visible while the card width changes */
	object-fit: fill;
	object-position: center;
}

.tf-home-rtt__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	/* Wide enough for longer payout title on one line */
	width: 780px;
	max-width: 100%;
}

.tf-home-rtt__title {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-rtt__text {
	margin: 0;
	max-width: 720px;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-rtt__cta.tf-btn--primary {
	position: relative;
	z-index: 1;
	width: 312px;
	max-width: 100%;
	margin-top: 32px;
}

@media (max-width: 1200px) {
	.tf-home-rtt__card {
		padding: 56px 40px;
		min-height: 0;
	}

	.tf-home-rtt__copy {
		width: min(780px, 72%);
	}
}

/* Keep the mobile plate and stacked layout on the same breakpoint. */
@media (max-width: 770px) {
	.tf-home-rtt {
		padding: 48px 16px 72px;
	}

	.tf-rule-checker + .tf-home-rtt,
	.tf-payout-center + .tf-home-rtt,
	.tf-leaderboard + .tf-home-rtt {
		padding-top: 0;
	}

	.tf-home-rtt__card {
		align-items: center;
		width: 440px;
		min-height: 551px;
		padding: min(71.8vw - 23px, 316px) 16px 32px;
		/* Same translucent plate approach as desktop — waves show through. */
		background: transparent;
	}

	.tf-rule-checker + .tf-home-rtt .tf-home-rtt__card {
		padding-top: min(71.8vw - 23px, 316px);
		padding-bottom: 32px;
	}

	/* Full-card mobile plate (glow + soft body), not the opaque reference crop. */
	.tf-home-rtt__backdrop picture {
		height: 100%;
	}

	.tf-home-rtt__backdrop img {
		height: 100%;
		object-fit: fill;
		object-position: center;
	}

	.tf-home-rtt__copy {
		gap: 8px;
		width: 100%;
		max-width: 310px;
		text-align: center;
		align-items: center;
	}

	.tf-home-rtt__title {
		font-size: 32px;
	}

	.tf-home-rtt__text {
		max-width: 100%;
		font-size: 18px;
	}

	.tf-home-rtt__cta.tf-btn--primary {
		width: 100%;
		max-width: 326px;
		margin-top: 63px;
		align-self: center;
	}
}

/* Different by design */

.tf-home-dbd {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 96px 24px 0;
	overflow: visible;
}

.tf-home-dbd__inner {
	width: 100%;
	max-width: var(--tf-container);
}

.tf-home-dbd__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 72px;
	text-align: center;
}

.tf-home-dbd__title {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-dbd__subtitle {
	margin: 0;
	max-width: 812px;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-dbd__cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	width: 100%;
}

.tf-home-dbd__card {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 588px;
	max-width: 100%;
	min-height: 280px;
	padding: 24px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	isolation: isolate;
	--tf-glass-rim-width: 1px;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: inset 0 0 2px 0 #0a0f2f;
}

.tf-home-dbd__card.tf-glass > .tf-home-dbd__card-bg {
	position: absolute;
	z-index: 0;
}

.tf-home-dbd__card-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}

.tf-home-dbd__card-bg picture {
	display: block;
	width: 100%;
	height: 100%;
}

.tf-home-dbd__card-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}

.tf-home-dbd__card-head,
.tf-home-dbd__list {
	position: relative;
	z-index: 3;
}

.tf-home-dbd__card-head {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 56px;
}

.tf-home-dbd__badge {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	padding: 8px;
	border-radius: 16px;
	--tf-glass-rim-width: 1px;
	--tf-glass-from: rgba(3, 12, 53, 0.2);
	--tf-glass-to: rgba(0, 0, 0, 0.2);
	--tf-glass-inset: inset 0 0 1px 0 rgba(99, 99, 99, 0.4);
}

.tf-home-dbd__badge-icon {
	display: block;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.tf-home-dbd__card--trustfunded .tf-home-dbd__badge-icon {
	width: 34px;
	height: 22px;
}

.tf-home-dbd__card-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: normal;
	color: var(--tf-white);
	white-space: nowrap;
}

.tf-home-dbd__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-home-dbd__item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tf-home-dbd__item-icon {
	display: block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.tf-home-dbd__item-text {
	font-size: 18px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: -0.504px;
	color: var(--tf-white);
	white-space: nowrap;
}

@media (max-width: 768px) {
	.tf-home-dbd {
		padding: 72px 16px 0;
	}

	.tf-home-dbd__header {
		margin-bottom: 40px;
	}

	.tf-home-dbd__title {
		font-size: 32px;
	}

	.tf-home-dbd__subtitle {
		max-width: 318px;
		font-size: 18px;
	}

	.tf-home-dbd__cards {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.tf-home-dbd__card {
		width: 100%;
		max-width: 358px;
		min-height: 0;
	}

	.tf-home-dbd__card-title,
	.tf-home-dbd__item-text {
		white-space: normal;
	}

	.tf-home-dbd__item-text {
		flex: 1;
		min-width: 0;
	}
}

/* Challenge Explorer */

.tf-home-ce {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 96px 24px 0;
	overflow: visible;
	scroll-margin-top: 120px;
}

.tf-home-ce__inner {
	width: 100%;
	max-width: var(--tf-container);
}

.tf-home-ce__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 72px;
}

.tf-home-ce__title {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-ce__subtitle {
	margin: 0;
	max-width: 812px;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-ce__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.tf-home-ce__toolbar-left {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.tf-home-ce__type-chips,
.tf-home-ce__currency-chips {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tf-home-ce__compare.tf-btn--secondary {
	width: auto;
	min-width: 132px;
	padding-inline: 16px;
	gap: 8px;
}

.tf-home-ce.is-comparing .tf-home-ce__compare {
	display: none;
}

.tf-home-ce.is-comparing .tf-home-ce__plans {
	display: none;
}

.tf-home-ce__compare-panel {
	margin-bottom: 40px;
}

.tf-home-ce__compare-panel[hidden] {
	display: none;
}

.tf-home-ce__compare-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.tf-home-ce__compare-title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.672px;
	color: var(--tf-white);
}

.tf-home-ce__compare-close.tf-btn--secondary {
	flex-shrink: 0;
	width: auto;
	min-width: 164px;
	height: 40px;
	min-height: 40px;
	padding: 8px 16px;
	gap: 8px;
	white-space: nowrap;
}

.tf-home-ce__compare-close .tf-btn__label {
	white-space: nowrap;
}

.tf-home-ce__compare-slots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 282px));
	gap: 24px;
	justify-content: start;
	align-items: start;
}

.tf-home-ce__compare-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 446px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: inset 0 0 2px 0 #0a0f2f, inset 0 0 2px 0 #0a0f2f;
}

.tf-home-ce__compare-card-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 24px 24px 16px;
}

.tf-home-ce__compare-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.tf-home-ce__phase {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	min-width: 74px;
	padding: 2px 12px;
	border-radius: 12px;
	background: rgba(23, 70, 234, 0.2);
	color: var(--tf-white);
	font-size: 14px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: -0.392px;
	white-space: nowrap;
}

.tf-home-ce__compare-card .tf-home-ce__card-kicker {
	margin: 0;
}

.tf-home-ce__compare-card .tf-home-ce__card-size {
	margin-top: 8px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-home-ce__compare-card .tf-home-ce__card-step {
	margin-top: 16px;
}

.tf-home-ce__compare-card .tf-home-ce__price-row {
	margin-top: 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-home-ce__metric-cols strong.is-better,
.tf-home-ce__price.is-better {
	color: var(--tf-green);
}

.tf-home-ce__metric-cols strong.is-worse,
.tf-home-ce__price.is-worse {
	color: var(--tf-red);
}

.tf-home-ce__compare-card-cta.tf-btn--secondary {
	width: 100%;
	max-width: none;
	height: 40px;
	min-height: 40px;
	margin-top: 24px;
	padding: 8px 24px;
}

.tf-home-ce__compare-add {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 446px;
	padding: 16px;
	border: 0;
	border-radius: var(--tf-radius-lg);
	background: linear-gradient(
		180deg,
		rgba(3, 12, 53, 0.1) 0%,
		rgba(0, 0, 0, 0.1) 100%
	);
	overflow: hidden;
}

/* Figma stroke-dasharray 12 12 — CSS border:dashed cannot match */
.tf-home-ce__compare-add-rim {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.tf-home-ce__compare-add > *:not(.tf-home-ce__compare-add-rim) {
	position: relative;
	z-index: 1;
}

.tf-home-ce__compare-add-types {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.tf-home-ce__compare-add-types .tf-selection-chip--compact {
	width: 121px;
	padding: 8px 16px;
}

.tf-home-ce__compare-add-label {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: -0.448px;
	color: var(--tf-white);
}

.tf-home-ce__compare-add-sizes,
.tf-home-ce__compare-add-platforms {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 16px;
}

.tf-home-ce__compare-add-sizes .tf-selection-chip--compact,
.tf-home-ce__compare-add-platforms .tf-selection-chip--compact {
	width: 100%;
	padding: 8px 16px;
}

.tf-home-ce__compare-add-platforms .tf-selection-chip--compact {
	min-height: 40px;
}

.tf-home-ce__compare-add-platforms .tf-selection-chip__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tf-home-ce__compare-add-platforms .tf-home-ce__platform-icon {
	width: 24px;
	height: 24px;
}

.tf-home-ce__compare-add-platforms .tf-home-ce__platform--soon .tf-home-ce__platform-face {
	filter: none;
}

.tf-home-ce__compare-add-platforms .tf-home-ce__soon {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.tf-home-ce__compare-add-cta.tf-btn--secondary {
	width: 100%;
	max-width: none;
	height: 40px;
	min-height: 40px;
	margin-top: auto;
	padding: 8px 24px;
	gap: 8px;
}

.tf-home-ce__compare-add-cta.is-duplicate {
	opacity: 0.55;
	cursor: default;
}

.tf-home-ce__compare-card.is-pulse {
	animation: tf-ce-compare-pulse 0.7s ease;
}

@keyframes tf-ce-compare-pulse {
	0%,
	100% {
		box-shadow: none;
	}
	40% {
		box-shadow: 0 0 0 2px rgba(93, 215, 242, 0.55);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tf-home-ce__compare-card.is-pulse {
		animation: none;
		box-shadow: 0 0 0 2px rgba(93, 215, 242, 0.55);
	}
}

.tf-home-ce__platforms {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-height: 56px;
	margin-bottom: 48px;
	padding: 8px 24px;
	border-radius: 16px;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: inset 0 0 2px 0 #0a0f2f, inset 0 0 2px 0 #0a0f2f;
}

.tf-home-ce__platforms-label {
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-ce__platforms-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.tf-home-ce__platform.tf-selection-chip--compact {
	width: auto;
	min-width: 0;
	padding: 8px 24px;
	overflow: visible;
}

.tf-home-ce__platform.tf-selection-chip--active {
	overflow: hidden;
}

.tf-home-ce__platform .tf-selection-chip__glow-wrap {
	left: 50%;
	transform: translateX(-50%);
}

.tf-home-ce__platform .tf-selection-chip__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tf-home-ce__platform-face {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tf-home-ce__platform-icon {
	display: block;
	width: 24px;
	height: 24px;
	object-fit: contain;
	flex-shrink: 0;
}

.tf-home-ce__platform-name {
	white-space: nowrap;
}

/*
 * Soon overlay — frost rect over chip content (BACKGROUND_BLUR ≈ blur(2px)
 * + #010106 @ 20%). Rim stays above frost so the 1px stroke stays sharp.
 */
.tf-home-ce__platform--soon {
	overflow: visible;
	opacity: 1;
}

.tf-home-ce__platform--soon:disabled {
	opacity: 1;
	cursor: default;
}

/* Blur icon/label only — never the SVG rim */
.tf-home-ce__platform--soon .tf-selection-chip__label {
	filter: blur(2px);
}

.tf-home-ce__platform-frost {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
	background-color: rgba(1, 1, 6, 0.2);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	pointer-events: none;
}

.tf-home-ce__platform--soon .tf-selection-chip__rim {
	z-index: 3;
	opacity: 0.45;
}

.tf-home-ce__soon {
	position: absolute;
	top: -4px;
	left: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(23, 70, 234, 0.58) 0%, rgba(93, 215, 242, 0.8) 100%);
	color: var(--tf-white);
	font-size: 12px;
	font-weight: 600;
	line-height: 15px;
	transform: translateX(-50%);
	pointer-events: none;
}

.tf-home-ce__plans {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 40px;
	padding-top: 20px;
	align-items: start;
}

.tf-home-ce__card.is-hidden,
.tf-home-ce__card[hidden] {
	display: none;
}

.tf-home-ce__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 446px;
	border-radius: var(--tf-radius-lg);
	overflow: visible;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: inset 0 0 2px 0 #0a0f2f, inset 0 0 2px 0 #0a0f2f;
}

.tf-home-ce__card.tf-glass {
	overflow: visible;
}

.tf-home-ce__card.tf-glass > .tf-home-ce__card-shell {
	position: absolute;
	z-index: 0;
}

.tf-home-ce__card.tf-glass > .tf-home-ce__badge {
	z-index: 4;
}

.tf-home-ce__card-shell {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
	/* Mobile WebKit: border-radius + overflow can leave corner gaps */
	clip-path: inset(0 round var(--tf-radius-lg));
}

.tf-home-ce__card.is-featured {
	padding-top: 0;
	/* Same glass family as sibling plans — shell waves must show through. */
	--tf-glass-from: rgba(3, 12, 53, 0.18);
	--tf-glass-to: rgba(0, 0, 0, 0.22);
	background: var(--tf-glass-fill);
}

.tf-home-ce__card.is-featured .tf-home-ce__card-shell {
	/* Bleed under rim AA + top blue glow; no opaque --tf-bg plate. */
	inset: -1px;
	clip-path: inset(0 round calc(var(--tf-radius-lg) + 1px));
	background: radial-gradient(
		ellipse 130% 62% at 50% -12%,
		rgba(55, 110, 220, 0.55) 0%,
		rgba(23, 70, 234, 0.28) 34%,
		rgba(1, 1, 6, 0) 70%
	);
}

.tf-home-ce__card-bg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	pointer-events: none;
}

.tf-home-ce__card-shell picture {
	display: block;
	width: 100%;
	height: 100%;
}

.tf-home-ce__card.is-featured .tf-home-ce__card-bg {
	position: absolute;
	left: 50%;
	top: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	transform: translateX(-50%) scale(1.12);
	transform-origin: center top;
	/* Soft grid/glow accent — keep Best Value look without blocking waves. */
	opacity: 0.5;
	mix-blend-mode: soft-light;
}

.tf-home-ce__badge {
	position: absolute;
	top: -19px;
	left: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 113px;
	height: 36px;
	padding: 8px 16px;
	border-radius: var(--tf-radius-lg);
	background: var(--tf-cta-border-gradient);
	color: var(--tf-white);
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
	transform: translateX(-50%);
}

.tf-home-ce__card-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 24px 24px 24px;
}

.tf-home-ce__card-kicker {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-ce__card-size {
	margin: 8px 0 0;
	font-size: 32px;
	font-weight: 600;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-ce__card-step {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	height: 32px;
	margin: 24px -24px 24px;
	padding-right: 24px;
}

.tf-home-ce__card-step-band {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(217, 217, 217, 0) 0%,
		rgba(217, 217, 217, 0.1) 49.5%,
		rgba(217, 217, 217, 0) 100%
	);
	pointer-events: none;
}

.tf-home-ce__card-step-label {
	position: relative;
	z-index: 1;
	min-width: 48px;
	font-size: 16px;
	font-weight: 300;
	line-height: normal;
	color: var(--tf-grey);
	text-align: right;
}

.tf-home-ce__metrics {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.tf-home-ce__metrics li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 18px;
	line-height: normal;
}

.tf-home-ce__metrics span:first-child {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 300;
	color: var(--tf-grey);
}

.tf-home-ce__metric-cols {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.tf-home-ce__metric-cols strong {
	min-width: 48px;
	font-weight: 400;
	color: var(--tf-white);
	text-align: right;
}

.tf-home-ce__price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-home-ce__price-from {
	font-size: 20px;
	font-weight: 300;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-home-ce__price {
	font-size: 24px;
	font-weight: 600;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-ce__card-cta.tf-btn--primary {
	width: 100%;
	max-width: none;
	height: 40px;
	min-height: 40px;
	margin-top: 24px;
	padding: 8px 16px;
}

.tf-home-ce__calc {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 304px;
	padding: 24px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	--tf-glass-from: transparent;
	--tf-glass-to: transparent;
	--tf-glass-inset: var(--tf-hiw-step-inset);
	background: transparent;
}

.tf-home-ce__calc.tf-glass > .tf-home-ce__calc-bg {
	position: absolute;
	z-index: 0;
}

.tf-home-ce__calc-bg {
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}

.tf-home-ce__calc-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.tf-home-ce__calc-bg picture {
	display: block;
	width: 100%;
	height: 100%;
}

.tf-home-ce__calc-head,
.tf-home-ce__calc-controls,
.tf-home-ce__calc-results {
	position: relative;
	z-index: 1;
}

.tf-home-ce__calc-head {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 48px;
}

.tf-home-ce__calc-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: var(--tf-hiw-step-inset);
}

.tf-home-ce__calc-icon img {
	position: relative;
	z-index: 3;
	display: block;
	width: 24px;
	height: 24px;
}

.tf-home-ce__calc-title {
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	line-height: normal;
	color: var(--tf-white);
}

.tf-home-ce__calc-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: 32px;
}

.tf-home-ce__calc--cycles {
	min-height: 433px;
}

.tf-home-ce__calc--cycles .tf-home-ce__calc-controls {
	margin-bottom: 40px;
}

.tf-home-ce__cycles {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

.tf-home-ce__cycle.tf-selection-chip--compact {
	flex: none;
	width: 100%;
	min-width: 0;
	max-width: none;
	height: 48px;
	padding: 8px 16px;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.504px;
}

.tf-home-ce__cycle .tf-selection-chip__glow-wrap {
	top: -23px;
	left: 50%;
	transform: translateX(-50%);
}

.tf-home-ce__cycle-hint {
	position: relative;
	z-index: 1;
	margin: 24px 0 32px;
	font-size: 18px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: -0.504px;
	color: var(--tf-white);
}

.tf-payout-center [data-tf-payout-calc] {
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 72px;
}

.tf-payout-center__promise {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 96px;
	text-align: center;
}

.tf-payout-center__promise-title {
	margin: 0;
	max-width: 100%;
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-payout-center__promise-text {
	margin: 0;
	max-width: 100%;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-payout-center__promise-text--mobile {
	display: none;
}

.tf-payout-center__features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	width: var(--tf-container);
	max-width: 100%;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

.tf-payout-center__feature {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 384px;
	max-width: 100%;
	min-height: 257px;
	padding: 24px 24px 32px;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	/* Surface matches HIW step fill @ 0.1 + double inset */
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: var(--tf-hiw-step-inset);
	text-align: center;
}

.tf-payout-center__feature-icon {
	position: relative;
	z-index: 1;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 8px;
	border-radius: 16px;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: var(--tf-hiw-step-inset);
}

.tf-payout-center__feature-icon img {
	position: relative;
	z-index: 3;
	display: block;
	width: 24px;
	height: 24px;
}

.tf-payout-center__feature-title {
	position: relative;
	z-index: 1;
	margin: 16px 0 0;
	max-width: 309px;
	font-size: 20px;
	font-weight: 700;
	line-height: normal;
	color: var(--tf-white);
}

.tf-payout-center__feature-text {
	position: relative;
	z-index: 1;
	margin: 12px 0 0;
	max-width: 337px;
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

/* Reused HIW under promise cards — 96px gap, inherit page horizontal padding. */
.tf-payout-center .tf-home-hiw {
	margin-top: 96px;
	padding: 96px 0 0;
	background: transparent;
}

.tf-home-hiw--no-rail .tf-home-hiw__card {
	margin-top: 72px;
}

.tf-home-ce__select {
	width: 330px;
	max-width: 100%;
}

.tf-home-ce__slider {
	display: flex;
	flex: 1 1 420px;
	align-items: center;
	gap: 40px;
	max-width: 622px;
	min-width: 0;
	min-height: 48px;
}

.tf-home-ce__slider-label {
	flex-shrink: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.504px;
	color: var(--tf-white);
	white-space: nowrap;
}

.tf-home-ce__slider-track-wrap {
	--tf-ce-return-pct: 37%;
	position: relative;
	flex: 1 1 auto;
	min-width: 120px;
	max-width: 331px;
	height: 24px;
}

/* Active fill + soft glow under the bar (matches Figma track stack). */
.tf-home-ce__slider-progress {
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 0;
	width: var(--tf-ce-return-pct);
	max-width: 100%;
	height: 6px;
	border-radius: 4px;
	background: var(--tf-ce-slider-fill);
	transform: translateY(-50%);
	pointer-events: none;
}

.tf-home-ce__slider-progress::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 1px;
	right: 1px;
	height: 4px;
	border-radius: 4px;
	background: var(--tf-ce-slider-fill);
	transform: translateY(-50%);
	filter: blur(3.4px);
	pointer-events: none;
}

.tf-home-ce__slider-input {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 24px;
	margin: 0;
	appearance: none;
	background: transparent;
	cursor: pointer;
}

.tf-home-ce__slider-input::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 4px;
	background: var(--tf-ce-slider-track);
}

.tf-home-ce__slider-input::-moz-range-track {
	height: 6px;
	border: 0;
	border-radius: 4px;
	background: var(--tf-ce-slider-track);
}

.tf-home-ce__slider-input::-moz-range-progress {
	height: 6px;
	border-radius: 4px;
	background: transparent;
}

.tf-home-ce__slider-input::-webkit-slider-thumb {
	appearance: none;
	width: 24px;
	height: 24px;
	margin-top: -9px;
	border: 0;
	border-radius: 50%;
	background: url("../images/challenge-explorer/slider-thumb.svg") center / 24px 24px no-repeat;
	background-color: transparent;
}

.tf-home-ce__slider-input::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 50%;
	background: url("../images/challenge-explorer/slider-thumb.svg") center / 24px 24px no-repeat;
	background-color: transparent;
}

.tf-home-ce__slider-value {
	flex-shrink: 0;
	min-width: 40px;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.504px;
	color: var(--tf-white);
	text-align: right;
}

.tf-home-ce__calc-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.tf-home-ce__result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 12px 24px;
	border-radius: 16px;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
	--tf-glass-inset: var(--tf-hiw-step-inset);
}

.tf-home-ce__result span {
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.504px;
	color: var(--tf-white);
}

.tf-home-ce__result strong {
	font-size: 24px;
	font-weight: 400;
	line-height: 40px;
	letter-spacing: -0.672px;
	color: var(--tf-white);
}

.tf-home-ce__result--payout strong {
	font-weight: 600;
	color: var(--tf-cyan);
	background-image: var(--tf-cta-border-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

@media (max-width: 1200px) {
	.tf-home-ce__plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-home-ce__compare-slots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-home-ce__platforms {
		flex-direction: column;
		align-items: flex-start;
		padding: 16px;
	}

	.tf-home-ce__platforms-list {
		justify-content: flex-start;
	}
}

@media (max-width: 900px) {
	/* 3×min chip + gaps no longer fit — 2+1 with orphan full-width */
	.tf-home-ce__cycles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-home-ce__cycles > .tf-home-ce__cycle:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.tf-payout-center__promise {
		margin-top: 72px;
	}

	.tf-payout-center__promise-title {
		font-size: 32px;
	}

	.tf-payout-center__promise-text--desktop {
		display: none;
	}

	.tf-payout-center__promise-text--mobile {
		display: block;
		font-size: 18px;
		font-weight: 400;
	}

	.tf-home-ce {
		padding: 72px 16px 0;
	}

	.tf-home-ce__header {
		align-items: center;
		margin-bottom: 40px;
		text-align: center;
	}

	.tf-home-ce__title {
		font-size: 32px;
	}

	.tf-home-ce__subtitle {
		max-width: 318px;
		margin-inline: auto;
		font-size: 18px;
	}

	.tf-home-ce__toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		margin-bottom: 32px;
	}

	.tf-home-ce__toolbar-left {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		width: 100%;
	}

	.tf-home-ce__type-chips {
		width: 100%;
		gap: 12px;
	}

	.tf-home-ce__type-chips .tf-selection-chip--width-type {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	.tf-home-ce__type-chips .tf-selection-chip--width-type .tf-selection-chip__glow-wrap {
		left: 50%;
		transform: translateX(-50%);
	}

	.tf-home-ce__compare.tf-btn--secondary {
		width: 100%;
	}

	.tf-home-ce__currency-chips {
		width: 100%;
		gap: 8px;
	}

	.tf-home-ce__currency-chips .tf-selection-chip--width-currency {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	.tf-home-ce__platforms {
		align-items: stretch;
		gap: 16px;
		margin-bottom: 32px;
		padding: 24px;
	}

	.tf-home-ce__platforms-list {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 16px;
	}

	.tf-home-ce__platform.tf-selection-chip--compact {
		width: 100%;
		justify-content: center;
	}

	/* Center Soon badge over the frosted chip */
	.tf-home-ce__soon {
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.tf-home-ce__plans {
		grid-template-columns: 1fr;
		gap: 32px;
		margin-bottom: 56px;
	}

	/* Best Value — translucent shell + soft plate (parity with desktop). */
	.tf-home-ce__card.is-featured .tf-home-ce__card-shell {
		inset: -2px;
		clip-path: inset(0 round calc(var(--tf-radius-lg) + 2px));
		background: radial-gradient(
			ellipse 130% 62% at 50% -12%,
			rgba(55, 110, 220, 0.55) 0%,
			rgba(23, 70, 234, 0.28) 34%,
			rgba(1, 1, 6, 0) 70%
		);
	}

	.tf-home-ce__card.is-featured .tf-home-ce__card-shell picture {
		position: absolute;
		inset: 0;
	}

	.tf-home-ce__card.is-featured .tf-home-ce__card-bg {
		position: absolute;
		inset: 0;
		left: 0;
		width: 100%;
		height: 100%;
		max-width: none;
		transform: none;
		object-fit: fill;
		object-position: center top;
		opacity: 0.32;
		mix-blend-mode: soft-light;
	}

	.tf-home-ce__compare-slots {
		grid-template-columns: 1fr;
	}

	.tf-home-ce__compare-close.tf-btn--secondary {
		width: auto;
		max-width: 100%;
		min-width: 0;
	}

	.tf-home-ce__compare-add-types {
		flex-wrap: wrap;
	}

	.tf-home-ce__compare-add-types .tf-selection-chip--compact {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	.tf-home-ce__calc {
		padding: 24px;
		min-height: 0;
	}

	.tf-home-ce__calc--cycles {
		min-height: 0;
	}

	.tf-home-ce__calc-bg img {
		object-fit: fill;
		object-position: center top;
	}

	.tf-home-ce__calc-head {
		margin-bottom: 48px;
	}

	.tf-home-ce__calc-title {
		font-size: 24px;
	}

	.tf-home-ce__calc-controls {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		margin-bottom: 48px;
	}

	.tf-home-ce__calc--cycles .tf-home-ce__calc-controls {
		margin-bottom: 48px;
	}

	.tf-home-ce__select {
		width: 100%;
	}

	/* Label + value on one row, track full-width below */
	.tf-home-ce__slider {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"label value"
			"track track";
		gap: 24px 12px;
		align-items: center;
		flex: none;
		max-width: none;
		min-height: 0;
		width: 100%;
	}

	.tf-home-ce__slider-label {
		grid-area: label;
		white-space: normal;
	}

	.tf-home-ce__slider-value {
		grid-area: value;
	}

	.tf-home-ce__slider-track-wrap {
		grid-area: track;
		max-width: none;
		width: 100%;
	}

	.tf-home-ce__cycles {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.tf-home-ce__cycles > .tf-home-ce__cycle:last-child:nth-child(odd) {
		grid-column: auto;
	}

	.tf-home-ce__cycle.tf-selection-chip--compact {
		max-width: none;
		width: 100%;
		height: 40px;
		padding: 8px 16px;
		font-size: 16px;
		line-height: 24px;
	}

	.tf-home-ce__cycle-hint {
		margin: 40px 0 32px;
		font-size: 16px;
		line-height: 24px;
	}

	.tf-home-ce__calc-results {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tf-home-ce__result {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 4px;
		min-height: 108px;
		padding: 20px 24px;
	}

	.tf-home-ce__result strong {
		font-size: 24px;
	}
}

/* -------------------------------------------------------------------------
 * Leaderboard — public rankings page
 * ------------------------------------------------------------------------- */

.tf-leaderboard {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 40px 24px 80px;
	overflow: visible;
}

/* Cold hydrate: keep main column tall so Ready-to-trade stays below the fold. */
.tf-leaderboard.is-pending {
	min-height: min(72vh, 720px);
}

.tf-leaderboard__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: var(--tf-container);
	max-width: 100%;
}

.tf-leaderboard__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 100px;
}

.tf-leaderboard__title-block {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.tf-leaderboard__title {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 32px;
	font-weight: 400;
	line-height: 40px;
	letter-spacing: -0.896px;
}

.tf-leaderboard__updated {
	margin: 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	line-height: 20px;
}

.tf-leaderboard__updated[hidden],
.tf-leaderboard__status[hidden],
.tf-leaderboard__podium[hidden],
.tf-leaderboard__podium-dots[hidden],
.tf-leaderboard__ranking-bar[hidden],
.tf-leaderboard__board[hidden],
.tf-leaderboard__me[hidden],
.tf-leaderboard__cta[hidden],
.tf-leaderboard [data-tf-leaderboard-retry][hidden] {
	display: none !important;
}

.tf-leaderboard__podium-dots {
	margin-top: 32px;
}

.tf-leaderboard-table__cards {
	display: none;
}

.tf-leaderboard__period-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.tf-leaderboard__status {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tf-leaderboard__status-text {
	margin: 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	line-height: 20px;
}

.tf-leaderboard__status--error .tf-leaderboard__status-text {
	color: var(--tf-red);
}

/* Screen-reader status while skeleton placeholders are visible (learning pattern). */
.tf-leaderboard__status--sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tf-leaderboard-podium-card--skeleton,
.tf-leaderboard-card--skeleton,
.tf-leaderboard-table__row--skeleton,
.tf-leaderboard-table--skeleton {
	pointer-events: none;
	cursor: default;
	user-select: none;
}

.tf-leaderboard-podium-card__band--skeleton {
	background: var(--tf-skeleton-soft);
}

.tf-leaderboard-podium-card__avatar--skeleton {
	border-color: transparent;
	background: var(--tf-skeleton);
}

.tf-leaderboard-podium-card__size--skeleton {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
}

.tf-leaderboard__skeleton-bone {
	display: block;
	flex-shrink: 0;
	background: var(--tf-skeleton);
	border-radius: 8px;
}

.tf-leaderboard__skeleton-bone--size-pill {
	width: 72px;
	height: 28px;
	border-radius: 9999px;
}

.tf-leaderboard__skeleton-bone--podium-name {
	width: 42%;
	height: 24px;
}

.tf-leaderboard__skeleton-bone--podium-highlight {
	width: 96px;
	height: 20px;
	margin-left: auto;
}

.tf-leaderboard__skeleton-bone--podium-stat {
	width: 72px;
	height: 48px;
	border-radius: 8px;
}

.tf-leaderboard__skeleton-bone--rank {
	width: 1.25rem;
	height: 14px;
}

.tf-leaderboard__skeleton-bone--avatar-sm {
	width: 32px;
	height: 32px;
	border-radius: 9999px;
}

.tf-leaderboard__skeleton-bone--name-sm {
	width: 120px;
	height: 14px;
}

.tf-leaderboard__skeleton-bone--metric-label {
	width: 64px;
	height: 12px;
}

.tf-leaderboard__skeleton-bone--metric-value {
	width: 80px;
	height: 14px;
}

.tf-leaderboard__skeleton-bone--cell {
	width: 72px;
	height: 14px;
}

.tf-leaderboard__skeleton-bone--cell-short {
	width: 40px;
	height: 14px;
}

.tf-leaderboard-table__row--skeleton {
	align-items: center;
}

@media (prefers-reduced-motion: no-preference) {
	.tf-leaderboard-podium-card__band--skeleton,
	.tf-leaderboard-podium-card__avatar--skeleton,
	.tf-leaderboard__skeleton-bone {
		animation: tf-skeleton-pulse 1.5s ease-in-out infinite;
	}
}

.tf-leaderboard__podium {
	position: relative;
	padding-top: 5.6rem;
	overflow: visible;
}

/* Ambient chevrons flanking the podium (baked PNG exports). */
.tf-leaderboard__side {
	position: absolute;
	top: 4.4rem;
	z-index: 0;
	display: block;
	height: 432px;
	object-fit: contain;
	pointer-events: none;
}

.tf-leaderboard__side--left {
	left: -144px;
	width: 285px;
}

.tf-leaderboard__side--right {
	right: -144px;
	width: 286px;
}

/*
 * Fixed intrinsic size — %-width + height:auto collapses the glow upward on resize.
 * Soft side mask hides the baked hard vertical edges of the PNG plate.
 */
.tf-leaderboard__podium-backdrop {
	position: absolute;
	top: -10.5rem;
	left: 50%;
	z-index: 0;
	width: 1440px;
	max-width: none;
	height: auto;
	transform: translateX(-50%) scale(1.2);
	transform-origin: center center;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0%,
		#000 14%,
		#000 86%,
		transparent 100%
	);
	mask-image: linear-gradient(
		90deg,
		transparent 0%,
		#000 14%,
		#000 86%,
		transparent 100%
	);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.tf-leaderboard__watermark {
	position: absolute;
	inset-inline: 0;
	top: 0;
	z-index: 0;
	margin: 0;
	text-align: center;
	font-family: var(--tf-font);
	font-size: clamp(3.5rem, 10vw, 9.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--tf-overview-name-fallback);
	background: linear-gradient(
		180deg,
		var(--tf-overview-name-from) 0%,
		var(--tf-overview-name-to) 100%
	);
	opacity: 0.2;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	pointer-events: none;
	user-select: none;
}

.tf-leaderboard__podium-row {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.tf-leaderboard-podium-card {
	position: relative;
	box-sizing: border-box;
	width: 384px;
	max-width: 100%;
	height: 400px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: var(--tf-radius-lg);
	background: transparent;
}

/* Beat `.tf-glass > * { position: relative }` so layered card chrome stays absolute. */
.tf-leaderboard-podium-card.tf-glass > *:not(.tf-glass-surface) {
	position: absolute;
}

/* Nested glass band — opaque fill so watermark does not show through; rim via shader. */
.tf-leaderboard-podium-card__band.tf-glass {
	inset-inline: 8px;
	top: 8px;
	z-index: 3;
	height: 127px;
	isolation: isolate;
	overflow: hidden;
	border-radius: 20px;
	background-color: #000;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.tf-leaderboard-podium-card__band.tf-glass > *:not(.tf-glass-surface) {
	position: absolute;
	z-index: 3;
}

.tf-leaderboard-podium-card__band--gold {
	background-image:
		linear-gradient(
			73.15deg,
			rgba(0, 8, 38, 0.2) 0%,
			rgba(251, 255, 134, 0.2) 52.961%,
			rgba(8, 27, 71, 0.2) 100%
		),
		linear-gradient(180deg, rgba(3, 12, 53, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
		linear-gradient(#000, #000);
}

.tf-leaderboard-podium-card__band--silver {
	background-image:
		linear-gradient(
			73deg,
			transparent 0%,
			rgba(255, 255, 255, 0.16) 53%,
			transparent 100%
		),
		linear-gradient(73deg, rgb(0, 8, 38) 0%, rgb(8, 27, 71) 100%);
}

.tf-leaderboard-podium-card__band--bronze {
	background-image:
		linear-gradient(
			253deg,
			transparent 0%,
			rgba(255, 176, 134, 0.22) 47%,
			transparent 100%
		),
		linear-gradient(253deg, rgb(0, 8, 38) 0%, rgb(8, 27, 71) 100%);
}

.tf-leaderboard-podium-card__hash {
	top: 50%;
	right: 16px;
	color: #dbdfe2;
	font-family: var(--tf-font);
	font-size: 120px;
	font-weight: 600;
	line-height: 1;
	opacity: 0.05;
	transform: translateY(-50%);
	pointer-events: none;
}

.tf-leaderboard-podium-card__ordinal {
	top: 29px;
	right: 35px;
	display: inline-flex;
	align-items: flex-start;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-weight: 400;
}

.tf-leaderboard-podium-card__ordinal-num {
	font-size: 56px;
	line-height: 70px;
}

.tf-leaderboard-podium-card__ordinal-suf {
	margin-top: 2px;
	font-size: 28px;
	line-height: 1;
}

.tf-leaderboard-podium-card__avatar {
	top: 80px;
	left: 32px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	overflow: hidden;
	border: 4px solid #05123a;
	border-radius: 16px;
	background: #05123a;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 36px;
	font-weight: 600;
}

.tf-leaderboard-podium-card__size {
	top: 144px;
	left: 50%;
	z-index: 4;
	padding: 4px 16px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 18px;
	line-height: 28px;
	transform: translateX(-50%);
	white-space: nowrap;
}

.tf-leaderboard-podium-card__name-row {
	top: 200px;
	right: 27px;
	left: 32px;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.tf-leaderboard-podium-card__name {
	min-width: 0;
	overflow: hidden;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 24px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.028em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tf-leaderboard-podium-card__verified {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.tf-leaderboard-podium-card__highlight {
	margin: 0 0 0 auto;
	flex-shrink: 0;
	font-family: var(--tf-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -0.028em;
	color: var(--tf-overview-name-fallback);
	background: linear-gradient(
		143deg,
		var(--tf-overview-name-from) 0%,
		var(--tf-overview-name-to) 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;
}

.tf-leaderboard-podium-card__stats {
	position: absolute;
	top: 248px;
	left: 32px;
	display: flex;
	align-items: stretch;
	gap: 24px;
}

.tf-leaderboard-podium-card__stat {
	display: flex;
	flex-direction: column;
	gap: 0;
	height: 48px;
	white-space: nowrap;
}

.tf-leaderboard-podium-card__stat-value {
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.028em;
}

.tf-leaderboard-podium-card__stat-label {
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}

.tf-leaderboard-podium-card__stat-sep {
	width: 1px;
	height: 48px;
	background: rgba(255, 255, 255, 0.1);
}

.tf-leaderboard__ranking-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
}

.tf-leaderboard__size-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.tf-leaderboard__size-chip {
	width: var(--tf-chip-width-account);
	height: var(--tf-leaderboard-chip-height);
	flex-shrink: 0;
}

.tf-leaderboard__size-chip .tf-selection-chip__glow-wrap {
	left: 50%;
	transform: translateX(-50%);
}

.tf-leaderboard__sort {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 16px;
	line-height: 24px;
}

.tf-leaderboard__sort-label {
	white-space: nowrap;
}

.tf-leaderboard__sort-field {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.tf-leaderboard__sort-field select {
	appearance: none;
	box-sizing: border-box;
	min-width: 140px;
	height: var(--tf-leaderboard-chip-height);
	padding: 8px 36px 8px 16px;
	border: 1px solid var(--tf-border-subtle);
	border-radius: var(--tf-chip-radius);
	background: var(--tf-chip-bg-default);
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	cursor: pointer;
}

.tf-leaderboard__sort-chevron {
	position: absolute;
	top: 50%;
	right: 14px;
	width: 12px;
	height: 8px;
	pointer-events: none;
	transform: translateY(-50%);
}

.tf-leaderboard-table {
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
}

.tf-leaderboard-table__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px 0;
}

.tf-leaderboard-table__title {
	margin: 0;
	padding: 0 24px;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
}

.tf-leaderboard-table__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tf-leaderboard-table__head,
.tf-leaderboard-table__row {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 0.7fr);
	gap: 16px;
	align-items: center;
	min-width: 720px;
	padding: 0 24px;
	font-family: var(--tf-font);
}

.tf-leaderboard-table__head {
	padding-bottom: 12px;
	color: var(--tf-grey);
	font-size: 12px;
	line-height: 16px;
}

.tf-leaderboard-table__row {
	height: 48px;
	border-bottom: 1px solid var(--tf-border-subtle);
	color: var(--tf-white);
	font-size: 14px;
	line-height: 16px;
}

.tf-leaderboard-table__row--viewer {
	background: rgba(255, 255, 255, 0.04);
}

/* Top-3 row wash — same gradients as mobile ranking card heads. */
.tf-leaderboard-card__head--gold,
.tf-leaderboard-table__row--gold {
	background-image: linear-gradient(
		68.61deg,
		rgba(251, 255, 134, 0.08) 2%,
		rgba(1, 2, 13, 0.2) 71%
	);
}

.tf-leaderboard-card__head--silver,
.tf-leaderboard-table__row--silver {
	background-image: linear-gradient(
		68.61deg,
		rgba(255, 255, 255, 0.08) 2%,
		rgba(1, 2, 13, 0.2) 72%
	);
}

.tf-leaderboard-card__head--bronze,
.tf-leaderboard-table__row--bronze {
	background-image: linear-gradient(
		68.61deg,
		rgba(255, 176, 134, 0.08) 2%,
		rgba(1, 2, 13, 0.2) 69%
	);
}

.tf-leaderboard-table__rank {
	color: var(--tf-grey);
}

.tf-leaderboard-table__trader {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

.tf-leaderboard-table__avatar {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9999px;
	background: #09162c;
	color: var(--tf-white);
	font-size: 12px;
	font-weight: 600;
}

.tf-leaderboard-table__name {
	min-width: 0;
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tf-leaderboard-table__account,
.tf-leaderboard-table__trades {
	color: var(--tf-grey);
}

.tf-leaderboard-table__profit {
	color: var(--tf-second-green);
}

.tf-leaderboard-me {
	margin-top: 8px;
	padding: 12px 16px;
	border: 1px solid var(--tf-border-subtle);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
}

.tf-leaderboard-me__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.tf-leaderboard-me__copy {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
}

.tf-leaderboard-me__title {
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 16px;
}

.tf-leaderboard-me__exclusion {
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 12px;
	line-height: 16px;
}

.tf-leaderboard-me__size {
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
}

.tf-leaderboard-me__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 8px;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 14px;
}

.tf-leaderboard-me__trades {
	color: var(--tf-grey);
}

.tf-leaderboard-cta {
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
}

.tf-leaderboard-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 32px 24px;
}

.tf-leaderboard-cta__title {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
}

.tf-leaderboard-cta__body {
	max-width: 36rem;
	margin: 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	line-height: 20px;
}

.tf-leaderboard-cta .tf-btn {
	margin-top: 8px;
}

@media (max-width: 1024px) {
	.tf-leaderboard-podium-card {
		width: min(384px, 100%);
	}

	.tf-leaderboard__side {
		height: 306px;
		opacity: 0.7;
	}

	.tf-leaderboard__side--left {
		left: -72px;
		width: 202px;
	}

	.tf-leaderboard__side--right {
		right: -72px;
		width: 203px;
	}
}

/* Mobile ranking cards — desktop uses the table; cards under 760px. */
.tf-leaderboard-card {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.tf-leaderboard-card__head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 47px;
	padding: 8px 24px;
}

.tf-leaderboard-card__rank {
	flex-shrink: 0;
	width: 1.25rem;
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: -0.392px;
	color: var(--tf-white);
}

.tf-leaderboard-card__trader {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	align-items: center;
	gap: 12px;
}

.tf-leaderboard-card__avatar {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	overflow: hidden;
	border-radius: 9999px;
	background: #09162c;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
}

.tf-leaderboard-card__name {
	min-width: 0;
	overflow: hidden;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: -0.392px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tf-leaderboard-card__metrics {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px 24px 0;
}

.tf-leaderboard-card__metrics-row {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.tf-leaderboard-card__metric {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	max-width: 151px;
}

.tf-leaderboard-card__metric-label {
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: -0.336px;
}

.tf-leaderboard-card__metric-value {
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: -0.392px;
}

.tf-leaderboard-card__metric-value--profit {
	color: var(--tf-second-green);
}

.tf-leaderboard-card__metric-value--emphasis {
	color: var(--tf-white);
}

.tf-leaderboard-card--viewer .tf-leaderboard-card__head {
	background-color: rgba(255, 255, 255, 0.04);
}

@media (max-width: 770px) {
	.tf-leaderboard {
		padding: 24px 16px 64px;
	}

	.tf-leaderboard__inner {
		gap: 40px;
	}

	.tf-leaderboard__header {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 12px;
		margin-top: 100px;
		text-align: center;
	}

	.tf-leaderboard__title {
		display: none;
	}

	.tf-leaderboard__title-block {
		align-items: center;
	}

	.tf-leaderboard__period-chips {
		justify-content: center;
	}

	.tf-leaderboard__podium {
		/* Keep offset so watermark + glow sit with the card, not the section top. */
		padding-top: 3.375rem;
	}

	.tf-leaderboard__watermark {
		top: 0;
		font-size: 64px;
		font-weight: 700;
		line-height: normal;
	}

	/* Keep ambient chevrons on mobile (match frame offsets). */
	.tf-leaderboard__side {
		display: block;
		top: 2.5rem;
		height: 432px;
		opacity: 1;
	}

	.tf-leaderboard__side--left {
		left: -137px;
		width: 310px;
	}

	.tf-leaderboard__side--right {
		right: -137px;
		width: 310px;
	}

	/* Keep full glow plate; only re-anchor to the mobile podium band. */
	.tf-leaderboard__podium-backdrop {
		top: -4rem;
		transform: translateX(-50%) scale(1.35);
	}

	.tf-leaderboard__podium-row {
		position: relative;
		display: block;
		width: 100%;
		max-width: 358px;
		height: 400px;
		margin-inline: auto;
		margin-top: 0;
		overflow: hidden;
		touch-action: pan-y;
	}

	.tf-leaderboard-podium-card {
		position: absolute;
		inset-inline: 0;
		top: 0;
		width: 358px;
		max-width: 100%;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.tf-leaderboard-podium-card.is-active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.tf-leaderboard-podium-card__hash {
		font-size: 104px;
	}

	.tf-leaderboard-podium-card__ordinal {
		top: 34px;
		right: 47px;
	}

	.tf-leaderboard-podium-card__ordinal-num {
		font-size: 48px;
		line-height: normal;
	}

	.tf-leaderboard-podium-card__ordinal-suf {
		font-size: 31px;
	}

	.tf-leaderboard-podium-card__avatar {
		top: 80px;
		left: 24px;
	}

	.tf-leaderboard-podium-card__size {
		top: 144px;
		left: auto;
		right: 16px;
		transform: none;
	}

	.tf-leaderboard-podium-card__name-row {
		top: 200px;
		right: 24px;
		left: 24px;
	}

	.tf-leaderboard-podium-card__stats {
		left: 24px;
	}

	.tf-leaderboard__podium-dots:not([hidden]) {
		display: flex;
	}

	.tf-leaderboard__ranking-bar {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		margin-top: 0;
	}

	.tf-leaderboard__size-chips {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: stretch;
		gap: 6px;
		width: 100%;
		max-width: 358px;
	}

	.tf-leaderboard__size-chip {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		padding-inline: 8px;
	}

	.tf-leaderboard__size-chip .tf-selection-chip__label {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.tf-leaderboard__sort {
		display: none;
	}
}

/* Rankings: table above this width; cards at 760px and below. */
@media (max-width: 760px) {
	.tf-leaderboard-table__title {
		display: none;
	}

	.tf-leaderboard-table__scroll {
		display: none;
	}

	.tf-leaderboard-table__inner {
		gap: 0;
		padding: 0;
	}

	.tf-leaderboard-table__cards {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 16px 0 24px;
	}

	.tf-leaderboard-card + .tf-leaderboard-card {
		margin-top: 16px;
		padding-top: 16px;
		border-top: 1px solid var(--tf-border-subtle);
	}
}

/* -------------------------------------------------------------------------
 * Learning Materials — public library page
 * ------------------------------------------------------------------------- */

.tf-learning-materials__featured-slot {
	width: 100%;
	max-width: var(--tf-container);
}

.tf-learning-materials__featured {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	width: 100%;
	max-width: var(--tf-container);
	min-height: 392px;
	height: auto;
	margin-top: 56px;
	padding: 0;
	border-radius: var(--tf-radius-lg);
	overflow: hidden;
	isolation: isolate;
	box-sizing: border-box;
}

.tf-learning-materials__featured-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	max-width: 568px; /* 64 + 504 content */
	padding: 56px 0 56px 64px;
}

.tf-learning-materials__guide-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 2px 12px;
	border-radius: 12px;
	background: var(--tf-learning-featured-bg);
	color: var(--tf-learning-featured);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: -0.392px;
}

.tf-learning-materials__featured-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.tf-learning-materials__featured-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

.tf-learning-materials__featured-title {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 32px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: -0.896px;
}

.tf-learning-materials__featured-text {
	margin: 0;
	max-width: 367px;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
}

.tf-learning-materials__featured-cta {
	width: auto;
	min-width: 173px;
	height: 40px;
	min-height: 40px;
	padding: 8px 24px;
	text-decoration: none;
}

.tf-learning-materials__featured-media {
	position: relative;
	display: block;
	flex: 0 1 580px;
	width: min(580px, 48%);
	max-width: 580px;
	min-width: 0;
	height: auto;
	aspect-ratio: 580 / 344;
	margin: 24px 24px 24px 0;
	overflow: hidden;
	border-radius: 8px;
}

.tf-learning-materials__featured-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-learning-materials__featured-media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: rgb(0 0 0 / 0.4);
	pointer-events: none;
}

.tf-learning-materials__library {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
	width: var(--tf-container);
	max-width: 100%;
	margin-top: 192px;
}

/* Full-bleed hairline between featured and Our Content */
.tf-learning-materials__library::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -96px;
	width: 100vw;
	height: 1px;
	translate: -50% 0;
	background: linear-gradient(
		90deg,
		rgb(255 255 255 / 0.02) 0%,
		rgb(255 255 255 / 0.1) 50%,
		rgb(255 255 255 / 0.02) 100%
	);
	pointer-events: none;
}

.tf-learning-materials__library-title {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
}

.tf-learning-materials__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.tf-learning-materials__empty {
	margin: 24px 0 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: -0.392px;
	text-align: center;
}

.tf-learning-materials__status {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: center;
	margin: 24px 0 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: -0.392px;
	text-align: center;
}

.tf-learning-materials__status[hidden] {
	display: none;
}

.tf-learning-materials__status--sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tf-learning-materials__card--skeleton,
.tf-learning-materials__featured--skeleton {
	cursor: default;
	pointer-events: none;
	user-select: none;
}

.tf-learning-materials__card--skeleton .tf-learning-materials__thumb {
	background: var(--tf-skeleton-soft);
}

.tf-learning-materials__featured-media--skeleton {
	background: var(--tf-skeleton-soft);
}

.tf-learning-materials__skeleton-bone--featured-badge {
	width: 72px;
	height: 32px;
	border-radius: 12px;
}

.tf-learning-materials__skeleton-bone--featured-title {
	width: 88%;
	max-width: 420px;
	height: 40px;
}

.tf-learning-materials__skeleton-bone--featured-text {
	width: 100%;
	max-width: 367px;
	height: 20px;
	margin-top: 0;
}

.tf-learning-materials__skeleton-bone--featured-text-short {
	width: 72%;
	max-width: 280px;
	height: 20px;
}

.tf-learning-materials__skeleton-bone--featured-cta {
	width: 173px;
	height: 40px;
	border-radius: 12px;
}

.tf-learning-materials__skeleton-bone {
	display: block;
	background: var(--tf-skeleton);
	border-radius: 8px;
}

.tf-learning-materials__skeleton-bone--kind-overlay {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	width: 56px;
	height: 28px;
	border-radius: 12px;
}

.tf-learning-materials__skeleton-bone--title {
	width: 72%;
	height: 24px;
}

.tf-learning-materials__skeleton-bone--desc {
	width: 100%;
	height: 20px;
	margin-top: 8px;
}

.tf-learning-materials__skeleton-bone--desc-short {
	width: 58%;
	height: 20px;
}

.tf-learning-materials__skeleton-bone--chip {
	display: none;
	width: 64px;
	height: 28px;
	border-radius: 12px;
}

.tf-learning-materials__skeleton-bone--category {
	width: 96px;
	height: 30px;
	border-radius: 16px;
}

.tf-learning-materials__skeleton-bone--stat {
	width: 64px;
	height: 14px;
	margin-left: auto;
}

@media (prefers-reduced-motion: no-preference) {
	.tf-learning-materials__card--skeleton .tf-learning-materials__thumb,
	.tf-learning-materials__featured-media--skeleton,
	.tf-learning-materials__skeleton-bone {
		animation: tf-skeleton-pulse 1.5s ease-in-out infinite;
	}
}

@keyframes tf-skeleton-pulse {
	50% {
		opacity: 0.45;
	}
}

.tf-learning-materials__retry {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tf-cyan, #68daf5);
	font: inherit;
	font-weight: 400;
	text-decoration: underline;
	cursor: pointer;
}

.tf-learning-materials__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-learning-materials__card-wrap[hidden],
.tf-learning-materials__card-wrap.is-collapsed {
	display: none;
}

.tf-learning-materials__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 277px;
	padding: 8px;
	overflow: hidden;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	isolation: isolate;
}

.tf-learning-materials__card--static {
	cursor: default;
	pointer-events: none;
}

.tf-learning-materials__card-glow {
	position: absolute;
	left: -28%;
	top: 58%;
	z-index: 0;
	width: 160%;
	height: 85%;
	pointer-events: none;
	background:
		radial-gradient(
			55% 65% at 32% 48%,
			rgb(104 218 245 / 0.5) 0%,
			transparent 72%
		),
		radial-gradient(
			50% 60% at 22% 55%,
			rgb(23 70 234 / 0.5) 0%,
			transparent 68%
		),
		radial-gradient(
			60% 55% at 40% 72%,
			rgb(0 25 121 / 0.45) 0%,
			transparent 72%
		);
	filter: blur(56px);
	opacity: 0.75;
}

.tf-learning-materials__thumb {
	position: relative;
	z-index: 1;
	display: block;
	height: 124px;
	overflow: hidden;
	border-radius: 8px 8px 2px 2px;
}

.tf-learning-materials__thumb > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-learning-materials__thumb-shade {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 0.4);
	pointer-events: none;
}

.tf-learning-materials__kind {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 2px 12px;
	border-radius: 12px;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: -0.392px;
}

/* Desktop: badge on the thumb */
.tf-learning-materials__kind--overlay {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
}

/* Mobile meta row chip — hidden on desktop */
.tf-learning-materials__kind--chip {
	display: none;
}

.tf-learning-materials__kind--video {
	background: var(--tf-learning-kind-video-bg);
}

.tf-learning-materials__kind--article {
	background: var(--tf-learning-kind-article-bg);
}

.tf-learning-materials__duration {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 4px 8px;
	border-radius: 12px;
	background: rgb(255 255 255 / 0.1);
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.448px;
}

/* Portal LearningPlayDisc — 64 circle, fill #192d3e + glass rim + icon-play */
.tf-learning-materials__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--tf-learning-play-fill);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.tf-learning-materials__play-icon {
	position: relative;
	z-index: 2;
	display: block;
	width: 32px;
	height: 32px;
	max-width: none;
	transform: translateX(2px);
}

.tf-learning-materials__card-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	padding: 11px 8px 8px;
}

.tf-learning-materials__card-title {
	display: block;
	overflow: hidden;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: -0.504px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tf-learning-materials__card-desc {
	display: -webkit-box;
	margin-top: 8px;
	overflow: hidden;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: -0.392px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.tf-learning-materials__card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: auto;
	padding-top: 16px;
}

.tf-learning-materials__category {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 8px 16px;
	border-radius: 16px;
	background: var(--tf-learning-meta-bg);
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 12px;
	font-weight: 300;
	line-height: 14px;
	letter-spacing: -0.336px;
	white-space: nowrap;
}

.tf-learning-materials__stat {
	margin-left: auto;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 12px;
	font-weight: 400;
	line-height: 14px;
	letter-spacing: -0.336px;
	white-space: nowrap;
}

.tf-learning-materials__see-more {
	display: inline-flex;
	align-self: center;
	margin: 16px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	cursor: pointer;
}

.tf-learning-materials__see-more:hover {
	color: var(--tf-cyan);
}

.tf-learning-materials__see-more[hidden] {
	display: none;
}

/* Stack: media on top (DOM is body → media → column-reverse) */
@media (max-width: 1247px) {
	.tf-learning-materials__featured {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 16px;
		min-height: 0;
		padding-bottom: 24px;
	}

	.tf-learning-materials__featured-body {
		width: 100%;
		max-width: none;
		padding: 0 24px;
	}

	.tf-learning-materials__featured-text {
		max-width: none;
	}

	.tf-learning-materials__featured-media {
		flex: none;
		width: calc(100% - 48px);
		max-width: none;
		margin: 24px 24px 0;
		aspect-ratio: 580 / 344;
	}
}

@media (max-width: 1024px) {
	.tf-learning-materials__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-learning-materials__library-title {
		font-size: 36px;
	}
}

@media (max-width: 640px) {
	.tf-learning-materials {
		gap: 40px;
	}

	/* Featured → hairline 56 + hairline → title 72 */
	.tf-learning-materials__library {
		margin-top: 128px;
	}

	.tf-learning-materials__library::before {
		top: -72px;
	}

	/* Mobile featured — 358×518 plate, media 326×232, full-width CTA */
	.tf-learning-materials__featured {
		gap: 16px;
		margin-top: 56px;
		padding-bottom: 16px;
		border-radius: 16px;
	}

	.tf-learning-materials__featured-media {
		width: calc(100% - 32px);
		margin: 16px 16px 0;
		aspect-ratio: 326 / 232;
	}

	.tf-learning-materials__featured-body {
		gap: 32px;
		padding: 0 16px;
	}

	.tf-learning-materials__featured-copy {
		gap: 12px;
	}

	.tf-learning-materials__featured-heading {
		gap: 16px;
	}

	.tf-learning-materials__guide-badge {
		height: 28px;
	}

	.tf-learning-materials__featured-title {
		font-size: 18px;
		font-weight: 700;
		line-height: 24px;
		letter-spacing: -0.504px;
	}

	.tf-learning-materials__featured-text {
		font-size: 14px;
		font-weight: 300;
		line-height: 18px;
		letter-spacing: -0.392px;
	}

	.tf-learning-materials__featured-cta {
		width: 100%;
		min-width: 0;
		height: 48px;
		min-height: 48px;
	}

	.tf-learning-materials__grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 8px;
	}

	/* Mobile library card — 358×396 plate, no ambient glow */
	.tf-learning-materials__card {
		height: auto;
		min-height: 0;
		padding: 16px;
	}

	.tf-learning-materials__card-glow {
		display: none;
	}

	.tf-learning-materials__thumb {
		height: auto;
		aspect-ratio: 326 / 232;
	}

	.tf-learning-materials__duration {
		top: auto;
		right: 8px;
		bottom: 8px;
	}

	.tf-learning-materials__card-body {
		padding: 16px 0 0;
	}

	.tf-learning-materials__card-meta {
		order: -1;
		flex-wrap: nowrap;
		gap: 8px;
		margin-top: 0;
		margin-bottom: 14px;
		padding-top: 0;
	}

	.tf-learning-materials__kind--overlay {
		display: none;
	}

	.tf-learning-materials__kind--chip {
		display: inline-flex;
		flex-shrink: 0;
	}

	.tf-learning-materials__category {
		flex-shrink: 1;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.tf-learning-materials__stat {
		flex-shrink: 0;
		font-size: 14px;
		font-weight: 300;
		line-height: 18px;
		letter-spacing: -0.392px;
	}

	.tf-learning-materials__card-title {
		font-weight: 700;
		white-space: normal;
	}

	.tf-learning-materials__card-desc {
		margin-top: 12px;
		line-height: 18px;
	}

	.tf-learning-materials__skeleton-bone--kind-overlay {
		display: none;
	}

	.tf-learning-materials__skeleton-bone--chip {
		display: block;
		flex-shrink: 0;
	}

	.tf-learning-materials__skeleton-bone--title {
		width: 90%;
	}

	.tf-learning-materials__skeleton-bone--desc {
		margin-top: 12px;
		height: 18px;
	}

	.tf-learning-materials__skeleton-bone--desc-short {
		height: 18px;
	}

	.tf-learning-materials__skeleton-bone--stat {
		height: 18px;
	}

	.tf-learning-materials__library-title {
		margin: 0;
		font-size: 32px;
		font-weight: 700;
	}

	/* One row + sideways scroll; rim stays inside the chip so neighbors don’t overlap. */
	.tf-learning-materials__filters {
		flex-wrap: nowrap;
		gap: 4px;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 0;
		scrollbar-width: thin;
	}

	/*
	 * Reserve the active 1px border so chip width does not jump on select.
	 * Rim stays inside the box (negative inset used to paint over the next chip).
	 */
	.tf-learning-materials__filters .tf-selection-chip--compact {
		flex: 0 0 auto;
		border: 1px solid transparent;
	}

	.tf-learning-materials__filters .tf-selection-chip__rim {
		inset: 0;
		width: 100%;
		height: 100%;
	}

	/* Auto width: fixed 50px + active border/bold clipped "All" under overflow:hidden. */
	.tf-learning-materials__filters [data-tf-lm-filter="all"] {
		box-sizing: border-box;
		width: auto;
		min-width: 50px;
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* Learning Materials — detail (video / article) */

.tf-learning-materials[data-tf-lm-view="detail"] {
	gap: 32px;
	align-items: stretch;
	padding-top: 140px;
}

.tf-learning-materials__hub[hidden],
.tf-learning-materials__detail[hidden] {
	display: none;
}

.tf-learning-materials__detail {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 32px;
	width: var(--tf-container);
	max-width: 100%;
	margin: 0 auto;
}

.tf-learning-materials__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	margin: 0;
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: var(--tf-grey);
}

.tf-learning-materials__crumb-back,
.tf-learning-materials__crumb-mobile-kind {
	display: none;
}

.tf-learning-materials__crumb-link {
	color: var(--tf-grey);
	text-decoration: none;
}

.tf-learning-materials__crumb-link:hover,
.tf-learning-materials__crumb-link:focus-visible {
	color: var(--tf-white);
}

.tf-learning-materials__crumb-sep {
	white-space: pre;
}

.tf-learning-materials__crumb-current {
	font-weight: 500;
	color: var(--tf-white);
}

.tf-learning-materials__detail-tags {
	display: none;
}

.tf-learning-materials__card-sub {
	display: none;
}

.tf-learning-materials__hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: var(--tf-radius-lg);
	isolation: isolate;
	background: var(--tf-surface-tip);
}

.tf-learning-materials__hero--video {
	aspect-ratio: 1200 / 600;
}

.tf-learning-materials__hero--article {
	aspect-ratio: 1200 / 200;
	min-height: 200px;
}

.tf-learning-materials__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tf-learning-materials__hero-shade {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 0.7);
	pointer-events: none;
}

.tf-learning-materials__hero--article .tf-learning-materials__hero-shade {
	display: none;
}

.tf-learning-materials__hero-play {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.tf-learning-materials__hero-play[hidden] {
	display: none;
}

.tf-learning-materials__hero-play .tf-learning-materials__play {
	position: relative;
	top: auto;
	left: auto;
	transform: none;
	pointer-events: none;
}

.tf-learning-materials__hero.is-playing .tf-learning-materials__hero-shade,
.tf-learning-materials__hero.is-playing .tf-learning-materials__hero-img {
	opacity: 0;
	pointer-events: none;
}

.tf-learning-materials__video-frame {
	position: absolute;
	inset: 0;
	z-index: 3;
	overflow: hidden;
	background: #000;
}

.tf-learning-materials__video-frame[hidden] {
	display: none;
}

.tf-learning-materials__video-iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.tf-learning-materials__video-status,
.tf-learning-materials__video-unavailable {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 24px 24px 72px;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	text-align: center;
	pointer-events: none;
}

.tf-learning-materials__video-status[hidden],
.tf-learning-materials__video-unavailable[hidden] {
	display: none;
}

.tf-learning-materials__video-retry {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 3;
	translate: -50% 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	text-decoration: underline;
	cursor: pointer;
}

.tf-learning-materials__video-retry[hidden] {
	display: none;
}

.tf-learning-materials__detail-error {
	margin: 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
}

.tf-learning-materials__detail-error[hidden] {
	display: none;
}

.tf-learning-materials__detail-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.tf-learning-materials__eyebrow {
	margin: 0;
	background: var(--tf-link-gradient);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}

.tf-learning-materials__detail-title {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 48px;
	font-weight: 700;
	line-height: normal;
}

.tf-learning-materials__detail-lead {
	margin: 0;
	font-family: var(--tf-font);
	font-size: 18px;
	line-height: 24px;
}

.tf-learning-materials__detail[data-tf-lm-detail-type="video"] .tf-learning-materials__detail-lead {
	color: var(--tf-white);
	font-weight: 400;
}

.tf-learning-materials__detail[data-tf-lm-detail-type="article"] .tf-learning-materials__detail-lead {
	color: var(--tf-grey);
	font-weight: 300;
}

.tf-learning-materials__detail-lead[hidden] {
	display: none;
}

.tf-learning-materials__article-body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
}

.tf-learning-materials__article-body[hidden] {
	display: none;
}

.tf-learning-materials__article-body p {
	margin: 0;
}

.tf-learning-materials__article-body h2,
.tf-learning-materials__article-body h3 {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-weight: 600;
	line-height: 1.3;
}

.tf-learning-materials__article-body h2 {
	font-size: 24px;
}

.tf-learning-materials__article-body h3 {
	font-size: 20px;
}

.tf-learning-materials__article-body ul,
.tf-learning-materials__article-body ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0 0 0 1.25em;
}

.tf-learning-materials__article-body li {
	margin: 0;
	padding: 0;
}

.tf-learning-materials__article-body li::marker {
	color: var(--tf-white);
}

.tf-learning-materials__article-body blockquote {
	margin: 0;
	padding-left: 16px;
	border-left: 2px solid color-mix(in srgb, var(--tf-cyan) 40%, transparent);
	color: var(--tf-white);
}

.tf-learning-materials__article-body strong,
.tf-learning-materials__article-body b {
	font-weight: 600;
}

.tf-learning-materials__article-body img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--tf-radius-md, 12px);
}

.tf-learning-materials__example {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	padding: 24px 32px;
	border-radius: var(--tf-radius-lg);
	background: var(--tf-surface-tip);
}

.tf-learning-materials__example[hidden] {
	display: none;
}

.tf-learning-materials__example-label {
	margin: 0;
	background: var(--tf-link-gradient);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	text-transform: uppercase;
}

.tf-learning-materials__example-text {
	margin: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
}

.tf-learning-materials__tip {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	min-height: 104px;
	padding: 24px;
	border-radius: var(--tf-radius-lg);
	background: var(--tf-surface-tip);
}

.tf-learning-materials__tip[hidden] {
	display: none;
}

.tf-learning-materials__tip-icon {
	position: relative;
	z-index: 1;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 8px;
	border-radius: 16px;
	--tf-glass-from: rgba(3, 12, 53, 0.1);
	--tf-glass-to: rgba(0, 0, 0, 0.1);
}

.tf-learning-materials__tip-icon img {
	position: relative;
	z-index: 3;
	display: block;
	width: 24px;
	height: 24px;
}

.tf-learning-materials__tip-text {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--tf-white);
	font-family: var(--tf-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
}

.tf-learning-materials__tip-text a,
.tf-learning-materials__article-body a {
	background: var(--tf-link-gradient);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font: inherit;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-underline-position: from-font;
}

.tf-learning-materials__related {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	margin-top: 16px;
}

.tf-learning-materials__related-title {
	margin: 0;
	color: var(--tf-grey);
	font-family: var(--tf-font);
	font-size: 24px;
	font-weight: 300;
	line-height: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tf-learning-materials__related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1024px) {
	.tf-learning-materials__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tf-learning-materials__detail-title {
		font-size: 36px;
	}
}

@media (max-width: 640px) {
	.tf-learning-materials[data-tf-lm-view="detail"] {
		padding-top: 120px;
		padding-right: 0;
		padding-bottom: 72px;
		padding-left: 0;
		gap: 0;
	}

	/* No hairline between Related and footer */
	.tf-learning-materials[data-tf-lm-view="detail"]::after {
		content: none;
		display: none;
	}

	body:has(.tf-learning-materials[data-tf-lm-view="detail"]) .tf-footer__rule--top {
		display: none;
	}

	/* Ready-to-trade is hub-only on mobile detail */
	body:has(.tf-learning-materials[data-tf-lm-view="detail"]) #learning-ready {
		display: none !important;
	}

	.tf-learning-materials__detail {
		gap: 0;
		width: 100%;
	}

	/* Back + kind (Video / Article) */
	.tf-learning-materials__crumbs {
		align-items: center;
		gap: 12px;
		padding: 0 16px;
		margin-bottom: 16px;
	}

	.tf-learning-materials__crumb-back {
		position: relative;
		display: inline-flex;
		flex-shrink: 0;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		border: 0;
		border-radius: 12px;
		background: transparent;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		text-decoration: none;
	}

	.tf-learning-materials__crumb-back::before,
	.tf-learning-materials__crumb-back::after {
		content: none;
		display: none;
	}

	.tf-learning-materials__crumb-back .tf-glass-surface {
		display: none !important;
	}

	.tf-learning-materials__crumb-back-icon {
		display: block;
		width: 24px;
		height: 24px;
	}

	.tf-learning-materials__crumb-mobile-kind {
		display: block;
		margin: 0;
		color: var(--tf-white);
		font-family: var(--tf-font);
		font-size: 18px;
		font-weight: 700;
		line-height: 24px;
	}

	.tf-learning-materials__crumb-link,
	.tf-learning-materials__crumb-sep,
	.tf-learning-materials__crumb-kind,
	.tf-learning-materials__crumb-current {
		display: none;
	}

	/* Full-bleed video hero — no glass rim / card chrome */
	.tf-learning-materials__hero--video {
		width: 100%;
		aspect-ratio: 390 / 224;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		isolation: auto;
		background: transparent;
	}

	.tf-learning-materials__hero--video.tf-glass,
	.tf-learning-materials__hero--video.tf-glass--glass-shader {
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.tf-learning-materials__hero--video.tf-glass::before,
	.tf-learning-materials__hero--video.tf-glass::after,
	.tf-learning-materials__hero--video .tf-glass-surface {
		content: none;
		display: none !important;
	}

	.tf-learning-materials__hero--video .tf-learning-materials__play.tf-glass::before,
	.tf-learning-materials__hero--video .tf-learning-materials__play.tf-glass::after,
	.tf-learning-materials__hero--video .tf-learning-materials__play .tf-glass-surface {
		content: none;
		display: none !important;
	}

	.tf-learning-materials__hero--video .tf-learning-materials__play {
		background: var(--tf-learning-play-fill);
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.tf-learning-materials__hero--article {
		width: calc(100% - 32px);
		margin: 0 16px;
		min-height: 140px;
	}

	.tf-learning-materials__detail-header {
		gap: 16px;
		padding: 24px 16px 0;
	}

	.tf-learning-materials__eyebrow {
		display: none;
	}

	.tf-learning-materials__detail-tags {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}

	.tf-learning-materials__detail-tags[hidden] {
		display: none;
	}

	.tf-learning-materials__detail-kind {
		display: inline-flex;
		align-items: center;
		height: 30px;
		padding: 2px 12px;
		border-radius: 12px;
		color: var(--tf-white);
		font-family: var(--tf-font);
		font-size: 12px;
		font-weight: 300;
		line-height: 14px;
		letter-spacing: -0.336px;
		white-space: nowrap;
	}

	.tf-learning-materials__detail-kind--video {
		background: var(--tf-learning-kind-video-bg);
	}

	.tf-learning-materials__detail-kind--article {
		background: var(--tf-learning-kind-article-bg);
	}

	.tf-learning-materials__detail-kind[hidden] {
		display: none;
	}

	.tf-learning-materials__detail-category {
		display: inline-flex;
		align-items: center;
		height: 30px;
		padding: 8px 16px;
		border-radius: 16px;
		background: var(--tf-learning-meta-bg);
		color: var(--tf-white);
		font-family: var(--tf-font);
		font-size: 12px;
		font-weight: 300;
		line-height: 14px;
		letter-spacing: -0.336px;
		white-space: nowrap;
	}

	.tf-learning-materials__detail-category[hidden] {
		display: none;
	}

	.tf-learning-materials__detail-title {
		font-size: 18px;
		font-weight: 700;
		line-height: 24px;
		letter-spacing: -0.504px;
	}

	.tf-learning-materials__detail-lead {
		font-size: 16px;
		font-weight: 300;
		line-height: 24px;
		color: var(--tf-grey);
	}

	.tf-learning-materials__detail[data-tf-lm-detail-type="video"] .tf-learning-materials__detail-lead {
		color: var(--tf-grey);
		font-weight: 300;
	}

	.tf-learning-materials__article-body {
		padding: 24px 16px 0;
		font-size: 16px;
		line-height: 24px;
	}

	.tf-learning-materials__tip {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		width: calc(100% - 32px);
		margin: 24px 16px 0;
	}

	.tf-learning-materials__detail[data-tf-lm-detail-type="video"] .tf-learning-materials__tip {
		display: none;
	}

	.tf-learning-materials__example {
		padding: 20px;
	}

	.tf-learning-materials__related {
		gap: 16px;
		margin-top: 32px;
		padding: 0 16px;
	}

	.tf-learning-materials__related-title {
		color: var(--tf-white);
		font-size: 18px;
		font-weight: 700;
		line-height: 24px;
		letter-spacing: 0;
		text-transform: none;
	}

	.tf-learning-materials__related-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	/* Compact related cards — horizontal 358×96 */
	.tf-learning-materials__related-grid .tf-learning-materials__card {
		flex-direction: row;
		align-items: center;
		gap: 16px;
		height: 96px;
		min-height: 0;
		padding: 12px;
	}

	.tf-learning-materials__related-grid .tf-learning-materials__card-glow,
	.tf-learning-materials__related-grid .tf-learning-materials__play,
	.tf-learning-materials__related-grid .tf-learning-materials__duration,
	.tf-learning-materials__related-grid .tf-learning-materials__card-desc,
	.tf-learning-materials__related-grid .tf-learning-materials__card-meta {
		display: none;
	}

	.tf-learning-materials__related-grid .tf-learning-materials__thumb {
		flex: 0 0 104px;
		width: 104px;
		height: 72px;
		aspect-ratio: auto;
		border-radius: 8px;
	}

	.tf-learning-materials__related-grid .tf-learning-materials__thumb-shade {
		display: none;
	}

	.tf-learning-materials__related-grid .tf-learning-materials__card-body {
		flex: 1 1 auto;
		justify-content: center;
		gap: 8px;
		min-width: 0;
		padding: 0;
	}

	.tf-learning-materials__related-grid .tf-learning-materials__card-title {
		font-size: 16px;
		font-weight: 500;
		line-height: 20px;
		letter-spacing: -0.448px;
		white-space: normal;
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		text-overflow: unset;
	}

	.tf-learning-materials__related-grid .tf-learning-materials__card-sub {
		display: block;
		color: var(--tf-grey);
		font-family: var(--tf-font);
		font-size: 14px;
		font-weight: 300;
		line-height: 18px;
		letter-spacing: -0.392px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
