:root {
	color-scheme: light;
	font-family: "Mona Sans", "Noto Sans JP", "Helvetica Neue", sans-serif;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	color: #1a1a1a;
	background: #fff;
	font-weight: 400;
	--ink: #111;
	--body: #555;
	--muted: #666;
	--line: #e5e5e5;
	--quiet: #f7f7f7;
	--page-width: 1312px;
}

* {
	box-sizing: border-box;
}

.installation[hidden],
.installation-grid article[hidden],
[data-download-link][hidden],
[data-download-status][hidden],
.platform-card .platform-status[hidden] {
	display: none;
}

body {
	min-width: 320px;
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

a:hover {
	text-decoration: underline;
}

a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 5px;
}

.skip-link {
	position: absolute;
	z-index: 2;
	top: 8px;
	left: 8px;
	padding: 8px 12px;
	transform: translateY(-160%);
	background: #fff;
	color: var(--ink);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	height: 94px;
	border-bottom: 1px solid var(--line);
}

.nav-shell,
.site-footer {
	width: min(100% - 48px, var(--page-width));
	margin-inline: auto;
}

.nav-shell {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: space-between;
}

.wordmark,
.footer-brand {
	color: var(--ink);
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.wordmark {
	font-size: 38px;
	letter-spacing: -0.055em;
}

.nav-link {
	font-size: 13px;
	font-weight: 600;
}

.hero {
	min-height: 441px;
	padding: 64px max(24px, calc((100% - var(--page-width)) / 2)) 60px;
}

.hero-inner {
	display: flex;
	min-height: 317px;
	flex-direction: column;
	justify-content: space-between;
}

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

.hero h1 {
	min-width: 0;
	overflow-wrap: anywhere;
	color: var(--ink);
	font-size: 48px;
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.4;
}

.hero-details {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.hero-description {
	max-width: 850px;
	color: var(--muted);
	font-size: 16px;
}

.hero-actions {
	display: flex;
	min-height: 49px;
	align-items: center;
	gap: 22px;
}

.text-link {
	font-size: 13px;
	font-weight: 500;
}

.button {
	display: inline-flex;
	min-height: 49px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.button-dark {
	background: var(--ink);
	color: #fff;
}

.button-dark:hover {
	background: #333;
	text-decoration: none;
}

.support-line {
	color: var(--muted);
	font-size: 13px;
}

.features {
	min-height: 259px;
	padding: 36px max(24px, calc((100% - var(--page-width)) / 2)) 40px;
	background: var(--quiet);
}

.content-shell h2 {
	margin-bottom: 18px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.5;
}

.content-shell > p {
	max-width: 980px;
	color: var(--body);
	font-size: 15px;
	line-height: 1.7;
}

.feature-copy {
	white-space: pre-line;
}

.content-shell .module-note {
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
}

.site-footer {
	display: flex;
	min-height: 90px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: var(--muted);
	font-size: 12px;
}

.footer-brand {
	font-size: 26px;
}

.site-footer-bordered {
	border-top: 1px solid var(--line);
}

.download-main {
	display: flex;
	min-height: 975px;
	flex-direction: column;
	gap: 32px;
	padding: 48px max(24px, calc((100% - var(--page-width)) / 2));
}

.page-heading h1 {
	font-size: 42px;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.5;
}

.page-heading p {
	margin-top: 4px;
	color: var(--muted);
	font-size: 16px;
}

.platform-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.platform-card {
	display: flex;
	min-height: 233px;
	flex-direction: column;
	align-items: flex-start;
	gap: 13px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 4px;
}

.platform-card h2 {
	font-size: 26px;
	font-weight: 600;
	line-height: 1.65;
}

.platform-card p {
	color: var(--muted);
	font-size: 15px;
}

.platform-card .format-line {
	font-size: 13px;
}

.platform-card .platform-status {
	display: inline-flex;
	min-height: 47px;
	align-items: center;
	padding: 10px 20px;
	border-radius: 4px;
	background: #f0f0f0;
	color: #555;
	font-size: 14px;
	font-weight: 600;
}

.release-row {
	display: flex;
	min-height: 21px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.release-row p {
	color: var(--muted);
	font-size: 13px;
}

.notice {
	display: flex;
	min-height: 130px;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 24px;
	border-radius: 4px;
	background: var(--quiet);
}

.notice h2 {
	font-size: 16px;
	font-weight: 600;
}

.notice p {
	color: var(--body);
	font-size: 14px;
}

.installation {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.installation > h2 {
	font-size: 24px;
	font-weight: 600;
}

.installation-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px;
}

.installation-grid article {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.installation-grid h3 {
	font-size: 18px;
	font-weight: 600;
}

.installation-grid p {
	color: var(--body);
	font-size: 14px;
}

.command {
	display: block;
	width: 100%;
	padding: 14px;
	border-radius: 4px;
	background: var(--quiet);
	color: var(--ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
	overflow-wrap: anywhere;
}

@media (min-width: 1440px) {
	.hero,
	.features,
	.download-main {
		padding-right: max(64px, calc((100% - var(--page-width)) / 2));
		padding-left: max(64px, calc((100% - var(--page-width)) / 2));
	}
}

@media (max-width: 720px) {
	.site-header {
		height: 76px;
	}

	.nav-shell,
	.site-footer {
		width: calc(100% - 48px);
	}

	.wordmark {
		font-size: 32px;
	}

	.hero {
		min-height: 0;
		padding: 48px 24px 44px;
	}

	.hero-inner {
		min-height: 0;
		gap: 32px;
	}

	.hero h1 {
		font-size: clamp(28px, 7.5vw, 36px);
		line-height: 1.35;
	}

	.hero-details {
		gap: 20px;
	}

	.hero-description {
		font-size: 15px;
	}

	.hero-actions {
		flex-wrap: wrap;
		gap: 16px 20px;
	}

	.features {
		min-height: 0;
		padding: 32px 24px 36px;
	}

	.site-footer {
		min-height: 88px;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 10px 18px;
		padding-block: 20px;
	}

	.footer-brand {
		width: 100%;
	}

	.download-main {
		min-height: 0;
		gap: 28px;
		padding: 36px 24px 44px;
	}

	.page-heading h1 {
		font-size: 36px;
	}

	.platform-grid,
	.installation-grid {
		grid-template-columns: 1fr;
	}

	.platform-card {
		min-height: 0;
		gap: 10px;
		padding: 22px;
	}

	.platform-card h2 {
		font-size: 24px;
	}

	.release-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.notice {
		min-height: 0;
		padding: 20px;
	}

	.installation-grid {
		gap: 28px;
	}
}
