:root {
	color-scheme: dark;
	--bg: #0f1012;
	--surface: rgba(32, 34, 38, 0.86);
	--surface-strong: #202226;
	--text: #f3f6fb;
	--muted: #a8b0bc;
	--line: rgba(255, 255, 255, 0.12);
	--accent: #0078d4;
	--accent-strong: #4cc2ff;
	--good: #49d17d;
	--warn: #f3ba42;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 16% 18%, rgba(0, 120, 212, 0.20), transparent 28rem),
		linear-gradient(135deg, #111316 0%, #08090b 100%);
	color: var(--text);
	font: 16px/1.5 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a {
	color: inherit;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	padding: 0 max(24px, calc((100vw - 1120px) / 2));
	border-bottom: 1px solid var(--line);
	background: rgba(15, 16, 18, 0.78);
	backdrop-filter: blur(24px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	font-size: 20px;
}

.brand-link {
	text-decoration: none;
}

.icon-only {
	gap: 0;
}

.brand img {
	display: block;
	border-radius: 8px;
}

nav {
	display: flex;
	gap: 8px;
}

nav a {
	min-height: 36px;
	padding: 7px 12px;
	border-radius: 8px;
	color: var(--muted);
	text-decoration: none;
}

nav a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
}

main {
	width: min(1120px, calc(100vw - 32px));
	margin: 0 auto;
	padding: 56px 0;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 44px;
	align-items: center;
	min-height: 470px;
}

.hero-copy {
	display: grid;
	gap: 18px;
}

.eyebrow {
	margin: 0;
	color: var(--accent-strong);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0;
}

h1,
h2,
h3,
p {
	margin: 0;
}

h1 {
	max-width: 680px;
	font-size: 58px;
	line-height: 1.05;
	letter-spacing: 0;
}

.lead {
	max-width: 650px;
	color: var(--muted);
	font-size: 19px;
}

.hero-visual {
	position: relative;
	min-height: 380px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background:
		linear-gradient(160deg, rgba(0, 120, 212, 0.16), rgba(255, 255, 255, 0.04)),
		var(--surface);
	overflow: hidden;
}

.hero-visual > img {
	position: absolute;
	top: 38px;
	left: 50%;
	width: 248px;
	height: 120px;
	object-fit: contain;
	transform: translateX(-50%);
}

.glass-tile {
	position: absolute;
	left: 38px;
	right: 38px;
	bottom: 34px;
	display: grid;
	place-items: center;
	min-height: 176px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(24px);
}

.glass-tile img {
	width: 116px;
	height: 116px;
	object-fit: contain;
}

.release-panel {
	margin-top: 24px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	backdrop-filter: blur(20px);
}

.panel-title {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
}

.panel-title h2 {
	margin-top: 4px;
	font-size: 32px;
	letter-spacing: 0;
}

.build-pill,
.status-pill {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--muted);
	white-space: nowrap;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.store-action {
	margin-top: 24px;
	min-height: 54px;
}

.secondary-actions {
	margin-top: 14px;
}

.uwp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.uwp-button:hover {
	border-color: rgba(255, 255, 255, 0.32);
	background: rgba(255, 255, 255, 0.14);
}

.uwp-button.primary {
	border-color: var(--accent);
	background: var(--accent);
	color: white;
	font-weight: 700;
}

.uwp-button.disabled,
.uwp-button:disabled {
	opacity: 0.48;
	cursor: not-allowed;
}

.notice {
	margin-top: 18px;
	color: var(--muted);
}

.primary-notice {
	max-width: 760px;
}

.privacy-panel {
	margin-top: 22px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(18, 20, 24, 0.76);
	backdrop-filter: blur(20px);
}

.privacy-panel h2 {
	margin-top: 4px;
	font-size: 32px;
	letter-spacing: 0;
}

.privacy-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.privacy-grid article {
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.18);
}

.privacy-grid h3 {
	margin-bottom: 8px;
	font-size: 18px;
	letter-spacing: 0;
}

.privacy-grid p,
.privacy-note {
	color: var(--muted);
}

.privacy-note {
	margin-top: 18px;
	max-width: 820px;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: min(1120px, calc(100vw - 32px));
	margin: 0 auto;
	padding: 26px 0 42px;
	color: var(--muted);
}

.site-footer > div:first-child {
	display: grid;
	gap: 2px;
}

.site-footer strong {
	color: var(--text);
}

.footer-links {
	display: flex;
	gap: 8px;
}

.footer-links a {
	padding: 7px 12px;
	border-radius: 8px;
	text-decoration: none;
}

.footer-links a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text);
}

.policy-main {
	max-width: 900px;
}

.policy-hero {
	display: grid;
	gap: 14px;
	padding: 16px 0 28px;
}

.policy-hero h1 {
	font-size: 48px;
}

.policy-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	backdrop-filter: blur(20px);
}

.policy-section + .policy-section {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.policy-section h2 {
	margin-bottom: 10px;
	font-size: 24px;
	letter-spacing: 0;
}

.policy-section p {
	color: var(--muted);
}

@media (max-width: 840px) {
	.topbar {
		position: static;
		padding: 12px 16px;
	}

	nav {
		display: none;
	}

	main {
		padding-top: 28px;
	}

	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 22px;
	}

	h1 {
		font-size: 42px;
	}

	.hero-visual {
		min-height: 320px;
	}

	.privacy-grid {
		grid-template-columns: 1fr;
	}

	.release-panel {
		padding: 20px;
	}

	.privacy-panel {
		padding: 20px;
	}

	.policy-card {
		padding: 20px;
	}

	.policy-hero h1 {
		font-size: 40px;
	}

	.site-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}
