@font-face {
	font-family: "Avenir Next";
	src: local("Avenir Next"),
		 local("AvenirNext-Regular"),
		 local("AvenirNext"),
		 url("Avenir Next.ttc") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Avenir Next";
	src: local("Avenir Next Demi Bold"),
		 local("AvenirNext-DemiBold"),
		 url("Avenir Next.ttc") format("truetype");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* Base reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1;
	color: #fff;
	background:
		radial-gradient(1200px 700px at 50% 30%, #111 0%, #070707 55%, #000 90%) fixed,
		radial-gradient(1400px 900px at 50% 120%, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0) 70%) fixed,
		linear-gradient(180deg, #0b0b0b 0%, #000 100%) fixed;
	overflow: hidden;
}

/* Subtle grain overlay using layered gradients */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 2px 2px, 2px 2px;
	mix-blend-mode: overlay;
	opacity: 0.6;
}

.container {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 32px 20px 96px; /* leave room for footer */
}

/* New stack groups logo and icons and keeps vertical spacing */
.stack {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 22px;
}

.logo {
	width: min(50vw, 660px);
	height: auto;
	display: block;
	filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}

.apps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 3vw, 28px);
}

.app-icon {
	width: clamp(64px, 12vw, 120px);
	height: auto;
	display: block;
	border-radius: 22%;
	box-shadow: 0 8px 24px rgba(0,0,0,0.55);
	transition: transform 200ms ease, filter 200ms ease;
}

.app-icon:hover {
	transform: translateY(-3px) scale(1.02);
	filter: brightness(1.05);
}

.site-footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px 20px 24px;
	text-align: center;
	color: rgba(255,255,255,0.85);
	background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
}

.site-footer .strap {
	margin: 0 0 6px 0;
	font-size: 14px;
	letter-spacing: 0.2px;
}

.site-footer .address {
	margin: 0;
	font-size: 12px;
	color: rgba(255,255,255,0.7);
}

@media (max-width: 520px) {
	.stack { gap: 18px; }
	.logo { width: min(66vw, 572px); }
	.site-footer .strap { font-size: 13px; }
	.site-footer .address { font-size: 11px; }
}
