/*
	master.css
	Shared VinDXit design system for global tokens, resets, layout primitives,
	reusable components, and safe compatibility bridges.
	Keep one-off storytelling layouts, experiments, and campaign-specific rules
	in page CSS files whenever they are not broadly reusable.
*/

/* ========================================================================== */
/* 01. Design Tokens                                                          */
/* ========================================================================== */

:root {
	--color-canvas: #08111f;
	--color-canvas-deep: #060d18;
	--color-surface: rgba(13, 22, 39, 0.94);
	--color-surface-soft: rgba(18, 30, 52, 0.86);
	--color-surface-strong: #172640;
	--color-panel: #203251;
	--color-panel-strong: #293d62;
	--color-text: #f3f6fd;
	--color-text-soft: #c8d1e1;
	--color-text-muted: #8f9bb2;
	--color-border: rgba(255, 255, 255, 0.10);
	--color-border-strong: rgba(255, 255, 255, 0.18);
	--color-gold: #c9a84c;
	--color-gold-light: #e8c87a;
	--color-gold-dark: #9e7a28;
	--color-accent: #3d7fff;
	--color-success: #4ade80;
	--color-warning: #f6b94d;
	--color-danger: #ff7272;

	--font-body: "DM Sans", "Segoe UI", sans-serif;
	--font-display: "Syne", "Segoe UI", sans-serif;
	--font-serif: "DM Serif Display", Georgia, serif;
	--font-condensed: "Bebas Neue", "Arial Narrow", sans-serif;
	--font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
	--font-head: var(--font-condensed);

	--radius-xs: 8px;
	--radius-sm: 12px;
	--radius-md: 16px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--radius-pill: 999px;

	--shadow-xs: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
	--shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.24);
	--shadow-md: 0 18px 44px rgba(0, 0, 0, 0.32);
	--shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.40);
	--shadow-gold: 0 14px 40px rgba(201, 168, 76, 0.28);
	--shadow-glass: 0 32px 80px rgba(0, 0, 0, 0.45);

	--container-max: 1160px;
	--container-wide: 1280px;
	--container-narrow: 760px;
	--gutter: clamp(1rem, 2vw, 2rem);
	--section-space-sm: clamp(3rem, 6vw, 4.5rem);
	--section-space: clamp(4rem, 8vw, 6rem);
	--section-space-lg: clamp(5rem, 10vw, 8rem);
	--stack-gap: 1rem;
	--grid-gap: clamp(1rem, 2vw, 1.5rem);

	--transition-fast: 160ms ease;
	--transition-base: 220ms ease;
	--transition-slow: 360ms cubic-bezier(.2, .8, .2, 1);
	--focus-ring: 0 0 0 3px rgba(61, 127, 255, 0.22);
	--z-header: 100;
	--z-floating: 200;

	/* Legacy aliases */
	--bg: var(--color-canvas);
	--bg2: var(--color-surface);
	--bg3: var(--color-surface-strong);
	--navy: var(--color-canvas);
	--ink: #111827;
	--slate: var(--color-panel);
	--mid: var(--color-panel-strong);
	--steel: #596784;
	--mist: var(--color-text-muted);
	--muted: var(--color-text-muted);
	--cloud: var(--color-text-soft);
	--white: var(--color-text);
	--gold: var(--color-gold);
	--gold-lt: var(--color-gold-light);
	--gold-dk: var(--color-gold-dark);
	--gold-dim: rgba(201, 168, 76, 0.14);
	--gold-line: rgba(201, 168, 76, 0.28);
	--accent: var(--color-accent);
	--dim: rgba(255, 255, 255, 0.06);
	--border: var(--color-border);
	--r: var(--radius-md);
	--radius: var(--radius-md);
}

/* ========================================================================== */
/* 02. Reset And Base                                                         */
/* ========================================================================== */

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	color-scheme: dark;
}

*, *::before, *::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

body {
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--white);
	background:
		radial-gradient(ellipse 80% 60% at 15% -10%, rgba(61, 127, 255, 0.16) 0%, transparent 58%),
		radial-gradient(ellipse 70% 55% at 85% 110%, rgba(201, 168, 76, 0.11) 0%, transparent 52%),
		linear-gradient(180deg, #091222 0%, #0a1426 52%, #060d18 100%);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

main {
	display: block;
}

img, svg, video, canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

button, input, select, textarea {
	font: inherit;
	color: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
	cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
	cursor: not-allowed;
	opacity: 0.65;
}

label {
	display: block;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--white);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	color: var(--white);
	box-shadow: var(--shadow-xs);
	transition:
		border-color var(--transition-fast),
		background-color var(--transition-fast),
		box-shadow var(--transition-fast);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):hover,
select:hover,
textarea:hover {
	border-color: var(--color-border-strong);
	background: rgba(255, 255, 255, 0.06);
}

textarea {
	min-height: 9rem;
	resize: vertical;
}

::placeholder {
	color: var(--mist);
}

:focus-visible {
	outline: 2px solid rgba(61, 127, 255, 0.78);
	outline-offset: 2px;
}

::selection {
	background: rgba(201, 168, 76, 0.26);
	color: var(--white);
}

hr {
	border: 0;
	border-top: 1px solid var(--border);
}

/* ========================================================================== */
/* 03. Typography                                                             */
/* ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	color: var(--white);
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.08;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 6vw, 4.75rem);
}

h2 {
	font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

h4 {
	font-size: 1.1rem;
}

p, li, dd {
	color: var(--cloud);
}

p {
	max-width: 70ch;
}

a {
	color: var(--accent);
	text-decoration-color: rgba(61, 127, 255, 0.42);
	text-underline-offset: 0.18em;
	transition:
		color var(--transition-fast),
		opacity var(--transition-fast),
		text-decoration-color var(--transition-fast);
}

a:hover {
	color: var(--gold-lt);
	text-decoration-color: rgba(232, 200, 122, 0.42);
}

strong {
	color: var(--white);
}

small {
	font-size: 0.85rem;
	color: var(--mist);
}

code, kbd, samp {
	font-family: var(--font-mono);
}

/* ========================================================================== */
/* 04. Layout Primitives                                                      */
/* ========================================================================== */

.container {
	width: min(var(--container-max), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.container-wide {
	width: min(var(--container-wide), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.container-narrow {
	width: min(var(--container-narrow), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
}

.section {
	padding-block: var(--section-space);
}

.section-sm {
	padding-block: var(--section-space-sm);
}

.section-lg {
	padding-block: var(--section-space-lg);
}

.grid {
	display: grid;
	gap: var(--grid-gap);
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: var(--grid-gap);
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: var(--grid-gap);
}

.stack {
	display: flex;
	flex-direction: column;
	gap: var(--stack-gap);
}

.cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--cluster-gap, 0.75rem);
}

.text-center {
	text-align: center;
}

.hidden {
	display: none !important;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ========================================================================== */
/* 05. Reusable Header And Navigation                                         */
/* ========================================================================== */

.site-header {
	position: relative;
	z-index: var(--z-header);
	background: rgba(8, 17, 31, 0.84);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	width: min(var(--container-max), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
	min-height: 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding: 0.7rem 0;
}

.brand,
.brand-link,
.logo-link,
.logo-wrap {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	text-decoration: none;
	color: var(--white);
}

.brand:hover,
.brand-link:hover,
.logo-link:hover,
.logo-wrap:hover {
	color: var(--white);
}

.brand-logo,
.logo-link img,
.logo-wrap img {
	width: auto;
	height: clamp(80px, 8vw, 104px);
	object-fit: contain;
}

.brand-wordmark,
.logo-wordmark,
.logo-text {
	font-family: var(--font-display);
	font-size: clamp(1.1rem, 2.2vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--white);
}

.brand-wordmark span,
.logo-wordmark span,
.logo-text span,
.logo-text em {
	color: var(--gold-lt);
	font-style: normal;
}

.site-nav,
.top-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.site-nav a,
.top-nav a,
.nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.55rem 0.95rem;
	border-radius: var(--radius-sm);
	color: var(--cloud);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition:
		color var(--transition-fast),
		background-color var(--transition-fast),
		transform var(--transition-fast);
}

.site-nav a:hover,
.top-nav a:hover,
.nav-link:hover {
	color: var(--white);
	background: rgba(255, 255, 255, 0.06);
}

/* ========================================================================== */
/* 06. Reusable Components                                                    */
/* ========================================================================== */

:where(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-gold, .nav-cta) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 44px;
	padding: 0.85rem 1.35rem;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: var(--shadow-sm);
	transition:
		transform var(--transition-fast),
		background-color var(--transition-fast),
		border-color var(--transition-fast),
		color var(--transition-fast),
		box-shadow var(--transition-fast),
		opacity var(--transition-fast);
}

:where(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-gold, .nav-cta):hover {
	transform: translateY(-2px);
}

:where(.btn, .btn-primary, .btn-secondary, .btn-ghost, .btn-gold, .nav-cta):focus-visible {
	outline: none;
	box-shadow: var(--focus-ring), var(--shadow-sm);
}

.btn-primary,
.btn-gold,
.nav-cta {
	background: linear-gradient(135deg, var(--gold-lt), var(--gold-dk));
	color: var(--ink) !important;
	box-shadow: var(--shadow-gold), var(--shadow-xs);
}

.btn-secondary {
	background: linear-gradient(180deg, rgba(32, 50, 81, 0.94), rgba(17, 26, 43, 0.96));
	border-color: var(--color-border-strong);
	color: var(--white);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--border);
	color: var(--cloud);
}

:where(.card, .tool-card, .signal-card, .thesis-card, .fund-item, .hero-card, .cred-block) {
	position: relative;
	background: linear-gradient(180deg, rgba(23, 38, 64, 0.92), rgba(10, 17, 30, 0.96));
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: var(--card-padding, clamp(1rem, 2vw, 1.5rem));
}

:where(.card-glass, .hero-card, .cred-block) {
	background: linear-gradient(180deg, rgba(23, 38, 64, 0.72), rgba(10, 17, 30, 0.88));
	backdrop-filter: blur(20px);
}

:where(.card-elevated, .hero-card, .invest-strip) {
	box-shadow: var(--shadow-lg);
	border-color: var(--color-border-strong);
}

:where(.card, .card-glass, .card-elevated, .tool-card, .signal-card, .thesis-card, .score-pip, .fund-item).hover-lift,
:where(.tool-card, .signal-card, .thesis-card, .score-pip) {
	transition:
		transform var(--transition-base),
		box-shadow var(--transition-base),
		border-color var(--transition-base),
		background-color var(--transition-base);
}

:where(.card, .card-glass, .card-elevated, .tool-card, .signal-card, .thesis-card, .score-pip).hover-lift:hover,
:where(.tool-card, .signal-card, .thesis-card, .score-pip):hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

:where(.badge, .beta-pill, .header-tag, .tag-soon, .tag-demo, .step-tag, .signal-badge, .eyebrow) {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.8rem;
	border-radius: var(--radius-pill);
	border: 1px solid var(--border);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.badge,
.badge-muted,
.header-tag,
.tag-soon {
	background: rgba(255, 255, 255, 0.06);
	color: var(--cloud);
}

.badge-gold,
.beta-pill,
.eyebrow {
	background: var(--gold-dim);
	border-color: var(--gold-line);
	color: var(--gold-lt);
}

.badge-demo,
.tag-demo {
	background: rgba(61, 127, 255, 0.12);
	border-color: rgba(61, 127, 255, 0.28);
	color: #8fb8ff;
}

.eyebrow .dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 10px currentColor;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.page-heading {
	text-align: center;
	margin-bottom: 56px;
}

.page-eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 18px;
}

.eyebrow-line {
	width: 28px;
	height: 1.5px;
	background: var(--gold);
}

.eyebrow-text {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-lt);
}

.page-heading h1 {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	line-height: 1.15;
	color: var(--white);
	margin-bottom: 14px;
}

.page-heading h1 em {
	font-style: italic;
	color: var(--gold-lt);
}

.page-heading p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--mist);
}

.section-header {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-title,
.section-header h2 {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	line-height: 1.15;
	color: var(--white);
	margin-bottom: 14px;
}

.section-subtitle,
.section-sub,
.section-header p {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--mist);
	max-width: 60ch;
}

.section-label {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-lt);
}

.divider,
.section-divider {
	width: 100%;
	max-width: 48px;
	height: 3px;
	border-radius: var(--radius-pill);
	background: linear-gradient(90deg, var(--gold), transparent);
}

.stats-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.stat-item {
	padding: clamp(1.2rem, 3vw, 2rem);
	background: rgba(13, 22, 39, 0.82);
}

.stat-number,
.stat-num {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1;
	color: var(--white);
}

.stat-number span,
.stat-num span {
	color: var(--gold-lt);
}

.stat-label {
	margin-top: 0.45rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mist);
}

.stat-desc {
	margin-top: 0.5rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--mist);
}

.social-list,
#vx-social-floating {
	display: flex;
	gap: 0.75rem;
}

.social-button,
.vx-social {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: rgba(23, 38, 64, 0.78);
	color: var(--cloud);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(12px);
	text-decoration: none;
	transition:
		transform var(--transition-fast),
		border-color var(--transition-fast),
		background-color var(--transition-fast),
		color var(--transition-fast);
}

.social-button:hover,
.vx-social:hover {
	transform: translateY(-2px);
	border-color: var(--color-border-strong);
	background: rgba(32, 50, 81, 0.9);
	color: var(--white);
}

.social-button svg,
.vx-social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.site-footer {
	background: linear-gradient(180deg, rgba(6, 9, 18, 0.88), rgba(4, 7, 12, 0.96));
	border-top: 1px solid var(--border);
}

.site-footer__inner {
	width: min(var(--container-max), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 0;
}

.footer-brand {
	font-family: var(--font-display);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--cloud);
}

.footer-brand span {
	color: var(--gold-lt);
}

.footer-copy {
	font-size: 0.82rem;
	color: var(--mist);
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.footer-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.95rem;
	border-radius: var(--radius-pill);
	border: 1px solid var(--gold-line);
	background: rgba(201, 168, 76, 0.12);
	color: var(--gold-lt);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition:
		transform var(--transition-fast),
		background-color var(--transition-fast),
		border-color var(--transition-fast),
		color var(--transition-fast);
}

.footer-link:hover {
	transform: translateY(-1px);
	background: rgba(201, 168, 76, 0.18);
	color: var(--white);
}

/* ========================================================================== */
/* 07. Reusable Supporting Patterns                                           */
/* ========================================================================== */

:where(.tool-grid, .signals-grid, .thesis-grid) {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--grid-gap);
}

.cred-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--grid-gap);
}

.use-of-funds {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--grid-gap);
}

.tool-card,
.signal-card,
.thesis-card {
	display: block;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
}

.tool-card::after,
.signal-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
	opacity: 0;
	transition: opacity var(--transition-base);
}

.tool-card::after {
	height: 1px;
}

.signal-card::before {
	height: 2px;
}

.tool-card:hover::after,
.signal-card:hover::before {
	opacity: 1;
}

:where(.tool-icon, .signal-icon, .cred-icon) {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	background: var(--gold-dim);
	border: 1px solid var(--gold-line);
	color: var(--gold-lt);
	box-shadow: var(--shadow-xs);
}

.signal-icon {
	font-size: 1.35rem;
}

.cred-item {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
}

.tool-card .card-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gold-lt);
	opacity: 0.78;
	transform: translateX(-2px);
	transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.tool-card:hover .card-arrow {
	opacity: 1;
	transform: translateX(0);
}

.trust-strip,
.credential-bar {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 1.2rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--gold-line);
	background: rgba(201, 168, 76, 0.10);
	color: var(--gold-lt);
	font-size: 0.9rem;
	font-weight: 600;
	box-shadow: var(--shadow-xs);
}

.trust-strip .dot,
.credential-bar .dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--gold);
	box-shadow: 0 0 8px var(--gold);
}

.timeline,
.pipeline {
	position: relative;
	display: grid;
	gap: 0;
}

.timeline::before,
.pipeline::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: linear-gradient(180deg, var(--gold-line), transparent);
}

.timeline-step,
.pipe-step {
	position: relative;
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 1.25rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--border);
}

.timeline-step:last-child,
.pipe-step:last-child {
	border-bottom: 0;
}

.timeline-step__marker,
.step-num {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--gold-line);
	background: var(--bg3);
	color: var(--gold-lt);
	font-family: var(--font-head);
	font-size: 1.35rem;
	line-height: 1;
	z-index: 1;
}

.timeline-step__content h3,
.step-content h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	letter-spacing: -0.01em;
	color: var(--white);
}

.timeline-step__content p,
.step-content p {
	margin-top: 0.4rem;
}

.timeline-step__eyebrow,
.step-tag {
	margin-bottom: 0.55rem;
}

.callout {
	padding: 1.1rem 1.3rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--gold-line);
	background: rgba(201, 168, 76, 0.08);
	color: var(--cloud);
	box-shadow: var(--shadow-xs);
}

.callout strong {
	color: var(--white);
}

details.acd {
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: rgba(23, 38, 64, 0.78);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

details.acd[open] {
	border-color: var(--gold-line);
}

details.acd summary {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 1rem 1.2rem;
	list-style: none;
	cursor: pointer;
	color: var(--white);
	font-weight: 600;
	user-select: none;
}

details.acd summary::-webkit-details-marker {
	display: none;
}

.chev {
	font-size: 0.72rem;
	color: var(--gold);
	transition: transform var(--transition-fast);
	flex-shrink: 0;
}

details.acd[open] .chev {
	transform: rotate(90deg);
}

.acd-body {
	padding: 0 1.2rem 1rem;
	color: var(--cloud);
}

.score-preview {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.score-number {
	font-family: var(--font-serif);
	font-size: clamp(3rem, 6vw, 4rem);
	line-height: 1;
	color: var(--white);
}

.score-denom {
	font-size: 1rem;
	font-weight: 500;
	color: var(--mist);
}

.score-label {
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mist);
}

.score-bar {
	width: 100%;
	height: 6px;
	border-radius: var(--radius-pill);
	background:
		linear-gradient(90deg,
			rgba(231,76,60,.28),
			rgba(243,156,18,.24),
			rgba(241,196,15,.22),
			rgba(46,204,113,.2),
			rgba(39,174,96,.24));
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.score-bar-fill {
	width: var(--progress-value, 0%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #e74c3c, #f39c12, #f1c40f, #2ecc71, #27ae60);
	box-shadow: 0 0 18px rgba(39,174,96,.18);
	transform-origin: left center;
	animation: vx-grow-x 0.9s cubic-bezier(.4, 0, .2, 1) both;
}

.score-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.5rem;
}

.score-cat {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8rem;
	color: var(--mist);
}

.cat-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
	background: currentColor;
}

.score-scale {
	display: flex;
	gap: 0.5rem;
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 0.5rem;
}

.score-pip {
	flex: 1 0 70px;
	min-width: 70px;
	text-align: center;
}

.score-pip .num {
	font-family: var(--font-head);
	font-size: 1.8rem;
	line-height: 1;
	margin-bottom: 0.35rem;
}

.score-pip .grade {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.s1,
.s2 { --score-color: #ff7272; }

.s3,
.s4 { --score-color: #ff9f43; }

.s5,
.s6 { --score-color: #f6d04d; }

.s7,
.s8 { --score-color: #7be7a3; }

.s9,
.s10 { --score-color: var(--gold-lt); }

.score-pip .num,
.score-pip .grade {
	color: var(--score-color, var(--gold-lt));
}

.score-pip .num {
	text-shadow: 0 0 14px var(--score-color, var(--gold-lt));
}

.invest-strip {
	padding: clamp(1.6rem, 4vw, 3rem);
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
	border: 1px solid var(--gold-line);
	text-align: center;
}

.thesis-card .tc-num {
	position: absolute;
	top: -0.35rem;
	right: 1rem;
	font-family: var(--font-head);
	font-size: 4rem;
	line-height: 1;
	color: rgba(201, 168, 76, 0.08);
	pointer-events: none;
}

/* ========================================================================== */
/* 08. Motion And Utilities                                                   */
/* ========================================================================== */

@keyframes vx-fade-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes vx-grow-x {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

.fade-up {
	animation: vx-fade-up 0.7s cubic-bezier(.4, 0, .2, 1) both;
}

.hover-lift {
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.hover-brighten {
	transition: filter var(--transition-fast);
}

.hover-brighten:hover {
	filter: brightness(1.05);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.55s; }
.delay-6 { animation-delay: 0.7s; }

/* ========================================================================== */
/* 09. Responsive Defaults                                                    */
/* ========================================================================== */

@media (max-width: 900px) {
	.site-header__inner {
		flex-wrap: wrap;
	}

	.site-nav,
	.top-nav {
		width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 0.25rem;
	}

	.site-nav a,
	.top-nav a,
	.nav-link {
		flex: 0 0 auto;
	}

	.section-header {
		margin-bottom: 2rem;
	}

	.timeline-step,
	.pipe-step {
		grid-template-columns: 52px 1fr;
	}

	.timeline-step__marker,
	.step-num {
		width: 48px;
		height: 48px;
		font-size: 1.1rem;
	}
}

@media (max-width: 640px) {
	.section {
		padding-block: clamp(3rem, 8vw, 4rem);
	}

	.stats-strip {
		border-radius: var(--radius-lg);
	}

	.site-footer__inner {
		align-items: flex-start;
	}

	.score-scale {
		gap: 0.35rem;
	}

	.score-pip {
		min-width: 58px;
	}

	.score-pip .num {
		font-size: 1.45rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Page-specific legacy rules: minimize over time */

header:has(.logo-link),
header:has(.logo-wrap) {
	position: relative;
	z-index: var(--z-header);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.25rem;
	flex-wrap: wrap;
	padding: 0.85rem var(--gutter);
	background: rgba(8, 17, 31, 0.84);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
}

.logo-link ~ nav,
.logo-wrap ~ nav {
	margin-left: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.logo-link ~ nav a,
.logo-wrap ~ nav a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.55rem 0.95rem;
	border-radius: var(--radius-sm);
	color: var(--cloud);
	text-decoration: none;
}

.logo-link ~ nav a:hover,
.logo-wrap ~ nav a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
}

.hero:has(.hero-card) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.hero:has(.credential-bar) {
	position: relative;
	padding: clamp(4rem, 9vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
	text-align: center;
	overflow: hidden;
}

.hero:has(.credential-bar)::after {
	content: "";
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: min(700px, 90vw);
	height: 500px;
	background: radial-gradient(ellipse, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.hero-card .score-bar-fill {
	--progress-value: 81%;
}

.legal-section {
	padding-block: var(--section-space-sm);
	border-top: 1px solid var(--border);
}

.legal-inner {
	width: min(var(--container-narrow), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
	text-align: center;
}

.legal-inner p {
	font-size: 0.82rem;
	line-height: 1.75;
	color: var(--mist);
}

#vx-social-floating {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	flex-direction: column;
	z-index: var(--z-floating);
}

.big-logo {
	width: auto;
	max-height: clamp(140px, 24vw, 220px);
}

.vx-avatar-image {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

footer:has(.footer-brand),
footer:has(.footer-copy),
footer:has(.footer-link) {
	padding: 1.5rem var(--gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: linear-gradient(180deg, rgba(6, 9, 18, 0.88), rgba(4, 7, 12, 0.96));
	border-top: 1px solid var(--border);
}


.footer-social {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.site-footer .vx-social {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(30, 42, 69, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.12);
	text-decoration: none;
	transition: transform .2s, background .2s, border-color .2s;
}

.site-footer .vx-social:hover {
	transform: translateY(-2px);
	background: rgba(40, 56, 90, 0.95);
	border-color: rgba(201, 168, 76, 0.35);
}

.site-footer .vx-social svg {
	width: 18px;
	height: 18px;
	fill: var(--mist, #c8d0e0);
	transition: fill .2s;
}

.site-footer .vx-social:hover svg {
	fill: var(--white, #f0f4fc);
}
@media (max-width: 900px) {
	header:has(.logo-link),
	header:has(.logo-wrap) {
		align-items: flex-start;
	}

	.logo-link ~ nav,
	.logo-wrap ~ nav {
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 0.25rem;
	}

	.hero:has(.hero-card) {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	#vx-social-floating {
		right: 1rem;
		bottom: 1rem;
	}
}

@media (max-width: 749px) {
	.big-logo {
		height: 140px;
	}
}

/* Homepage header bridge */

.site-header--home {
	position: sticky;
	top: 0;
	display: block;
	padding: 0;
	overflow: visible;
}

.site-header__inner--home {
	display: grid;
	grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr);
	grid-template-areas: "menu brand auth";
	align-items: center;
	gap: 1rem;
}

.site-header__inner--home > .logo-link {
	grid-area: brand;
	justify-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.site-header__inner--home > .site-nav--home {
	display: none;
}

.site-header__inner--home > #vx-login-controls {
	grid-area: auth;
	justify-self: end;
	min-width: 96px;
	margin-left: 0;
}

.site-header__inner--home > #menu-toggle,
.site-header__inner--home > .menu-toggle {
	grid-area: menu;
	display: flex;
	position: static;
	inset: auto;
	transform: none;
	justify-self: start;
	margin: 0;
}

.site-header--home .logo-link img {
	height: clamp(104px, 11vw, 148px);
}

@media (max-width: 749px) {
	.site-header__inner {
		min-height: 82px;
	}

	.brand-logo,
	.logo-link img,
	.logo-wrap img {
		height: clamp(64px, 14vw, 80px);
	}

	.site-header__inner--home {
		grid-template-columns: minmax(72px, 1fr) auto minmax(72px, 1fr);
		grid-template-areas: "menu brand auth";
		min-height: 88px;
		padding: 0.55rem 0;
	}

	.site-header__inner--home > #menu-toggle,
	.site-header__inner--home > .menu-toggle {
		grid-area: menu;
		display: flex;
	}

	.site-header__inner--home > .logo-link {
		grid-area: brand;
		justify-self: center;
	}

	.site-header__inner--home > #vx-login-controls {
		display: inline-flex;
		min-width: 72px;
	}

	.site-header--home .logo-link img {
		height: 84px;
	}

	.site-header--home #vx-login-btn {
		min-height: 40px;
		padding: 0.7rem 1rem;
		font-size: 0.84rem;
	}

}
/* ==========================================================================
	HOMEPAGE HEADER + HERO REBUILD
	Use on index.html only
========================================================================== */

.site-header--home {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(8, 17, 31, 0.88);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-header--home .site-header__inner--home {
	width: min(1160px, calc(100% - 32px));
	margin: 0 auto;
	min-height: 84px;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto auto;
	grid-template-areas: "menu brand nav auth";
	align-items: center;
	column-gap: 16px;
	padding: 10px 0;
}

.site-header--home #menu-toggle {
	grid-area: menu;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.site-header--home .logo-link {
	grid-area: brand;
	min-width: 0;
	display: inline-flex;
	align-items: center;
}

.site-header--home .logo-link img,
.site-header--home .logo-img {
	display: block;
	width: auto;
	height: clamp(56px, 7vw, 86px);
	max-width: min(100%, 320px);
	object-fit: contain;
}

.site-header--home .site-nav--home {
	grid-area: nav;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	min-width: 0;
	flex-wrap: nowrap;
	overflow: hidden;
}

.site-header--home .site-nav--home a {
	padding: 10px 14px;
	font-size: .88rem;
	white-space: nowrap;
}

.site-header--home #vx-login-controls,
.site-header--home #user-badge {
	grid-area: auth;
	justify-self: end;
	margin: 0;
	min-width: auto;
}

.site-header--home #vx-login-btn {
	min-height: 42px;
	padding: 0 16px;
	font-size: .88rem;
}

/* Hero top section */
.hero.hero--home {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 380px);
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
	padding: clamp(36px, 6vw, 64px) 0 clamp(40px, 7vw, 72px);
}

.hero--home .hero-copy {
	min-width: 0;
	max-width: 640px;
}

.hero--home .hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.hero--home h1 {
	font-family: "DM Serif Display", serif;
	font-size: clamp(2.4rem, 5.2vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	margin: 0 0 18px;
	max-width: 10ch;
	text-wrap: balance;
}

.hero--home h1 em {
	display: inline-block;
	font-style: italic;
	color: var(--gold-lt);
}

.hero--home .hero-lead {
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 1.72;
	max-width: 58ch;
	margin-bottom: 18px;
}

.hero--home .hero-distinction {
	margin: 0 0 26px;
	padding: 16px 18px;
	border-left: 3px solid var(--gold);
	background: rgba(201,168,76,.07);
	border-radius: 0 12px 12px 0;
}

.hero--home .hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.hero--home .hero-card {
	width: 100%;
	max-width: 380px;
	justify-self: end;
}

/* Large desktop: keep logo strong but not ridiculous */
@media (min-width: 1200px) {
	.site-header--home .logo-link img,
	.site-header--home .logo-img {
		height: 92px;
	}
}

/* Tablet */
@media (max-width: 980px) {
	.site-header--home .site-header__inner--home {
		grid-template-columns: 52px minmax(0, 1fr) auto;
		grid-template-areas: "menu brand auth";
		min-height: 78px;
	}

	.site-header--home .site-nav--home {
		display: none;
	}

	.site-header--home .logo-link {
		justify-self: center;
	}

	.site-header--home .logo-link img,
	.site-header--home .logo-img {
		height: clamp(56px, 9vw, 76px);
		max-width: 240px;
	}

	.hero.hero--home {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 0 52px;
	}

	.hero--home .hero-copy {
		max-width: none;
	}

	.hero--home .hero-card {
		justify-self: center;
		max-width: 400px;
	}
}

/* Mobile */
@media (max-width: 640px) {
	.site-header--home .site-header__inner--home {
		width: min(100% - 20px, 1160px);
		grid-template-columns: 44px minmax(0, 1fr) auto;
		column-gap: 10px;
		min-height: 72px;
		padding: 8px 0;
	}

	.site-header--home .logo-link img,
	.site-header--home .logo-img {
		height: 52px;
		max-width: 180px;
	}

	.site-header--home #vx-login-btn {
		min-height: 38px;
		padding: 0 12px;
		font-size: .82rem;
	}

	.hero.hero--home {
		padding: 28px 0 44px;
		gap: 22px;
	}

	.hero--home .hero-eyebrow {
		margin-bottom: 14px;
		gap: 8px;
	}

	.hero--home h1 {
		font-size: clamp(2rem, 9vw, 2.8rem);
		line-height: 1.04;
		max-width: 11ch;
		margin-bottom: 14px;
	}

	.hero--home .hero-lead {
		font-size: .96rem;
		line-height: 1.65;
	}

	.hero--home .hero-distinction {
		padding: 14px 14px;
		margin-bottom: 20px;
	}

	.hero--home .hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero--home .hero-actions a {
		width: 100%;
		justify-content: center;
	}

	.hero--home .hero-card {
		max-width: 100%;
	}
}

/* Canonical shell lock: enforce the index.html header/footer across legacy pages */
body > .site-header.site-header--home {
	position: sticky !important;
	top: 0 !important;
	z-index: 120 !important;
	display: block !important;
	padding: 0 !important;
	overflow: visible !important;
	background: rgba(8, 17, 31, 0.88) !important;
	backdrop-filter: blur(18px) !important;
	border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

body > .site-header.site-header--home .site-header__inner--home {
	width: min(1160px, calc(100% - 32px)) !important;
	margin: 0 auto !important;
	min-height: 84px !important;
	display: grid !important;
	grid-template-columns: 56px minmax(0, 1fr) auto auto !important;
	grid-template-areas: "menu brand nav auth" !important;
	align-items: center !important;
	column-gap: 16px !important;
	padding: 10px 0 !important;
}

body > .site-header.site-header--home #menu-toggle,
body > .site-header.site-header--home .menu-toggle {
	grid-area: menu !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: static !important;
	inset: auto !important;
	transform: none !important;
	margin: 0 !important;
}

body > .site-header.site-header--home .logo-link {
	grid-area: brand !important;
	min-width: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
}

body > .site-header.site-header--home .logo-link img,
body > .site-header.site-header--home .logo-img {
	display: block !important;
	width: auto !important;
	height: clamp(56px, 7vw, 86px) !important;
	max-width: min(100%, 320px) !important;
	object-fit: contain !important;
}

body > .site-header.site-header--home .site-nav--home {
	grid-area: nav !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 6px !important;
	min-width: 0 !important;
	flex-wrap: nowrap !important;
	overflow: hidden !important;
}

body > .site-header.site-header--home .site-nav--home a,
body > .site-header.site-header--home #vx-login-btn {
	font-size: .88rem !important;
	font-weight: 500 !important;
	color: var(--cloud) !important;
	text-decoration: none !important;
	letter-spacing: .03em !important;
	transition: color .2s, background .2s, border-color .2s !important;
}

body > .site-header.site-header--home .site-nav--home a {
	padding: 10px 14px !important;
	border-radius: 12px !important;
	white-space: nowrap !important;
	background: transparent !important;
	border: 1px solid transparent !important;
}

body > .site-header.site-header--home .site-nav--home a:hover {
	color: var(--white) !important;
	background: rgba(255,255,255,.06) !important;
}

body > .site-header.site-header--home .site-nav--home a.active,
body > .site-header.site-header--home .site-nav--home a[aria-current="page"] {
	color: var(--gold-lt) !important;
	background: rgba(201,168,76,.12) !important;
	border-color: rgba(201,168,76,.24) !important;
}

body > .site-header.site-header--home #vx-login-controls,
body > .site-header.site-header--home #user-badge {
	grid-area: auth !important;
	justify-self: end !important;
	margin: 0 !important;
	min-width: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
}

body > .site-header.site-header--home #vx-login-btn {
	min-height: 42px !important;
	padding: 0 16px !important;
	background: linear-gradient(135deg, var(--gold), var(--gold-dk)) !important;
	color: var(--ink) !important;
	border: 0 !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	box-shadow: var(--shadow-gold), var(--shadow-xs) !important;
}

body > .site-header.site-header--home #vx-login-panel {
	position: absolute !important;
	top: calc(100% + 10px) !important;
	right: 0 !important;
	width: min(300px, 90vw) !important;
	padding: 18px !important;
	border-radius: 16px !important;
	background: rgba(30,42,69,.96) !important;
	border: 1px solid rgba(255,255,255,.08) !important;
	box-shadow: 0 20px 60px rgba(0,0,0,.35) !important;
	overflow: hidden !important;
}

body > .site-header.site-header--home .vx-login-label {
	font-size: .82rem !important;
	color: var(--mist) !important;
	margin-bottom: 12px !important;
}

body > .site-header.site-header--home #vx-login-link {
	display: inline-block !important;
	margin-top: 12px !important;
	font-size: .9rem !important;
	color: var(--gold-lt) !important;
	text-decoration: none !important;
}

body > footer {
	background: rgba(6,9,18,.7) !important;
	border-top: 1px solid rgba(255,255,255,.06) !important;
	padding: 32px 48px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 16px !important;
	position: relative !important;
	z-index: 1 !important;
}

body > footer .footer-brand {
	font-family: "Syne", sans-serif !important;
	font-size: .85rem !important;
	font-weight: 700 !important;
	color: var(--steel) !important;
	letter-spacing: .02em !important;
}

body > footer .footer-brand span {
	color: var(--gold-dk) !important;
}

body > footer .footer-copy {
	font-size: .78rem !important;
	color: var(--steel) !important;
}

body > footer .footer-social {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	flex-wrap: wrap !important;
}

body > footer .vx-social {
	width: 40px !important;
	height: 40px !important;
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(30,42,69,.8) !important;
	border: 1px solid rgba(255,255,255,.1) !important;
	backdrop-filter: blur(12px) !important;
	text-decoration: none !important;
	transition: transform .2s, border-color .2s, background .2s !important;
}

body > footer .vx-social:hover {
	transform: translateY(-3px) !important;
	background: rgba(40,56,90,.9) !important;
	border-color: rgba(255,255,255,.2) !important;
}

body > footer .vx-social svg {
	width: 18px !important;
	height: 18px !important;
	fill: var(--mist) !important;
	transition: fill .2s !important;
}

body > footer .vx-social:hover svg {
	fill: var(--white) !important;
}

@media (max-width: 980px) {
	body > .site-header.site-header--home .site-header__inner--home {
		grid-template-columns: 52px minmax(0, 1fr) auto !important;
		grid-template-areas: "menu brand auth" !important;
		min-height: 78px !important;
	}

	body > .site-header.site-header--home .site-nav--home {
		display: none !important;
	}

	body > .site-header.site-header--home .logo-link img,
	body > .site-header.site-header--home .logo-img {
		height: clamp(56px, 9vw, 76px) !important;
		max-width: 240px !important;
	}
}

@media (max-width: 640px) {
	body > .site-header.site-header--home .site-header__inner--home {
		width: min(100% - 20px, 1160px) !important;
		grid-template-columns: 44px minmax(0, 1fr) auto !important;
		column-gap: 10px !important;
		min-height: 72px !important;
		padding: 8px 0 !important;
	}

	body > .site-header.site-header--home .logo-link img,
	body > .site-header.site-header--home .logo-img {
		height: 52px !important;
		max-width: 180px !important;
	}

	body > .site-header.site-header--home #vx-login-btn {
		min-height: 38px !important;
		padding: 0 12px !important;
		font-size: .82rem !important;
	}

	body > footer {
		padding: 24px !important;
	}
	/* ═══════ JOURNEY STEPS BAR: mobile only ═══════ */
.vx-steps-bar {
	display: none;
}

@media (max-width: 768px) {
	.vx-steps-bar {
		display: block;
	}
}
}
