/* Shapes the public Mac release page around the Kaordo typeface and a quiet violet accent */
@font-face {
	font-family: Jakarta;
	src: url('/assets/jakarta.woff2') format('woff2');
	font-weight: 200 800;
	font-display: swap;
}
:root {
	color-scheme: dark;
	--canvas: #101012;
	--raised: #18171b;
	--ink: #f4f2f7;
	--muted: #a6a1ae;
	--faint: #79737f;
	--line: rgba(255, 255, 255, 0.09);
	--accent: #b18aff;
	--accent-ink: #171020;
	--focus: #dbc7ff;
	font-family:
		Jakarta,
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	font-size: 16px;
	scroll-behavior: smooth;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
}
a {
	color: inherit;
	text-decoration: none;
}
button,
a,
summary {
	-webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 6px;
	border-radius: 6px;
}
a,
summary {
	touch-action: manipulation;
}
p {
	line-height: 1.7;
	text-wrap: pretty;
}
h1,
h2,
h3,
p {
	margin: 0;
}
h1,
h2 {
	text-wrap: balance;
}
.wrap {
	width: min(1120px, calc(100% - 80px));
	margin-inline: auto;
}
.skip {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 2;
	background: var(--accent);
	color: var(--accent-ink);
	padding: 12px;
}
.skip:focus {
	top: 12px;
}
.masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 30px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 750;
	letter-spacing: -0.6px;
	min-height: 44px;
}
.brand-mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 10px;
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -1px;
}
.masthead nav a {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}
.masthead nav a:hover,
footer > a:last-child:hover {
	color: var(--ink);
}
.hero {
	padding-block: 100px 70px;
	text-align: center;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 12px;
	font-weight: 650;
	letter-spacing: 0.08em;
	color: var(--muted);
}
.mac-symbol {
	font-size: 17px;
	color: var(--accent);
}
h1 {
	margin-top: 26px;
	font-size: clamp(52px, 6.8vw, 84px);
	line-height: 1.1;
	letter-spacing: -0.065em;
	font-weight: 750;
}
h1 span {
	color: var(--muted);
}
.intro {
	margin-top: 28px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--muted);
	letter-spacing: -0.3px;
}
.download-area[hidden],
.download[hidden] {
	display: none;
}
.download-area {
	margin-top: 36px;
}
.download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	min-width: 250px;
	padding: 15px 22px;
	border-radius: 14px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 14px;
	font-weight: 750;
	cursor: pointer;
	transition:
		transform 140ms,
		background-color 140ms;
}
.download:hover {
	background: var(--focus);
	transform: translateY(-1px);
}
.download:active {
	transform: scale(0.98);
}
.download[aria-disabled='true'] {
	background: var(--raised);
	color: var(--muted);
	cursor: default;
	transform: none;
}
.download svg {
	width: 19px;
	height: 19px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.download-meta {
	margin-top: 13px;
	font-size: 11px;
	color: var(--faint);
	min-height: 20px;
	font-variant-numeric: tabular-nums;
}
.checksum {
	margin: 12px auto 0;
	max-width: 570px;
	color: var(--faint);
	font-size: 11px;
}
.checksum[hidden] {
	display: none;
}
.checksum summary {
	cursor: pointer;
	display: inline-block;
	padding: 8px;
}
.checksum p {
	margin-top: 8px;
}
.checksum code {
	display: block;
	overflow-wrap: anywhere;
	line-height: 1.8;
	user-select: all;
}
.module-line {
	margin-top: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	flex-wrap: wrap;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.2px;
}
.module-line i {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--faint);
}
.about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
	padding-block: 65px 90px;
	border-top: 1px solid var(--line);
}
.section-index {
	font-size: 10px;
	color: var(--faint);
	font-weight: 650;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}
h2 {
	font-size: clamp(30px, 3.8vw, 44px);
	font-weight: 650;
	letter-spacing: -0.05em;
	line-height: 1.2;
	margin-top: 20px;
}
.about-copy {
	padding-top: 24px;
	font-size: 14px;
	color: var(--muted);
}
.about-copy p + p {
	margin-top: 20px;
}
.history {
	padding-block: 70px 100px;
	border-top: 1px solid var(--line);
	scroll-margin-top: 24px;
}
.section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 40px;
	margin-bottom: 44px;
}
.section-heading > p {
	font-size: 12px;
	color: var(--faint);
	max-width: 250px;
}
.release {
	border-top: 1px solid var(--line);
}
.release:last-child {
	border-bottom: 1px solid var(--line);
}
.release > summary {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	cursor: pointer;
	padding: 25px 8px;
	min-height: 80px;
}
.release > summary::-webkit-details-marker {
	display: none;
}
.release-version {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 650;
	font-size: 20px;
	letter-spacing: -0.6px;
	flex: 1;
}
.latest-label {
	font-size: 9px;
	font-weight: 650;
	letter-spacing: 0.02em;
	padding: 5px 8px;
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--accent);
}
time {
	font-size: 11px;
	color: var(--faint);
	font-variant-numeric: tabular-nums;
}
.disclosure {
	font-size: 22px;
	color: var(--muted);
	width: 24px;
	text-align: center;
	font-weight: 300;
}
.release[open] .disclosure {
	transform: rotate(45deg);
}
.release-body {
	max-width: 800px;
	padding: 0 8px 36px;
}
.release-summary {
	font-size: 14px;
	line-height: 1.8;
	color: var(--muted);
	max-width: 680px;
	margin-bottom: 28px;
}
.release-body section + section {
	margin-top: 24px;
}
.release-body h3 {
	font-size: 12px;
	font-weight: 650;
	margin-bottom: 10px;
}
.release-body ul {
	padding-left: 18px;
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.8;
}
.release-body li + li {
	margin-top: 8px;
}
.release > summary:hover .release-version {
	color: var(--accent);
}
footer {
	border-top: 1px solid var(--line);
	padding-block: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
footer .brand {
	font-size: 14px;
}
footer .brand-mark {
	width: 25px;
	height: 25px;
	font-size: 16px;
	border-radius: 7px;
}
footer p,
footer > a:last-child {
	font-size: 10px;
	color: var(--faint);
}
@media (max-width: 720px) {
	.wrap {
		width: calc(100% - 40px);
	}
	.masthead {
		padding-block: 18px;
	}
	.hero {
		padding-block: 64px 50px;
	}
	h1 {
		font-size: 52px;
		letter-spacing: -0.06em;
	}
	.intro {
		font-size: 14px;
	}
	.desktop-break {
		display: none;
	}
	.module-line {
		gap: 14px;
		margin-top: 50px;
		font-size: 12px;
	}
	.about {
		grid-template-columns: 1fr;
		gap: 12px;
		padding-block: 40px 50px;
	}
	.about-copy {
		padding-top: 8px;
	}
	.history {
		padding-block: 42px 55px;
	}
	.section-heading {
		display: block;
		margin-bottom: 28px;
	}
	.section-heading > p {
		margin-top: 18px;
	}
	.release > summary {
		gap: 10px;
		padding-inline: 0;
	}
	.release-version {
		font-size: 18px;
		gap: 8px;
	}
	.latest-label {
		font-size: 8px;
		padding: 4px 6px;
	}
	time {
		font-size: 10px;
	}
	.release-body {
		padding-inline: 0;
	}
	footer {
		flex-wrap: wrap;
	}
	footer p {
		display: none;
	}
}
@media (prefers-color-scheme: light) {
	:root {
		color-scheme: light;
		--canvas: #faf9fc;
		--raised: #efedf3;
		--ink: #201b28;
		--muted: #706a7a;
		--faint: #827a8d;
		--line: rgba(38, 25, 53, 0.11);
		--accent: #8354ca;
		--accent-ink: #fff;
		--focus: #a677f0;
	}
	.brand-mark {
		background: #a978fa;
		color: #20122f;
	}
}
@media (prefers-reduced-motion: reduce) {
	:root {
		scroll-behavior: auto;
	}
	.download {
		transition: none;
	}
	.download:hover {
		transform: none;
	}
}
