/*
 * YekVest Color System v1 - public website semantic layer
 * Package: 1.0.7
 * Evidence lock: homepage patch 1.17.1 / page IDs 7, 8, 11, 19, 20, 219
 * This stylesheet loads after the audited active theme/plugin styles.
 */

:root {
	/* Primitive tokens */
	--yv-navy-950: #060A13;
	--yv-navy-900: #0B1220;
	--yv-navy-800: #131B2C;
	--yv-navy-700: #1B2540;
	--yv-navy-600: #2554E8;
	--yv-navy-500: #4C7DFF;
	--yv-navy-400: #6690FF;
	--yv-navy-300: #8FA6E8;
	--yv-navy-200: #C7D4F5;
	--yv-navy-100: #E4EAFB;
	--yv-navy-50: #F1F3F7;
	--yv-neutral-950: #10141F;
	--yv-neutral-900: #1B2333;
	--yv-neutral-800: #2e3742;
	--yv-neutral-700: #4B5363;
	--yv-neutral-600: #6B7280;
	--yv-neutral-500: #8890A0;
	--yv-neutral-400: #a5b4cc;
	--yv-neutral-300: #CBD2DC;
	--yv-neutral-200: #DCE0E8;
	--yv-neutral-100: #F1F3F7;
	--yv-neutral-50: #F1F3F7;
	--yv-white: #ffffff;

	/* Semantic tokens - light */
	--yv-brand-primary: var(--yv-navy-900);
	--yv-brand-secondary: #2554E8;
	--yv-brand-ink: var(--yv-neutral-950);
	--yv-brand-steel: #6B7280;
	--yv-background-primary: var(--yv-neutral-50);
	--yv-background-secondary: var(--yv-navy-50);
	--yv-surface-primary: var(--yv-white);
	--yv-surface-secondary: var(--yv-neutral-50);
	--yv-surface-elevated: var(--yv-white);
	--yv-border-default: var(--yv-neutral-200);
	--yv-border-strong: var(--yv-neutral-300);
	--yv-text-primary: var(--yv-neutral-950);
	--yv-text-secondary: var(--yv-neutral-700);
	--yv-text-tertiary: var(--yv-neutral-600);
	--yv-text-disabled: var(--yv-neutral-400);
	--yv-text-on-brand: var(--yv-white);
	--yv-action-primary: var(--yv-brand-primary);
	--yv-action-primary-hover: #0A1830;
	--yv-action-primary-active: var(--yv-navy-950);
	--yv-action-secondary: var(--yv-brand-secondary);
	--yv-focus-ring: var(--yv-navy-400);
	--yv-success: #0E8F63;
	--yv-success-soft: #E9F7F1;
	--yv-danger: #D23B3B;
	--yv-danger-soft: #FCEAEA;
	--yv-warning: #AD7A1E;
	--yv-warning-soft: #FBF3E4;
	--yv-info: var(--yv-brand-secondary);
	--yv-info-soft: var(--yv-navy-50);
	--yv-asset-gold: #C99D55;
	--yv-asset-fixed-income: #3b6cb7;
	--yv-asset-equity: #6558a6;
	--yv-asset-cash: #64748b;
	--yv-asset-currency: #27818b;
	--yv-asset-crypto: #7c5aa6;
	--yv-asset-real-estate: #9a6545;
	--yv-asset-business: #47705a;

	/* Compatibility map: theme, builder, homepage and content plugins */
	--yk-primary: var(--yv-action-primary);
	--yk-secondary: var(--yv-brand-primary);
	--yk-accent: var(--yv-action-secondary);
	--yk-gradient-start: var(--yv-brand-primary);
	--yk-gradient-end: var(--yv-brand-secondary);
	--yk-bg: var(--yv-background-primary);
	--yk-surface: var(--yv-surface-primary);
	--yk-text: var(--yv-text-primary);
	--yk-muted: var(--yv-text-tertiary);
	--yk-border: var(--yv-border-default);
	--yk-dark-bg: #0B0F1A;
	--yk-dark-surface: #141A28;
	--yk-dark-text: #F1F3F7;
	--yui-accent: var(--yv-brand-secondary);
	--yui-navy: var(--yv-brand-primary);
	--yui-soft-bg: var(--yv-background-secondary);
	--yui-surface: var(--yv-surface-primary);
	--yui-border: var(--yv-border-default);
	--yv-light-page: var(--yv-background-primary);
	--yv-light-surface: var(--yv-surface-primary);
	--yv-light-soft: var(--yv-background-secondary);
	--yv-light-cool: var(--yv-background-secondary);
	--yv-light-text: var(--yv-text-primary);
	--yv-light-muted: var(--yv-text-tertiary);
	--yv-light-border: var(--yv-border-default);
	--yv-dark-bg: #0B0F1A;
	--yv-dark-surface: #141A28;
	--yv-dark-soft: #101728;
	--yv-dark-elevated: #1B2333;
	--yv-dark-header: #0B0F1A;
	--yv-dark-text: #F1F3F7;
	--yv-dark-muted: #8890A0;
	--yv-dark-border: #262F42;
	--yv-dark-warm: #101728;
	--yv-dark-accent: #4C7DFF;
	--yv-builder-page-light: var(--yv-background-primary);
	--yv-builder-surface-light: var(--yv-surface-primary);
	--yv-builder-soft-light: var(--yv-background-secondary);
	--yv-builder-text-light: var(--yv-text-primary);
	--yv-builder-muted-light: var(--yv-text-tertiary);
	--yv-builder-border-light: var(--yv-border-default);
	--yv-builder-accent-light: var(--yv-action-primary);
	--yv-builder-secondary-light: var(--yv-action-secondary);
	--yv-builder-page-dark: #0B0F1A;
	--yv-builder-surface-dark: #141A28;
	--yv-builder-soft-dark: #101728;
	--yv-builder-elevated-dark: #1B2333;
	--yv-builder-text-dark: #F1F3F7;
	--yv-builder-muted-dark: #8890A0;
	--yv-builder-border-dark: #262F42;
	--yv-builder-accent-dark: #4C7DFF;
	--yv-builder-secondary-dark: #8FA6E8;
	--yv-brand-primary: #0B1220;
	--yv-brand-secondary: #2554E8;
	color-scheme: light;
}

html[data-theme="dark"] {
	--yv-background-primary: #0B0F1A;
	--yv-background-secondary: #101728;
	--yv-surface-primary: #141A28;
	--yv-surface-secondary: #1B2333;
	--yv-surface-elevated: #1B2333;
	--yv-border-default: #262F42;
	--yv-border-strong: #333E56;
	--yv-text-primary: #F1F3F7;
	--yv-text-secondary: #B8C0D0;
	--yv-text-tertiary: #8890A0;
	--yv-text-disabled: #6B7280;
	--yv-action-primary: #4C7DFF;
	--yv-action-primary-hover: #5C8DFF;
	--yv-action-primary-active: #2554E8;
	--yv-action-secondary: #8FA6E8;
	--yv-info-soft: #16213D;
	--yv-success-soft: color-mix(in srgb, var(--yv-success) 18%, var(--yv-surface-primary));
	--yv-danger-soft: color-mix(in srgb, var(--yv-danger) 18%, var(--yv-surface-primary));
	--yv-warning-soft: color-mix(in srgb, var(--yv-warning) 18%, var(--yv-surface-primary));
	--yk-primary: var(--yv-action-primary);
	--yk-secondary: var(--yv-navy-300);
	--yk-accent: var(--yv-action-secondary);
	--yk-bg: var(--yv-background-primary);
	--yk-surface: var(--yv-surface-primary);
	--yk-text: var(--yv-text-primary);
	--yk-muted: var(--yv-text-tertiary);
	--yk-border: var(--yv-border-default);
	--yui-accent: var(--yv-action-secondary);
	--yui-navy: var(--yv-navy-950);
	--yui-soft-bg: var(--yv-background-secondary);
	--yui-surface: var(--yv-surface-primary);
	--yui-border: var(--yv-border-default);
	color-scheme: dark;
}

body.yv-color-system-v1 {
	background: var(--yv-background-primary);
	color: var(--yv-text-primary);
}

body.yv-preview-page {
	--yv-primary: var(--yv-action-primary) !important;
	--yv-primary-light: var(--yv-navy-400) !important;
	--yv-accent-blue: var(--yv-brand-secondary) !important;
	--yv-accent-gold: var(--yv-asset-gold) !important;
	--yv-positive: var(--yv-success) !important;
	--yv-bg-deep: #0B0F1A !important;
	--yv-bg-navy: var(--yv-brand-primary) !important;
	--yv-surface-dark: #141A28 !important;
	--yv-text-on-dark: #F1F3F7 !important;
	--yv-text-muted-dark: #8890A0 !important;
	--yv-surface-light: #F1F3F7 !important;
	--yv-surface-card-light: #ffffff !important;
	--yv-text-on-light: #10141F !important;
	--yv-text-muted-light: #4B5363 !important;
	--yv-border-dark: rgb(255 255 255 / 0.12) !important;
	--yv-border-light: rgb(16 20 31 / 0.12) !important;
}

html[data-theme="dark"] body.yv-preview-page {
	--yv-primary: #4C7DFF !important;
	--yv-primary-light: #6690FF !important;
	--yv-accent-blue: #8FA6E8 !important;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--yv-focus-ring) !important;
	outline-offset: 2px !important;
}

/* Header and navigation */
.yk-site-header.yv-builder-header {
	--yv-header-bg-light: #ffffff !important;
	--yv-header-bg-dark: #0B0F1A !important;
	--yv-header-text-light: #10141F !important;
	--yv-header-text-dark: #F1F3F7 !important;
	--yv-header-border-light: #DCE0E8 !important;
	--yv-header-border-dark: #262F42 !important;
}

.yk-primary-menu a:hover,
.yk-primary-menu .current-menu-item > a,
.yv-site-nav a:hover,
.yv-header-login:hover {
	color: var(--yv-action-secondary);
}

.yv-site-nav a::after,
.yk-primary-menu a::after {
	background: var(--yv-action-secondary);
}

/* Component tokens */
.yk-button--primary,
.yv-button--primary,
.yv-button--header,
.yv-content-button,
.yui-mobile-product-link,
.yv-builder-price-card.is-featured .yk-button {
	background: var(--yv-action-primary) !important;
	border-color: var(--yv-action-primary) !important;
	color: var(--yv-text-on-brand) !important;
	box-shadow: 0 12px 28px color-mix(in srgb, var(--yv-action-primary) 20%, transparent) !important;
}

.yk-button--primary:hover,
.yv-button--primary:hover,
.yv-button--header:hover,
.yv-content-button:hover,
.yui-mobile-product-link:hover {
	background: var(--yv-action-primary-hover) !important;
	border-color: var(--yv-action-primary-hover) !important;
}

.yk-button--primary:active,
.yv-button--primary:active,
.yv-button--header:active {
	background: var(--yv-action-primary-active) !important;
}

.yk-button--secondary,
.yv-button--ghost,
.yv-button--light {
	background: transparent !important;
	border-color: var(--yv-action-secondary) !important;
	color: var(--yv-action-secondary) !important;
}

html[data-theme="dark"] :is(.yk-button--primary, .yv-button--primary, .yv-button--header, .yv-content-button, .yui-mobile-product-link) {
	background: var(--yv-action-primary) !important;
	border-color: var(--yv-action-primary) !important;
	color: #ffffff !important;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
	background: var(--yv-surface-primary);
	border-color: var(--yv-border-strong);
	color: var(--yv-text-primary);
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
	border-color: var(--yv-action-secondary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--yv-focus-ring) 24%, transparent);
}

/* Builder pages: override only role-bearing section variables, not arbitrary content. */
.yv-builder-hero,
.yv-builder-contact-section {
	--yv-section-bg-light: #ffffff !important;
	--yv-section-bg-dark: #141A28 !important;
	--yv-section-text-light: #10141F !important;
	--yv-section-text-dark: #F1F3F7 !important;
}

.yv-builder-media-text-section {
	--yv-section-bg-light: #F1F3F7 !important;
	--yv-section-bg-dark: #1B2333 !important;
}

.yv-builder-cta-section {
	--yv-section-bg-light: #0B1220 !important;
	--yv-section-bg-dark: #0B1220 !important;
	--yv-section-text-light: #ffffff !important;
	--yv-section-text-dark: #ffffff !important;
}

body.page-id-19 .yv-builder-hero {
	--yv-section-bg-light: #0B1220 !important;
	--yv-section-bg-dark: #060A13 !important;
	--yv-section-text-light: #ffffff !important;
	--yv-section-text-dark: #ffffff !important;
}

.yv-builder-card,
.yv-builder-price-card,
.yv-builder-contact-card,
.yv-builder-faq-item,
.yk-post-card {
	background: var(--yv-surface-primary);
	border-color: var(--yv-border-default);
	color: var(--yv-text-primary);
}

.yv-builder-card__text,
.yv-builder-description,
.yv-builder-hero__description,
.yk-entry-meta {
	color: var(--yv-text-secondary);
}

.yv-builder-icon-box,
.yui-feature-card__icon,
.yv-dashboard-mockup {
	background: var(--yv-info-soft);
	border-color: color-mix(in srgb, var(--yv-brand-secondary) 20%, var(--yv-border-default));
	color: var(--yv-brand-secondary);
}

.yv-builder-badge,
.yk-eyebrow,
.yv-content-kicker,
.yv-text-link,
.yk-text-link {
	color: var(--yv-brand-secondary);
}

.yv-builder-badge {
	background: var(--yv-info-soft);
}

.yv-builder-price-card.is-featured {
	border-color: var(--yv-brand-secondary);
	box-shadow: 0 20px 54px color-mix(in srgb, var(--yv-brand-secondary) 16%, transparent);
}

.yv-editable-dashboard {
	--yv-dashboard-chart: var(--yv-brand-secondary) !important;
}

html[data-theme="dark"] .yv-editable-dashboard {
	--yv-dashboard-chart: var(--yv-navy-400) !important;
}

/* Blog/content trust layer */
.yv-content-shell {
	--yv-trust-accent: var(--yv-brand-secondary) !important;
	--yv-trust-accent-2: var(--yv-navy-400) !important;
	--yv-trust-accent-soft: var(--yv-info-soft) !important;
	--yv-trust-bg: var(--yv-background-primary) !important;
	--yv-trust-surface: var(--yv-surface-primary) !important;
	--yv-trust-surface-2: var(--yv-background-secondary) !important;
	--yv-trust-surface-3: var(--yv-neutral-100) !important;
	--yv-trust-text: var(--yv-text-primary) !important;
	--yv-trust-muted: var(--yv-text-tertiary) !important;
	--yv-trust-border: var(--yv-border-default) !important;
	--yv-trust-border-strong: var(--yv-border-strong) !important;
	--yv-trust-success: var(--yv-success) !important;
}

/* Homepage hero: Navy/Blue, with gold restricted to the gold data node. */
.yv-home-hero {
	background:
		radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--yv-navy-400) 18%, transparent), transparent 28%),
		radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--yv-brand-secondary) 14%, transparent), transparent 30%),
		linear-gradient(155deg, #0B0F1A 0%, #0B1220 56%, #060A13 100%) !important;
}

.yv-home-hero__content h1 > .yv-home-hero__accent {
	background: linear-gradient(105deg, #F1F3F7 0%, #C7D4F5 48%, #6690FF 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.yv-home-hero__aurora,
.yv-home-hero__scroll-cue i::after {
	background: linear-gradient(180deg, transparent, var(--yv-navy-400));
}

.yv-hero-orbit {
	border-color: #203f68;
}

.yv-hero-node {
	--node-color: #6690FF !important;
}

.yv-hero-node--blue {
	--node-color: #8FA6E8 !important;
}

.yv-hero-node--gold {
	--node-color: var(--yv-asset-gold) !important;
}

.yv-home-hero .yv-button--primary,
.yv-site-header .yv-button--primary {
	background: #4C7DFF !important;
	border-color: #4C7DFF !important;
}

.yv-home-hero .yv-button--primary:hover,
.yv-site-header .yv-button--primary:hover {
	background: #5C8DFF !important;
	border-color: #5C8DFF !important;
}

/* Homepage cinematic product story: remove Crypto/Neon treatment. */
html body.yv-preview-page .yv-overview.is-cinema-ready {
	--yv-theme-bg: #0B0F1A !important;
	--yv-theme-surface: #141A28 !important;
	--yv-theme-surface-soft: #1B2333 !important;
	--yv-theme-text: #F1F3F7 !important;
	--yv-theme-muted: #8890A0 !important;
	--yv-theme-border: #262F42 !important;
	background:
		radial-gradient(circle at 50% 43%, color-mix(in srgb, #6690FF 16%, transparent), transparent 30%),
		radial-gradient(circle at 8% 28%, color-mix(in srgb, #2554E8 14%, transparent), transparent 25%),
		linear-gradient(155deg, #0B0F1A 0%, #101728 48%, #060A13 100%) !important;
	color: #F1F3F7 !important;
}

html body.yv-preview-page .yv-overview.is-cinema-ready::before {
	background:
		linear-gradient(rgb(102 144 255 / 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgb(102 144 255 / 0.06) 1px, transparent 1px) !important;
}

html body.yv-preview-page .yv-overview.is-cinema-ready::after {
	background:
		linear-gradient(90deg, #0B0F1A 0%, transparent 12%, transparent 88%, #0B0F1A 100%),
		linear-gradient(180deg, rgb(11 15 26 / 0.06), transparent 72%, rgb(11 15 26 / 0.76)) !important;
}

.yv-overview.is-cinema-ready .yv-cinema-ambient::before,
.yv-overview.is-cinema-ready .yv-cinema-ambient::after,
.yv-overview.is-cinema-ready .yv-cinema-ambient i {
	background: linear-gradient(145deg, rgb(76 125 255 / 0.10), rgb(14 27 46 / 0.02));
	border-color: rgb(102 144 255 / 0.14);
	box-shadow: inset 0 1px rgb(255 255 255 / 0.04), 0 0 70px rgb(37 84 232 / 0.08);
}

.yv-overview.is-cinema-ready .yv-cinema-ambient i:nth-child(3) {
	background: var(--yv-navy-400);
	box-shadow: 0 0 15px var(--yv-navy-400), 0 0 48px rgb(102 144 255 / 0.48);
}

.yv-overview.is-cinema-ready .yv-section-heading .yv-eyebrow,
.yv-overview.is-cinema-ready .yv-feature__number,
.yv-overview.is-cinema-ready .yv-cinema-message--ai small,
.yv-overview.is-cinema-ready .yv-cinema-message--action i {
	color: var(--yv-navy-300);
}

.yv-overview.is-cinema-ready .yv-section-heading h2,
html body.yv-preview-page .yv-overview.is-cinema-ready .yv-feature h3,
.yv-overview.is-cinema-ready .yv-cinema-card__body {
	color: #F1F3F7;
	text-shadow: none;
}

html body.yv-preview-page .yv-overview.is-cinema-ready .yv-feature.is-active {
	background: linear-gradient(135deg, rgb(27 35 51 / 0.92), rgb(14 27 46 / 0.92)) !important;
	border-color: rgb(102 144 255 / 0.28) !important;
}

.yv-overview.is-cinema-ready .yv-feature li::before,
.yv-overview.is-cinema-ready .yv-cinema-nav button[aria-current]::before {
	background: var(--yv-navy-400);
	box-shadow: 0 0 0 5px #0B0F1A, 0 0 18px rgb(102 144 255 / 0.66);
}

.yv-overview.is-cinema-ready .yv-cinema-nav button:focus-visible {
	outline-color: var(--yv-focus-ring) !important;
}

.yv-overview.is-cinema-ready .yv-cinema-scroll-cue i::after,
.yv-overview.is-cinema-ready .yv-cinema-scroll-cue__track b {
	background: linear-gradient(180deg, transparent, var(--yv-navy-400));
}

.yv-overview.is-cinema-ready .yv-cinema-word span {
	-webkit-text-stroke-color: rgb(102 144 255 / 0.18);
	text-shadow: 0 0 70px rgb(37 84 232 / 0.05);
}

html body.yv-preview-page .yv-overview.is-cinema-ready .yv-feature h3::after {
	background: linear-gradient(90deg, var(--yv-navy-500), var(--yv-navy-300));
	box-shadow: 0 0 12px rgb(102 144 255 / 0.54);
}

html[data-theme="dark"] .yv-overview.is-cinema-ready .yv-cinema-scroll-cue {
	background: radial-gradient(circle, rgb(37 84 232 / 0.72), rgb(6 10 19 / 0.84));
	border-color: rgb(102 144 255 / 0.30);
	box-shadow: 0 0 0 10px rgb(37 84 232 / 0.04), 0 0 32px rgb(76 125 255 / 0.22), inset 0 1px rgb(255 255 255 / 0.10);
}

html[data-theme="dark"] .yv-overview.is-cinema-ready .yv-cinema-scroll-cue i::before {
	background: var(--yv-brand-secondary);
}

html body.yv-preview-page .yv-overview.is-cinema-ready .yv-dashboard,
html body.yv-preview-page .yv-overview.is-cinema-ready .yv-dashboard-image,
.yv-overview.is-cinema-ready .yv-cinema-card {
	background: #141A28 !important;
	border-color: #262F42 !important;
	box-shadow: 0 38px 100px rgb(0 0 0 / 0.42), 0 0 70px rgb(37 84 232 / 0.12) !important;
}

.yv-overview.is-cinema-ready .yv-cinema-card__glow {
	background: radial-gradient(circle, rgb(102 144 255 / 0.24), transparent 68%);
}

.yv-overview.is-cinema-ready :is(.yv-dash-card, .yv-cinema-message, .yv-cinema-trace__steps li) {
	background: #1B2333;
	border-color: #262F42;
}

html[data-theme="dark"] .yv-overview.is-cinema-ready :is(
	.yv-cinema-card__bar,
	.yv-cinema-card__body,
	.yv-cinema-card__total,
	.yv-cinema-message,
	.yv-cinema-journey__note,
	.yv-cinema-character__scores,
	.yv-cinema-decision__checks
) {
	background: #141A28 !important;
	border-color: #262F42;
	color: #F1F3F7;
	box-shadow: inset 0 1px rgb(255 255 255 / 0.04), 0 12px 30px rgb(0 0 0 / 0.16);
}

html[data-theme="dark"] .yv-overview.is-cinema-ready :is(
	.yv-cinema-card__total small,
	.yv-cinema-card__total span,
	.yv-cinema-assets li,
	.yv-cinema-message--action,
	.yv-cinema-journey__top small,
	.yv-cinema-journey__top > span,
	.yv-cinema-journey__note,
	.yv-cinema-character__scores small,
	.yv-cinema-card__body--decision > p
) {
	color: #8890A0;
}

html[data-theme="dark"] .yv-overview.is-cinema-ready :is(
	.yv-cinema-card__bar b,
	.yv-cinema-assets b,
	.yv-cinema-journey__note b,
	.yv-cinema-character__scores b
) {
	color: #F1F3F7;
}

html[data-theme="dark"] .yv-overview.is-cinema-ready .yv-cinema-message--ai p {
	color: #B8C0D0;
}

/* Cinema internals use semantic brand/state roles in both modes. */
.yv-overview.is-cinema-ready .yv-cinema-orb {
	background: radial-gradient(circle at 50% 42%, rgb(102 144 255 / 0.68), rgb(37 84 232 / 0.28) 48%, rgb(6 10 19 / 0.30));
	border-color: rgb(143 166 232 / 0.28);
	box-shadow: 0 0 35px rgb(76 125 255 / 0.34), inset 0 1px rgb(255 255 255 / 0.20);
}

.yv-overview.is-cinema-ready :is(.yv-cinema-message--ai small, .yv-cinema-message--action i, .yv-cinema-character__badge, .yv-cinema-decision__compass span) {
	color: var(--yv-action-secondary);
}

.yv-overview.is-cinema-ready :is(.yv-cinema-character__badge, .yv-cinema-decision__checks) {
	background: color-mix(in srgb, var(--yv-info-soft) 84%, transparent);
	border-color: color-mix(in srgb, var(--yv-brand-secondary) 22%, var(--yv-border-default));
}

.yv-overview.is-cinema-ready .yv-cinema-character__radar :is(.grid, .axis),
.yv-overview.is-cinema-ready .yv-cinema-decision__compass :is(circle, line) {
	stroke: color-mix(in srgb, var(--yv-brand-secondary) 24%, var(--yv-border-default));
}

.yv-overview.is-cinema-ready .yv-cinema-character__radar .result {
	fill: color-mix(in srgb, var(--yv-brand-secondary) 22%, transparent);
	stroke: var(--yv-brand-secondary);
}

/* Light mode is deliberately bright—not a recoloured dark scene. */
html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready {
	--yv-theme-bg: #F1F3F7 !important;
	--yv-theme-surface: #ffffff !important;
	--yv-theme-surface-soft: #F1F3F7 !important;
	--yv-theme-text: #10141F !important;
	--yv-theme-muted: #4B5363 !important;
	--yv-theme-border: #CBD2DC !important;
	background:
		radial-gradient(circle at 50% 43%, rgb(102 144 255 / 0.13), transparent 31%),
		radial-gradient(circle at 8% 28%, rgb(37 84 232 / 0.08), transparent 26%),
		linear-gradient(155deg, #F1F3F7 0%, #F1F3F7 52%, #ffffff 100%) !important;
	color: #10141F !important;
	color-scheme: light;
}

html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready::before {
	background:
		linear-gradient(rgb(37 84 232 / 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgb(37 84 232 / 0.045) 1px, transparent 1px) !important;
	opacity: 0.78;
}

html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready::after {
	background:
		linear-gradient(90deg, #F1F3F7 0%, transparent 12%, transparent 88%, #F1F3F7 100%),
		linear-gradient(180deg, rgb(241 243 247 / 0.06), transparent 72%, rgb(241 243 247 / 0.84)) !important;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-word span {
	-webkit-text-stroke-color: rgb(37 84 232 / 0.13);
	text-shadow: none;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-ambient::before,
html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-ambient::after,
html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-ambient i {
	background: linear-gradient(145deg, rgb(76 125 255 / 0.08), rgb(255 255 255 / 0.50));
	border-color: rgb(37 84 232 / 0.10);
	box-shadow: inset 0 1px rgb(255 255 255 / 0.72), 0 0 54px rgb(37 84 232 / 0.06);
}

html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready .yv-feature h3,
html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-card__body {
	color: #10141F;
}

html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready .yv-feature > p,
html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-nav button {
	color: #6B7280;
}

html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready .yv-feature.is-active {
	background: linear-gradient(135deg, rgb(255 255 255 / 0.94), rgb(241 243 247 / 0.94)) !important;
	border-color: rgb(37 84 232 / 0.18) !important;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-nav button::before {
	background: #ffffff;
	border-color: rgb(37 84 232 / 0.26);
	box-shadow: 0 0 0 4px #F1F3F7;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-nav button[aria-current]::before {
	background: var(--yv-brand-secondary);
	box-shadow: 0 0 0 4px #F1F3F7, 0 0 15px rgb(37 84 232 / 0.34);
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-scroll-cue {
	background: rgb(255 255 255 / 0.92);
	border-color: rgb(37 84 232 / 0.20);
	box-shadow: 0 8px 28px rgb(16 20 31 / 0.10);
	color: var(--yv-brand-secondary);
}

html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready .yv-dashboard,
html[data-theme="light"] body.yv-preview-page .yv-overview.is-cinema-ready .yv-dashboard-image,
html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-card {
	background: linear-gradient(145deg, #ffffff, #F1F3F7) !important;
	border-color: #CBD2DC !important;
	box-shadow: 0 28px 72px rgb(16 20 31 / 0.16), 0 0 48px rgb(37 84 232 / 0.08) !important;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-card__body {
	background: linear-gradient(160deg, rgb(255 255 255 / 0.98), rgb(241 243 247 / 0.96)) !important;
	border-color: #DCE0E8;
	box-shadow: inset 0 1px rgb(255 255 255 / 0.82);
}

html[data-theme="light"] .yv-overview.is-cinema-ready :is(
	.yv-cinema-card__bar,
	.yv-cinema-card__total,
	.yv-cinema-message,
	.yv-cinema-journey__note,
	.yv-cinema-character__scores,
	.yv-cinema-decision__checks,
	.yv-dash-card,
	.yv-cinema-trace__steps li
) {
	background: rgb(255 255 255 / 0.82);
	border-color: #DCE0E8;
	box-shadow: 0 10px 28px rgb(16 20 31 / 0.06);
	color: #10141F;
}

html[data-theme="light"] .yv-overview.is-cinema-ready :is(
	.yv-cinema-card__total small,
	.yv-cinema-card__total span,
	.yv-cinema-assets li,
	.yv-cinema-message--action,
	.yv-cinema-journey__top small,
	.yv-cinema-journey__top > span,
	.yv-cinema-journey__note,
	.yv-cinema-character__scores small,
	.yv-cinema-card__body--decision > p
) {
	color: #6B7280;
}

html[data-theme="light"] .yv-overview.is-cinema-ready :is(
	.yv-cinema-card__bar b,
	.yv-cinema-assets b,
	.yv-cinema-journey__note b,
	.yv-cinema-character__scores b
) {
	color: #10141F;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-message--ai p {
	color: #2e3742;
}

html[data-theme="light"] .yv-overview.is-cinema-ready :is(.yv-cinema-assets li, .yv-cinema-character__scores span + span, .yv-cinema-decision__checks span + span) {
	border-color: #DCE0E8;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-donut::before {
	background: #ffffff;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-journey__chart g path {
	stroke: #DCE0E8;
}

html[data-theme="light"] .yv-overview.is-cinema-ready .yv-cinema-character__radar :is(.grid, .axis) {
	stroke: rgb(37 84 232 / 0.18);
}

/* Ordinary financial trend: brand blue; explicit gain: semantic green. */
.yv-trend-chart__line,
.yv-overview.is-cinema-ready .yv-cinema-character__radar .result,
.yv-character-radar__result {
	stroke: var(--yv-brand-secondary);
}

.yv-overview.is-cinema-ready .yv-cinema-journey__chart .line {
	stroke: var(--yv-success);
}

.yv-overview.is-cinema-ready .yv-cinema-journey__chart .area {
	fill: color-mix(in srgb, var(--yv-success) 28%, transparent);
}

.yv-overview.is-cinema-ready .yv-cinema-journey__chart stop {
	stop-color: var(--yv-success) !important;
}

.yv-overview.is-cinema-ready .yv-cinema-journey__note i,
.yv-overview.is-cinema-ready .yv-cinema-privacy__status i,
.tone-positive {
	background: var(--yv-success);
	color: var(--yv-success);
}

/* Asset colours remain independent from the brand. Purple is allowed here. */
.yv-asset-mix__donut {
	background: conic-gradient(
		var(--yv-asset-fixed-income) 0 28%,
		var(--yv-asset-equity) 28% 52%,
		var(--yv-asset-gold) 52% 84%,
		var(--yv-asset-cash) 84%
	);
}

.yv-asset-mix li:nth-child(1) i { background: var(--yv-asset-fixed-income); }
.yv-asset-mix li:nth-child(2) i { background: var(--yv-asset-equity); }
.yv-asset-mix li:nth-child(3) i { background: var(--yv-asset-gold); }
.yv-asset-mix li:nth-child(4) i { background: var(--yv-asset-cash); }

.yv-overview.is-cinema-ready .yv-cinema-donut {
	background: conic-gradient(
		var(--yv-asset-fixed-income) 0 42%,
		var(--yv-asset-currency) 42% 68%,
		var(--yv-asset-gold) 68% 86%,
		rgb(255 255 255 / 0.10) 86%
	);
}

/* Remaining homepage sections */
.yv-trust {
	background: var(--yv-background-secondary) !important;
	color: var(--yv-text-primary);
}

.yv-trust-card {
	background: var(--yv-surface-primary);
	border-color: var(--yv-border-default);
	color: var(--yv-text-primary);
}

.yv-trust-card h3 {
	color: var(--yv-text-primary);
}

.yv-trust-card p {
	color: var(--yv-text-tertiary);
}

html[data-theme="light"] body.yv-preview-page .yv-trust {
	background: #F1F3F7 !important;
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page .yv-trust__grid,
html[data-theme="light"] body.yv-preview-page .yv-trust-card {
	background: #ffffff !important;
	border-color: #DCE0E8 !important;
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page .yv-trust-card h3 {
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page .yv-trust-card p {
	color: #6B7280 !important;
}

html[data-theme="dark"] body.yv-preview-page .yv-trust {
	background: #101728 !important;
	color: #F1F3F7 !important;
}

html[data-theme="dark"] body.yv-preview-page .yv-trust__grid,
html[data-theme="dark"] body.yv-preview-page .yv-trust-card {
	background: #141A28 !important;
	border-color: #262F42 !important;
	color: #F1F3F7 !important;
}

html[data-theme="dark"] body.yv-preview-page .yv-trust-card h3 {
	color: #F1F3F7 !important;
}

html[data-theme="dark"] body.yv-preview-page .yv-trust-card p {
	color: #8890A0 !important;
}

.yv-trust-card__icon,
.yv-feature__number,
.yv-eyebrow--dark,
.yv-eyebrow--light,
.yv-blog-card__arrow,
.yv-blog-card__meta span,
.yv-text-link {
	color: var(--yv-navy-300);
}

html[data-theme="light"] body.yv-preview-page :is(.yv-blog, .yv-final-cta) {
	background: #F1F3F7 !important;
}

.yv-blog-card {
	background: var(--yv-surface-primary);
	border-color: var(--yv-border-default);
}

.yv-blog-card h3,
.yv-blog__heading h2 {
	color: var(--yv-text-primary);
}

.yv-blog-card__meta,
.yv-blog-card time {
	color: var(--yv-text-tertiary);
}

html[data-theme="dark"] body.yv-preview-page :is(.yv-blog, .yv-final-cta) {
	background: #0B0F1A !important;
}

html[data-theme="light"] body.yv-preview-page .yv-blog-card {
	background: #ffffff !important;
	border-color: #DCE0E8 !important;
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page :is(.yv-blog-card h3, .yv-blog__heading h2) {
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page :is(.yv-blog-card__meta, .yv-blog-card time) {
	color: #6B7280 !important;
}

html[data-theme="dark"] body.yv-preview-page .yv-blog-card {
	background: #141A28 !important;
	border-color: #262F42 !important;
	color: #F1F3F7 !important;
}

html[data-theme="dark"] body.yv-preview-page :is(.yv-blog-card h3, .yv-blog__heading h2) {
	color: #F1F3F7 !important;
}

html[data-theme="dark"] body.yv-preview-page :is(.yv-blog-card__meta, .yv-blog-card time) {
	color: #8890A0 !important;
}

.yv-final-cta__box {
	background:
		linear-gradient(120deg, rgb(255 255 255 / 0.04), transparent 36%),
		linear-gradient(135deg, #060A13, #0B1220 52%, #2554E8) !important;
}

/* Footer inline variables are intentionally overridden with semantic roles. */
.yvif-footer {
	--yvif-bg: #0B0F1A !important;
	--yvif-bg-dark: #060A13 !important;
	--yvif-surface: #141A28 !important;
	--yvif-text: #F1F3F7 !important;
	--yvif-muted: #8890A0 !important;
	--yvif-accent: #8FA6E8 !important;
	--yvif-border: #262F42 !important;
}

.yv-site-footer {
	background: #0B0F1A;
	color: #F1F3F7;
}

.yv-site-footer__bottom a span,
.yvif-footer a:hover {
	color: #8FA6E8;
}

/* Financial/system states are never repurposed as brand accents. */
.is-success,
.has-success-color,
[data-tone="positive"] {
	color: var(--yv-success) !important;
}

.is-error,
.has-error-color,
[data-tone="negative"] {
	color: var(--yv-danger) !important;
}

.is-warning,
.has-warning-color,
[data-tone="warning"] {
	color: var(--yv-warning) !important;
}

/* Official logo image assets are left untouched: no filter, opacity or tint. */

/*
 * Light Hero acceptance repair (1.0.5).
 *
 * The 1.0.3 semantic layer intentionally kept the Hero dark in both modes.
 * That dark shorthand carried !important and overrode the homepage patch's
 * complete light scene, while the light typography still switched to dark
 * ink. These selectors are deliberately light-only so the accepted Dark
 * rendering remains byte-for-byte governed by the existing rules above.
 */
html[data-theme="light"] body.yv-preview-page .yv-home-hero {
	background:
		radial-gradient(circle at 24% 42%, rgb(37 84 232 / 0.10), transparent 31%),
		radial-gradient(circle at 76% 60%, rgb(102 144 255 / 0.10), transparent 34%),
		linear-gradient(155deg, #F1F3F7 0%, #F1F3F7 56%, #ffffff 100%) !important;
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero.has-yv-background::before {
	background:
		linear-gradient(180deg, rgb(241 243 247 / 0.84), rgb(241 243 247 / 0.94)),
		var(--yv-background-image) center / cover no-repeat !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero__aurora--one {
	background: radial-gradient(circle, rgb(37 84 232 / 0.11), rgb(37 84 232 / 0) 69%) !important;
	opacity: 0.34;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero__aurora--two {
	background: radial-gradient(circle, rgb(102 144 255 / 0.09), rgb(102 144 255 / 0) 70%) !important;
	opacity: 0.32;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero__content h1 {
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero__content h1 > .yv-home-hero__accent {
	background: linear-gradient(105deg, #0B1220 0%, #2554E8 52%, #4C7DFF 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero .yv-eyebrow {
	color: #2554E8 !important;
}

html[data-theme="light"] body.yv-preview-page :is(
	.yv-home-hero__lead,
	.yv-home-hero__microcopy,
	.yv-hero-story span,
	.yv-hero-center small,
	.yv-home-hero__scroll-cue
) {
	color: #4B5363 !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero__microcopy svg {
	stroke: #4C7DFF !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero .yv-button--ghost {
	border-color: #2554E8 !important;
	background: #ffffff !important;
	box-shadow: 0 10px 26px rgb(11 18 32 / 0.10) !important;
	color: #0B1220 !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero .yv-button--ghost:hover {
	border-color: #0B1220 !important;
	background: #F1F3F7 !important;
	color: #060A13 !important;
}

html[data-theme="light"] body.yv-preview-page .yv-hero-orbit {
	border-color: rgb(37 84 232 / 0.24) !important;
	background: radial-gradient(circle, rgb(37 84 232 / 0.055), transparent 64%) !important;
}

html[data-theme="light"] body.yv-preview-page .yv-hero-node__label {
	border-color: rgb(37 84 232 / 0.18) !important;
	background: rgb(255 255 255 / 0.92) !important;
	box-shadow: 0 9px 26px rgb(11 18 32 / 0.12) !important;
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page .yv-hero-node.is-pointer-active .yv-hero-node__label {
	background: #ffffff !important;
	color: #10141F !important;
}

html[data-theme="light"] body.yv-preview-page .yv-hero-center::before {
	background: radial-gradient(circle, rgb(76 125 255 / 0.12), rgb(76 125 255 / 0) 70%) !important;
}

html[data-theme="light"] body.yv-preview-page .yv-hero-center strong {
	color: #10141F !important;
	text-shadow: 0 3px 16px rgb(255 255 255 / 0.88) !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero__scroll-cue i {
	background: rgb(11 18 32 / 0.18) !important;
}

html[data-theme="light"] body.yv-preview-page .yv-home-hero__scroll-cue i::after {
	background: linear-gradient(180deg, transparent, #4C7DFF) !important;
}

/* YEKVEST_COLOR_SYSTEM_V1_0_5_WEBSITE_END */

/*
 * Light Hero central-mark refinement (1.0.7).
 *
 * The mark remains the original three-path SVG and continues to use its
 * authored gradient. This light-only layer maps that gradient to semantic
 * brand roles, restores solid edge definition and replaces the washed-out
 * stem with the approved neutral ink. No image filter, glow or geometry
 * change is applied; the accepted Dark rendering remains untouched.
 */
html[data-theme="light"] body.yv-preview-page .yv-home-hero {
	--yv-hero-mark-deep: var(--yv-brand-primary);
	--yv-hero-mark-mid: var(--yv-brand-secondary);
	--yv-hero-mark-bright: var(--yv-navy-500);
	--yv-hero-mark-stem: var(--yv-neutral-800);
	--yv-hero-mark-stem-edge: var(--yv-neutral-900);
}

html[data-theme="light"] body.yv-preview-page #yv-final-gradient stop:nth-child(1) {
	stop-color: var(--yv-hero-mark-deep) !important;
	stop-opacity: 1 !important;
}

html[data-theme="light"] body.yv-preview-page #yv-final-gradient stop:nth-child(2) {
	stop-color: var(--yv-hero-mark-mid) !important;
	stop-opacity: 1 !important;
}

html[data-theme="light"] body.yv-preview-page #yv-final-gradient stop:nth-child(3) {
	stop-color: var(--yv-hero-mark-bright) !important;
	stop-opacity: 1 !important;
}

html[data-theme="light"] body.yv-preview-page .yv-hero-lines__final path {
	fill-opacity: 0.96 !important;
	stroke-opacity: 0.42 !important;
	stroke-width: 1.3 !important;
	paint-order: stroke fill;
	shape-rendering: geometricPrecision;
}

html[data-theme="light"] body.yv-preview-page .yv-hero-lines__final .yv-hero-logo-piece--stem {
	fill: var(--yv-hero-mark-stem) !important;
	fill-opacity: 0.94 !important;
	stroke: var(--yv-hero-mark-stem-edge) !important;
	stroke-opacity: 0.38 !important;
}

/* YEKVEST_COLOR_SYSTEM_V1_0_7_WEBSITE_END */
