/**
 * VixGrow theme — minimal layout
 */
:root {
	--vg-bg: #fafbfc;
	--vg-surface: #ffffff;
	--vg-text: #18181b;
	--vg-muted: #71717a;
	--vg-accent: #458dc7;
	--vg-accent-hover: #3478ad;
	--vg-border: #e4e4e7;
	--vg-radius: 12px;
	--vg-font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--vg-max: 720px;
	--vg-max-wide: 960px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--vg-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--vg-text);
	background: var(--vg-bg);
}

a {
	color: var(--vg-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--vg-accent-hover);
}

.vg-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.vg-main {
	flex: 1;
}

/* Header */
.vg-header {
	background: var(--vg-surface);
	border-bottom: 1px solid var(--vg-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.vg-header__inner {
	max-width: var(--vg-max-wide);
	margin: 0 auto;
	padding: 0.875rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.vg-logo {
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--vg-text);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.vg-logo:hover {
	color: var(--vg-text);
	text-decoration: none;
}

.vg-logo span {
	color: var(--vg-accent);
}

.vg-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vg-nav a {
	color: var(--vg-muted);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
}

.vg-nav a:hover,
.vg-nav .current-menu-item > a,
.vg-nav .current_page_item > a {
	color: var(--vg-text);
}

/* Footer */
.vg-footer {
	margin-top: auto;
	padding: 2rem 1.5rem;
	border-top: 1px solid var(--vg-border);
	background: var(--vg-surface);
	text-align: center;
	font-size: 0.875rem;
	color: var(--vg-muted);
}

.vg-footer a {
	color: var(--vg-muted);
}

.vg-footer a:hover {
	color: var(--vg-accent);
}

/* Home — ultra minimal */
.vg-home {
	max-width: var(--vg-max);
	margin: 0 auto;
	padding: clamp(3rem, 12vw, 6rem) 1.5rem;
	text-align: center;
}

.vg-home__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--vg-muted);
	margin-bottom: 1rem;
}

.vg-home__title {
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
}

.vg-home__lead {
	font-size: 1.125rem;
	color: var(--vg-muted);
	max-width: 32rem;
	margin: 0 auto 2rem;
}

.vg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.vg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.625rem 1.25rem;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: 999px;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.vg-btn--primary {
	background: var(--vg-accent);
	color: #fff !important;
	text-decoration: none !important;
}

.vg-btn--primary:hover {
	background: var(--vg-accent-hover);
	color: #fff !important;
}

.vg-btn--ghost {
	background: transparent;
	color: var(--vg-text) !important;
	border-color: var(--vg-border);
	text-decoration: none !important;
}

.vg-btn--ghost:hover {
	border-color: var(--vg-muted);
	background: var(--vg-bg);
}

/* Generic page + Flavor template */
.vg-page {
	max-width: var(--vg-max-wide);
	margin: 0 auto;
	padding: 2.5rem 1.5rem 4rem;
}

.vg-page__header {
	margin-bottom: 2rem;
}

.vg-page__title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.5rem;
}

.vg-page__intro {
	font-size: 1.125rem;
	color: var(--vg-muted);
	margin: 0;
	max-width: 40rem;
}

.vg-prose {
	font-size: 1.0625rem;
	color: var(--vg-text);
}

.vg-prose > *:first-child {
	margin-top: 0;
}

.vg-prose > *:last-child {
	margin-bottom: 0;
}

.vg-prose h2 {
	font-size: 1.35rem;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.vg-prose h3 {
	font-size: 1.15rem;
	margin-top: 1.5rem;
}

.vg-prose p,
.vg-prose ul,
.vg-prose ol {
	margin: 0 0 1rem;
}

.vg-prose ul,
.vg-prose ol {
	padding-left: 1.25rem;
}

/* Flavor landing */
.vg-flavor-hero {
	background: linear-gradient(180deg, var(--vg-surface) 0%, var(--vg-bg) 100%);
	border: 1px solid var(--vg-border);
	border-radius: var(--vg-radius);
	padding: clamp(2rem, 6vw, 3rem);
	margin-bottom: 2.5rem;
}

.vg-flavor-hero__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.vg-flavor-hero__text {
	color: var(--vg-muted);
	margin: 0 0 1.5rem;
	max-width: 36rem;
}

.vg-features {
	display: grid;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
	.vg-features {
		grid-template-columns: repeat(2, 1fr);
	}
}

.vg-feature {
	background: var(--vg-surface);
	border: 1px solid var(--vg-border);
	border-radius: var(--vg-radius);
	padding: 1.25rem 1.5rem;
}

.vg-feature__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.35rem;
}

.vg-feature__text {
	font-size: 0.9375rem;
	color: var(--vg-muted);
	margin: 0;
	line-height: 1.55;
}

/* 404 */
.vg-center {
	text-align: center;
	padding: 4rem 1.5rem;
	max-width: var(--vg-max);
	margin: 0 auto;
}

.vg-center h1 {
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
}

.vg-center p {
	color: var(--vg-muted);
	margin-bottom: 1.5rem;
}
