/* Lightbeam Apps — Plain CSS (replaces Bootstrap) */

/* === Reset === */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* === Custom Properties === */
:root {
	--lb-background: #001021;
	--lb-azure: #3a86ff;
	--lb-cerulean: #2C50B5;
	--lb-hover: #1D437F;
	--lb-white: #ffffff;
	--lb-text-muted: #9ca3af;
	--lb-card-radius: 1rem;
	--lb-icon-size: 100px;
	--lb-icon-radius: 1rem;
	--lb-card-shadow: 0 1px 3px 0 rgba(255, 255, 255, 0.06), 0 4px 12px 0 rgba(0, 0, 0, 0.25);
	--lb-icon-shadow: 0 1px 3px 0 rgba(255, 255, 255, 0.1), 0 4px 12px 0 rgba(0, 0, 0, 0.3);
	--lb-max-width: 52rem;
}

/* === Base === */
html {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Oxanium', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	font-weight: 300;
}

body {
	min-height: 100vh;
	background-color: var(--lb-background);
	color: var(--lb-white);
	padding: clamp(1rem, 4vw, 1.5rem);
	--lb-blob-color-1: #3a86ff;
	--lb-blob-color-2: #94a3b8;
}

body.theme-orange {
	--lb-blob-color-1: #ff4500;
}

body.theme-govj {
	--lb-blob-color-1: #93c5fd;
	--lb-blob-color-2: #cbd5e1;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 60% 70% at 75% 25%, var(--lb-blob-color-1) 0%, transparent 60%),
		radial-gradient(ellipse 55% 65% at 25% 75%, var(--lb-blob-color-2) 0%, transparent 65%);
	filter: blur(80px);
	opacity: 0.5;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	list-style: none;
}

p {
	font-size: 0.875rem;
}

/* === Utilities === */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.full-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* === Focus Styles === */
:focus-visible {
	outline: 2px solid var(--lb-azure);
	outline-offset: 2px;
}

.app-card-link:focus-visible .app-card {
	outline: 2px solid var(--lb-white);
	outline-offset: 4px;
	transform: scale(1.02);
}

.app-card-link:focus-visible {
	outline: none;
}

/* === Header === */
.header {
	text-align: center;
	margin-bottom: 0;
}

.header a {
	display: inline-block;
}

.header a:hover {
	text-decoration: none;
}

.homepage-tagline {
	text-align: center;
	color: var(--lb-text-muted);
	font-size: 0.875rem;
	max-width: var(--lb-max-width);
	margin-inline: auto;
	margin-top: 0;
	margin-bottom: 3rem;
}

.header-logo {
	width: min(450px, 85vw);
	height: auto;
	margin-inline: auto;
}

/* === Site Navigation === */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--lb-background);
	padding-top: 0.5rem;
	padding-bottom: 1rem;
	margin-top: calc(-1 * clamp(1rem, 4vw, 1.5rem));
	margin-left: calc(-1 * clamp(1rem, 4vw, 1.5rem));
	margin-right: calc(-1 * clamp(1rem, 4vw, 1.5rem));
	padding-left: clamp(1rem, 4vw, 1.5rem);
	padding-right: clamp(1rem, 4vw, 1.5rem);
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--lb-white);
	cursor: pointer;
	padding: 0.5rem;
	margin-inline: auto;
}

.nav-toggle-icon {
	width: 24px;
	height: 24px;
}

.nav-toggle-close {
	display: none;
}

.nav-menu {
	display: flex;
	justify-content: center;
	gap: 0.25rem;
	list-style: none;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--lb-text-muted);
	transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
	color: var(--lb-white);
	background-color: rgba(255, 255, 255, 0.08);
	text-decoration: none;
}

.nav-link-active {
	color: var(--lb-white);
	background-color: rgba(58, 134, 255, 0.10);
}

.nav-icon {
	width: 24px;
	height: 24px;
	border-radius: var(--lb-icon-radius);
	object-fit: cover;
	flex-shrink: 0;
}

.nav-icon-svg {
	border-radius: 0;
}

/* === App Cards === */
.app-card-link {
	display: block;
	max-width: var(--lb-max-width);
	margin-inline: auto;
	margin-bottom: 1.5rem;
}

.app-card-link:hover {
	text-decoration: none;
}

.app-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	border-radius: var(--lb-card-radius);
	padding: 1rem;
	box-shadow: var(--lb-card-shadow);
	transition: transform 0.15s ease;
}

.app-card-link:hover .app-card {
	transform: scale(1.02);
}

.app-card-azure {
	background-color: var(--lb-azure);
}

.app-card-cerulean {
	background-color: var(--lb-cerulean);
}

.app-card-icon-wrap {
	flex-shrink: 0;
}

.app-card-icon {
	width: var(--lb-icon-size);
	height: var(--lb-icon-size);
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--lb-icon-radius);
	box-shadow: var(--lb-icon-shadow);
}

.app-card-text h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.app-card-text p {
	font-size: 1rem;
	opacity: 0.9;
}

/* === Footer === */
.footer {
	max-width: var(--lb-max-width);
	margin-inline: auto;
	padding-top: 2rem;
	color: var(--lb-text-muted);
	font-size: 0.875rem;
	background-color: transparent;
}

.footer-inner {
	text-align: center;
}

.footer-socials {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

.footer-socials a {
	color: var(--lb-text-muted);
	transition: color 0.15s ease;
}

.footer-socials a:hover {
	color: var(--lb-white);
	text-decoration: none;
}

.footer-social-icon {
	width: 24px;
	height: 24px;
	display: block;
}

.footer-copyright {
	color: var(--lb-text-muted);
}

/* === Content Card === */
.content-card {
	max-width: var(--lb-max-width);
	margin-inline: auto;
	border-radius: var(--lb-card-radius);
	padding: 1rem;
	margin-bottom: 1rem;
	box-shadow: var(--lb-card-shadow);
}

.content-card-azure {
	background-color: var(--lb-azure);
}

.content-card-cerulean {
	background-color: var(--lb-cerulean);
}

.content-card-transparent {
	background-color: transparent;
	box-shadow: none;
	padding: 0;
}

.content-card h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.content-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.content-card h3:first-child {
	margin-top: 0;
}

.content-card p {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.content-card a {
	text-decoration: underline;
}

.content-card ul {
	list-style: disc;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.content-card li {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 0.25rem;
}

.content-card-inner {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.content-card-left {
	flex-shrink: 0;
}

.content-card-headshot {
	width: var(--lb-icon-size);
	height: var(--lb-icon-size);
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--lb-icon-radius);
	box-shadow: var(--lb-icon-shadow);
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.content-card-right {
	padding-top: 1rem;
}

.content-card-stacked {
	text-align: center;
}

.content-card-stacked .content-card-headshot {
	display: block;
	margin-inline: auto;
}

.content-card-stacked p {
	text-align: left;
}

@media (max-width: 640px) {
	.content-card-inner {
		flex-direction: column;
	}
}

/* === Error Page === */
.error-page {
	max-width: var(--lb-max-width);
	margin-inline: auto;
	text-align: center;
	padding-top: 4rem;
}

.error-page h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.error-page p {
	font-size: 1.125rem;
	margin-bottom: 2rem;
	color: var(--lb-text-muted);
}

.error-page a {
	color: var(--lb-azure);
	text-decoration: underline;
}

/* === App Landing Page === */
.app-landing-page {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.app-landing-header {
	text-align: center;
	padding: 3rem 1.5rem 1rem;
	background-color: transparent;
}

.app-landing-header h1 {
	font-size: 3.75rem;
	font-weight: 700;
}

.app-landing-header h2 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-top: 0.25rem;
}

.app-feature {
	padding: 3rem 1.5rem;
}

.app-feature-dark {
	background-color: transparent;
	color: var(--lb-white);
	position: relative;
	overflow: hidden;
}

.app-feature-light {
	background-color: transparent;
	color: #1e293b;
/*	backdrop-filter: invert(1);*/
/*	-webkit-backdrop-filter: invert(1);*/
	position: relative;
}

.app-feature-light::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(255, 255, 255, 1.0);
/*	mix-blend-mode: plus-lighter;*/
	pointer-events: none;
	z-index: -1;
}

.app-feature-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: 64rem;
	margin-inline: auto;
	align-items: center;
	position: relative;
	z-index: 1;
}

.app-feature-inner-reverse {
	direction: ltr;
}

.app-feature-screenshot {
	display: flex;
	align-items: center;
	justify-content: center;
}

.app-screenshot {
	max-width: 321px;
	border-radius: 0.5rem;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.app-screenshot-small {
	max-width: 160px;
}

.app-screenshot-fill {
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.app-about-headshot {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.app-about-headshot-large {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	object-fit: cover;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.app-feature-light .app-screenshot {
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.app-feature-list {
	list-style: disc;
	padding-left: 1.5rem;
	margin-top: 1rem;
}

.app-feature-list li {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.app-feature-text h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #2563eb;
	margin-bottom: 0.5rem;
}

.app-feature-subtitle {
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.app-feature-text p {
	font-size: 1rem;
	line-height: 1.6;
}

.app-feature-text p + p,
.app-feature-text-full p + p {
	margin-top: 1rem;
}

.app-feature-text-full {
	max-width: 64rem;
	margin-inline: auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

.app-feature-text-full h2 {
	font-size: 2rem;
	font-weight: 600;
	color: #2563eb;
	margin-bottom: 0.5rem;
}

.app-feature-text-full p {
	font-size: 1rem;
	line-height: 1.6;
}

.app-feature-text-full .app-feature-list {
	display: inline-block;
	text-align: left;
}

.app-feature-text-full .app-download-link {
	display: block;
	width: fit-content;
	margin: 1.5rem auto 0;
}

.app-feature-text-full p a {
	color: var(--lb-azure);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.app-feature-text-full p a:hover {
	color: var(--lb-white);
}

.app-feature-light .app-feature-text-full p a {
	color: #2563eb;
}

.app-feature-light .app-feature-text-full p a:hover {
	color: #1e293b;
}

.app-feature-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	margin-top: 1.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	background-color: var(--lb-azure);
	color: var(--lb-white);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.app-feature-cta:hover {
	background-color: var(--lb-white);
	color: var(--lb-background);
	text-decoration: none;
}

.app-feature-cta-icon {
	width: 20px;
	height: 20px;
}

.app-feature-light .app-feature-text p {
	color: #1e293b;
}

.app-download-link {
	display: inline-block;
	margin-top: 1.5rem;
}

.app-download-link:hover {
	text-decoration: none;
}

.app-download-badge {
	width: 220px;
}

/* Features Grid */
.app-features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem 2rem;
	max-width: 56rem;
	margin-inline: auto;
	position: relative;
	z-index: 1;
}

.app-features-grid-item {
	position: relative;
	padding-left: 4rem;
}

.app-features-grid-icon {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	background-color: #2563eb;
}

.app-features-grid-icon svg {
	width: 1.5rem;
	height: 1.5rem;
}

.app-features-grid-item dt {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.75;
}

.app-features-grid-item dd {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.25;
	color: var(--lb-text-muted);
}

.app-features-grid-item dd li {
	list-style: none;
}

/* App Landing CTA */
.app-cta {
	text-align: center;
	padding: 4rem 1.5rem;
	background-color: transparent;
}

.app-cta h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.app-cta > p {
	font-size: 1rem;
	color: #d4d4d4;
	max-width: 36rem;
	margin-inline: auto;
	margin-bottom: 2rem;
}

.app-cta-form {
	max-width: 24rem;
	margin-inline: auto;
	text-align: left;
}

.app-cta-field {
	margin-bottom: 1rem;
}

.app-cta-field label {
	display: block;
	font-weight: 700;
	color: #6b7280;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
}

.app-cta-field input {
	width: 100%;
	padding: 0.5rem 1rem;
	border: 2px solid #e5e7eb;
	border-radius: 0.375rem;
	background: #e5e7eb;
	color: #374151;
	font-size: 1rem;
}

.app-cta-field input:focus {
	outline: none;
	background: var(--lb-white);
	border-color: #3b82f6;
}

.app-cta-checkbox {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: #6b7280;
}

.app-cta-checkbox input {
	margin-right: 0.5rem;
}

.app-cta-button {
	width: 100%;
	padding: 0.5rem 1rem;
	background: #3b82f6;
	color: var(--lb-white);
	font-weight: 700;
	border: none;
	border-radius: 0.375rem;
	font-size: 1rem;
	cursor: pointer;
	margin-top: 0.5rem;
}

.app-cta-button:hover {
	background: #60a5fa;
}

/* App Landing Footer */
.app-landing-footer {
	padding: 4rem 1.5rem 3rem;
	border-top: 1px solid rgba(229, 229, 229, 0.1);
	max-width: 64rem;
	margin-inline: auto;
	background-color: transparent;
	text-align: center;
}

.app-landing-footer-social {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.app-social-icon {
	width: 24px;
	height: 24px;
	color: var(--lb-white);
	transition: color 0.15s ease;
}

.app-landing-footer-social a:hover .app-social-icon {
	color: #737373;
}

.app-landing-footer-social a:hover {
	text-decoration: none;
}

.app-landing-footer-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2rem;
	font-size: 0.8125rem;
}

.app-landing-footer-links a {
	color: var(--lb-white);
}

.app-landing-footer-copyright {
	font-size: 0.8125rem;
	color: #737373;
}

.app-landing-footer-copyright a {
	color: var(--lb-white);
}

@media (max-width: 768px) {
	.app-landing-header h1 {
		font-size: 2.5rem;
	}

	.app-feature-inner {
		grid-template-columns: 1fr;
	}

	.app-feature-inner-reverse {
		direction: ltr;
	}

	.app-feature-inner-reverse .app-feature-screenshot {
		order: -1;
	}

	.app-feature-text {
		text-align: center;
	}

	.app-screenshot {
		max-width: 260px;
	}

	.nav-toggle {
		display: block;
	}

	.nav-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		max-height: 0;
		padding: 0;
		overflow: hidden;
		transition: max-height 0.35s ease, padding 0.35s ease;
	}

	.nav-menu-open {
		max-height: 500px;
		padding: 0.5rem 0;
	}

	@media (prefers-reduced-motion: reduce) {
		.nav-menu {
			transition: none;
		}
	}

	.nav-link {
		padding: 0.75rem 1rem;
		font-size: 1rem;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-open {
		display: none;
	}

	.nav-toggle[aria-expanded="true"] .nav-toggle-close {
		display: inline;
	}

	.app-features-grid {
		padding-inline: 1rem;
	}
}

@media (min-width: 1024px) {
	.app-features-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* === Video to Audio Page === */
.vta-hero {
	display: flex;
	max-width: 64rem;
	margin-inline: auto;
	gap: 3rem;
	padding: 2rem 0 3rem;
	align-items: flex-start;
}

.vta-preview {
	flex-shrink: 0;
	width: 400px;
	position: relative;
}

.vta-screenshot {
	width: 349px;
	-webkit-clip-path: url(#screenMask);
	clip-path: url(#screenMask);
	margin-left: 26px;
	margin-top: 23px;
}

.vta-app-info {
	padding-top: 2rem;
}

.vta-app-name-wrap {
	margin-top: 1.5rem;
}

.vta-app-name {
	font-size: 2rem;
	font-weight: 700;
}

.vta-app-description {
	font-size: 1.25rem;
	line-height: 1.5;
	margin-top: 1.5rem;
}

.vta-app-store-link {
	display: inline-block;
	margin-top: 1.5rem;
	filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.1)) drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.2));
}

.vta-app-store-link:hover {
	text-decoration: none;
}

.vta-app-store-badge {
	height: 75px;
}

.vta-features-wrap {
	position: relative;
	overflow: hidden;
}

.vta-features {
	display: flex;
	flex-wrap: wrap;
	max-width: 64rem;
	margin-inline: auto;
	padding: 3rem 0;
	position: relative;
	z-index: 1;
}

.vta-feature {
	display: flex;
	width: calc(100% / 3);
	padding: 0 1rem 2rem;
	gap: 1rem;
}

.vta-feature:nth-child(-n+3) {
	padding-top: 0;
}

.vta-feature-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #ff4500;
}

.vta-feature-icon svg {
	width: 24px;
	height: 24px;
}

.vta-feature-text h3 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.vta-feature-text p {
	font-size: 0.9375rem;
	color: var(--lb-text-muted);
	line-height: 1.5;
}

.vta-footer {
	max-width: 64rem;
	margin-inline: auto;
	text-align: center;
	padding: 3rem 0;
}

.vta-footer-icons {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.vta-footer-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: #ff4500;
	transition: background 0.15s ease;
}

.vta-footer-icons a:hover {
	background: rgba(255, 255, 255, 0.2);
	text-decoration: none;
}

.vta-footer-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.vta-footer-links a {
	color: #ff4500;
}

/* === Responsive === */
@media (max-width: 992px) {
	.vta-hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.vta-preview {
		width: 260px;
		display: flex;
		justify-content: center;
	}

	.vta-screenshot {
		width: 226px;
		margin: 17px 0 0 0;
	}

	.vta-feature {
		width: 50%;
		padding: 1rem 0;
	}
}

@media (max-width: 640px) {
	.app-card {
		gap: 1rem;
		padding: 0.75rem;
	}

	.app-card-icon {
		width: 70px;
		height: 70px;
	}

	.app-card-text h2 {
		font-size: 1.25rem;
	}

	.vta-feature {
		width: 100%;
	}
}
