/* Vome — shared brand-site chrome.
 *
 * The nav, buttons, section rhythm and footer used by every page that
 * extends templates/brand_base.html (the landing, the prices page).
 * Deliberately separate from vomehome.css, which dresses the *app*:
 * brand pages are for someone evaluating Vome, so they get their own
 * navbar rather than the in-app one with its banners and account menu.
 *
 * Palette tokens still come from vomehome.css.
 */

/* The app's base.html reserves room for a fixed navbar; brand pages
   carry their own, which sits flush. */
body { padding-top: 0; }

/* ── Nav ───────────────────────────────────────────────────────── */
.vome-landing-nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(18, 18, 18, 0.85);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--border);
}
.vome-landing-nav .container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1rem;
}
/* Explicit order so the burger sits at the end of the bar on desktop but
   next to the wordmark on a phone, where the links drop below both. */
.vome-landing-nav .brand { order: 1; }
.vome-landing-nav .nav-links { order: 2; }
.vome-landing-nav .nav-cta { order: 3; margin-left: auto; }
.vome-landing-nav .nav-burger { order: 4; }
.vome-landing-nav .nav-menu { order: 5; }
.vome-landing-nav .brand {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--text-primary);
	letter-spacing: 0.02em;
	text-decoration: none;
}
.vome-landing-nav .brand svg { color: var(--primary); }
.vome-landing-nav .brand .gradient-text {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.vome-landing-nav .nav-links {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	font-size: 0.95rem;
}
.vome-landing-nav .nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
}
.vome-landing-nav .nav-links a:hover { color: var(--primary); }
.vome-landing-nav .nav-links a.is-current { color: var(--primary); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn-vome-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	border: none;
	color: #1a1100;
	font-weight: 700;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius);
	transition: var(--transition);
}
.btn-vome-primary:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
	color: #1a1100;
}
/* Bar-sized primary button.  The full-size one is built for a hero and
   would set the navbar's whole height on its own. */
.nav-cta {
	flex-shrink: 0;
	padding: 0.4rem 0.95rem;
	font-size: 0.9rem;
	white-space: nowrap;
}

.btn-vome-outline {
	background: transparent;
	color: var(--text-primary);
	border: 1px solid var(--border-light);
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius);
	transition: var(--transition);
}
.btn-vome-outline:hover {
	border-color: var(--primary);
	color: var(--primary);
}

/* ── Section rhythm ────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section h2 {
	text-align: center;
	font-weight: 800;
	margin-bottom: 0.5rem;
}
.section .section-sub {
	text-align: center;
	color: var(--text-muted);
	max-width: 640px;
	margin: 0 auto 3rem;
}

/* ── Footer ────────────────────────────────────────────────────── */
.vome-landing-footer {
	border-top: 1px solid var(--border);
	padding: 2rem 1rem;
	color: var(--text-muted);
	font-size: 0.9rem;
	text-align: center;
}
.vome-landing-footer a {
	color: var(--text-secondary);
	margin: 0 0.6rem;
}
.vome-landing-footer a:hover { color: var(--primary); }
.vome-landing-footer .footer-fineprint {
	margin-top: 1rem;
	font-size: 0.78rem;
	opacity: 0.75;
}

/* The burger is on every width, in the slot the GitHub link used to
   hold.  It is the way to the rest of the site — the bar itself only
   carries the three links someone deciding about Vome needs. */
.nav-burger {
	display: block;
	flex-shrink: 0;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--text-secondary);
	font-size: 1.3rem;
	line-height: 1;
	padding: 0.25rem 0.5rem;
	cursor: pointer;
}
.nav-burger:hover { border-color: var(--primary); color: var(--primary); }
.nav-burger[aria-expanded="true"] { border-color: var(--primary); color: var(--primary); }

/* The drawer behind the burger.  A floating card on desktop; below 600px
   the media query drops it into the flow under the bar links. */
.vome-landing-nav .nav-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 1rem;
	z-index: 1001;
	min-width: 12rem;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.5rem;
	border: 1px solid var(--border-light);
	border-radius: var(--radius);
	background: rgba(18, 18, 18, 0.97);
	backdrop-filter: saturate(140%) blur(10px);
	box-shadow: var(--shadow-lg);
	font-size: 0.95rem;
}
.vome-landing-nav .nav-menu.is-open { display: flex; }
.vome-landing-nav .nav-menu a {
	padding: 0.45rem 0.6rem;
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}
.vome-landing-nav .nav-menu a:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--primary);
}

@media (max-width: 600px) {
	.section { padding: 2.5rem 0; }

	.vome-landing-nav .container { flex-wrap: wrap; gap: 0.6rem; }
	/* The way in and the burger stay on the top row beside the wordmark;
	   both panels drop below them. */
	.vome-landing-nav .nav-cta { order: 2; padding: 0.35rem 0.8rem; font-size: 0.85rem; }
	.vome-landing-nav .nav-burger { order: 3; }
	.vome-landing-nav .nav-links { order: 4; }
	.vome-landing-nav .nav-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
		width: 100%;
		padding: 0.9rem 0.25rem 0.4rem;
		font-size: 1rem;
	}
	/* Collapsing is gated on ``.js`` (set by an inline script in the
	   head).  Without JavaScript the burger could never re-open the
	   panel, so the nav stays expanded rather than becoming a dead
	   button over hidden links. */
	.js .vome-landing-nav .nav-links { display: none; }
	.js .vome-landing-nav .nav-links.is-open { display: flex; }

	/* No room to float a card over a phone-width page — the extras just
	   continue the open drawer. */
	.vome-landing-nav .nav-menu {
		position: static;
		width: 100%;
		min-width: 0;
		padding: 0 0 0.5rem;
		border: none;
		background: none;
		box-shadow: none;
		font-size: 1rem;
	}
	.vome-landing-nav .nav-menu a { padding: 0.5rem 0.25rem; }
}

/* Without JavaScript the burger is a dead button, so hide it and let the
   footer carry the extras it would have opened. */
html:not(.js) .nav-burger { display: none; }
