/**
 * Swift Verifier — Frontend design system.
 *
 * Aesthetic: "Signal" — a deliverability instrument.
 * Warm-paper light mode / deep-ink dark mode, emerald verification signal,
 * Bricolage Grotesque (display) + Hanken Grotesk (body) + JetBrains Mono (data).
 *
 * Theming: semantic tokens on :root (light) overridden under
 * [data-wsev-theme="dark"]. The attribute is set on <html> and .wsev-shell.
 */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
	/* Surfaces & ink — warm paper light theme */
	--wsev-bg:            #f4f4ee;
	--wsev-bg-2:          #ebebe2;
	--wsev-surface:       #ffffff;
	--wsev-surface-2:     #fbfbf7;
	--wsev-surface-3:     #f3f3ec;
	--wsev-text:          #181a12;
	--wsev-text-soft:     #585b4e;
	--wsev-text-faint:    #8b8e80;
	--wsev-border:        #e4e4d8;
	--wsev-border-strong: #d3d3c4;

	/* Brand signal — emerald = deliverable */
	--wsev-accent:        #0b8f63;
	--wsev-accent-press:  #097451;
	--wsev-accent-soft:   rgba(11, 143, 99, 0.10);
	--wsev-accent-ring:   rgba(11, 143, 99, 0.28);
	--wsev-on-accent:     #ffffff;
	--wsev-accent-grad:   linear-gradient(135deg, #14a574, #0b8f63 60%, #0a7d57);

	/* Status */
	--wsev-valid:         #0b8f63;
	--wsev-valid-bg:      #e6f5ee;
	--wsev-valid-text:    #066c4a;
	--wsev-invalid:       #d6453a;
	--wsev-invalid-bg:    #fbeae8;
	--wsev-invalid-text:  #ad3127;
	--wsev-warn:          #c1790f;
	--wsev-warn-bg:       #fbf1de;
	--wsev-warn-text:     #95600e;

	/* Effects */
	--wsev-shadow-sm:     0 1px 2px rgba(24, 26, 18, 0.05);
	--wsev-shadow-md:     0 4px 14px rgba(24, 26, 18, 0.07), 0 1px 3px rgba(24, 26, 18, 0.05);
	--wsev-shadow-lg:     0 18px 50px rgba(24, 26, 18, 0.12), 0 4px 12px rgba(24, 26, 18, 0.06);
	--wsev-glow:          none;
	--wsev-dot:           rgba(24, 26, 18, 0.05);
	--wsev-hairline:      rgba(24, 26, 18, 0.06);

	/* Type */
	--wsev-font-body:     "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wsev-font-display:  "Bricolage Grotesque", var(--wsev-font-body);
	--wsev-font-mono:     "JetBrains Mono", ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, monospace;

	/* Geometry */
	--wsev-radius-sm:     8px;
	--wsev-radius:        14px;
	--wsev-radius-lg:     20px;
	--wsev-radius-xl:     28px;
	--wsev-maxw:          none;
	--wsev-landing-max:   1120px;
	--wsev-gutter:        24px;
	--wsev-landing-gap:   clamp(72px, 8vh, 96px);
	--wsev-landing-head-gap: clamp(40px, 5vw, 52px);
	--wsev-landing-col-gap: clamp(32px, 4vw, 48px);
}

[data-wsev-theme="dark"] {
	--wsev-bg:            #0d0f0a;
	--wsev-bg-2:          #121409;
	--wsev-surface:       #16190f;
	--wsev-surface-2:     #1c2014;
	--wsev-surface-3:     #23271a;
	--wsev-text:          #ecefe1;
	--wsev-text-soft:     #a8ad99;
	--wsev-text-faint:    #6f7463;
	--wsev-border:        #2a2e21;
	--wsev-border-strong: #3a3f2e;

	--wsev-accent:        #28d796;
	--wsev-accent-press:  #1fbe83;
	--wsev-accent-soft:   rgba(40, 215, 150, 0.13);
	--wsev-accent-ring:   rgba(40, 215, 150, 0.32);
	--wsev-on-accent:     #06140d;
	--wsev-accent-grad:   linear-gradient(135deg, #34e3a3, #28d796 55%, #1bc78a);

	--wsev-valid:         #28d796;
	--wsev-valid-bg:      rgba(40, 215, 150, 0.13);
	--wsev-valid-text:    #79edc0;
	--wsev-invalid:       #ff6f62;
	--wsev-invalid-bg:    rgba(255, 111, 98, 0.13);
	--wsev-invalid-text:  #ffa79e;
	--wsev-warn:          #f1b955;
	--wsev-warn-bg:       rgba(241, 185, 85, 0.12);
	--wsev-warn-text:     #f6cd83;

	--wsev-shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.4);
	--wsev-shadow-md:     0 6px 20px rgba(0, 0, 0, 0.45);
	--wsev-shadow-lg:     0 24px 60px rgba(0, 0, 0, 0.55);
	--wsev-glow:          0 0 0 1px rgba(40, 215, 150, 0.06), 0 0 40px rgba(40, 215, 150, 0.06);
	--wsev-dot:           rgba(236, 239, 225, 0.045);
	--wsev-hairline:      rgba(236, 239, 225, 0.05);
}

/* No-JS automatic dark */
@media (prefers-color-scheme: dark) {
	:root:not([data-wsev-theme="light"]):not([data-wsev-theme="dark"]) {
		--wsev-bg:            #0d0f0a;
		--wsev-bg-2:          #121409;
		--wsev-surface:       #16190f;
		--wsev-surface-2:     #1c2014;
		--wsev-surface-3:     #23271a;
		--wsev-text:          #ecefe1;
		--wsev-text-soft:     #a8ad99;
		--wsev-text-faint:    #6f7463;
		--wsev-border:        #2a2e21;
		--wsev-border-strong: #3a3f2e;
		--wsev-accent:        #28d796;
		--wsev-accent-press:  #1fbe83;
		--wsev-accent-soft:   rgba(40, 215, 150, 0.13);
		--wsev-accent-ring:   rgba(40, 215, 150, 0.32);
		--wsev-on-accent:     #06140d;
		--wsev-accent-grad:   linear-gradient(135deg, #34e3a3, #28d796 55%, #1bc78a);
		--wsev-valid:         #28d796;
		--wsev-valid-bg:      rgba(40, 215, 150, 0.13);
		--wsev-valid-text:    #79edc0;
		--wsev-invalid:       #ff6f62;
		--wsev-invalid-bg:    rgba(255, 111, 98, 0.13);
		--wsev-invalid-text:  #ffa79e;
		--wsev-warn:          #f1b955;
		--wsev-warn-bg:       rgba(241, 185, 85, 0.12);
		--wsev-warn-text:     #f6cd83;
		--wsev-shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.4);
		--wsev-shadow-md:     0 6px 20px rgba(0, 0, 0, 0.45);
		--wsev-shadow-lg:     0 24px 60px rgba(0, 0, 0, 0.55);
		--wsev-glow:          0 0 0 1px rgba(40, 215, 150, 0.06), 0 0 40px rgba(40, 215, 150, 0.06);
		--wsev-dot:           rgba(236, 239, 225, 0.045);
		--wsev-hairline:      rgba(236, 239, 225, 0.05);
	}
}

/* ============================================================
   2. SHELL + ATMOSPHERE
   ============================================================ */

.wsev-shell {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--wsev-bg);
	color: var(--wsev-text);
	font-family: var(--wsev-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* clip (not hidden) contains horizontal bleed WITHOUT creating a scroll
	   container, which would neutralize position: sticky on the sidebar/header. */
	overflow-x: clip;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.wsev-shell *,
.wsev-shell *::before,
.wsev-shell *::after {
	box-sizing: border-box;
}

.wsev-shell__bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		radial-gradient(var(--wsev-dot) 1px, transparent 1.4px);
	background-size: 26px 26px;
	background-position: -13px -13px;
	mask-image: radial-gradient(ellipse 120% 80% at 50% -10%, #000 35%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% -10%, #000 35%, transparent 78%);
}

.wsev-shell__bg::before {
	content: "";
	position: absolute;
	top: -20%;
	left: 50%;
	width: 70vw;
	height: 60vh;
	transform: translateX(-50%);
	background: radial-gradient(circle at center, var(--wsev-accent-soft), transparent 68%);
	opacity: 0.85;
	filter: blur(6px);
}

.wsev-shell > *:not(.wsev-shell__bg) {
	position: relative;
	z-index: 1;
}

.wsev-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 var(--wsev-gutter);
}

body.wsev-page {
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

/* ============================================================
   3. HEADER + BRAND + THEME TOGGLE
   ============================================================ */

.wsev-header {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	background: color-mix(in srgb, var(--wsev-bg) 78%, transparent);
	border-bottom: 1px solid var(--wsev-hairline);
}

.wsev-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.wsev-shell--landing .wsev-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 20px;
}

.wsev-shell--landing .wsev-header__nav {
	justify-content: center;
	margin: 0;
}

.wsev-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--wsev-text);
}

.wsev-brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	box-shadow: var(--wsev-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wsev-brand__mark .wsev-icon { width: 21px; height: 21px; }

.wsev-brand__text { display: flex; flex-direction: column; line-height: 1.05; }

.wsev-brand__name {
	font-family: var(--wsev-font-display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.02em;
}

.wsev-brand__tagline {
	font-size: 11px;
	color: var(--wsev-text-faint);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wsev-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.wsev-header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.wsev-header__nav-link {
	padding: 8px 12px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 500;
	color: var(--wsev-text-soft);
	text-decoration: none;
	transition: color 0.16s ease, background 0.16s ease;
}

.wsev-header__nav-link:hover {
	color: var(--wsev-text);
	background: var(--wsev-surface-3);
}

.wsev-header__actions .wsev-theme-toggle {
	flex: 0 0 auto;
	align-self: center;
}

.wsev-header__user {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px 6px 6px;
	border-radius: 999px;
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface);
	text-decoration: none;
	color: var(--wsev-text);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.wsev-header__user:hover { border-color: var(--wsev-border-strong); transform: translateY(-1px); }

.wsev-header__avatar {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
}

.wsev-header__user-meta { display: flex; flex-direction: column; line-height: 1.1; }
.wsev-header__user-name { font-size: 13px; font-weight: 600; }
.wsev-header__user-role { font-size: 11px; color: var(--wsev-text-faint); }

/* Theme toggle */
.wsev-theme-toggle {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface);
	color: var(--wsev-text-soft);
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.wsev-theme-toggle:hover {
	color: var(--wsev-accent);
	border-color: var(--wsev-accent-ring);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px -8px var(--wsev-accent-ring);
}
.wsev-theme-toggle:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(24, 26, 18, 0.12); }
.wsev-theme-toggle:focus-visible { outline: 2px solid var(--wsev-accent); outline-offset: 2px; }

.wsev-theme-toggle__sun,
.wsev-theme-toggle__moon {
	position: absolute;
	display: grid;
	place-items: center;
	width: 19px; height: 19px;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.wsev-theme-toggle__sun .wsev-icon,
.wsev-theme-toggle__moon .wsev-icon { width: 19px; height: 19px; }

.wsev-theme-toggle__sun  { opacity: 0; transform: rotate(-90deg) scale(0.4); }
.wsev-theme-toggle__moon { opacity: 1; transform: rotate(0deg) scale(1); }

[data-wsev-theme="dark"] .wsev-theme-toggle__sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-wsev-theme="dark"] .wsev-theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.4); }

/* ============================================================
   4. BUTTONS
   ============================================================ */

.wsev-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 11px;
	font-family: var(--wsev-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
	transition:
		transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.18s ease,
		color 0.18s ease,
		filter 0.18s ease,
		background 0.18s ease;
}

/* Sheen sweep shared by all variants */
.wsev-button::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.42) 48%, transparent 78%);
	transform: translateX(-130%);
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}
.wsev-button:hover::before { transform: translateX(130%); }

.wsev-button .wsev-icon { width: 17px; height: 17px; }

.wsev-button:focus-visible {
	outline: 2px solid var(--wsev-accent);
	outline-offset: 2px;
}

.wsev-button:disabled,
.wsev-button[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
	filter: saturate(0.6);
}
.wsev-button:disabled::before,
.wsev-button[aria-disabled="true"]::before { display: none; }

/* ---- Primary: solid signal button with tactile depth ---- */
.wsev-button--primary {
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	box-shadow:
		0 1px 1px rgba(7, 18, 13, 0.10),
		0 3px 8px -2px var(--wsev-accent-ring),
		0 10px 22px -8px var(--wsev-accent-ring),
		inset 0 1px 0 rgba(255, 255, 255, 0.30),
		inset 0 -1.5px 0 rgba(7, 18, 13, 0.18);
}
.wsev-button--primary:hover {
	transform: translateY(-2px);
	box-shadow:
		0 2px 2px rgba(7, 18, 13, 0.10),
		0 6px 14px -3px var(--wsev-accent-ring),
		0 18px 34px -10px var(--wsev-accent-ring),
		inset 0 1px 0 rgba(255, 255, 255, 0.34),
		inset 0 -1.5px 0 rgba(7, 18, 13, 0.18);
}
.wsev-button--primary:active {
	transform: translateY(0);
	box-shadow:
		0 1px 2px rgba(7, 18, 13, 0.12),
		inset 0 2px 5px rgba(7, 18, 13, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ---- Secondary: raised surface chip ---- */
.wsev-button--secondary {
	color: var(--wsev-text);
	background: linear-gradient(180deg, var(--wsev-surface), var(--wsev-surface-2));
	border-color: var(--wsev-border-strong);
	box-shadow:
		0 1px 2px rgba(24, 26, 18, 0.05),
		0 2px 8px -4px rgba(24, 26, 18, 0.10),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.wsev-button--secondary:hover {
	transform: translateY(-2px);
	color: var(--wsev-accent);
	border-color: var(--wsev-accent-ring);
	box-shadow:
		0 2px 3px rgba(24, 26, 18, 0.05),
		0 10px 22px -8px var(--wsev-accent-ring),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.wsev-button--secondary:active {
	transform: translateY(0);
	box-shadow: inset 0 2px 5px rgba(24, 26, 18, 0.12);
}
.wsev-button--secondary::before { background: linear-gradient(115deg, transparent 18%, var(--wsev-accent-soft) 48%, transparent 78%); }
[data-wsev-theme="dark"] .wsev-button--secondary { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
[data-wsev-theme="dark"] .wsev-button--secondary:hover { box-shadow: 0 10px 24px -8px var(--wsev-accent-ring), inset 0 1px 0 rgba(255, 255, 255, 0.06); }

/* ---- Ghost: quiet pill ---- */
.wsev-button--ghost {
	color: var(--wsev-text-soft);
	background: transparent;
	border-color: transparent;
}
.wsev-button--ghost::before { display: none; }
.wsev-button--ghost:hover {
	color: var(--wsev-text);
	background: var(--wsev-surface-3);
	border-color: var(--wsev-border);
}
.wsev-button--ghost:active { background: var(--wsev-surface-2); transform: translateY(0); }

.wsev-button--lg { padding: 15px 30px; font-size: 15px; border-radius: 13px; gap: 10px; }
.wsev-button--lg .wsev-icon { width: 19px; height: 19px; }
.wsev-button--block { width: 100%; }

/*
 * WordPress theme compatibility — block/global styles often override
 * native <button> elements (background, padding, radius) and link colors.
 * Scoped to .wsev-shell so the rest of the site is untouched.
 */
.wsev-shell :is(button.wsev-button, button.wsev-theme-toggle) {
	-webkit-appearance: none;
	appearance: none;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	box-sizing: border-box;
	font-family: var(--wsev-font-body);
	text-transform: none;
}

.wsev-shell a.wsev-button:is(:link, :visited, :hover, :active, :focus) {
	text-decoration: none !important;
}

.wsev-shell a.wsev-button--primary:is(:link, :visited, :hover, :active, :focus) {
	color: var(--wsev-on-accent) !important;
}

.wsev-shell a.wsev-button--secondary:is(:link, :visited, :hover, :active, :focus) {
	color: var(--wsev-text) !important;
}

.wsev-shell a.wsev-button--secondary:hover {
	color: var(--wsev-accent) !important;
}

.wsev-shell a.wsev-button--ghost:is(:link, :visited) {
	color: var(--wsev-text-soft) !important;
}

.wsev-shell a.wsev-button--ghost:hover {
	color: var(--wsev-text) !important;
}

.wsev-shell .wsev-cta a.wsev-button--primary:is(:link, :visited, :hover, :active, :focus) {
	color: var(--wsev-accent) !important;
}

.wsev-shell button.wsev-theme-toggle {
	display: inline-grid !important;
	place-items: center !important;
	flex: 0 0 auto !important;
	align-self: center !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid var(--wsev-border) !important;
	border-radius: 12px !important;
	background: var(--wsev-surface) !important;
	color: var(--wsev-text-soft) !important;
	font-size: inherit !important;
	line-height: 1 !important;
	box-shadow: none !important;
	position: relative !important;
	top: auto !important;
}

.wsev-shell button.wsev-button.wsev-button--primary {
	color: var(--wsev-on-accent) !important;
	background: var(--wsev-accent-grad) !important;
	border: 1px solid transparent !important;
	border-radius: 11px !important;
	padding: 12px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	box-shadow:
		0 1px 1px rgba(7, 18, 13, 0.10),
		0 3px 8px -2px var(--wsev-accent-ring),
		0 10px 22px -8px var(--wsev-accent-ring),
		inset 0 1px 0 rgba(255, 255, 255, 0.30),
		inset 0 -1.5px 0 rgba(7, 18, 13, 0.18) !important;
}

.wsev-shell button.wsev-button.wsev-button--primary:hover {
	box-shadow:
		0 2px 2px rgba(7, 18, 13, 0.10),
		0 6px 14px -3px var(--wsev-accent-ring),
		0 18px 34px -10px var(--wsev-accent-ring),
		inset 0 1px 0 rgba(255, 255, 255, 0.34),
		inset 0 -1.5px 0 rgba(7, 18, 13, 0.18) !important;
}

.wsev-shell button.wsev-button.wsev-button--primary:active {
	box-shadow:
		0 1px 2px rgba(7, 18, 13, 0.12),
		inset 0 2px 5px rgba(7, 18, 13, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.wsev-shell button.wsev-button.wsev-button--secondary {
	color: var(--wsev-text) !important;
	background: linear-gradient(180deg, var(--wsev-surface), var(--wsev-surface-2)) !important;
	border: 1px solid var(--wsev-border-strong) !important;
	border-radius: 11px !important;
	padding: 12px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	box-shadow:
		0 1px 2px rgba(24, 26, 18, 0.05),
		0 2px 8px -4px rgba(24, 26, 18, 0.10),
		inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.wsev-shell button.wsev-button.wsev-button--secondary:hover {
	color: var(--wsev-accent) !important;
	border-color: var(--wsev-accent-ring) !important;
	box-shadow:
		0 2px 3px rgba(24, 26, 18, 0.05),
		0 10px 22px -8px var(--wsev-accent-ring),
		inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.wsev-shell button.wsev-button.wsev-button--ghost {
	color: var(--wsev-text-soft) !important;
	background: transparent !important;
	border: 1px solid transparent !important;
	border-radius: 11px !important;
	padding: 12px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	box-shadow: none !important;
}

.wsev-shell button.wsev-button.wsev-button--ghost:hover {
	color: var(--wsev-text) !important;
	background: var(--wsev-surface-3) !important;
	border-color: var(--wsev-border) !important;
}

.wsev-shell button.wsev-button.wsev-button--lg {
	padding: 15px 30px !important;
	font-size: 15px !important;
	border-radius: 13px !important;
}

.wsev-shell button.wsev-button.wsev-button--block {
	width: 100% !important;
}

.wsev-shell button.wsev-button.wsev-sidebar__link--logout:hover {
	color: var(--wsev-invalid) !important;
	background: var(--wsev-invalid-bg) !important;
}

.wsev-shell .wsev-cta button.wsev-button.wsev-button--primary {
	color: var(--wsev-accent) !important;
	background: linear-gradient(180deg, #ffffff, #f4f6f3) !important;
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.12),
		0 12px 28px -8px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1.5px 0 rgba(0, 0, 0, 0.06) !important;
}

.wsev-shell .wsev-cta button.wsev-button.wsev-button--primary:hover {
	background: linear-gradient(180deg, #ffffff, #eef1ed) !important;
}

/* ============================================================
   5. LAYOUT (main / sidebar / content)
   ============================================================ */

.wsev-main { flex: 1 0 auto; padding: 40px 0 48px; }

.wsev-layout {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}

.wsev-shell--landing .wsev-layout,
.wsev-shell--login .wsev-layout,
.wsev-shell--register .wsev-layout {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.wsev-shell--landing .wsev-sidebar,
.wsev-shell--login .wsev-sidebar,
.wsev-shell--register .wsev-sidebar { display: none; }

.wsev-shell--landing .wsev-container {
	max-width: calc(var(--wsev-landing-max) + var(--wsev-gutter) * 2);
	margin-left: auto;
	margin-right: auto;
}

.wsev-shell--landing .wsev-content {
	max-width: none;
	margin: 0;
	width: 100%;
}

.wsev-shell--landing .wsev-main { padding-top: 16px; padding-bottom: 32px; }

/* Header hidden for non-admin users (customers & guests) */
.wsev-shell--no-header .wsev-main {
	padding-top: 32px;
}

.wsev-shell--no-header.wsev-shell--landing .wsev-main {
	padding-top: 24px;
}

.wsev-shell--no-header .wsev-sidebar {
	top: 24px;
	max-height: calc(100vh - 40px);
}

/* Landing page layout shell */
.wsev-landing {
	display: flex;
	flex-direction: column;
	gap: var(--wsev-landing-gap);
	width: 100%;
	max-width: var(--wsev-landing-max);
	margin-left: auto;
	margin-right: auto;
}

.wsev-landing__section {
	width: 100%;
	margin: 0;
	padding: 0;
}

.wsev-landing :is(ul, ol) {
	margin-left: 0;
	padding-left: 0;
}

/* Shared section titles & intros on landing */
.wsev-landing :is(.wsev-section-head h2, .wsev-demo__copy h2, .wsev-checks__copy h2) {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: clamp(28px, 3.4vw, 38px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: var(--wsev-text);
}

.wsev-landing :is(.wsev-section-head > p, .wsev-demo__copy > p, .wsev-checks__lead) {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--wsev-text-soft);
}

.wsev-landing .wsev-section-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.wsev-landing .wsev-section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	max-width: 720px;
}

.wsev-landing .wsev-section-head p {
	max-width: 56ch;
	margin-left: auto;
	margin-right: auto;
}

.wsev-landing .wsev-section-head--center .wsev-eyebrow { justify-content: center; }

/* Sections with a header block + main content */
.wsev-landing :is(.wsev-features, .wsev-integrations, .wsev-how, .wsev-quotes, .wsev-faq) {
	display: flex;
	flex-direction: column;
	gap: var(--wsev-landing-head-gap);
}

.wsev-content { min-width: 0; }

/* ============================================================
   6. SIDEBAR
   ============================================================ */

.wsev-sidebar {
	position: sticky;
	top: 96px;
	align-self: start;
	max-height: calc(100vh - 112px);
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: thin;
	overscroll-behavior: contain;
}

.wsev-sidebar__inner { display: flex; flex-direction: column; gap: 20px; }

.wsev-sidebar__profile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border-radius: var(--wsev-radius);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
}

.wsev-sidebar__avatar {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	flex-shrink: 0;
	border-radius: 12px;
	font-size: 17px;
	font-weight: 700;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
}

.wsev-sidebar__profile-name { margin: 0; font-weight: 600; font-size: 14px; color: var(--wsev-text); }
.wsev-sidebar__profile-email { margin: 2px 0 0; font-size: 12px; color: var(--wsev-text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }

.wsev-sidebar__section { display: flex; flex-direction: column; gap: 10px; }

.wsev-sidebar__label {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}

.wsev-sidebar__nav { display: flex; flex-direction: column; gap: 3px; }

.wsev-sidebar__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 13px;
	border-radius: 11px;
	text-decoration: none;
	color: var(--wsev-text-soft);
	font-size: 14px;
	font-weight: 500;
	border: 1px solid transparent;
	transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.wsev-sidebar__link:hover { background: var(--wsev-surface-3); color: var(--wsev-text); }

.wsev-sidebar__link.is-active {
	background: var(--wsev-accent-soft);
	color: var(--wsev-accent);
	border-color: var(--wsev-accent-ring);
	font-weight: 600;
}

.wsev-sidebar__link-icon { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; }
.wsev-sidebar__link-icon .wsev-icon { width: 19px; height: 19px; }
.wsev-sidebar__link-text { min-width: 0; }

.wsev-sidebar__link--logout { color: var(--wsev-text-faint); }
.wsev-sidebar__link--logout:hover { color: var(--wsev-invalid); background: var(--wsev-invalid-bg); }

.wsev-sidebar__card {
	padding: 16px;
	border-radius: var(--wsev-radius);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
}

.wsev-sidebar__card--credits {
	background:
		radial-gradient(120% 120% at 100% 0%, var(--wsev-accent-soft), transparent 60%),
		var(--wsev-surface);
	box-shadow: var(--wsev-shadow-sm), var(--wsev-glow);
}

.wsev-sidebar__card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }

.wsev-sidebar__credits {
	margin: 4px 0 6px;
	font-family: var(--wsev-font-display);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--wsev-text);
}

.wsev-sidebar__note { margin: 0; font-size: 12px; color: var(--wsev-text-faint); line-height: 1.45; }

.wsev-sidebar__admin-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 10px;
	padding: 9px 14px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
	text-decoration: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.wsev-sidebar__admin-link:hover {
	transform: translateY(-1px);
	background: color-mix(in srgb, var(--wsev-accent-soft) 70%, var(--wsev-accent) 14%);
	box-shadow: 0 6px 16px -8px var(--wsev-accent-ring);
}
.wsev-sidebar__admin-link:active { transform: translateY(0); }
.wsev-sidebar__admin-link:focus-visible { outline: 2px solid var(--wsev-accent); outline-offset: 2px; }

/* ============================================================
   7. SHARED PRIMITIVES (eyebrow, pill, section heads)
   ============================================================ */

.wsev-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wsev-accent);
}
.wsev-landing .wsev-eyebrow { margin: 0; }
.wsev-eyebrow--light { color: var(--wsev-accent); }

.wsev-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--wsev-text-soft);
	background: var(--wsev-surface-3);
	border: 1px solid var(--wsev-border);
}

.wsev-section-head h2 {
	margin: 0 0 10px;
	font-family: var(--wsev-font-display);
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--wsev-text);
}

.wsev-section-head p {
	margin: 0;
	max-width: 56ch;
	color: var(--wsev-text-soft);
	font-size: 16px;
	line-height: 1.6;
}

/* ============================================================
   8. HERO (landing)
   ============================================================ */

.wsev-hero {
	padding: clamp(8px, 2vw, 24px) 0 0;
}

.wsev-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(40px, 5vw, 56px);
	align-items: center;
}

.wsev-hero__title {
	margin: 0 0 18px;
	font-family: var(--wsev-font-display);
	font-size: clamp(38px, 5.4vw, 60px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: var(--wsev-text);
}

.wsev-hero__text {
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--wsev-text-soft);
	max-width: 30em;
}

.wsev-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.wsev-hero__highlights { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
/* Hero highlights with inline check icons */
.wsev-hero__highlights li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-left: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--wsev-text-soft);
}
.wsev-hero__highlights li::before { display: none; }
.wsev-hero__highlights .wsev-icon { width: 16px; height: 16px; color: var(--wsev-accent); flex-shrink: 0; }

/* Hero preview card */
.wsev-hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 360px;
}

.wsev-preview-card {
	width: 100%;
	max-width: 400px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-lg), var(--wsev-glow);
	overflow: hidden;
	transform: rotate(0.6deg);
	transition: transform 0.4s ease;
}
.wsev-preview-card:hover { transform: rotate(0deg) translateY(-4px); }

.wsev-preview-card__header {
	display: flex;
	gap: 7px;
	padding: 14px 18px;
	background: var(--wsev-surface-2);
	border-bottom: 1px solid var(--wsev-border);
}
.wsev-preview-card__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--wsev-border-strong); }
.wsev-preview-card__dot:first-child { background: #f0816f; }
.wsev-preview-card__dot:nth-child(2) { background: #f3c150; }
.wsev-preview-card__dot:nth-child(3) { background: var(--wsev-accent); }

.wsev-preview-card__body { position: relative; padding: 22px; }
.wsev-preview-card__body::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--wsev-accent), transparent);
	animation: wsev-scan 3.2s ease-in-out infinite;
	opacity: 0.7;
}

.wsev-preview-card__label {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}

.wsev-preview-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.wsev-preview-card__email { font-family: var(--wsev-font-mono); font-size: 14px; font-weight: 500; color: var(--wsev-text); }

.wsev-preview-card__checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.wsev-preview-card__checks li {
	position: relative;
	padding-left: 28px;
	font-size: 14px;
	color: var(--wsev-text-soft);
}
.wsev-preview-card__checks li.is-pass { color: var(--wsev-text); }
.wsev-preview-card__checks li.is-pass::before {
	content: "";
	position: absolute; left: 0; top: 1px;
	width: 19px; height: 19px;
	border-radius: 50%;
	background:
		var(--wsev-valid-bg)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8f63' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
		center / 12px no-repeat;
}
[data-wsev-theme="dark"] .wsev-preview-card__checks li.is-pass::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328d796' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ============================================================
   9. TRUST BAR
   ============================================================ */

.wsev-trust-bar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	border-radius: var(--wsev-radius-lg);
	overflow: hidden;
	background: var(--wsev-border);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
}
.wsev-trust-bar__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 26px 20px;
	min-height: 148px;
	background: var(--wsev-surface);
	text-align: center;
}
.wsev-trust-bar__item strong {
	font-family: var(--wsev-font-display);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--wsev-accent);
	line-height: 1.1;
}
.wsev-trust-bar__item span:last-child {
	display: block;
	font-size: 13px;
	color: var(--wsev-text-soft);
	line-height: 1.4;
	max-width: 12em;
}

/* ============================================================
   10. DEMO / FEATURES / STEPS / CTA (landing sections)
   ============================================================ */

.wsev-demo { margin: 0; }
.wsev-demo__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: var(--wsev-landing-col-gap);
	align-items: start;
}
.wsev-demo__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.wsev-demo__copy h2,
.wsev-demo__copy > p {
	margin: 0;
}
.wsev-demo__perks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
.wsev-demo__perks li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--wsev-text-soft);
}
.wsev-demo__perks .wsev-icon { width: 16px; height: 16px; color: var(--wsev-accent); flex-shrink: 0; }
.wsev-demo__form {
	width: 100%;
	min-width: 0;
	padding: 32px;
	border-radius: var(--wsev-radius-lg);
	background:
		radial-gradient(120% 120% at 100% 0%, var(--wsev-accent-soft), transparent 58%),
		var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-md), var(--wsev-glow);
}

.wsev-features { margin: 0; }

.wsev-feature-catalog {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 28px);
}

.wsev-feature-group {
	padding: 28px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
}

.wsev-feature-group__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 22px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wsev-hairline);
}

.wsev-feature-group__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
}

.wsev-feature-group__icon .wsev-icon { width: 24px; height: 24px; }

.wsev-feature-group__head h3 {
	margin: 0 0 6px;
	font-family: var(--wsev-font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--wsev-text);
}

.wsev-feature-group__head p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--wsev-text-soft);
}

.wsev-feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsev-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--wsev-radius-sm);
	background: var(--wsev-surface-2);
	border: 1px solid var(--wsev-border);
	min-height: 100%;
}

.wsev-feature-item__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
}

.wsev-feature-item__icon .wsev-icon { width: 18px; height: 18px; }

.wsev-feature-item__body { min-width: 0; }

.wsev-feature-item__body h4 {
	margin: 0 0 4px;
	font-family: var(--wsev-font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--wsev-text);
	line-height: 1.3;
}

.wsev-feature-item__body p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--wsev-text-soft);
}

.wsev-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.wsev-feature-card {
	padding: 28px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wsev-feature-card:hover { transform: translateY(-4px); box-shadow: var(--wsev-shadow-md); border-color: var(--wsev-border-strong); }

.wsev-feature-card__icon {
	display: grid;
	place-items: center;
	width: 50px; height: 50px;
	margin-bottom: 18px;
	border-radius: 14px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
}
.wsev-feature-card__icon .wsev-icon { width: 24px; height: 24px; }
.wsev-feature-card h3 { margin: 0 0 8px; font-family: var(--wsev-font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--wsev-text); }
.wsev-feature-card p { margin: 0; color: var(--wsev-text-soft); font-size: 14.5px; line-height: 1.55; }

.wsev-steps { margin: 0; }
.wsev-steps__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.5vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
	align-items: stretch;
}

.wsev-step-card {
	position: relative;
	padding: 28px 28px 28px 28px;
	padding-right: 76px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface-2);
	border: 1px solid var(--wsev-border);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.wsev-step-card__num {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	margin-bottom: 16px;
	border-radius: 12px;
	font-family: var(--wsev-font-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
}
.wsev-step-card h3 { margin: 0 0 8px; font-family: var(--wsev-font-display); font-size: 18px; font-weight: 600; color: var(--wsev-text); }
.wsev-step-card p { margin: 0; color: var(--wsev-text-soft); font-size: 14.5px; line-height: 1.55; }

/* Integrations strip — see landing visual enhancements for card grid */
.wsev-integrations { margin: 0; }

.wsev-cta { margin: 0; }
.wsev-cta__inner {
	position: relative;
	padding: 56px 40px;
	border-radius: var(--wsev-radius-xl);
	text-align: center;
	overflow: hidden;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	box-shadow: var(--wsev-shadow-lg);
	width: 100%;
}
.wsev-cta__inner::before {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px);
	background-size: 22px 22px;
	opacity: 0.5;
}
.wsev-cta__inner > * { position: relative; }
.wsev-cta__inner h2 {
	margin: 0 0 10px;
	font-family: var(--wsev-font-display);
	font-size: clamp(26px, 3.6vw, 38px);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #fff;
}
.wsev-cta__inner p { margin: 0 0 26px; font-size: 16px; color: rgba(255, 255, 255, 0.92); }
.wsev-cta .wsev-button--primary {
	color: var(--wsev-accent);
	background: linear-gradient(180deg, #ffffff, #f4f6f3);
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.12),
		0 12px 28px -8px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1.5px 0 rgba(0, 0, 0, 0.06);
}
.wsev-cta .wsev-button--primary::before { background: linear-gradient(115deg, transparent 18%, rgba(11, 143, 99, 0.10) 48%, transparent 78%); }
.wsev-cta .wsev-button--primary:hover {
	background: linear-gradient(180deg, #ffffff, #eef1ed);
	transform: translateY(-2px);
	box-shadow:
		0 3px 6px rgba(0, 0, 0, 0.14),
		0 20px 40px -10px rgba(0, 0, 0, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1.5px 0 rgba(0, 0, 0, 0.06);
}
.wsev-cta .wsev-button--primary:active {
	transform: translateY(0);
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.wsev-cta .wsev-button--primary:focus-visible { outline-color: #fff; }

/* ============================================================
   11. AUTH (login / register)
   ============================================================ */

.wsev-auth { padding: 24px 0 60px; }

.wsev-auth__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	width: 100%;
	border-radius: var(--wsev-radius-xl);
	overflow: hidden;
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-lg);
}

.wsev-auth__brand {
	position: relative;
	padding: 48px 44px;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	overflow: hidden;
}
.wsev-auth__brand::before {
	content: "";
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
	background-size: 22px 22px;
	opacity: 0.45;
}
.wsev-auth__brand > * { position: relative; }
.wsev-auth__brand .wsev-eyebrow { color: rgba(255, 255, 255, 0.85); }
.wsev-auth__brand h2 {
	margin: 0 0 14px;
	font-family: var(--wsev-font-display);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #fff;
}
.wsev-auth__brand > p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.9); font-size: 15.5px; line-height: 1.6; }

.wsev-auth__benefits { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.wsev-auth__benefits li {
	position: relative;
	padding-left: 28px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.95);
}
.wsev-auth__benefits li::before {
	content: "";
	position: absolute; left: 0; top: 2px;
	width: 18px; height: 18px;
	border-radius: 50%;
	background:
		rgba(255, 255, 255, 0.2)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
		center / 11px no-repeat;
}

.wsev-auth__card { padding: 44px; background: var(--wsev-surface); }
.wsev-auth__card-head { margin-bottom: 24px; }
.wsev-auth__card-head h1 {
	margin: 0 0 6px;
	font-family: var(--wsev-font-display);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--wsev-text);
}
.wsev-auth__card-head p { margin: 0; color: var(--wsev-text-soft); font-size: 14.5px; }

.wsev-auth__footer { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--wsev-text-soft); }
.wsev-auth__footer a { color: var(--wsev-accent); font-weight: 600; text-decoration: none; }
.wsev-auth__footer a:hover { text-decoration: underline; }

.wsev-auth__note {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--wsev-text-soft);
}

.wsev-auth-form__body { display: flex; flex-direction: column; gap: 0; }

.wsev-auth-form .wsev-form__group { margin-bottom: 18px; }
.wsev-auth-form .wsev-form__group .wsev-form__label { margin-top: 0; margin-bottom: 0; }

.wsev-auth-form__section {
	margin: 0 0 14px;
	font-family: var(--wsev-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wsev-text-soft);
}
.wsev-auth-form__section:not(:first-child) {
	margin-top: 6px;
	padding-top: 22px;
	border-top: 1px solid var(--wsev-border);
}

.wsev-auth-form__plan {
	margin: 0 0 20px;
}

.wsev-auth-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}
.wsev-auth-form__row .wsev-form__group { margin-bottom: 0; }

.wsev-auth-form__options { margin: -4px 0 0; }
.wsev-auth-form__options .wsev-form__checkbox { margin-top: 0; }

.wsev-auth-form__actions {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--wsev-border);
}
.wsev-auth-form__actions .wsev-button { margin-top: 0; }

.wsev-form__hint {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--wsev-text-faint);
}

@media (max-width: 560px) {
	.wsev-auth-form__row { grid-template-columns: 1fr; gap: 0; }
	.wsev-auth-form__row .wsev-form__group { margin-bottom: 18px; }
	.wsev-auth-form__row .wsev-form__group:last-child { margin-bottom: 0; }
}

/* ============================================================
   12. FORMS + ALERTS
   ============================================================ */

.wsev-form { display: flex; flex-direction: column; }

.wsev-form__label {
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wsev-text);
}
.wsev-form__label:not(:first-child) { margin-top: 16px; }

.wsev-form__input {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--wsev-border-strong);
	border-radius: var(--wsev-radius-sm);
	background: var(--wsev-surface-2);
	color: var(--wsev-text);
	font-family: var(--wsev-font-body);
	font-size: 14.5px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.wsev-form__input::placeholder { color: var(--wsev-text-faint); }
.wsev-form__input:focus {
	outline: none;
	border-color: var(--wsev-accent);
	background: var(--wsev-surface);
	box-shadow: 0 0 0 4px var(--wsev-accent-soft);
}

/* Verify panel — clean stacked layout */
.wsev-panel--highlight .wsev-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.wsev-panel--highlight .wsev-form .wsev-form__label {
	margin-bottom: 8px;
}

.wsev-panel--highlight .wsev-form .wsev-form__input {
	width: 100%;
}

.wsev-panel--highlight .wsev-form .wsev-button {
	margin-top: 16px !important;
	width: 100% !important;
	align-self: stretch;
}

.wsev-form__checkbox {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 16px;
	font-size: 13.5px;
	color: var(--wsev-text-soft);
	cursor: pointer;
}
.wsev-form__checkbox input {
	width: 17px; height: 17px;
	accent-color: var(--wsev-accent);
	cursor: pointer;
}

.wsev-form .wsev-button { margin-top: 22px; }

.wsev-alert {
	padding: 12px 15px;
	margin-bottom: 18px;
	border-radius: var(--wsev-radius-sm);
	font-size: 14px;
	border: 1px solid transparent;
}
.wsev-alert--error {
	color: var(--wsev-invalid-text);
	background: var(--wsev-invalid-bg);
	border-color: color-mix(in srgb, var(--wsev-invalid) 35%, transparent);
}

/* Inline message (React) */
.wsev-message {
	padding: 12px 15px;
	border-radius: var(--wsev-radius-sm);
	font-size: 14px;
	border: 1px solid transparent;
}
.wsev-message--success { color: var(--wsev-valid-text); background: var(--wsev-valid-bg); border-color: color-mix(in srgb, var(--wsev-valid) 35%, transparent); }
.wsev-message--error { color: var(--wsev-invalid-text); background: var(--wsev-invalid-bg); border-color: color-mix(in srgb, var(--wsev-invalid) 35%, transparent); }

/* ============================================================
   13. APP PAGES (React shell)
   ============================================================ */

.wsev-app { min-width: 0; }
.wsev-customer-app { min-width: 0; }

.wsev-page-title { margin-bottom: 28px; }
.wsev-page-title__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wsev-accent);
}
.wsev-page-title__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wsev-page-title h1 {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--wsev-text);
}

/* Panels */
.wsev-panel {
	margin-bottom: 24px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	overflow: hidden;
}
.wsev-panel--highlight {
	background:
		radial-gradient(140% 120% at 100% 0%, var(--wsev-accent-soft), transparent 55%),
		var(--wsev-surface);
	border-color: var(--wsev-accent-ring);
	box-shadow: var(--wsev-shadow-md), var(--wsev-glow);
}
.wsev-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 20px 24px;
	border-bottom: 1px solid var(--wsev-border);
}
.wsev-panel__header h2, .wsev-panel__header h3 {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--wsev-text);
}
.wsev-panel__body { padding: 24px; }

/* Stats grid */
.wsev-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.wsev-stat-card {
	position: relative;
	padding: 22px;
	border-radius: var(--wsev-radius);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	overflow: hidden;
}
.wsev-stat-card::before {
	content: "";
	position: absolute; left: 0; top: 0; bottom: 0;
	width: 3px;
	background: var(--wsev-border-strong);
}
.wsev-stat-card--valid::before { background: var(--wsev-valid); }
.wsev-stat-card--invalid::before { background: var(--wsev-invalid); }
.wsev-stat-card--credits::before { background: var(--wsev-accent); }

.wsev-stat-card__label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}
.wsev-stat-card__value {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--wsev-text);
	line-height: 1;
}
.wsev-stat-card--valid .wsev-stat-card__value { color: var(--wsev-valid); }
.wsev-stat-card--invalid .wsev-stat-card__value { color: var(--wsev-invalid); }

/* Tables */
.wsev-table-wrap {
	border-radius: var(--wsev-radius);
	border: 1px solid var(--wsev-border);
	overflow: hidden;
	overflow-x: auto;
}
.wsev-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.wsev-table thead th {
	padding: 13px 18px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
	background: var(--wsev-surface-2);
	border-bottom: 1px solid var(--wsev-border);
	white-space: nowrap;
}
.wsev-table tbody td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--wsev-hairline);
	color: var(--wsev-text);
	vertical-align: middle;
}
.wsev-table tbody tr:last-child td { border-bottom: none; }
.wsev-table tbody tr { transition: background 0.12s ease; }
.wsev-table tbody tr:hover { background: var(--wsev-surface-2); }
.wsev-table td .wsev-customer-email,
.wsev-customer-email { font-family: var(--wsev-font-mono); font-size: 13px; }

/* Badges */
.wsev-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
	border: 1px solid transparent;
	white-space: nowrap;
}
.wsev-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wsev-badge--valid { color: var(--wsev-valid-text); background: var(--wsev-valid-bg); border-color: color-mix(in srgb, var(--wsev-valid) 30%, transparent); }
.wsev-badge--invalid { color: var(--wsev-invalid-text); background: var(--wsev-invalid-bg); border-color: color-mix(in srgb, var(--wsev-invalid) 30%, transparent); }

/* Plan badges */
.wsev-plan-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}
.wsev-plan-badge--free { color: var(--wsev-text-soft); background: var(--wsev-surface-3); border: 1px solid var(--wsev-border); }
.wsev-plan-badge--pro { color: var(--wsev-on-accent); background: var(--wsev-accent-grad); box-shadow: 0 4px 12px var(--wsev-accent-ring); }
.wsev-plan-badge--bronze { color: #7c4a1e; background: linear-gradient(135deg, #f5e6d3, #e8c9a0); border: 1px solid #d4a574; }
.wsev-plan-badge--silver { color: #3d4852; background: linear-gradient(135deg, #f0f2f5, #c8d0d8); border: 1px solid #a8b4c0; }
.wsev-plan-badge--gold,
.wsev-plan-badge--50kt,
.wsev-plan-badge--100kt,
.wsev-plan-badge--500kt,
.wsev-plan-badge--1mt { color: #7a5c00; background: linear-gradient(135deg, #fff4cc, #ffd966); border: 1px solid #e6b800; box-shadow: 0 4px 12px rgba(230, 184, 0, 0.25); }

.wsev-tier-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.wsev-tier-badges--compact {
	gap: 6px;
}

.wsev-tier-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 6px 10px 7px;
	min-width: 72px;
	border-radius: 12px;
	line-height: 1.1;
	text-transform: none;
	letter-spacing: 0;
}

.wsev-tier-badge__tier {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.82;
}

.wsev-tier-badge__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.wsev-tier-badge.is-inactive,
.wsev-tier-badge--inactive {
	color: var(--wsev-text-soft) !important;
	background: var(--wsev-surface-3) !important;
	border: 1px dashed var(--wsev-border-strong) !important;
	box-shadow: none !important;
}

.wsev-tier-badge.is-inactive .wsev-tier-badge__label {
	font-weight: 600;
	text-transform: none;
}

.wsev-page-title__row .wsev-tier-badges {
	margin-left: auto;
	justify-content: flex-end;
}

.wsev-upgrade__current .wsev-tier-badges,
.wsev-dashboard-premium__hero .wsev-tier-badges {
	margin-top: 4px;
}

@media (max-width: 760px) {
	.wsev-page-title__row {
		flex-direction: column;
		align-items: flex-start;
	}

	.wsev-page-title__row .wsev-tier-badges {
		margin-left: 0;
		justify-content: flex-start;
	}
}

/* Code blocks + API key */
.wsev-code-block {
	padding: 16px 18px;
	border-radius: var(--wsev-radius-sm);
	background: var(--wsev-surface-3);
	border: 1px solid var(--wsev-border);
	font-family: var(--wsev-font-mono);
	font-size: 13px;
	line-height: 1.6;
	color: var(--wsev-text);
	overflow-x: auto;
	white-space: pre;
}
[data-wsev-theme="dark"] .wsev-code-block { background: #0a0c07; }

.wsev-api-key-display {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 14px 16px;
	border-radius: var(--wsev-radius-sm);
	background: var(--wsev-surface-3);
	border: 1px dashed var(--wsev-border-strong);
	font-family: var(--wsev-font-mono);
	font-size: 13px;
	color: var(--wsev-text);
	word-break: break-all;
}
.wsev-key-label { font-weight: 600; }
.wsev-api-usage { font-size: 13px; color: var(--wsev-text-soft); }

/* Account grid */
.wsev-account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.wsev-account-field { display: flex; flex-direction: column; gap: 5px; }
.wsev-account-field > span:first-child,
.wsev-account-field .wsev-account-field__label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}
.wsev-account-field strong { font-size: 15px; font-weight: 600; color: var(--wsev-text); }

/* ============================================================
   Account page — redesigned
   ============================================================ */
.wsev-account { display: flex; flex-direction: column; gap: 22px; }

/* Hero */
.wsev-account-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 30px 32px;
	border-radius: var(--wsev-radius-lg);
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface);
	box-shadow: var(--wsev-shadow-md);
}
.wsev-account-hero__glow {
	position: absolute;
	inset: -40% -10% auto auto;
	width: 360px;
	height: 360px;
	background: var(--wsev-accent-grad);
	filter: blur(90px);
	opacity: 0.16;
	pointer-events: none;
}
.wsev-account-hero__main { position: relative; display: flex; align-items: center; gap: 20px; min-width: 0; }
.wsev-account-avatar {
	flex: none;
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	border-radius: 20px;
	font-family: var(--wsev-font-display);
	font-size: 28px;
	font-weight: 700;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	box-shadow: 0 8px 22px var(--wsev-accent-ring);
}
.wsev-account-hero__id { min-width: 0; }
.wsev-account-hero__eyebrow {
	margin: 0 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}
.wsev-account-hero__name {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--wsev-text);
}
.wsev-account-hero__email {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--wsev-text-soft);
	word-break: break-all;
}
.wsev-account-hero__meta {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	text-align: right;
}
.wsev-account-hero__since { font-size: 12px; color: var(--wsev-text-faint); }

/* Overview: credits spotlight + meta grid */
.wsev-account-overview {
	display: grid;
	grid-template-columns: minmax(240px, 0.9fr) 1.4fr;
	gap: 18px;
}
.wsev-account-credits {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: 26px 28px;
	border-radius: var(--wsev-radius-lg);
	border: 1px solid var(--wsev-accent-ring);
	background:
		radial-gradient(120% 120% at 0% 0%, var(--wsev-accent-soft), transparent 60%),
		var(--wsev-surface);
	box-shadow: var(--wsev-shadow-sm);
}
.wsev-account-credits__label {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wsev-accent);
}
.wsev-account-credits__value {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: clamp(34px, 5vw, 46px);
	font-weight: 800;
	line-height: 1;
	color: var(--wsev-text);
}
.wsev-account-credits__hint { margin: 4px 0 0; font-size: 13px; color: var(--wsev-text-soft); }

.wsev-account-meta-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.wsev-account-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border-radius: var(--wsev-radius);
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface-2);
	transition: border-color 0.18s ease, transform 0.18s ease;
}
.wsev-account-meta:hover { border-color: var(--wsev-border-strong); transform: translateY(-2px); }
.wsev-account-meta__k {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}
.wsev-account-meta__v {
	font-family: var(--wsev-font-display);
	font-size: 20px;
	font-weight: 700;
	color: var(--wsev-text);
}

/* Upsell */
.wsev-account-upsell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px 26px;
	border-radius: var(--wsev-radius-lg);
	border: 1px dashed var(--wsev-accent-ring);
	background: var(--wsev-accent-soft);
}
.wsev-account-upsell__copy h3 {
	margin: 0 0 4px;
	font-family: var(--wsev-font-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--wsev-text);
}
.wsev-account-upsell__copy p { margin: 0; font-size: 13px; color: var(--wsev-text-soft); }
.wsev-account-upsell__badge {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	box-shadow: 0 4px 12px var(--wsev-accent-ring);
}

@media (max-width: 720px) {
	.wsev-account-overview { grid-template-columns: 1fr; }
	.wsev-account-hero { padding: 24px; }
	.wsev-account-hero__meta { align-items: flex-start; text-align: left; }
}
@media (max-width: 420px) {
	.wsev-account-meta-grid { grid-template-columns: 1fr; }
}

/* Account editing form */
.wsev-account-form { margin-top: 4px; }
.wsev-form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wsev-form__group:last-child { margin-bottom: 0; }
.wsev-account-form__section {
	margin: 22px 0 4px;
	padding-top: 18px;
	border-top: 1px solid var(--wsev-border);
	font-family: var(--wsev-font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--wsev-text);
}
.wsev-account-form__section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.wsev-account-form__hint { margin: 0 0 14px; font-size: 13px; color: var(--wsev-text-faint); }
.wsev-account-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.wsev-account-form__actions {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--wsev-border);
	display: flex;
	justify-content: flex-end;
}
@media (max-width: 560px) {
	.wsev-account-form__row { grid-template-columns: 1fr; }
	.wsev-account-form__actions { justify-content: stretch; }
	.wsev-account-form__actions .wsev-button { width: 100%; }
}

/* ============================================================
   Email Scoring page
   ============================================================ */
.wsev-score-result { margin-top: 18px; }

.wsev-score-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
}

/* Circular score gauge */
.wsev-score-gauge {
	position: relative;
	flex: none;
	width: 150px;
	height: 150px;
	--wsev-score-color: var(--wsev-text-faint);
}
.wsev-score-gauge__svg { width: 100%; height: 100%; display: block; }
.wsev-score-gauge__track { stroke: var(--wsev-surface-3); }
.wsev-score-gauge__bar {
	stroke: var(--wsev-score-color);
	transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.3s ease;
	filter: drop-shadow(0 0 5px color-mix(in srgb, var(--wsev-score-color) 40%, transparent));
}
.wsev-score-gauge__center {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
}
.wsev-score-gauge__num {
	font-family: var(--wsev-font-display);
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	color: var(--wsev-text);
}
.wsev-score-gauge__max { font-size: 12px; color: var(--wsev-text-faint); }

/* Details column */
.wsev-score-meta { flex: 1 1 240px; min-width: 0; }
.wsev-score-meta__row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.wsev-score-grade {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	font-family: var(--wsev-font-display);
	font-size: 18px;
	font-weight: 800;
	color: var(--wsev-on-accent);
	background: var(--wsev-score-color, var(--wsev-text-faint));
	box-shadow: 0 4px 12px color-mix(in srgb, var(--wsev-score-color) 36%, transparent);
}
.wsev-score-class {
	font-family: var(--wsev-font-display);
	font-size: 19px;
	font-weight: 700;
	text-transform: capitalize;
	color: var(--wsev-text);
}
.wsev-score-email {
	margin: 0 0 6px;
	font-family: var(--wsev-font-mono);
	font-size: 13px;
	color: var(--wsev-text-soft);
	word-break: break-all;
}
.wsev-score-message { margin: 0 0 12px; font-size: 14px; color: var(--wsev-text-soft); }

.wsev-score-flags { display: flex; flex-wrap: wrap; gap: 8px; }
.wsev-score-flag {
	display: inline-flex;
	align-items: center;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--wsev-warn-text);
	background: var(--wsev-warn-bg);
	border: 1px solid color-mix(in srgb, var(--wsev-warn) 30%, transparent);
}
.wsev-score-noflags { margin: 0; font-size: 13px; color: var(--wsev-valid-text); }

/* Grade colour mapping — drives gauge bar, grade tile, and shadows. */
.wsev-score-grade--deliverable   { --wsev-score-color: var(--wsev-valid); }
.wsev-score-grade--risky         { --wsev-score-color: var(--wsev-warn); }
.wsev-score-grade--undeliverable { --wsev-score-color: var(--wsev-invalid); }
.wsev-score-grade--unknown       { --wsev-score-color: var(--wsev-text-faint); }

/* Per-user scored-emails history */
.wsev-score-history { margin: 0; }
.wsev-score-history__num {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--wsev-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--wsev-text);
}
.wsev-score-history__num small { font-size: 11px; font-weight: 500; color: var(--wsev-text-faint); }
.wsev-score-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: color-mix(in srgb, var(--wsev-score-color) 82%, #000 18%);
	background: color-mix(in srgb, var(--wsev-score-color) 16%, transparent);
	border: 1px solid color-mix(in srgb, var(--wsev-score-color) 32%, transparent);
}
.wsev-score-pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wsev-score-color);
}

@media (max-width: 560px) {
	.wsev-score-body { gap: 18px; }
	.wsev-score-gauge { width: 124px; height: 124px; }
	.wsev-score-gauge__num { font-size: 32px; }
}

/* Bulk */
.wsev-bulk-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wsev-bulk-hint { font-size: 13px; color: var(--wsev-text-faint); margin: 10px 0 0; }
.wsev-bulk-format {
	margin: 18px 0 22px;
	padding: 16px 18px;
	border-radius: var(--wsev-radius-md, 12px);
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface-2);
}
.wsev-bulk-format__title {
	margin: 0 0 10px;
	font-family: var(--wsev-font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--wsev-text);
}
.wsev-bulk-format__list {
	margin: 0 0 14px;
	padding-left: 20px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--wsev-text-soft);
}
.wsev-bulk-format__list li + li { margin-top: 6px; }
.wsev-bulk-format__example {
	display: grid;
	gap: 8px;
}
.wsev-bulk-format__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}
.wsev-bulk-format__example pre {
	margin: 0;
	padding: 12px 14px;
	border-radius: var(--wsev-radius-sm, 8px);
	border: 1px dashed var(--wsev-border);
	background: var(--wsev-surface-3);
	font-family: var(--wsev-font-mono, monospace);
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--wsev-text);
	white-space: pre-wrap;
	overflow-x: auto;
}

.wsev-bulk-format__download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
	padding: 10px 16px;
	border-radius: var(--wsev-radius-sm, 8px);
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface-1);
	color: var(--wsev-text);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.wsev-bulk-format__download:hover {
	border-color: var(--wsev-accent);
	background: var(--wsev-surface-2);
	color: var(--wsev-text);
}

/* Empty / loading */
.wsev-empty {
	padding: 48px 24px;
	text-align: center;
	color: var(--wsev-text-faint);
	font-size: 14.5px;
}
.wsev-empty--loading { position: relative; }
.wsev-empty--loading::before {
	content: "";
	display: block;
	width: 30px; height: 30px;
	margin: 0 auto 16px;
	border-radius: 50%;
	border: 3px solid var(--wsev-border);
	border-top-color: var(--wsev-accent);
	animation: wsev-spin 0.8s linear infinite;
}

/* Generic page/title/message fallbacks */
.wsev-page { min-width: 0; }
.wsev-full-width { grid-column: 1 / -1; }

/* ============================================================
   14. FOOTER (site credit)
   ============================================================ */

.wsev-footer {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	margin-top: auto;
	padding: 28px 0 36px;
	border-top: 1px solid var(--wsev-hairline);
	background: color-mix(in srgb, var(--wsev-bg) 90%, var(--wsev-surface));
}

.wsev-footer__inner {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	text-align: center;
}

.wsev-credit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wsev-text-soft);
	background: color-mix(in srgb, var(--wsev-surface) 92%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
}

.wsev-credit a {
	color: var(--wsev-accent);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.16s ease;
}

.wsev-credit a:hover {
	color: var(--wsev-accent-press);
	text-decoration: underline;
}

.wsev-credit__icon {
	display: grid;
	place-items: center;
	color: var(--wsev-accent);
	flex-shrink: 0;
}

.wsev-credit__icon .wsev-icon { width: 16px; height: 16px; }

/* ============================================================
   15. ICONS + ANIMATIONS
   ============================================================ */

.wsev-icon { display: block; width: 100%; height: 100%; }

@keyframes wsev-scan {
	0%, 100% { transform: translateY(0); opacity: 0; }
	8% { opacity: 0.7; }
	50% { transform: translateY(180px); opacity: 0.7; }
	60% { opacity: 0; }
}
@keyframes wsev-spin { to { transform: rotate(360deg); } }
@keyframes wsev-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

.wsev-shell--landing .wsev-hero__copy > *,
.wsev-shell--landing .wsev-hero__visual {
	animation: wsev-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.wsev-shell--landing .wsev-hero__copy > *:nth-child(1) { animation-delay: 0.02s; }
.wsev-shell--landing .wsev-hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.wsev-shell--landing .wsev-hero__copy > *:nth-child(3) { animation-delay: 0.14s; }
.wsev-shell--landing .wsev-hero__copy > *:nth-child(4) { animation-delay: 0.2s; }
.wsev-shell--landing .wsev-hero__copy > *:nth-child(5) { animation-delay: 0.26s; }
.wsev-shell--landing .wsev-hero__visual { animation-delay: 0.18s; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	.wsev-shell *, .wsev-shell *::before, .wsev-shell *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* ============================================================
   15b. LANDING — FEATURE SHOWCASE ENHANCEMENTS
   ============================================================ */

/* Animated eyebrow dot */
.wsev-eyebrow__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wsev-accent);
	box-shadow: 0 0 0 0 var(--wsev-accent-ring);
	animation: wsev-dot-pulse 2.4s ease-in-out infinite;
}
.wsev-section-head--center .wsev-eyebrow { justify-content: center; }

@keyframes wsev-dot-pulse {
	0%, 100% { box-shadow: 0 0 0 0 var(--wsev-accent-ring); }
	50% { box-shadow: 0 0 0 6px transparent; }
}

/* Scroll-triggered reveal (progressively enhanced; visible by default) */
.wsev-shell.wsev-js-reveal .wsev-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
.wsev-shell.wsev-js-reveal .wsev-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
/* Stagger children inside revealed grids */
.wsev-feature-grid .wsev-reveal.is-visible { transition-delay: calc(var(--i, 0) * 0.07s); }
.wsev-feature-list .wsev-reveal.is-visible { transition-delay: calc(var(--i, 0) * 0.04s); }
.wsev-integration-grid .wsev-reveal.is-visible { transition-delay: calc(var(--i, 0) * 0.05s); }
.wsev-trust-bar .wsev-reveal.is-visible { transition-delay: calc(var(--i, 0) * 0.06s); }

/* Hero aurora glow */
.wsev-hero--landing { position: relative; overflow: hidden; }
.wsev-hero__aurora {
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 460px;
	pointer-events: none;
	background:
		radial-gradient(40% 60% at 22% 30%, var(--wsev-accent-soft), transparent 70%),
		radial-gradient(36% 56% at 80% 20%, rgba(40, 215, 150, 0.10), transparent 70%);
	filter: blur(6px);
	z-index: 0;
	animation: wsev-aurora-drift 16s ease-in-out infinite alternate;
}
.wsev-hero--landing .wsev-hero__grid { position: relative; z-index: 1; }

@keyframes wsev-aurora-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(0, 18px, 0) scale(1.06); }
}

/* Floating preview card + check reveal + score meter */
.wsev-preview-card--float { animation: wsev-float 6s ease-in-out infinite; }
@keyframes wsev-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}
.wsev-preview-card__checks li {
	opacity: 0;
	animation: wsev-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--d, 0s);
}
.wsev-preview-card__score {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--wsev-hairline);
}
.wsev-preview-card__score-label { font-size: 12px; color: var(--wsev-text-soft); white-space: nowrap; }
.wsev-preview-card__score-bar {
	position: relative;
	flex: 1;
	height: 8px;
	border-radius: 999px;
	background: var(--wsev-surface-3);
	overflow: hidden;
}
.wsev-preview-card__score-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	border-radius: 999px;
	background: var(--wsev-accent-grad);
	animation: wsev-score-fill 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}
@keyframes wsev-score-fill { to { width: 94%; } }
.wsev-preview-card__score-grade {
	font-family: var(--wsev-font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--wsev-valid);
}

/* Feature card icon micro-interaction */
.wsev-feature-card__icon { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease; }
.wsev-feature-card:hover .wsev-feature-card__icon {
	transform: translateY(-2px) rotate(-4deg) scale(1.06);
	background: var(--wsev-accent);
	color: var(--wsev-on-accent);
}

/* ---- Checks deep-dive section ---- */
.wsev-checks { margin: 0; }
.wsev-checks__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: var(--wsev-landing-col-gap);
	align-items: start;
}
.wsev-checks__copy,
.wsev-checks__visual {
	min-width: 0;
}
.wsev-checks__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.wsev-checks__copy h2,
.wsev-checks__lead {
	margin: 0;
}
.wsev-checks__list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 20px;
}
.wsev-checks__list li { display: flex; gap: 14px; align-items: flex-start; }
.wsev-checks__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 42px; height: 42px;
	border-radius: 12px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
}
.wsev-checks__icon .wsev-icon { width: 20px; height: 20px; }
.wsev-checks__list h3 { margin: 0 0 3px; font-family: var(--wsev-font-display); font-size: 16px; font-weight: 600; color: var(--wsev-text); }
.wsev-checks__list p { margin: 0; color: var(--wsev-text-soft); font-size: 14px; line-height: 1.5; }

/* Pipeline visual */
.wsev-pipeline {
	display: grid;
	gap: 12px;
	padding: 28px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-md);
	position: relative;
}
.wsev-pipeline::before {
	content: "";
	position: absolute;
	left: 47px; top: 44px; bottom: 70px;
	width: 2px;
	background: linear-gradient(var(--wsev-accent-ring), transparent);
}
.wsev-pipeline__step {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border-radius: var(--wsev-radius-sm);
	background: var(--wsev-surface-2);
	border: 1px solid var(--wsev-border);
	opacity: 0;
	transform: translateX(-10px);
	animation: wsev-pipe-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--d, 0s);
	position: relative;
	z-index: 1;
}
.wsev-pipeline__tick {
	display: grid;
	place-items: center;
	width: 26px; height: 26px;
	flex-shrink: 0;
	border-radius: 50%;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
}
.wsev-pipeline__tick .wsev-icon { width: 15px; height: 15px; }
.wsev-pipeline__label { font-size: 14px; font-weight: 500; color: var(--wsev-text); }
.wsev-pipeline__result {
	margin-top: 4px;
	text-align: center;
	opacity: 0;
	animation: wsev-fade-up 0.5s ease forwards;
	animation-delay: var(--d, 0s);
}
@keyframes wsev-pipe-in {
	to { opacity: 1; transform: translateX(0); }
}

/* ---- Hero decorative scene ---- */
.wsev-hero-scene {
	position: absolute;
	inset: 50% auto auto 50%;
	width: min(340px, 92%);
	height: min(340px, 92%);
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 0;
	color: var(--wsev-accent);
	opacity: 0.45;
}
.wsev-hero__visual .wsev-preview-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 400px;
}
.wsev-hero-scene__svg {
	width: 100%;
	height: 100%;
	animation: wsev-float 8s ease-in-out infinite;
}
.wsev-hero-scene__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	opacity: 0.45;
	animation: wsev-orb-drift 12s ease-in-out infinite alternate;
}
.wsev-hero-scene__orb--1 {
	width: 120px; height: 120px;
	top: 10%; left: 5%;
	background: var(--wsev-accent-soft);
}
.wsev-hero-scene__orb--2 {
	width: 90px; height: 90px;
	bottom: 15%; right: 10%;
	background: rgba(40, 215, 150, 0.18);
	animation-delay: -4s;
}
.wsev-hero-scene__orb--3 {
	width: 60px; height: 60px;
	top: 45%; left: 40%;
	background: var(--wsev-accent-ring);
	animation-delay: -2s;
}
.wsev-hero-scene__check {
	stroke-dasharray: 60;
	stroke-dashoffset: 60;
	animation: wsev-check-draw 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
.wsev-hero-scene__pulse-ring {
	transform-origin: 269px 191px;
	animation: wsev-ring-pulse 2.4s ease-in-out infinite;
}
@keyframes wsev-orb-drift {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(12px, -16px, 0); }
}
@keyframes wsev-check-draw { to { stroke-dashoffset: 0; } }
@keyframes wsev-ring-pulse {
	0%, 100% { opacity: 0.35; transform: scale(1); }
	50% { opacity: 0.7; transform: scale(1.08); }
}

/* ---- Trust bar icons + counter ---- */
.wsev-trust-bar__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	border-radius: 12px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.wsev-trust-bar__icon .wsev-icon { width: 22px; height: 22px; }
.wsev-trust-bar__item:hover .wsev-trust-bar__icon {
	transform: translateY(-3px) rotate(-4deg) scale(1.06);
	background: var(--wsev-accent);
	color: var(--wsev-on-accent);
}
.wsev-trust-bar__item--animate strong {
	display: block;
	min-height: 1.2em;
}

/* ---- Demo visual illustration ---- */
.wsev-demo-visual {
	margin-top: 16px;
	max-width: 100%;
	width: 100%;
}
.wsev-demo-visual__svg {
	width: 100%;
	height: auto;
	color: var(--wsev-accent);
}
.wsev-demo-visual__bar {
	transform-origin: left center;
	transform: scaleX(0);
	animation: wsev-bar-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.wsev-demo-visual__bar--1 { animation-delay: 0.3s; }
.wsev-demo-visual__bar--2 { animation-delay: 0.5s; }
.wsev-demo-visual__bar--3 { animation-delay: 0.7s; }
.wsev-demo-visual__pulse {
	transform-origin: 252px 98px;
	animation: wsev-demo-pulse 2s ease-in-out infinite;
}
.wsev-demo-visual__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
.wsev-demo-visual__tags li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--wsev-text-soft);
	background: var(--wsev-surface-2);
	border: 1px solid var(--wsev-border);
}
.wsev-demo-visual__tag-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wsev-accent);
	animation: wsev-dot-pulse 2.4s ease-in-out infinite;
}
.wsev-demo-visual__tags li:nth-child(2) .wsev-demo-visual__tag-dot { animation-delay: 0.4s; }
.wsev-demo-visual__tags li:nth-child(3) .wsev-demo-visual__tag-dot { animation-delay: 0.8s; }
@keyframes wsev-bar-grow { to { transform: scaleX(1); } }
@keyframes wsev-demo-pulse {
	0%, 100% { transform: scale(1); opacity: 0.12; }
	50% { transform: scale(1.15); opacity: 0.22; }
}

.wsev-demo__form--animated {
	position: relative;
	animation: wsev-float 7s ease-in-out infinite;
}
.wsev-demo__form-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
}
.wsev-demo__form-badge .wsev-icon { width: 15px; height: 15px; }

/* ---- Integration cards ---- */
.wsev-integration-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 20px);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wsev-integration-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px 16px;
	border-radius: var(--wsev-radius-lg);
	text-align: center;
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.wsev-integration-card:hover {
	transform: translateY(-5px);
	border-color: var(--wsev-accent-ring);
	box-shadow: var(--wsev-shadow-md);
}
.wsev-integration-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.wsev-integration-card__icon .wsev-icon { width: 24px; height: 24px; }
.wsev-integration-card:hover .wsev-integration-card__icon {
	transform: scale(1.08) rotate(-6deg);
	background: var(--wsev-accent);
	color: var(--wsev-on-accent);
}
.wsev-integration-card__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--wsev-text-soft);
}

/* ---- Step card icons ---- */
.wsev-step-card__icon {
	position: absolute;
	top: 22px;
	right: 22px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}
.wsev-step-card__icon .wsev-icon { width: 22px; height: 22px; }
.wsev-step-card:hover .wsev-step-card__icon {
	transform: rotate(8deg) scale(1.06);
	background: var(--wsev-accent);
	color: var(--wsev-on-accent);
}
.wsev-steps__list .wsev-reveal.is-visible { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ---- CTA decorative scene + icon ---- */
.wsev-cta-scene {
	position: absolute;
	top: -10px;
	right: clamp(16px, 6vw, 48px);
	width: 96px;
	height: 96px;
	opacity: 0.3;
	pointer-events: none;
	animation: wsev-float 5.5s ease-in-out infinite;
}
.wsev-cta-scene svg { width: 100%; height: 100%; }
.wsev-cta-scene__ring {
	transform-origin: 60px 60px;
	animation: wsev-spin 24s linear infinite;
}
.wsev-cta-scene__check {
	stroke-dasharray: 70;
	stroke-dashoffset: 70;
	animation: wsev-check-draw 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
.wsev-cta-scene__plane {
	transform-origin: 78px 34px;
	animation: wsev-float 3.5s ease-in-out infinite;
}
.wsev-cta__icon {
	display: inline-grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	animation: wsev-float 4s ease-in-out infinite;
}
.wsev-cta__icon .wsev-icon { width: 26px; height: 26px; }
.wsev-cta .wsev-button--primary .wsev-icon {
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.wsev-cta .wsev-button--primary:hover .wsev-icon {
	transform: translateX(5px);
}

/* Pipeline replay when scrolled into view */
.wsev-pipeline.is-replaying .wsev-pipeline__step,
.wsev-pipeline.is-replaying .wsev-pipeline__result {
	animation: none;
	opacity: 0;
	transform: translateX(-10px);
}
.wsev-pipeline.is-replaying.is-visible .wsev-pipeline__step,
.wsev-pipeline.is-replaying.is-visible .wsev-pipeline__result {
	animation: wsev-pipe-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.wsev-pipeline.is-replaying.is-visible .wsev-pipeline__result {
	animation-name: wsev-fade-up;
}

/* Demo visual replay on scroll */
.wsev-demo-visual.is-replaying .wsev-demo-visual__bar {
	animation: none;
	transform: scaleX(0);
}
.wsev-demo-visual.is-replaying.is-visible .wsev-demo-visual__bar {
	animation: wsev-bar-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
	.wsev-hero__grid { grid-template-columns: 1fr; gap: var(--wsev-landing-col-gap); }
	.wsev-hero__visual { justify-content: center; min-height: 320px; }
	.wsev-feature-grid, .wsev-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsev-feature-list { grid-template-columns: 1fr; }
	.wsev-checks__inner { grid-template-columns: 1fr; }
	.wsev-demo__layout { grid-template-columns: 1fr; }
	.wsev-trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsev-integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.wsev-layout { grid-template-columns: 1fr; gap: 24px; }
	.wsev-sidebar { position: static; }
	.wsev-sidebar__inner { flex-direction: row; flex-wrap: wrap; }
	.wsev-sidebar__section { flex: 1 1 100%; }
	.wsev-sidebar__nav { flex-direction: row; flex-wrap: wrap; }
	.wsev-sidebar__link { flex: 0 0 auto; }
	.wsev-auth__layout { grid-template-columns: 1fr; }
	.wsev-auth__brand { display: none; }
	.wsev-header__nav { display: none; }
}

@media (max-width: 640px) {
	:root {
		--wsev-gutter: 20px;
		--wsev-landing-gap: 56px;
		--wsev-landing-head-gap: 32px;
		--wsev-landing-col-gap: 24px;
	}
	.wsev-container { padding: 0 var(--wsev-gutter); }
	.wsev-header__inner { height: 64px; }
	.wsev-brand__tagline { display: none; }
	.wsev-feature-grid, .wsev-steps__list, .wsev-trust-bar, .wsev-feature-list { grid-template-columns: 1fr; }
	.wsev-integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsev-trust-bar { gap: 1px; }
	.wsev-trust-bar__item { min-height: 120px; padding: 20px 16px; }
	.wsev-hero__visual { min-height: 260px; }
	.wsev-pipeline::before { display: none; }
	.wsev-header__user-meta { display: none; }
	.wsev-auth__card, .wsev-demo__form { padding: 26px 20px; }
	.wsev-cta__inner { padding: 40px 24px; }
	.wsev-shell--landing .wsev-main { padding: 12px 0 24px; }
	.wsev-footer { padding: 24px 0 28px; }
	.wsev-credit { padding: 9px 16px; font-size: 12.5px; }
	.wsev-hero { padding-top: 0; }
	.wsev-feature-group { padding: 22px 20px; }
}

/* ============================================================
   LANDING PAGE — REDESIGN (v1.4.9)
   Built on existing design tokens; adds new section styling.
   ============================================================ */

/* Shared section helpers */
.wsev-section-title {
	margin: 0 0 14px;
	font-family: var(--wsev-font-display);
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--wsev-text);
}
.wsev-section-text {
	margin: 0;
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.6;
	color: var(--wsev-text-soft);
}
.wsev-section-head--center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.wsev-section-head--center .wsev-eyebrow { justify-content: center; }
.wsev-section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---- Hero embellishments ---- */
.wsev-hero__title-grad {
	display: block;
	background: linear-gradient(100deg, var(--wsev-accent), #14a574 45%, #38bdf8);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.wsev-hero__rings {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}
.wsev-hero__rings span {
	position: absolute;
	top: 50%;
	right: -6%;
	border-radius: 50%;
	border: 1px solid var(--wsev-accent-ring);
	opacity: 0.5;
	transform: translateY(-50%);
	animation: wsev-ring-pulse 6s ease-in-out infinite;
}
.wsev-hero__rings span:nth-child(1) { width: 320px; height: 320px; }
.wsev-hero__rings span:nth-child(2) { width: 460px; height: 460px; animation-delay: 1.2s; opacity: 0.32; }
.wsev-hero__rings span:nth-child(3) { width: 620px; height: 620px; animation-delay: 2.4s; opacity: 0.2; }
@keyframes wsev-ring-pulse {
	0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.4; }
	50% { transform: translateY(-50%) scale(1.04); opacity: 0.7; }
}
.wsev-hero-glow {
	position: absolute;
	inset: -10% -10% auto auto;
	width: 70%;
	height: 80%;
	background: radial-gradient(circle at 70% 30%, var(--wsev-accent-soft), transparent 60%);
	filter: blur(40px);
	pointer-events: none;
	z-index: 0;
}
.wsev-hero__visual { position: relative; }
.wsev-preview-card__title { margin-left: 8px; font-size: 12px; color: var(--wsev-text-faint); }
.wsev-preview-card__checks li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.wsev-preview-card__checks li .wsev-icon { width: 15px; height: 15px; color: var(--wsev-valid); }
.wsev-preview-card__score-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.wsev-preview-card__score-num { font-family: var(--wsev-font-display); font-weight: 800; font-size: 20px; color: var(--wsev-text); }
.wsev-preview-card__score-num small { font-size: 12px; font-weight: 500; color: var(--wsev-text-faint); }
.wsev-preview-card__meter { height: 8px; border-radius: 999px; background: var(--wsev-surface-3); overflow: hidden; }
.wsev-preview-card__meter-fill {
	display: block;
	height: 100%;
	width: var(--w, 0%);
	border-radius: 999px;
	background: var(--wsev-accent-grad);
	animation: wsev-meter-grow 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes wsev-meter-grow { from { width: 0; } to { width: var(--w, 0%); } }

/* Floating chips around the hero card */
.wsev-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wsev-text);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-md);
	z-index: 3;
	animation: wsev-float 5s ease-in-out infinite;
}
.wsev-chip__icon { display: inline-grid; place-items: center; }
.wsev-chip__icon .wsev-icon { width: 16px; height: 16px; color: var(--wsev-accent); }
.wsev-chip--a { top: 6%; left: -4%; }
.wsev-chip--b { top: 44%; right: -8%; animation-delay: 1.5s; }
.wsev-chip--c { bottom: 6%; left: 6%; animation-delay: 2.8s; }
@keyframes wsev-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-9px); }
}

/* ---- Stat bar ---- */
.wsev-statbar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--wsev-radius-xl);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-md);
}
.wsev-statbar__item { text-align: center; }
.wsev-statbar__num {
	display: block;
	font-family: var(--wsev-font-display);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	line-height: 1;
	color: var(--wsev-accent);
}
.wsev-statbar__num strong { font-weight: 800; }
.wsev-statbar__label { display: block; margin-top: 8px; font-size: 13px; color: var(--wsev-text-soft); }

/* ---- Feature grid ---- */
.wsev-fgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.wsev-fcard {
	padding: 26px 24px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wsev-fcard:hover { transform: translateY(-4px); box-shadow: var(--wsev-shadow-lg); border-color: var(--wsev-border-strong); }
.wsev-fcard__icon {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 15px;
	color: #fff;
	background: var(--wsev-ico, var(--wsev-accent-grad));
	box-shadow: 0 8px 20px var(--wsev-ico-shadow, var(--wsev-accent-ring));
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wsev-fcard:hover .wsev-fcard__icon { transform: scale(1.08) rotate(-5deg); }
.wsev-fcard__icon .wsev-icon { width: 26px; height: 26px; }
.wsev-fcard__icon--emerald { --wsev-ico: linear-gradient(135deg, #34d399, #0b8f63); --wsev-ico-shadow: rgba(11,143,99,0.32); }
.wsev-fcard__icon--violet  { --wsev-ico: linear-gradient(135deg, #a78bfa, #7c3aed); --wsev-ico-shadow: rgba(124,58,237,0.32); }
.wsev-fcard__icon--amber   { --wsev-ico: linear-gradient(135deg, #fbbf24, #f59e0b); --wsev-ico-shadow: rgba(245,158,11,0.32); }
.wsev-fcard__icon--rose    { --wsev-ico: linear-gradient(135deg, #fb7185, #e11d48); --wsev-ico-shadow: rgba(225,29,72,0.30); }
.wsev-fcard__icon--cyan    { --wsev-ico: linear-gradient(135deg, #22d3ee, #06b6d4); --wsev-ico-shadow: rgba(6,182,212,0.30); }
.wsev-fcard__icon--blue    { --wsev-ico: linear-gradient(135deg, #60a5fa, #2563eb); --wsev-ico-shadow: rgba(37,99,235,0.30); }
.wsev-fcard__icon--teal    { --wsev-ico: linear-gradient(135deg, #2dd4bf, #0d9488); --wsev-ico-shadow: rgba(13,148,136,0.30); }
.wsev-fcard__icon--slate   { --wsev-ico: linear-gradient(135deg, #94a3b8, #475569); --wsev-ico-shadow: rgba(71,85,105,0.30); }
.wsev-fcard__title { margin: 0 0 8px; font-family: var(--wsev-font-display); font-size: 18px; font-weight: 700; color: var(--wsev-text); }
.wsev-fcard__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--wsev-text-soft); }

/* ---- Steps ---- */
.wsev-how .wsev-section-head { margin-bottom: 0; }

.wsev-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(10px, 1.5vw, 18px);
	width: 100%;
	padding-top: 18px;
	margin: 0;
}
.wsev-step {
	position: relative;
	width: 100%;
	max-width: none;
	padding: 40px 26px 30px;
	text-align: center;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}
.wsev-step__num {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-family: var(--wsev-font-display);
	font-weight: 800;
	font-size: 15px;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	box-shadow: 0 6px 16px var(--wsev-accent-ring);
}
.wsev-step__icon {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin: 10px auto 18px;
	border-radius: 18px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
}
.wsev-step__icon .wsev-icon { width: 28px; height: 28px; }
.wsev-step__title { margin: 0 0 8px; font-family: var(--wsev-font-display); font-size: 18px; font-weight: 700; color: var(--wsev-text); }
.wsev-step__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--wsev-text-soft); flex: 1; }
.wsev-step__connector {
	display: grid;
	place-items: center;
	align-self: center;
	width: 32px;
	color: var(--wsev-text-faint);
}
.wsev-step__connector .wsev-icon { width: 26px; height: 26px; animation: wsev-nudge 1.8s ease-in-out infinite; }
@keyframes wsev-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* ---- Split / benefits ---- */
.wsev-split {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.wsev-split__visual {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: clamp(28px, 4vw, 48px);
	border-radius: var(--wsev-radius-xl);
	background: radial-gradient(120% 120% at 30% 0%, var(--wsev-accent-soft), transparent 60%), var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-md);
}
.wsev-gauge-demo { position: relative; width: 200px; height: 200px; }
.wsev-gauge-demo__svg { width: 100%; height: 100%; }
.wsev-gauge-demo__track { stroke: var(--wsev-surface-3); }
.wsev-gauge-demo__bar {
	stroke: var(--wsev-valid);
	stroke-dasharray: 502;
	stroke-dashoffset: 90;
	filter: drop-shadow(0 0 6px rgba(11,143,99,0.4));
	animation: wsev-gauge-sweep 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes wsev-gauge-sweep { from { stroke-dashoffset: 502; } to { stroke-dashoffset: 90; } }
.wsev-gauge-demo__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wsev-gauge-demo__num { font-family: var(--wsev-font-display); font-size: 56px; font-weight: 800; line-height: 1; color: var(--wsev-valid); }
.wsev-gauge-demo__sub { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--wsev-text-soft); }
.wsev-split__pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.wsev-spill {
	padding: 5px 13px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}
.wsev-spill--green { color: var(--wsev-valid-text); background: var(--wsev-valid-bg); }
.wsev-spill--amber { color: var(--wsev-warn-text); background: var(--wsev-warn-bg); }
.wsev-spill--red   { color: var(--wsev-invalid-text); background: var(--wsev-invalid-bg); }
.wsev-spill--grey  { color: var(--wsev-text-soft); background: var(--wsev-surface-3); }
.wsev-benefit-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.wsev-benefit-list li { display: flex; gap: 16px; align-items: flex-start; }
.wsev-benefit-list__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 13px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
}
.wsev-benefit-list__icon .wsev-icon { width: 22px; height: 22px; }
.wsev-benefit-list h4 { margin: 0 0 4px; font-family: var(--wsev-font-display); font-size: 16px; font-weight: 700; color: var(--wsev-text); }
.wsev-benefit-list p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--wsev-text-soft); }

/* ---- Integrations grid ---- */
.wsev-intgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.wsev-intgrid__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-radius: var(--wsev-radius);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.wsev-intgrid__item:hover { transform: translateY(-3px); border-color: var(--wsev-accent-ring); }
.wsev-intgrid__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
}
.wsev-intgrid__icon .wsev-icon { width: 20px; height: 20px; }
.wsev-intgrid__name { font-size: 14px; font-weight: 600; color: var(--wsev-text); }

/* ---- Testimonials ---- */
.wsev-qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wsev-qcard {
	position: relative;
	padding: 28px 26px;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
}
.wsev-qcard__mark { position: absolute; top: 20px; right: 22px; color: var(--wsev-accent-soft); }
.wsev-qcard__mark .wsev-icon { width: 34px; height: 34px; color: var(--wsev-accent); opacity: 0.22; }
.wsev-qcard__text { margin: 0 0 20px; font-size: 15.5px; line-height: 1.6; color: var(--wsev-text); font-style: italic; }
.wsev-qcard__by { display: flex; align-items: center; gap: 12px; }
.wsev-qcard__avatar {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
}
.wsev-qcard__avatar .wsev-icon { width: 20px; height: 20px; }
.wsev-qcard__role { font-size: 13px; font-weight: 600; color: var(--wsev-text-soft); }

/* ---- FAQ ---- */
.wsev-faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.wsev-faq__item {
	border-radius: var(--wsev-radius);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wsev-faq__item[open] { border-color: var(--wsev-accent-ring); box-shadow: var(--wsev-shadow-sm); }
.wsev-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	font-family: var(--wsev-font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--wsev-text);
}
.wsev-faq__q::-webkit-details-marker { display: none; }
.wsev-faq__icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; color: var(--wsev-accent); }
.wsev-faq__icon .wsev-icon { width: 20px; height: 20px; }
.wsev-faq__minus { display: none; }
.wsev-faq__item[open] .wsev-faq__plus { display: none; }
.wsev-faq__item[open] .wsev-faq__minus { display: grid; }
.wsev-faq__a { padding: 0 22px 20px; }
.wsev-faq__a p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--wsev-text-soft); }

/* ---- Final CTA ---- */
.wsev-cta__panel {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
	border-radius: var(--wsev-radius-xl);
	background: linear-gradient(135deg, #0a7d57, #0b8f63 50%, #097451);
	color: #fff;
	box-shadow: var(--wsev-shadow-lg);
}
.wsev-cta__aurora {
	position: absolute;
	inset: -40% -10% auto -10%;
	height: 140%;
	background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 55%), radial-gradient(circle at 80% 60%, rgba(56,189,248,0.3), transparent 55%);
	pointer-events: none;
	animation: wsev-aurora-drift 12s ease-in-out infinite alternate;
}
@keyframes wsev-aurora-drift { from { transform: translate3d(-3%, -2%, 0); } to { transform: translate3d(3%, 2%, 0); } }
.wsev-cta__badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	margin-bottom: 20px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: rgba(255,255,255,0.16);
	border: 1px solid rgba(255,255,255,0.28);
}
.wsev-cta__badge .wsev-icon { width: 16px; height: 16px; }
.wsev-cta__title {
	position: relative;
	margin: 0 0 14px;
	font-family: var(--wsev-font-display);
	font-size: clamp(28px, 4.5vw, 46px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}
.wsev-cta__text { position: relative; max-width: 560px; margin: 0 auto 28px; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.6; color: rgba(255,255,255,0.92); }
.wsev-cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.wsev-cta__panel .wsev-button--primary { background: #fff; color: #097451; }
.wsev-cta__panel .wsev-button--primary:hover { background: #f4f4ee; }
.wsev-cta__panel .wsev-button--ghost { color: #fff; border-color: rgba(255,255,255,0.5); background: transparent; }
.wsev-cta__panel .wsev-button--ghost:hover { background: rgba(255,255,255,0.12); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.wsev-fgrid { grid-template-columns: repeat(2, 1fr); }
	.wsev-intgrid { grid-template-columns: repeat(2, 1fr); }
	.wsev-qgrid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 860px) {
	.wsev-split { grid-template-columns: 1fr; }
	.wsev-statbar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.wsev-steps {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 12px;
		padding-top: 8px;
	}
	.wsev-step { width: 100%; max-width: 420px; }
	.wsev-step__connector {
		width: auto;
		height: 28px;
		transform: rotate(90deg);
	}
	.wsev-chip { display: none; }
}
@media (max-width: 540px) {
	.wsev-fgrid { grid-template-columns: 1fr; }
	.wsev-intgrid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.wsev-hero__rings span,
	.wsev-chip,
	.wsev-preview-card__meter-fill,
	.wsev-gauge-demo__bar,
	.wsev-step__connector .wsev-icon,
	.wsev-cta__aurora {
		animation: none !important;
	}
}

/* ── Whitelabel branding ── */
.wsev-brand__logo {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 10px;
}

.wsev-sidebar__link-badge {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--wsev-accent-soft);
	color: var(--wsev-accent);
	border: 1px solid var(--wsev-accent-ring);
}

.wsev-sidebar__link--locked .wsev-sidebar__link-text {
	color: var(--wsev-text-soft);
}

.wsev-whitelabel {
	min-width: 0;
}

.wsev-whitelabel .wsev-panel {
	margin-bottom: 0;
}

.wsev-whitelabel__intro {
	margin: 10px 0 0;
	max-width: 70ch;
	color: var(--wsev-text-soft);
	font-size: 15px;
	line-height: 1.6;
}

.wsev-whitelabel__form {
	display: grid;
	gap: 20px;
}

.wsev-whitelabel__layout {
	display: grid;
	gap: 24px;
	align-items: start;
}

.wsev-whitelabel__panel-body {
	display: grid;
	gap: 16px;
}

.wsev-whitelabel__title {
	margin: 0 0 10px;
	font-family: var(--wsev-font-display);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.2;
}

.wsev-whitelabel__lead,
.wsev-whitelabel__domain-lead {
	margin: 0;
	color: var(--wsev-text-soft);
	line-height: 1.6;
}

.wsev-whitelabel__colors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.wsev-whitelabel__logo-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.wsev-whitelabel__logo-preview {
	width: 64px;
	height: 64px;
	border-radius: 14px;
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface-2);
	display: grid;
	place-items: center;
	overflow: hidden;
	flex: 0 0 auto;
}

.wsev-whitelabel__logo-preview img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wsev-whitelabel__logo-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wsev-whitelabel__notice {
	padding: 12px 14px;
	border-radius: var(--wsev-radius-sm);
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface-2);
}

.wsev-whitelabel__notice--success {
	border-color: var(--wsev-valid);
	background: var(--wsev-valid-bg);
	color: var(--wsev-valid-text);
}

.wsev-whitelabel__notice--error {
	border-color: var(--wsev-invalid);
	background: var(--wsev-invalid-bg);
	color: var(--wsev-invalid-text);
}

.wsev-whitelabel__notice--info {
	border-color: var(--wsev-border-strong);
	background: var(--wsev-surface-2);
	color: var(--wsev-text-soft);
}

.wsev-whitelabel__actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 4px;
}

.wsev-whitelabel__upgrade {
	max-width: 760px;
}

.wsev-whitelabel__upgrade-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--wsev-accent-soft);
	color: var(--wsev-accent);
	margin-bottom: 4px;
}

.wsev-whitelabel__benefits {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--wsev-text-soft);
	display: grid;
	gap: 8px;
}

.wsev-whitelabel__upgrade-actions {
	display: grid;
	gap: 10px;
	justify-items: start;
}

.wsev-whitelabel__upgrade-note {
	margin: 0;
	color: var(--wsev-text-soft);
}

.wsev-whitelabel__domain-head {
	align-items: flex-start;
}

.wsev-domain-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface-2);
	color: var(--wsev-text-soft);
	white-space: nowrap;
}

.wsev-domain-status__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.wsev-domain-status--none {
	color: var(--wsev-text-faint);
}

.wsev-domain-status--awaiting {
	color: var(--wsev-warn-text);
	background: var(--wsev-warn-bg);
	border-color: color-mix(in srgb, var(--wsev-warn) 35%, transparent);
}

.wsev-domain-status--connected {
	color: var(--wsev-valid-text);
	background: var(--wsev-valid-bg);
	border-color: color-mix(in srgb, var(--wsev-valid) 35%, transparent);
}

.wsev-domain-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.wsev-domain-steps__item {
	display: grid;
	gap: 8px;
	justify-items: center;
	text-align: center;
	padding: 12px 8px;
	border-radius: var(--wsev-radius-sm);
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface-2);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.wsev-domain-steps__item.is-active {
	border-color: var(--wsev-accent-ring);
	background: var(--wsev-accent-soft);
}

.wsev-domain-steps__item.is-complete .wsev-domain-steps__num {
	background: var(--wsev-valid);
	color: var(--wsev-on-accent);
}

.wsev-domain-steps__num {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	background: var(--wsev-surface-3);
	color: var(--wsev-text-soft);
}

.wsev-domain-steps__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--wsev-text-soft);
	line-height: 1.35;
}

.wsev-domain-step-panel__title {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--wsev-text);
}

.wsev-domain-step-panel__text {
	margin: 0 0 16px;
	color: var(--wsev-text-soft);
	line-height: 1.6;
}

.wsev-domain-step-panel__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.wsev-domain-notes {
	margin: 16px 0 0;
	padding-left: 1.1rem;
	color: var(--wsev-text-soft);
	display: grid;
	gap: 8px;
}

.wsev-dns-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--wsev-border);
	border-radius: var(--wsev-radius-sm);
}

.wsev-dns-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.wsev-dns-table th,
.wsev-dns-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--wsev-border);
	text-align: left;
	vertical-align: middle;
}

.wsev-dns-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wsev-text-faint);
	background: var(--wsev-surface-2);
}

.wsev-dns-table tr:last-child td {
	border-bottom: 0;
}

.wsev-dns-table code {
	font-family: var(--wsev-font-mono);
	font-size: 0.92em;
}

.wsev-button--sm {
	padding: 6px 10px;
	font-size: 12px;
}

.wsev-domain-awaiting,
.wsev-domain-connected {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: var(--wsev-radius-sm);
	margin-bottom: 16px;
}

.wsev-domain-awaiting {
	background: var(--wsev-warn-bg);
	border: 1px solid color-mix(in srgb, var(--wsev-warn) 35%, transparent);
	color: var(--wsev-warn-text);
}

.wsev-domain-connected {
	background: var(--wsev-valid-bg);
	border: 1px solid color-mix(in srgb, var(--wsev-valid) 35%, transparent);
	color: var(--wsev-valid-text);
}

.wsev-domain-awaiting__title,
.wsev-domain-connected__title {
	margin: 0 0 4px;
	font-weight: 700;
}

.wsev-domain-awaiting__text,
.wsev-domain-connected__text,
.wsev-domain-connected__url {
	margin: 0;
	line-height: 1.55;
}

.wsev-domain-connected__url {
	margin-top: 8px;
}

.wsev-field {
	display: grid;
	gap: 6px;
}

.wsev-field__label {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--wsev-text-soft);
}

.wsev-field__help {
	font-size: 12px;
	color: var(--wsev-text-faint);
	line-height: 1.5;
}

.wsev-field__input {
	width: 100%;
	padding: 10px 12px;
	border-radius: var(--wsev-radius-sm);
	border: 1px solid var(--wsev-border);
	background: var(--wsev-surface);
	color: var(--wsev-text);
	box-sizing: border-box;
}

.wsev-field__input--color {
	height: 42px;
	padding: 4px;
}

.wsev-field--switch {
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 10px;
}

.wsev-field--switch input {
	width: 18px;
	height: 18px;
}

@media (min-width: 960px) {
	.wsev-whitelabel__layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wsev-whitelabel__panel--domain {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.wsev-domain-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.wsev-whitelabel__colors {
		grid-template-columns: 1fr;
	}

	.wsev-page-title__row {
		align-items: flex-start;
	}
}

.wsev-upgrade__items {
	margin: 0 0 18px;
	padding-left: 18px;
}

.wsev-upgrade__items li {
	margin-bottom: 8px;
}

.wsev-upgrade__current {
	margin-bottom: 18px;
}

.wsev-agency__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.wsev-agency__notice {
	margin-bottom: 18px;
}

.wsev-agency-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	white-space: nowrap;
}

.wsev-agency-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.wsev-agency-modal[hidden] {
	display: none !important;
}

.wsev-agency-modal__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at top, rgba(11, 143, 99, 0.12), transparent 45%),
		rgba(10, 12, 8, 0.62);
	backdrop-filter: blur(6px);
}

.wsev-agency-modal__dialog {
	position: relative;
	width: min(100%, 520px);
	max-height: calc(100vh - 48px);
	overflow: auto;
}

.wsev-agency-modal__shell {
	border-radius: calc(var(--wsev-radius-lg) + 2px);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-lg);
	overflow: hidden;
}

.wsev-agency-modal__hero {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 14px;
	align-items: start;
	padding: 22px 22px 18px;
	background:
		radial-gradient(120% 140% at 100% 0%, var(--wsev-accent-soft), transparent 58%),
		var(--wsev-surface-2);
	border-bottom: 1px solid var(--wsev-border);
}

.wsev-agency-modal__hero-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	color: var(--wsev-accent);
	background: var(--wsev-accent-soft);
	border: 1px solid var(--wsev-accent-ring);
}

.wsev-agency-modal__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wsev-accent);
}

.wsev-agency-modal__hero h2 {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--wsev-text);
}

.wsev-agency-modal__subtitle {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--wsev-text-soft);
}

.wsev-agency-modal__close {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--wsev-border);
	border-radius: 10px;
	background: var(--wsev-surface);
	color: var(--wsev-text-soft);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wsev-agency-modal__close:hover {
	color: var(--wsev-text);
	border-color: var(--wsev-border-strong);
	transform: translateY(-1px);
}

.wsev-agency-modal__profile {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 22px 0;
	padding: 14px 16px;
	border-radius: var(--wsev-radius);
	background: var(--wsev-surface-3);
	border: 1px solid var(--wsev-border);
}

.wsev-agency-modal__avatar {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-family: var(--wsev-font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--wsev-on-accent);
	background: var(--wsev-accent-grad);
	box-shadow: 0 8px 20px -10px rgba(11, 143, 99, 0.65);
}

.wsev-agency-modal__profile-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.wsev-agency-modal__profile-copy strong {
	font-size: 15px;
	color: var(--wsev-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wsev-agency-modal__profile-copy span {
	font-size: 13px;
	color: var(--wsev-text-soft);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wsev-agency-modal__form {
	padding: 18px 22px 22px;
}

.wsev-agency-modal__fields {
	display: grid;
	gap: 16px;
}

.wsev-agency-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--wsev-border);
}

body.wsev-agency-modal-open {
	overflow: hidden;
}

/* ============================================================
   Premium customer dashboard
   ============================================================ */

.wsev-dashboard-premium__hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.wsev-dashboard-premium__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.wsev-dash-kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 22px;
}

.wsev-dash-kpi {
	position: relative;
	padding: 20px 20px 18px;
	border-radius: var(--wsev-radius);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	overflow: hidden;
}

.wsev-dash-kpi::after {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 3px;
	background: var(--wsev-border-strong);
}

.wsev-dash-kpi--credits::after { background: var(--wsev-accent-grad); }
.wsev-dash-kpi--valid::after { background: var(--wsev-valid); }
.wsev-dash-kpi--invalid::after { background: var(--wsev-invalid); }
.wsev-dash-kpi--total::after { background: linear-gradient(90deg, #2271b1, #5b9bd5); }
.wsev-dash-kpi--score::after { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.wsev-dash-kpi--score-avg::after { background: linear-gradient(90deg, #d97706, #fbbf24); }

.wsev-dash-kpis--score {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 0;
}

.wsev-dash-section {
	margin-top: 34px;
	padding-top: 34px;
	border-top: 1px solid var(--wsev-border);
}

.wsev-dash-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.wsev-dash-section__head h2 {
	margin: 4px 0 0;
	font-family: var(--wsev-font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--wsev-text);
}

.wsev-dash-score-gauge {
	--wsev-score-color: var(--wsev-text-faint);
	width: 148px;
	height: 148px;
	position: relative;
}

.wsev-dash-score-gauge__ring {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: conic-gradient(
		var(--wsev-score-color) 0 calc(var(--wsev-score-pct, 0) * 1%),
		var(--wsev-surface-3) 0 100%
	);
	display: grid;
	place-items: center;
}

.wsev-dash-score-gauge__ring::before {
	content: "";
	position: absolute;
	inset: 14px;
	border-radius: 50%;
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
}

.wsev-dash-score-gauge__center {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	text-align: center;
}

.wsev-dash-score-gauge__center strong {
	font-family: var(--wsev-font-display);
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: var(--wsev-text);
}

.wsev-dash-score-gauge__center span {
	margin-top: 4px;
	font-size: 12px;
	color: var(--wsev-text-faint);
}

.wsev-chart-bar__stack--score {
	background: transparent;
}

.wsev-chart-bar__score {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 6px 6px 2px 2px;
	background: linear-gradient(180deg, #a78bfa, #7c3aed);
}

.wsev-chart-hbar__track--deliverable span { background: var(--wsev-valid); }
.wsev-chart-hbar__track--risky span { background: var(--wsev-warn); }
.wsev-chart-hbar__track--undeliverable span { background: var(--wsev-invalid); }
.wsev-chart-hbar__track--unknown span { background: var(--wsev-text-faint); }

.wsev-dash-kpi__label {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wsev-text-faint);
}

.wsev-dash-kpi__value {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--wsev-text);
}

.wsev-dash-kpi__hint {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--wsev-text-soft);
}

.wsev-dash-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.wsev-dash-card {
	grid-column: span 4;
	border-radius: var(--wsev-radius-lg);
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
	box-shadow: var(--wsev-shadow-sm);
	overflow: hidden;
}

.wsev-dash-card--wide {
	grid-column: span 8;
}

.wsev-dash-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 14px;
	border-bottom: 1px solid var(--wsev-border);
}

.wsev-dash-card__head h2 {
	margin: 0;
	font-family: var(--wsev-font-display);
	font-size: 16px;
	font-weight: 600;
	color: var(--wsev-text);
}

.wsev-dash-card__head span {
	font-size: 12px;
	color: var(--wsev-text-faint);
}

.wsev-dash-card__body {
	padding: 18px 20px 22px;
	min-height: 180px;
}

.wsev-dash-card__body--center {
	display: grid;
	place-items: center;
}

.wsev-chart-bars {
	display: grid;
	grid-template-columns: repeat(14, minmax(0, 1fr));
	align-items: end;
	gap: 8px;
	height: 180px;
}

.wsev-chart-bar {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	min-width: 0;
}

.wsev-chart-bar__stack {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	max-width: 28px;
	border-radius: 8px 8px 4px 4px;
	overflow: hidden;
	background: var(--wsev-surface-3);
}

.wsev-chart-bar__valid {
	display: block;
	background: var(--wsev-valid);
}

.wsev-chart-bar__invalid {
	flex: 1;
	background: rgba(214, 69, 58, 0.72);
}

.wsev-chart-bar__label {
	margin-top: 8px;
	font-size: 10px;
	color: var(--wsev-text-faint);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	max-height: 42px;
}

.wsev-chart-donut {
	display: grid;
	gap: 16px;
	justify-items: center;
}

.wsev-chart-donut__ring {
	--wsev-donut-valid: 50%;
	width: 148px;
	height: 148px;
	border-radius: 50%;
	background: conic-gradient(var(--wsev-valid) 0 var(--wsev-donut-valid), rgba(214, 69, 58, 0.82) var(--wsev-donut-valid) 100%);
	display: grid;
	place-items: center;
	position: relative;
}

.wsev-chart-donut__ring::before {
	content: "";
	position: absolute;
	inset: 16px;
	border-radius: 50%;
	background: var(--wsev-surface);
	border: 1px solid var(--wsev-border);
}

.wsev-chart-donut__center {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 2px;
	text-align: center;
}

.wsev-chart-donut__center strong {
	font-family: var(--wsev-font-display);
	font-size: 28px;
	color: var(--wsev-text);
}

.wsev-chart-donut__center span {
	font-size: 12px;
	color: var(--wsev-text-soft);
}

.wsev-chart-donut__legend {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--wsev-text-soft);
}

.wsev-chart-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
}

.wsev-chart-dot--valid { background: var(--wsev-valid); }
.wsev-chart-dot--invalid { background: var(--wsev-invalid); }

.wsev-chart-area {
	width: 100%;
	height: 140px;
	display: block;
}

.wsev-chart-meter {
	height: 12px;
	border-radius: 999px;
	background: var(--wsev-surface-3);
	border: 1px solid var(--wsev-border);
	overflow: hidden;
}

.wsev-chart-meter__fill {
	height: 100%;
	border-radius: inherit;
	background: var(--wsev-accent-grad);
}

.wsev-chart-meter__caption {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--wsev-text-soft);
}

.wsev-chart-hbars {
	display: grid;
	gap: 12px;
}

.wsev-chart-hbar__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
	font-size: 13px;
	color: var(--wsev-text-soft);
}

.wsev-chart-hbar__meta strong {
	color: var(--wsev-text);
}

.wsev-chart-hbar__track {
	height: 8px;
	border-radius: 999px;
	background: var(--wsev-surface-3);
	overflow: hidden;
}

.wsev-chart-hbar__track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #14a574, #0b8f63);
}

.wsev-chart-empty {
	margin: 0;
	font-size: 14px;
	color: var(--wsev-text-soft);
}

.wsev-dash-recent .wsev-panel__header {
	padding-top: 0;
}

@media (max-width: 1100px) {
	.wsev-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wsev-dash-card,
	.wsev-dash-card--wide { grid-column: span 6; }
}

@media (max-width: 760px) {
	.wsev-dash-kpis { grid-template-columns: 1fr; }
	.wsev-dash-card,
	.wsev-dash-card--wide { grid-column: span 12; }
	.wsev-chart-bars { grid-template-columns: repeat(7, minmax(0, 1fr)); }
	.wsev-agency-modal { padding: 12px; }
}

@media (max-width: 960px) {
	.wsev-agency__grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   11b. REGISTRATION FORM (redesigned)
   ============================================================ */

.wsev-reg__head { margin-bottom: 18px; }

.wsev-reg__plan { margin: 0 0 20px; }

.wsev-reg-form { display: flex; flex-direction: column; gap: 16px; }

.wsev-reg-form__banner {
	padding: 12px 15px;
	border-radius: var(--wsev-radius-sm);
	font-size: 14px;
	line-height: 1.5;
	border: 1px solid transparent;
}
.wsev-reg-form__banner.is-error {
	color: var(--wsev-invalid-text);
	background: var(--wsev-invalid-bg);
	border-color: color-mix(in srgb, var(--wsev-invalid) 35%, transparent);
}

.wsev-reg__server-error { margin-bottom: 4px; }

.wsev-reg-field { display: flex; flex-direction: column; }

.wsev-reg-field__label {
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wsev-text);
}

.wsev-reg-field__control { position: relative; display: block; }

.wsev-reg-field__input {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--wsev-border-strong);
	border-radius: var(--wsev-radius-sm);
	background: var(--wsev-surface-2);
	color: var(--wsev-text);
	font-family: var(--wsev-font-body);
	font-size: 14.5px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.wsev-reg-field__input::placeholder { color: var(--wsev-text-faint); }
.wsev-reg-field__input:focus {
	outline: none;
	border-color: var(--wsev-accent);
	background: var(--wsev-surface);
	box-shadow: 0 0 0 4px var(--wsev-accent-soft);
}
.wsev-reg-field__input[readonly] {
	background: var(--wsev-surface-3);
	color: var(--wsev-text-soft);
	cursor: not-allowed;
}

/* reveal-button padding so text never runs under the icon */
.wsev-reg-field__control--action .wsev-reg-field__input { padding-right: 46px; }

/* validity affordances */
.wsev-reg-field.is-valid .wsev-reg-field__input {
	border-color: color-mix(in srgb, var(--wsev-valid) 55%, var(--wsev-border-strong));
}
.wsev-reg-field.is-invalid .wsev-reg-field__input {
	border-color: color-mix(in srgb, var(--wsev-invalid) 55%, var(--wsev-border-strong));
}

.wsev-reg-field__check {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	color: var(--wsev-valid);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

.wsev-reg-field__reveal {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: var(--wsev-radius-sm);
	background: transparent;
	color: var(--wsev-text-faint);
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}
.wsev-reg-field__reveal:hover { color: var(--wsev-text-soft); background: var(--wsev-surface-3); }
.wsev-reg-field__reveal:focus-visible { outline: 2px solid var(--wsev-accent); outline-offset: 2px; }

.wsev-reg-eye { display: block; }
.wsev-reg-eye--off { display: none; }
.wsev-reg-field__control.is-revealed .wsev-reg-eye--open { display: none; }
.wsev-reg-field__control.is-revealed .wsev-reg-eye--off { display: block; }

.wsev-reg-field__hint {
	margin: 7px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--wsev-text-faint);
}
.wsev-reg-field__hint.is-info { color: var(--wsev-text-soft); }
.wsev-reg-field__hint.is-ok { color: var(--wsev-valid-text); }
.wsev-reg-field__hint.is-error { color: var(--wsev-invalid-text); }

/* password strength meter */
.wsev-reg-meter {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 9px;
}
.wsev-reg-meter__track {
	flex: 1;
	height: 6px;
	border-radius: 999px;
	background: var(--wsev-surface-3);
	overflow: hidden;
}
.wsev-reg-meter__bar {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 999px;
	background: var(--wsev-border-strong);
	transition: width 0.25s ease, background 0.25s ease;
}
.wsev-reg-meter__label {
	min-width: 58px;
	text-align: right;
	font-size: 12px;
	font-weight: 600;
	color: var(--wsev-text-faint);
}
.wsev-reg-meter[data-score="1"] .wsev-reg-meter__bar { background: var(--wsev-invalid); }
.wsev-reg-meter[data-score="1"] .wsev-reg-meter__label { color: var(--wsev-invalid-text); }
.wsev-reg-meter[data-score="2"] .wsev-reg-meter__bar { background: var(--wsev-warn); }
.wsev-reg-meter[data-score="2"] .wsev-reg-meter__label { color: var(--wsev-warn-text); }
.wsev-reg-meter[data-score="3"] .wsev-reg-meter__bar { background: #4a9e2f; }
.wsev-reg-meter[data-score="3"] .wsev-reg-meter__label { color: #3d7a26; }
.wsev-reg-meter[data-score="4"] .wsev-reg-meter__bar { background: var(--wsev-valid); }
.wsev-reg-meter[data-score="4"] .wsev-reg-meter__label { color: var(--wsev-valid-text); }

/* submit button loading state */
.wsev-reg-submit {
	position: relative;
	margin-top: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.wsev-reg-submit__spinner {
	display: none;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	border: 2px solid color-mix(in srgb, var(--wsev-on-accent) 45%, transparent);
	border-top-color: var(--wsev-on-accent);
	animation: wsev-reg-spin 0.7s linear infinite;
}
.wsev-reg-submit.is-loading { cursor: progress; opacity: 0.9; }
.wsev-reg-submit.is-loading .wsev-reg-submit__spinner { display: inline-block; }

@keyframes wsev-reg-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.wsev-reg-submit__spinner { animation-duration: 1.4s; }
	.wsev-reg-meter__bar { transition: none; }
}
