:root {
	--arctic: #54a6ff;
	--arctic-deep: #2f6fce;
	--ink: #103a63;
	--primary: #feb904;
	--primary-edge: #c98900;
	--accent: #537917;
	--accent-edge: #33500b;
	--paper: #ffffff;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family:
		"Nunito",
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		Helvetica,
		Arial,
		sans-serif;
	font-weight: 500;
	color: var(--ink);
	background: linear-gradient(180deg, var(--arctic) 0%, var(--arctic-deep) 100%);
	min-height: 100vh;
	overflow-x: hidden;
}

.wrap {
	max-width: 640px;
	margin: 0 auto;
	padding: 48px 24px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.parachute {
	width: min(220px, 55%);
	height: auto;
	margin-bottom: -12%;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.logo {
	width: min(420px, 100%);
	height: auto;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.tagline {
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.5;
	margin: 20px 0 8px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.features {
	list-style: none;
	padding: 0;
	margin: 8px 0 32px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #eaf4ff;
	font-size: 0.98rem;
}

.features li::before {
	content: "★ ";
	color: var(--primary);
}

.downloads {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-bottom: 8px;
}

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 16px;
	font-weight: 800;
	font-size: 1rem;
	text-decoration: none;
	color: #ffffff;
	transform: translateY(-4px);
	transition: transform 0.08s ease;
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.btn:active {
	transform: translateY(0);
	box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
}

.btn-primary {
	background: var(--primary);
	color: #4a2d00;
	border-bottom: 4px solid var(--primary-edge);
}

.btn-secondary {
	background: var(--accent);
	color: #eaf9d8;
	border-bottom: 4px solid var(--accent-edge);
}

.btn-white {
	background: #ffffff;
	color: var(--ink);
	border-bottom: 4px solid #c3d6ea;
}

.btn-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.btn.disabled {
	opacity: 0.7;
	cursor: default;
}

footer {
	margin-top: 40px;
	padding-bottom: 24px;
	color: #dceaff;
	font-size: 0.85rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

footer .links {
	display: flex;
	gap: 16px;
}

footer a {
	color: #ffffff;
	text-decoration: underline;
}

/* Legal pages */
.legal-header {
	display: flex;
	justify-content: center;
	padding: 32px 24px 8px;
}

.legal-logo {
	width: 220px;
	height: auto;
}

.legal-content {
	background: var(--paper);
	color: #21324a;
	max-width: 720px;
	margin: 24px auto 64px;
	padding: 32px 36px;
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
	line-height: 1.6;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
	font-weight: 800;
	color: var(--ink);
}

.legal-content a {
	color: var(--arctic-deep);
}

.legal-back {
	display: inline-block;
	margin: 0 auto 8px;
	text-align: center;
}

@media (max-width: 480px) {
	.legal-content {
		margin: 16px 12px 48px;
		padding: 24px 20px;
	}
}
