:root {
	color-scheme: dark;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #07111f;
	color: #f4f7fb;
}

* {
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	margin: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	background:
		radial-gradient(circle at 15% 20%, rgba(53, 211, 153, 0.16), transparent 34%),
		radial-gradient(circle at 85% 80%, rgba(47, 128, 237, 0.16), transparent 38%),
		#07111f;
}

.download-card {
	width: min(100%, 460px);
	padding: 48px 36px 40px;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 28px;
	background: rgba(12, 27, 46, 0.88);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(16px);
}

.app-mark {
	width: 72px;
	height: 72px;
	margin: 0 auto 26px;
	display: grid;
	place-items: center;
	border-radius: 22px;
	background: linear-gradient(145deg, #55e5ad, #1ca475);
	box-shadow: 0 14px 36px rgba(42, 207, 145, 0.24);
	color: #04140e;
	font-size: 32px;
	font-weight: 800;
}

.eyebrow {
	margin: 0 0 12px;
	color: #55e5ad;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.16em;
}

h1 {
	margin: 0;
	font-size: clamp(30px, 8vw, 42px);
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.status {
	min-height: 24px;
	margin: 18px 0 30px;
	color: #aebdcd;
	font-size: 15px;
	line-height: 1.6;
}

.status.error {
	color: #ff9c9c;
}

.edge-location {
	margin: -16px 0 24px;
	color: #7f93a8;
	font-size: 12px;
}

.edge-location strong {
	color: #55e5ad;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 13px;
}

.checksum-panel {
	margin: 0 0 28px;
	padding: 18px;
	text-align: left;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	background: rgba(3, 12, 23, 0.42);
}

.checksum-panel h2 {
	margin: 0 0 14px;
	color: #dbe5ef;
	font-size: 13px;
	font-weight: 700;
}

.checksum-row + .checksum-row {
	margin-top: 14px;
}

.checksum-row span {
	display: block;
	margin-bottom: 6px;
	color: #7f93a8;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
}

.checksum-row code {
	display: block;
	color: #b9f8df;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 11px;
	line-height: 1.55;
	overflow-wrap: anywhere;
	user-select: all;
}

.download-button {
	width: 100%;
	min-height: 56px;
	border: 0;
	border-radius: 16px;
	background: #55e5ad;
	color: #04140e;
	font: inherit;
	font-size: 16px;
	font-weight: 780;
	cursor: pointer;
	box-shadow: 0 14px 34px rgba(42, 207, 145, 0.2);
	transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.download-button:hover:not(:disabled) {
	transform: translateY(-2px);
	background: #78efc2;
	box-shadow: 0 18px 42px rgba(42, 207, 145, 0.27);
}

.download-button:active:not(:disabled) {
	transform: translateY(0);
}

.download-button:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.9);
	outline-offset: 4px;
}

.download-button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

@media (max-width: 520px) {
	.download-card {
		padding: 40px 24px 30px;
		border-radius: 22px;
	}
}

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