/*
 * Traders Edge — New Home (staging)
 * All rules are scoped under .te-new-home so this cannot bleed into
 * the active theme, Elementor, or any other plugin's styles.
 */

.te-new-home {
	--te-bg: #14130f;
	--te-bg-alt: #1b1a15;
	--te-gold: #c9a25a;
	--te-gold-soft: rgba(201, 162, 90, 0.35);
	--te-off-white: #f2efe7;
	--te-off-white-bright: #fffaf0;
	--te-off-white-dim: rgba(242, 239, 231, 0.72);

	color: var(--te-off-white);
	background: var(--te-bg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.5;
	box-sizing: border-box;
}

.te-new-home *,
.te-new-home *::before,
.te-new-home *::after {
	box-sizing: inherit;
}

.te-new-home__inner {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}

.te-new-home__inner--narrow {
	max-width: 760px;
}

/* Top banner — full-bleed image, sits between the site header and the hero. */

.te-new-home__top-banner {
	line-height: 0;
	background: #000;
}

.te-new-home__top-banner-img {
	display: block;
	width: 100%;
	height: auto;
	/* Fades the image's own bottom edge to transparent, revealing the
	   black banner background behind it, so the bull melts into the
	   hero below rather than cutting off with a hard edge. */
	-webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

/* Hero */

.te-new-home__hero {
	/* Starts pure black to melt into the banner image directly above,
	   then eases into the section's normal --te-bg tone so the rest of
	   the page's dark/darker alternation stays correct below it. */
	background: linear-gradient(180deg, #000 0, var(--te-bg) 96px);
	padding: clamp(50px, 8vw, 110px) 0 clamp(40px, 5.5vw, 72px);
	text-align: center;
}

.te-new-home__eyebrow {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--te-gold);
}

.te-new-home__eyebrow--left {
	text-align: left;
}

/*
 * !important on color only: the Vayvo Progression theme applies its own
 * default h1 color (a grey, ~#7a7a7a) after ours in the cascade.
 * Confirmed live — font-size/weight rendered correctly, only color was
 * being overridden.
 */
.te-new-home__headline {
	margin: 0 0 20px;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.15;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--te-off-white-bright) !important;
}

.te-new-home__subhead {
	margin: 0 auto 20px;
	max-width: 560px;
	font-size: clamp(16px, 2vw, 19px);
	color: var(--te-off-white-dim);
}

.te-new-home__lede {
	margin: 0 auto 32px;
	max-width: 620px;
	font-size: clamp(15px, 1.6vw, 17px);
	color: var(--te-off-white-dim);
}

.te-new-home__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.te-new-home__btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 2px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.te-new-home__btn--primary {
	background: var(--te-gold);
	color: #14130f;
}

.te-new-home__btn--primary:hover {
	opacity: 0.88;
}

.te-new-home__btn--secondary {
	background: transparent;
	color: var(--te-off-white);
	border: 1px solid var(--te-gold-soft);
}

.te-new-home__btn--secondary:hover {
	border-color: var(--te-gold);
	color: var(--te-gold);
}

/*
 * Keyboard focus indicator. The active theme resets outline:none !important
 * on every link (selector "body a"); the class-level selector below
 * outranks that on specificity alone, so it wins regardless of stylesheet
 * load order without needing to touch the theme.
 */
.te-new-home a:focus-visible,
.te-new-home button:focus-visible {
	outline: 2px solid var(--te-gold) !important;
	outline-offset: 3px;
}

.te-new-home__btn--small {
	padding: 9px 18px;
	font-size: 13px;
}

/* Site header */

.te-new-home__site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--te-bg);
	border-bottom: 1px solid rgba(242, 239, 231, 0.08);
}

.te-new-home__site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.te-new-home__brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--te-off-white-bright);
	text-decoration: none;
}

.te-new-home__brand:hover {
	color: var(--te-gold);
}

/*
 * !important on width/height: Elementor's own frontend stylesheet ships
 * ".elementor img { height: auto; max-width: 100%; }", which outranks our
 * single-class selector on specificity alone (class+type beats class).
 */
.te-new-home__brand-icon {
	display: block;
	width: auto !important;
	height: 28px !important;
	flex-shrink: 0;
}

.te-new-home__nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.te-new-home__nav-links {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.te-new-home__nav-links a {
	font-size: 14px;
	font-weight: 500;
	color: var(--te-off-white-dim);
	text-decoration: none;
	transition: color 0.15s ease;
}

.te-new-home__nav-links a:hover {
	color: var(--te-off-white);
}

.te-new-home__nav-static {
	font-size: 14px;
	font-weight: 500;
	color: rgba(242, 239, 231, 0.35);
	cursor: default;
}

.te-new-home__footer-links .te-new-home__nav-static {
	font-size: 13.5px;
}

.te-new-home__nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.te-new-home__nav-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
}

.te-new-home__nav-toggle span {
	display: block;
	width: 24px;
	height: 1.5px;
	background: var(--te-off-white);
}

.te-new-home .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Site footer */

.te-new-home__site-footer {
	background: linear-gradient(180deg, var(--te-bg) 0, var(--te-bg-alt) 64px);
	padding: 48px 0 32px;
	text-align: left;
}

.te-new-home__site-footer-inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.te-new-home__footer-brand {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.te-new-home__brand--footer {
	margin: 0;
	font-size: 15px;
}

.te-new-home__footer-tagline {
	margin: 0;
	max-width: 420px;
	font-size: 14px;
	color: var(--te-off-white-dim);
}

.te-new-home__footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.te-new-home__footer-links a {
	font-size: 13.5px;
	color: var(--te-off-white-dim);
	text-decoration: none;
}

.te-new-home__footer-links a:hover {
	color: var(--te-gold);
}

.te-new-home__footer-copy {
	margin: 8px 0 0;
	padding-top: 20px;
	font-size: 12.5px;
	color: rgba(242, 239, 231, 0.52);
	border-top: 1px solid rgba(242, 239, 231, 0.06);
}

/* What Traders Edge Is — asymmetric label + body split */

.te-new-home__what-is {
	/* Same tone as .fit directly above — no transition needed here. */
	background: var(--te-bg-alt);
	padding: clamp(52px, 7.5vw, 92px) 0;
	text-align: left;
	border-top: 1px solid rgba(242, 239, 231, 0.06);
}

.te-new-home__split {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: start;
}

.te-new-home__split-label {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.te-new-home__rule {
	display: block;
	width: 48px;
	height: 2px;
	background: var(--te-gold);
}

.te-new-home__split-text {
	margin: 0 0 16px;
	max-width: 640px;
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.6;
	color: var(--te-off-white);
}

.te-new-home__split-text:last-child {
	margin-bottom: 0;
}

/* What We Are Not */

.te-new-home__not {
	background: var(--te-bg);
	padding: clamp(52px, 7.5vw, 92px) 0;
	text-align: center;
	border-top: 1px solid var(--te-gold-soft);
}

.te-new-home__not-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 32px 0 38px;
	text-align: left;
}

.te-new-home__not-card {
	padding: 20px 20px 22px;
	background: rgba(242, 239, 231, 0.03);
	border: 1px solid rgba(242, 239, 231, 0.08);
	border-left: 2px solid var(--te-gold);
	border-radius: 2px;
}

.te-new-home__not-icon {
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	margin-bottom: 16px;
	border: 1.5px solid var(--te-gold);
	border-radius: 50%;
}

.te-new-home__not-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 10%;
	width: 80%;
	height: 1.5px;
	background: var(--te-gold);
	transform: translateY(-50%) rotate(-45deg);
}

.te-new-home__not-card p {
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--te-off-white);
}

.te-new-home__not-banner {
	margin: 0;
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--te-gold);
}

/* Inside the Community */

.te-new-home__inside {
	background: var(--te-bg-alt);
	padding: clamp(52px, 7.5vw, 92px) 0;
	text-align: center;
	border-top: 1px solid rgba(242, 239, 231, 0.06);
}

.te-new-home__section-heading {
	margin: 14px 0 38px;
	font-size: clamp(24px, 3.4vw, 32px);
	font-weight: 600;
	color: var(--te-off-white);
}

.te-new-home__inside-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	text-align: left;
}

.te-new-home__inside-card {
	position: relative;
	padding: 28px 26px;
	background: rgba(242, 239, 231, 0.03);
	border: 1px solid rgba(242, 239, 231, 0.08);
	border-radius: 2px;
}

.te-new-home__inside-index {
	display: block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--te-gold);
}

.te-new-home__inside-card h3 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 600;
	color: var(--te-off-white);
}

.te-new-home__inside-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--te-off-white-dim);
}

/* Market Action */

.te-new-home__process {
	/* Blend replaces the flat hairline — the gradient itself now marks
	   the transition from .inside's --te-bg-alt back to --te-bg. */
	background: linear-gradient(180deg, var(--te-bg-alt) 0, var(--te-bg) 64px);
	padding: clamp(52px, 7.5vw, 92px) 0;
	text-align: center;
}

.te-new-home__process-steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	max-width: 820px;
	margin: 30px auto 32px;
}

.te-new-home__process-step {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 0 12px;
}

.te-new-home__process-step:nth-child(3) {
	transform: translateY(-16px);
}

.te-new-home__process-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--te-gold);
	border-radius: 50%;
	font-size: 15px;
	font-weight: 600;
	color: var(--te-gold);
}

.te-new-home__process-step h3 {
	max-width: 200px;
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--te-off-white);
}

.te-new-home__process-step p {
	max-width: 220px;
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--te-off-white-dim);
}

.te-new-home__process-connector {
	flex: 0 0 56px;
	align-self: center;
	height: 1px;
	margin-top: 20px;
	background: rgba(242, 239, 231, 0.15);
}

.te-new-home__process-copy {
	max-width: 640px;
	margin: 0 auto;
	font-size: clamp(16px, 1.8vw, 18px);
	color: var(--te-off-white-dim);
}

/* Built by Traders, for Traders — editorial layout */

.te-new-home__built {
	background: linear-gradient(180deg, var(--te-bg) 0, var(--te-bg-alt) 64px);
	padding: clamp(56px, 8vw, 100px) 0;
}

.te-new-home__editorial {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: start;
	text-align: left;
}

.te-new-home__editorial-label {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.te-new-home__editorial-lead {
	max-width: 640px;
	margin: 0 0 18px;
	font-size: clamp(19px, 2.4vw, 24px);
	line-height: 1.55;
	font-weight: 500;
	color: var(--te-off-white);
}

.te-new-home__editorial-note {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--te-gold);
}

/* Who It's For / Who It's Not For */

.te-new-home__fit {
	/* Eases in from the hero's --te-bg tone rather than cutting straight
	   to --te-bg-alt. Gold hairline kept as a deliberate accent. */
	background: linear-gradient(180deg, var(--te-bg) 0, var(--te-bg-alt) 64px);
	padding: clamp(52px, 7.5vw, 92px) 0;
	text-align: center;
	border-top: 1px solid rgba(201, 162, 90, 0.16);
}

.te-new-home__fit-intro {
	margin: 0 auto 40px;
}

.te-new-home__fit-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 40px;
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
	align-items: start;
}

.te-new-home__fit-divider {
	width: 1px;
	align-self: stretch;
	background: rgba(242, 239, 231, 0.12);
}

.te-new-home__fit-heading {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.te-new-home__fit-heading--for {
	color: var(--te-gold);
}

.te-new-home__fit-heading--not {
	color: var(--te-off-white-dim);
}

.te-new-home__fit-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.te-new-home__fit-list li {
	position: relative;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--te-off-white-dim);
}

.te-new-home__fit-list li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 0;
	width: 8px;
	height: 1px;
	background: var(--te-gold);
}

/* Ethos intro text re-used inside the "fit" section */

.te-new-home__ethos-title {
	margin: 0 0 22px;
	font-size: clamp(22px, 3.2vw, 30px);
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--te-gold);
}

.te-new-home__ethos-text {
	margin: 0 auto 14px;
	max-width: 560px;
	font-size: clamp(16px, 1.8vw, 18px);
	color: var(--te-off-white-dim);
}

.te-new-home__ethos-text:last-child {
	margin-bottom: 0;
}

/* Final CTA */

.te-new-home__cta {
	/* Gold hairline kept as a deliberate accent, same as .fit above. */
	background: linear-gradient(180deg, var(--te-bg-alt) 0, var(--te-bg) 64px);
	padding: clamp(58px, 8vw, 98px) 0;
	text-align: center;
	border-top: 1px solid var(--te-gold-soft);
}

.te-new-home__cta-heading {
	margin: 0 0 14px;
	font-size: clamp(26px, 3.6vw, 36px);
	font-weight: 600;
	color: var(--te-off-white);
}

.te-new-home__cta-copy {
	max-width: 480px;
	margin: 0 auto 28px;
	font-size: clamp(15px, 1.6vw, 17px);
	color: var(--te-off-white-dim);
}

/* Header mobile menu */

@media (max-width: 860px) {
	.te-new-home__nav-toggle {
		display: flex;
	}

	.te-new-home__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: 0;
		overflow: hidden;
		background: var(--te-bg);
		border-bottom: 1px solid rgba(242, 239, 231, 0.08);
		transition: max-height 0.2s ease;
	}

	.te-new-home__nav.is-open {
		max-height: 420px;
	}

	.te-new-home__nav-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
	}

	.te-new-home__nav-links a,
	.te-new-home__nav-links .te-new-home__nav-static {
		display: block;
		width: 100%;
		padding: 14px 24px;
		border-top: 1px solid rgba(242, 239, 231, 0.06);
	}

	.te-new-home__nav-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 16px 24px 20px;
	}
}

/* Mobile refinements */

@media (max-width: 900px) {
	.te-new-home__not-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.te-new-home__inside-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 720px) {
	.te-new-home__split,
	.te-new-home__editorial {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.te-new-home__fit-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.te-new-home__fit-divider {
		display: none;
	}

	.te-new-home__process-steps {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.te-new-home__process-step:nth-child(3) {
		transform: none;
	}

	.te-new-home__process-connector {
		display: none;
	}
}

@media (max-width: 600px) {
	.te-new-home__inner {
		padding: 0 20px;
	}

	.te-new-home__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.te-new-home__btn {
		text-align: center;
	}

	.te-new-home__not-grid,
	.te-new-home__inside-grid {
		grid-template-columns: 1fr;
	}

	.te-new-home__footer-links {
		gap: 14px;
	}
}

/* Mobile readability polish (max-width: 600px only — desktop untouched) */

@media (max-width: 600px) {
	.te-new-home__split-text,
	.te-new-home__ethos-text,
	.te-new-home__editorial-lead,
	.te-new-home__inside-card p,
	.te-new-home__process-step p,
	.te-new-home__not-card p,
	.te-new-home__fit-list li {
		line-height: 1.65;
	}

	.te-new-home__eyebrow {
		margin-bottom: 24px;
	}

	.te-new-home__section-heading {
		margin-bottom: 28px;
	}

	.te-new-home__ethos-title {
		margin-bottom: 18px;
	}

	.te-new-home__fit-heading {
		margin-bottom: 14px;
	}

	.te-new-home__what-is,
	.te-new-home__not,
	.te-new-home__inside,
	.te-new-home__process,
	.te-new-home__fit {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	/* Built by Traders readability */
	.te-new-home__built {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.te-new-home__editorial-lead {
		margin-bottom: 22px;
		font-size: 19px;
	}

	.te-new-home__editorial-note {
		margin-top: 4px;
	}

	/* Who It's For / Who It's Not For readability */
	.te-new-home__fit-intro {
		margin-bottom: 32px;
	}

	.te-new-home__fit-grid {
		gap: 40px;
	}

	.te-new-home__fit-list {
		gap: 18px;
	}
}
