body.mac-page {
	background: #15191d;
	min-height: 100vh;
}

body.mac-product-page {
	height: 100vh;
	min-height: 100vh;
	overflow: hidden;
}

body.mac-page #wrapper {
	align-items: stretch;
	justify-content: flex-start;
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.25rem;
}

body.mac-product-page #wrapper {
	height: 100vh;
	min-height: 0;
}

.mac-shell {
	width: 100%;
}

body.mac-product-page .mac-shell {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.mac-nav,
.mac-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
}

.mac-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	border-bottom: 0;
	font-weight: 600;
	letter-spacing: 0.12rem;
	text-transform: uppercase;
}

.mac-brand img {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 0.55rem;
}

.mac-nav-links,
.mac-footer-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.12rem;
	text-transform: uppercase;
}

.mac-nav-button {
	appearance: none;
	background: none;
	border: 0;
	border-bottom: dotted 1px rgba(255, 255, 255, 0.5);
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	height: auto;
	letter-spacing: inherit;
	line-height: inherit;
	padding: 0;
	text-transform: inherit;
}

.mac-nav-button:hover {
	border-bottom-color: transparent;
	color: #ffffff;
}

.mac-main {
	width: 100%;
	margin: 2.25rem 0;
	padding: 2.25rem;
	background: rgba(27, 31, 34, 0.86);
	border: solid 1px rgba(255, 255, 255, 0.22);
	border-radius: 4px;
}

.mac-product-main {
	min-height: 0;
}

body.mac-product-page .mac-product-main {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	overflow: hidden;
}

.mac-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
	gap: 2rem;
	align-items: center;
	padding-bottom: 2rem;
	border-bottom: solid 1px rgba(255, 255, 255, 0.22);
}

.mac-hero-centered {
	display: block;
	max-width: 100%;
	text-align: center;
}

.mac-hero-undivided {
	border-bottom: 0;
}

.mac-hero-logo {
	display: block;
	width: clamp(8rem, 18vw, 13rem);
	height: auto;
	margin: 0 auto 1.5rem auto;
	border-radius: 1.5rem;
}

.mac-kicker,
.mac-price,
.mac-label {
	margin: 0 0 0.7rem 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16rem;
	text-transform: uppercase;
}

.mac-hero h1 {
	margin-bottom: 1rem;
	letter-spacing: 0.28rem;
}

.mac-hero-centered h1 {
	white-space: nowrap;
	font-size: clamp(2rem, 5vw, 3.6rem);
	letter-spacing: 0.22rem;
}

.mac-hero p {
	max-width: 42rem;
}

.mac-hero-centered p {
	margin-left: auto;
	margin-right: auto;
}

.mac-hero-copy {
	margin: 0 auto 1.5rem auto;
}

.mac-hero-copy p {
	margin-bottom: 0.65rem;
}

.mac-hero-copy p:last-child {
	margin-bottom: 0;
}

.mac-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
	margin: 0 0 1rem 0;
	padding: 0;
	list-style: none;
}

.mac-hero-centered .mac-actions {
	justify-content: center;
}

.mac-actions li {
	padding: 0;
}

.mac-platform-actions {
	gap: 1rem;
	margin-top: 1.5rem;
}

.mac-platform-button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	height: auto;
	min-width: 11rem;
	min-height: 7rem;
	padding: 1rem 1.5rem;
	line-height: 1.2;
	white-space: normal;
}

.mac-platform-button .icon {
	display: block;
	font-size: 2.2rem;
	line-height: 1;
}

.mac-platform-button .icon:before {
	margin-right: 0;
}

.mac-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.82rem;
}

.mac-hero-centered .mac-meta {
	justify-content: center;
}

.mac-meta li {
	padding: 0.15rem 0.55rem;
	border: solid 1px rgba(255, 255, 255, 0.22);
	border-radius: 4px;
}

.mac-shot {
	width: 100%;
	margin: 0;
}

.mac-hero-centered .mac-shot {
	margin: 2rem auto 0 auto;
	max-width: 48rem;
}

.mac-shot img {
	display: block;
	width: 100%;
	border-radius: 4px;
	border: solid 1px rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
}

.mac-shot img[src=""] {
	display: none;
}

.mac-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.mac-panel {
	padding: 1.25rem;
	border: solid 1px rgba(255, 255, 255, 0.18);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.035);
}

.mac-panel h2,
.mac-panel h3 {
	margin-bottom: 1rem;
	letter-spacing: 0.16rem;
}

.mac-list,
.mac-steps {
	margin: 0;
	padding-left: 1.1rem;
}

.mac-list {
	list-style: disc;
}

.mac-steps {
	list-style: decimal;
}

.mac-list li,
.mac-steps li {
	margin: 0.45rem 0;
	padding-left: 0.2rem;
}

.mac-note {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border-left: solid 4px #ffffff;
	background: rgba(255, 255, 255, 0.05);
}

.mac-note > :last-child,
.mac-panel > :last-child,
.mac-main > :last-child {
	margin-bottom: 0;
}

.mac-footer {
	font-size: 0.75rem;
	letter-spacing: 0.12rem;
	text-transform: uppercase;
}

.mac-footer p {
	margin: 0;
}

.download-state {
	display: none;
}

.download-state.active {
	display: block;
}

.download-details {
	margin: 1rem 0 0 0;
}

.download-details dt {
	font-weight: 600;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
}

.download-details dd {
	margin: 0 0 0.7rem 0;
	word-break: break-word;
}

.doc-body pre {
	white-space: pre-wrap;
	word-break: break-word;
}

body.mac-modal-open {
	overflow: hidden;
}

.mac-modal[hidden] {
	display: none;
}

.mac-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.mac-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.mac-modal-panel {
	position: relative;
	z-index: 1;
	width: min(94vw, 72rem);
	height: min(88vh, 46rem);
	max-height: calc(100vh - 3rem);
	padding: 1.25rem;
	overflow: hidden;
	background: rgba(27, 31, 34, 0.96);
	border: solid 1px rgba(255, 255, 255, 0.22);
	border-radius: 4px;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
}

.mac-modal-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 1rem;
}

.mac-modal-close,
.mac-carousel-control {
	appearance: none;
	background: rgba(255, 255, 255, 0.05);
	border: solid 1px rgba(255, 255, 255, 0.22);
	border-radius: 4px;
	box-shadow: none;
	color: #ffffff;
	cursor: pointer;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.7rem;
	font-weight: 400;
	height: 2.5rem;
	letter-spacing: 0;
	line-height: 1;
	padding: 0;
	text-align: center;
	width: 2.5rem;
}

.mac-modal-close:hover,
.mac-carousel-control:hover,
.mac-carousel-dots button:hover {
	background: rgba(255, 255, 255, 0.12);
}

.mac-carousel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: center;
	height: calc(100% - 4.5rem);
	min-height: 0;
}

.mac-carousel-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 100%;
	min-height: 0;
}

.mac-carousel-slide {
	display: none;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.mac-carousel-slide.is-active {
	display: block;
}

.mac-carousel-slide-group {
	width: 100%;
	height: 100%;
}

.mac-carousel-slide-group.is-active {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	align-items: center;
}

.mac-carousel-title {
	margin: 0;
	font-size: 0.78rem;
	letter-spacing: 0.14rem;
	text-align: center;
	text-transform: uppercase;
}

.mac-carousel-image-row {
	display: flex;
	gap: 0.85rem;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
}

.mac-carousel-image-row img {
	display: block;
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.mac-carousel-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin-top: 1rem;
}

.mac-carousel-dots button {
	appearance: none;
	width: 0.72rem;
	height: 0.72rem;
	padding: 0;
	background: rgba(255, 255, 255, 0.18);
	border: solid 1px rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
}

.mac-carousel-dots button.is-active {
	background: #ffffff;
}

@media screen and (max-width: 900px) {
	body.mac-page #wrapper {
		padding: 1.5rem;
	}

	.mac-hero,
	.mac-grid {
		grid-template-columns: 1fr;
	}

	.mac-hero-centered h1 {
		white-space: normal;
	}
}

@media screen and (max-width: 560px) {
	body.mac-page #wrapper {
		padding: 1rem;
	}

	.mac-main {
		padding: 1.25rem;
	}

	.mac-nav,
	.mac-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.mac-nav-links,
	.mac-footer-links,
	.mac-actions {
		justify-content: flex-start;
		width: 100%;
	}

	.mac-actions .button {
		width: 100%;
	}

	.mac-modal {
		padding: 0.75rem;
	}

	.mac-modal-panel {
		width: calc(100vw - 1.5rem);
		height: calc(100vh - 1.5rem);
		max-height: calc(100vh - 1.5rem);
		padding: 0.85rem;
	}

	.mac-modal-header {
		align-items: center;
	}

	.mac-carousel {
		grid-template-columns: 1fr 1fr;
	}

	.mac-carousel-stage {
		grid-column: 1 / -1;
		order: -1;
	}

	.mac-carousel-slide {
		max-height: 100%;
	}

	.mac-carousel-control {
		width: 100%;
	}
}

@media screen and (max-height: 760px), screen and (max-width: 560px) {
	body.mac-product-page {
		height: auto;
		min-height: 100vh;
		overflow-y: auto;
	}

	body.mac-product-page #wrapper {
		height: auto;
		min-height: 100vh;
	}

	body.mac-product-page .mac-shell {
		height: auto;
	}

	body.mac-product-page .mac-product-main {
		overflow: visible;
	}
}
