/*
 * ThriveXDNA homepage sections. Ported from the approved Next.js design
 * (components/hero, components/home/*, app/globals.css). Locked tetradic-glass tokens only;
 * the --txc-* variables are defined in tx-chrome.css, which always loads first.
 * Selectors are scoped under .txc-front so Kadence's base heading/form styles cannot win.
 */

@property --txc-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

@keyframes txc-spin-border {
	to {
		--txc-angle: 360deg;
	}
}

.txc-front {
	position: relative;
	z-index: 10;
	display: flex;
	max-width: 100vw;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow-x: hidden;
	font-family: var(--txc-font-body);
	color: var(--txc-text);
}

.txc-front h1,
.txc-front h2,
.txc-front h3 {
	font-family: var(--txc-font-display);
}

.txc-front .txc-section {
	position: relative;
	z-index: 10;
	width: 100%;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.txc-front .txc-hero__inner {
	position: relative;
	display: flex;
	min-height: 88vh;
	width: 100%;
	flex-direction: column;
	justify-content: center;
	color: var(--txc-text);
}

.txc-front .txc-hero__container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 28px;
	padding-top: calc(var(--txc-header-h) + 2.5rem);
	padding-bottom: 40px;
}

.txc-front .txc-hero__copy {
	display: flex;
	max-width: 896px;
	flex-direction: column;
	gap: 16px;
}

.txc-front .txc-hero__title {
	margin: 0;
	font-size: 36px;
	line-height: 40px;
	font-weight: 700;
	color: var(--txc-text);
	text-wrap: balance;
}

.txc-front .txc-hero__title span {
	color: var(--txc-red-text);
}

.txc-front .txc-hero__lead {
	margin: 0;
	font-size: 20px;
	line-height: 28px;
	font-weight: 500;
	color: var(--txc-text);
}

.txc-front .txc-hero__sub {
	margin: 0;
	max-width: 672px;
	font-size: 16px;
	line-height: 24px;
	color: var(--txc-text-soft);
}

.txc-front .txc-hero__quote {
	display: flex;
	max-width: 672px;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
	padding-left: 20px;
	border-left: 2px solid rgba(128, 176, 184, 0.108);
}

.txc-front .txc-hero__quote p {
	margin: 0;
}

.txc-front .txc-hero__quote-main {
	font-size: 18px;
	line-height: 1.625;
	font-weight: 500;
	color: var(--txc-text);
}

.txc-front .txc-hero__quote-note {
	font-size: 14px;
	line-height: 20px;
	color: var(--txc-text-soft);
}

.txc-front .txc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (min-width: 640px) {
	.txc-front .txc-hero__title {
		font-size: 48px;
		line-height: 1;
	}

	.txc-front .txc-hero__lead {
		font-size: 24px;
		line-height: 32px;
	}

	.txc-front .txc-hero__sub {
		font-size: 18px;
		line-height: 28px;
	}

	.txc-front .txc-hero__quote-main {
		font-size: 20px;
	}

	.txc-front .txc-hero__quote-note {
		font-size: 16px;
		line-height: 24px;
	}
}

@media (min-width: 768px) {
	.txc-front .txc-hero__inner {
		min-height: 62vh;
	}

	.txc-front .txc-hero__container {
		gap: 20px;
	}

	.txc-front .txc-hero__title {
		font-size: 60px;
	}
}

@media (min-width: 1024px) {
	.txc-front .txc-hero__inner {
		min-height: 56vh;
	}

	.txc-front .txc-hero__title {
		font-size: 72px;
	}
}

/* Hero signup form */

.txc-front .txc-signup {
	display: flex;
	max-width: 576px;
	flex-direction: column;
	gap: 8px;
}

.txc-front .txc-signup__intro {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--txc-text-soft);
}

.txc-front .txc-signup__intro strong {
	font-weight: 600;
	color: var(--txc-text);
}

.txc-front .txc-signup__form {
	position: relative;
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.txc-front .txc-signup__form input.txc-signup__input {
	box-sizing: border-box;
	margin: 0;
	border: 1px solid var(--txc-border);
	border-radius: 8px;
	padding: 10px 16px;
	background: rgba(13, 26, 31, 0.7);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: none;
	font-family: var(--txc-font-body);
	font-size: 14px;
	line-height: 20px;
	color: var(--txc-text);
	outline: none;
}

.txc-front .txc-signup__form input.txc-signup__input::placeholder {
	color: rgba(168, 190, 194, 0.75); /* 0.6 measured 4.12:1 on the input; 0.75 clears 4.5:1 */
}

.txc-front .txc-signup__form input.txc-signup__input:focus {
	border-color: var(--txc-cyan);
	box-shadow: none;
}

.txc-front .txc-signup__form input.txc-signup__input--email {
	flex: 1;
}

.txc-front .txc-signup__form .txc-signup__trap {
	position: absolute;
	left: -9999px;
	width: 0;
	height: 0;
	opacity: 0;
	pointer-events: none;
}

.txc-front .txc-signup__form button.txc-signup__submit {
	flex-shrink: 0;
	margin: 0;
	border: 0;
	border-radius: 8px;
	padding: 10px 20px;
	background: var(--txc-red);
	box-shadow: none;
	font-family: var(--txc-font-body);
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition: filter 0.15s ease, opacity 0.15s ease;
}

.txc-front .txc-signup__form button.txc-signup__submit:hover {
	background: var(--txc-red);
	color: #fff;
	filter: brightness(1.1);
}

.txc-front .txc-signup__form button.txc-signup__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.txc-front .txc-signup__form :focus-visible {
	outline: 2px solid var(--txc-cyan);
	outline-offset: 2px;
}

.txc-front .txc-signup__msg {
	margin: 0;
	font-size: 12px;
	line-height: 16px;
	color: var(--txc-red-text);
}

.txc-front .txc-signup__done {
	display: flex;
	max-width: 576px;
	flex-direction: column;
	gap: 4px;
	border: 1px solid var(--txc-border);
	border-radius: 12px;
	padding: 20px;
	background: var(--txc-panel-soft);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.txc-front .txc-signup__done p {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--txc-text-soft);
}

.txc-front .txc-signup__done .txc-signup__done-title {
	font-family: var(--txc-font-display);
	font-size: 18px;
	line-height: 28px;
	font-weight: 600;
	color: var(--txc-text);
}

.txc-front .txc-signup__done .txc-signup__done-note {
	font-size: 12px;
	line-height: 16px;
	color: rgba(168, 190, 194, 0.7);
}

@media (min-width: 640px) {
	.txc-front .txc-signup__form {
		flex-direction: row;
	}

	.txc-front .txc-signup__form input.txc-signup__input--name {
		width: 160px;
	}
}

/* ── D.N.A. flip cards ────────────────────────────────────────────────── */

.txc-front .txc-dna-values {
	padding-top: 0;
	padding-bottom: 64px;
}

@media (min-width: 768px) {
	.txc-front .txc-dna-values {
		padding-bottom: 80px;
	}
}

.txc-front .txc-values-stack {
	display: grid;
	gap: 16px;
	perspective: 1400px;
}

@media (min-width: 768px) {
	.txc-front .txc-values-stack {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.txc-front .txc-value-tile {
	position: relative;
	min-height: 180px;
	transform-style: preserve-3d;
	transition: transform 0.7s cubic-bezier(0.4, 0.05, 0.2, 1);
	cursor: pointer;
	will-change: transform;
	transform: rotateY(0deg);
}

.txc-front .txc-value-tile.flipped {
	transform: rotateY(180deg);
}

@media (hover: hover) {
	.txc-front .txc-value-tile:hover {
		transform: rotateY(180deg);
	}

	.txc-front .txc-value-tile.flipped:hover {
		transform: rotateY(0deg);
	}
}

.txc-front .txc-value-face {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: 32px;
	border: 1px solid rgba(30, 203, 225, 0.16);
	border-radius: 16px;
	background: rgba(9, 18, 22, 0.82);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: border-color 0.3s ease, box-shadow 0.45s ease;
}

.txc-front .txc-value-face::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	pointer-events: none;
	background: conic-gradient(from var(--txc-angle), var(--txc-cyan), var(--txc-violet), var(--txc-red), var(--txc-green), var(--txc-cyan));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	animation: txc-spin-border 4s linear infinite;
	animation-play-state: paused;
}

.txc-front .txc-value-tile:hover .txc-value-face::after,
.txc-front .txc-value-tile:focus-visible .txc-value-face::after,
.txc-front .txc-value-tile.flipped .txc-value-face::after {
	opacity: 1;
	animation-play-state: running;
}

.txc-front .txc-value-tile:hover .txc-value-face,
.txc-front .txc-value-tile:focus-visible .txc-value-face,
.txc-front .txc-value-tile.flipped .txc-value-face {
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(30, 203, 225, 0.22);
}

.txc-front .txc-value-tile:focus-visible {
	outline: 2px solid var(--txc-cyan);
	outline-offset: 4px;
	border-radius: 16px;
}

.txc-front .txc-value-face.front {
	justify-content: space-between;
	gap: 16px;
}

.txc-front .txc-value-face.back {
	transform: rotateY(180deg);
	border-color: rgba(30, 203, 225, 0.32);
	background: rgba(5, 10, 13, 0.9);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(30, 203, 225, 0.08);
}

.txc-front .txc-value-tile:hover .txc-value-face.front,
.txc-front .txc-value-tile.flipped .txc-value-face.front {
	border-color: rgba(30, 203, 225, 0.32);
}

.txc-front .txc-value-face h3 {
	margin: 0;
	font-family: var(--txc-font-display);
	font-size: 1.8rem;
	line-height: 1.1;
	font-weight: 400;
	letter-spacing: -0.015em;
	color: #eef7f8;
}

.txc-front .txc-value-tag {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--txc-font-body);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #1ecbe1;
}

.txc-front .txc-value-tag::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1ecbe1;
	box-shadow: 0 0 10px #1ecbe1;
}

.txc-front .txc-value-face p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(238, 247, 248, 0.85);
}

.txc-front .txc-value-face p strong {
	font-weight: 600;
	color: #1ecbe1;
}

.txc-front .txc-value-flip-hint {
	position: absolute;
	right: 18px;
	bottom: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--txc-font-body);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(238, 247, 248, 0.35);
}

@media (prefers-reduced-motion: reduce) {
	.txc-front .txc-value-tile {
		transition: none;
	}

	.txc-front .txc-value-face::after {
		animation: none;
	}
}

/* ── Featured on ──────────────────────────────────────────────────────── */

.txc-front .tx-sbm {
	padding: 30px 0 34px;
	border-top: 1px solid rgba(30, 203, 225, 0.12);
	border-bottom: 1px solid rgba(30, 203, 225, 0.12);
	background: rgba(6, 11, 14, 0.4);
}

.txc-front .tx-sbm-eyebrow {
	margin: 0 0 20px;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #a8bec2;
}

.txc-front .tx-sbm-vp {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.txc-front .tx-sbm-track {
	display: flex;
	width: max-content;
	align-items: center;
	gap: 28px;
	animation: tx-sbm-scroll var(--tx-sbm-dur, 60s) linear infinite;
}

.txc-front .tx-sbm-half {
	display: contents;
}

.txc-front .tx-sbm-item {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.txc-front .tx-sbm-item a {
	position: relative;
	display: inline-flex;
	align-items: center;
	border: 0;
	border-radius: 10px;
	text-decoration: none;
}

.txc-front .tx-sbm-item img {
	display: block;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	max-height: 44px !important;
}

.txc-front .tx-sbm-vp.is-static {
	-webkit-mask-image: none;
	mask-image: none;
}

.txc-front .tx-sbm-vp.is-static .tx-sbm-track {
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 18px;
	animation: none;
}

@keyframes tx-sbm-scroll {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.txc-front .tx-sbm-track {
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 18px;
		animation: none;
	}

	.txc-front .tx-sbm-vp {
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* ── Three doors ──────────────────────────────────────────────────────── */

.txc-front .txc-doors {
	padding-block: 64px;
}

@media (min-width: 768px) {
	.txc-front .txc-doors {
		padding-block: 96px;
	}
}

.txc-front .txc-doors__title {
	margin: 0 0 40px;
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	color: var(--txc-text);
}

.txc-front .txc-doors__grid {
	display: grid;
	gap: 24px;
}

@media (min-width: 640px) {
	.txc-front .txc-doors__title {
		font-size: 30px;
		line-height: 36px;
	}
}

@media (min-width: 768px) {
	.txc-front .txc-doors__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.txc-front .txc-glow-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--txc-border);
	border-radius: 16px;
	background: var(--txc-panel);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.txc-front .txc-glow-card::after {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--txc-angle), var(--txc-cyan), var(--txc-violet), var(--txc-red), var(--txc-green), var(--txc-cyan));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	filter: brightness(1.5) saturate(1.5);
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	animation: txc-spin-border 4s linear infinite;
	animation-play-state: paused;
}

.txc-front .txc-glow-card:hover::after,
.txc-front .txc-glow-card:focus-within::after {
	opacity: 1;
	animation-play-state: running;
}

.txc-front .txc-glow-card:hover,
.txc-front .txc-glow-card:focus-within {
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(30, 203, 225, 0.22);
}

@media (max-width: 900px) {
	.txc-front .txc-glow-card::after {
		filter: brightness(1.3) saturate(1.3);
	}

	.txc-front .txc-glow-card:hover::after {
		opacity: 0;
	}

	.txc-front .txc-glow-card:active::after,
	.txc-front .txc-glow-card:focus-within::after {
		opacity: 1;
		animation-play-state: running;
	}
}

.txc-front .txc-door__number {
	font-family: var(--txc-font-display);
	font-size: 30px;
	line-height: 36px;
	font-weight: 700;
}

.txc-front .txc-door__number--cyan {
	color: var(--txc-cyan);
}

.txc-front .txc-door__number--red {
	color: var(--txc-red-text);
}

.txc-front .txc-door__number--green {
	color: var(--txc-green);
}

.txc-front .txc-door__title {
	margin: 0;
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	color: var(--txc-text);
}

.txc-front .txc-door__text {
	flex: 1;
	margin: 0;
	font-size: 14px;
	line-height: 1.625;
	color: var(--txc-text-soft);
}

/* ── Category marquee ─────────────────────────────────────────────────── */

.txc-front .txc-cat-marquee {
	overflow: hidden;
	padding-block: 24px;
}

.txc-front .txc-cat-marquee__title {
	margin: 0 0 18px;
	font-family: var(--txc-font-display);
	font-size: clamp(1.25rem, 2.4vw, 1.75rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	text-align: center;
	color: var(--txc-text);
}

.txc-front .txc-cat-marquee__title em {
	font-style: normal;
	color: var(--txc-red);
}

.txc-front .txc-cat-marquee__rail {
	border-top: 1px solid var(--txc-border);
	border-bottom: 1px solid var(--txc-border);
}

.txc-front .txc-marquee {
	display: flex;
	width: max-content;
	gap: 12px;
	padding-block: 16px;
	animation: txc-marquee 45s linear infinite;
}

@keyframes txc-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.txc-front .txc-cat-chip {
	position: relative;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--txc-border);
	border-radius: 9999px;
	background: var(--txc-panel-soft);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.txc-front .txc-cat-chip:hover {
	border-color: var(--txc-border-strong);
}

.txc-front .txc-cat-chip__name {
	font-size: 14px;
	line-height: 20px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--txc-text);
}

.txc-front .txc-cat-chip__count {
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--txc-cyan);
}

@media (prefers-reduced-motion: reduce) {
	.txc-front .txc-marquee {
		animation: none;
	}
}

/* ── Blog showcase ────────────────────────────────────────────────────── */

.txc-front .txc-blog-showcase {
	position: relative;
	overflow: hidden;
	padding: 120px 0 160px;
	background: rgba(6, 11, 14, 0.55);
}

.txc-front .txc-blog-showcase::before,
.txc-front .txc-blog-showcase::after {
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	z-index: 3;
	height: 160px;
	pointer-events: none;
}

.txc-front .txc-blog-showcase::before {
	top: 0;
	background: linear-gradient(to bottom, #060b0e 0%, transparent 100%);
}

.txc-front .txc-blog-showcase::after {
	bottom: 0;
	background: linear-gradient(to top, #060b0e 0%, transparent 100%);
}

.txc-front .txc-blog-wrap {
	position: relative;
	z-index: 4;
	display: grid;
	grid-template-columns: 360px 1fr;
	align-items: start;
	gap: 60px;
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 32px;
}

.txc-front .txc-blog-head {
	position: sticky;
	top: 120px;
	text-align: left;
}

.txc-front .txc-blog-eyebrow {
	display: inline-block;
	margin-bottom: 16px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #1ecbe1;
}

.txc-front .txc-blog-title {
	margin: 0 0 32px;
	font-family: var(--txc-font-display);
	font-size: clamp(3rem, 6vw, 5.5rem);
	line-height: 0.92;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: #eef7f8;
}

.txc-front .txc-blog-title em {
	font-style: italic;
	font-weight: 400;
	color: var(--txc-red);
}

.txc-front .txc-blog-link {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 28px;
	border: 1px solid rgba(238, 247, 248, 0.2);
	border-radius: 100px;
	background: rgba(6, 11, 14, 0.4);
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	color: #eef7f8;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.txc-front .txc-blog-link:hover,
.txc-front .txc-blog-link:focus-visible {
	border-color: var(--txc-border-strong);
	color: #eef7f8;
	transform: translateY(-2px);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(30, 203, 225, 0.22);
}

.txc-front .txc-blog-link span {
	transition: transform 0.3s ease;
}

.txc-front .txc-blog-link:hover span {
	transform: translateX(4px);
}

.txc-front .txc-blog-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	height: 880px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.txc-front .txc-blog-col {
	display: flex;
	flex-direction: column;
	gap: 28px;
	will-change: transform;
}

.txc-front .txc-blog-col.up {
	animation: txc-blog-up 22s linear infinite;
}

.txc-front .txc-blog-col.down {
	animation: txc-blog-down 22s linear infinite;
}

.txc-front .txc-blog-columns:hover .txc-blog-col {
	animation-play-state: paused;
}

@keyframes txc-blog-up {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-50%);
	}
}

@keyframes txc-blog-down {
	from {
		transform: translateY(-50%);
	}

	to {
		transform: translateY(0);
	}
}

.txc-front .txc-blog-card {
	position: relative;
	display: block;
	flex-shrink: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 1px solid rgba(30, 203, 225, 0.08);
	border-radius: 18px;
	background: #0a1216;
	text-decoration: none;
	transition: border-color 0.3s ease, transform 0.4s ease;
}

.txc-front .txc-blog-card:hover {
	border-color: rgba(30, 203, 225, 0.32);
	transform: scale(1.02);
}

.txc-front .txc-blog-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.txc-front .txc-blog-card:hover img {
	transform: scale(1.08);
}

.txc-front .txc-blog-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(6, 11, 14, 0) 0%, rgba(6, 11, 14, 0.2) 40%, rgba(6, 11, 14, 0.85) 78%, rgba(6, 11, 14, 0.98) 100%);
}

.txc-front .txc-blog-card-cat {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 6px 12px;
	border: 1px solid rgba(238, 247, 248, 0.25);
	border-radius: 100px;
	background: rgba(6, 11, 14, 0.6);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #eef7f8;
}

.txc-front .txc-blog-card-body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 22px;
}

.txc-front .txc-blog-card-title {
	display: block;
	margin: 0 0 12px;
	font-family: var(--txc-font-display);
	font-size: 1.05rem;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: #eef7f8;
}

.txc-front .txc-blog-card-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1ecbe1;
	transition: gap 0.3s ease;
}

.txc-front .txc-blog-card:hover .txc-blog-card-arrow {
	gap: 14px;
}

@media (max-width: 980px) {
	.txc-front .txc-blog-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.txc-front .txc-blog-head {
		position: relative;
		top: auto;
	}

	.txc-front .txc-blog-columns {
		grid-template-columns: repeat(2, 1fr);
		height: 720px;
	}
}

@media (max-width: 640px) {
	.txc-front .txc-blog-showcase {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.txc-front .txc-blog-columns {
		grid-template-columns: 1fr;
		height: 580px;
		padding: 0 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.txc-front .txc-blog-col {
		animation: none !important;
	}
}

/* Hover ring on cards in moving tracks (::before; the blog card's ::after is its scrim). */
.txc-front .txc-blog-card::before,
.txc-front .txc-cat-chip::before,
.txc-front .txc-blog-link::before,
.txc-front .tx-sbm-item a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
	border-radius: inherit;
	padding: 1px;
	pointer-events: none;
	background: conic-gradient(from var(--txc-angle), var(--txc-cyan), var(--txc-violet), var(--txc-red), var(--txc-green), var(--txc-cyan));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	animation: txc-spin-border 4s linear infinite;
	animation-play-state: paused;
}

.txc-front .txc-blog-card:hover::before,
.txc-front .txc-blog-card:focus-visible::before,
.txc-front .txc-cat-chip:hover::before,
.txc-front .txc-cat-chip:focus-visible::before,
.txc-front .txc-blog-link:hover::before,
.txc-front .txc-blog-link:focus-visible::before,
.txc-front .tx-sbm-item a:hover::before,
.txc-front .tx-sbm-item a:focus-visible::before {
	opacity: 1;
	animation-play-state: running;
}

.txc-front .txc-cat-chip:hover,
.txc-front .txc-cat-chip:focus-visible {
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(30, 203, 225, 0.22);
}

.txc-front .tx-sbm-item a:hover,
.txc-front .tx-sbm-item a:focus-visible {
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(30, 203, 225, 0.22);
}

.txc-front .txc-blog-card:hover,
.txc-front .txc-blog-card:focus-visible {
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(30, 203, 225, 0.22);
}

@media (max-width: 900px) {
	.txc-front .txc-blog-card:active::before,
	.txc-front .txc-cat-chip:active::before,
	.txc-front .txc-blog-link:active::before,
	.txc-front .tx-sbm-item a:active::before {
		opacity: 1;
		animation-play-state: running;
	}
}

@media (prefers-reduced-motion: reduce) {
	.txc-front .txc-blog-card::before,
	.txc-front .txc-cat-chip::before,
	.txc-front .txc-blog-link::before,
	.txc-front .tx-sbm-item a::before {
		animation: none;
	}
}

/* ── FAQ (native <details>: every answer is in the HTML, no JS needed) ── */

.txc-front .txc-faq {
	padding-block: 64px;
}

@media (min-width: 768px) {
	.txc-front .txc-faq {
		padding-block: 96px;
	}
}

.txc-front .txc-faq__inner {
	max-width: 768px;
	margin-inline: auto;
}

.txc-front .txc-faq__title {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	color: var(--txc-text);
}

.txc-front .txc-faq__intro {
	margin: 0 0 40px;
	font-size: 14px;
	line-height: 20px;
	color: var(--txc-text-soft);
}

@media (min-width: 640px) {
	.txc-front .txc-faq__title {
		font-size: 30px;
		line-height: 36px;
	}

	.txc-front .txc-faq__intro {
		font-size: 16px;
		line-height: 24px;
	}
}

.txc-front .txc-faq__item {
	border-bottom: 1px solid var(--txc-border);
}

.txc-front .txc-faq__item:last-child {
	border-bottom: 0;
}

.txc-front .txc-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	list-style: none;
	cursor: pointer;
	color: var(--txc-text);
	transition: color 0.15s ease;
}

.txc-front .txc-faq__item summary::-webkit-details-marker {
	display: none;
}

.txc-front .txc-faq__item summary:hover {
	color: var(--txc-cyan);
}

.txc-front .txc-faq__item summary:focus-visible {
	outline: 2px solid var(--txc-cyan);
	outline-offset: 2px;
}

.txc-front .txc-faq__item summary h3 {
	margin: 0;
	padding-right: 16px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	color: inherit;
}

.txc-front .txc-faq__item summary svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: var(--txc-text-soft);
	transition: transform 0.2s ease;
}

.txc-front .txc-faq__item[open] summary svg {
	transform: rotate(180deg);
}

.txc-front .txc-faq__answer {
	padding-bottom: 24px;
}

.txc-front .txc-faq__answer p {
	margin: 0;
	font-size: 14px;
	line-height: 1.625;
	color: var(--txc-text-soft);
}

.txc-front .txc-faq__answer p + p {
	margin-top: 12px;
}

.txc-front .txc-faq__answer a {
	font-size: 14px;
	font-weight: 500;
	color: var(--txc-cyan);
	text-decoration: none;
}

.txc-front .txc-faq__answer a:hover {
	text-decoration: underline;
}

/* ── Scroll reveal (armed by JS, so content is never hidden without it) ── */

.txc-reveal-armed .txc-reveal {
	opacity: 0;
	transform: translateY(20px);
}

.txc-reveal {
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.txc-reveal-armed .txc-reveal.is-shown {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.txc-reveal-armed .txc-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Author display rules above would otherwise override the hidden attribute. */
.txc-front [hidden] {
	display: none !important;
}
