@media only screen and (min-width: 1068px) {
	:root {
		--sk-cssgrid-column-gutter-inner: 3em;
	}
}

.bg-grad-up {
	background: linear-gradient(to bottom, #ffffff 0%, #d5e4f3 90%);
}

.bg-grad-down {
	background: linear-gradient(to top, #ffffff 0%, #d5e4f3 90%);
}

body[data-color-scheme="dark"] .bg-grad-down {
	background: #1a1a1a !important;
}

.bg-alt {
	background-color: #f5f5f7;
}

body[data-color-scheme="dark"] .bg-alt {
	background-color: #141414;
}

body[data-color-scheme="light"] .bg-light-blue {
	background: #d5e4f3;
}

body[data-color-scheme="dark"] .bg-light-blue {
	background: #1d1d1f;
}

body[data-color-scheme="light"] .bg-light-blue .tn-p .tn {
	--tn-platter-background: rgba(0, 0, 0, 0.08);
}

body[data-color-scheme="dark"] .section-xcode {
	background: #141414;
}

body[data-color-scheme="dark"] .section-real-time,
body[data-color-scheme="dark"] .section-download {
	background: #000 !important;
}

body[data-color-scheme="dark"] .section-video {
	background: #141414;
}

.section-video a {
	text-decoration: none;
	color: inherit;
}

.grid.grid-center {
	align-items: center;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

@media only screen and (max-width: 734px) {
	.grid-reverse .grid-item:nth-child(1) {
		order: 2;
	}

	.grid-reverse .grid-item:nth-child(2) {
		order: 1;
	}
}

.thumbnail {
	aspect-ratio: 16/9;
	margin-bottom: 1em;
}

.device-hero {
	margin-top: 2em;
}

.hig-icon {
	max-width: 250px;
	margin-bottom: 1.5em;
}

.hero-image {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

.screen-only {
	display: block;
	position: relative;
	margin-top: 4em;
	margin-bottom: 1.5em;
	width: 438px;
	height: auto;
}

.callout {
	margin-top: 2em;
}

.icon-icon-composer {
	margin: 2em auto 1em;
}

.router-icon.router-icon-design {
	height: 64px;
	width: 64px;
}

@media only screen and (max-width: 734px) {
	.section-resources figure {
		margin-top: 3em;
	}
}

@media only screen and (max-width: 320px) {
	.device-hero {
		margin-left: -28px;
	}
}

.button-pill {
	border-radius: 1em;
}

.scale-1-1 {
	transform: scale(1.1);
}

@media only screen and (max-width: 734px) {
	.scale-1-1 {
		transform: scale(1);
	}
}

/* ========== Design Full-Bleed Poster ========== */

.design-poster-wrap {
	position: relative;
	overflow: hidden;
	height: 780px;
	max-width: 1800px;
	margin-left: auto;
	margin-right: auto;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		black 15%,
		black 85%,
		transparent 100%
	);
	mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.design-poster-wrap img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media only screen and (max-width: 1068px) {
	.design-poster-wrap {
		height: 560px;
	}
}

@media only screen and (max-width: 734px) {
	.design-poster-wrap {
		height: 500px;
		-webkit-mask-image: none;
		mask-image: none;
	}
}

@media only screen and (max-width: 480px) {
	.design-poster-wrap {
		height: 420px;
	}
}

/* ========== Cross-dissolve image styles  ========== */

#design-intial {
	position: relative;
	display: block;
	max-width: 900px;
}

#design-final {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none; /* Prevents interaction issues during transition */
	max-width: 900px;
}

/* ========== Flex Center ========== */

video.full-width {
	display: block;
	width: 100%;
	height: auto;
}

@media only screen and (min-width: 735px) {
	.flex-center {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		padding-top: 4em;
	}
}

/* ========== Grid ========== */

#main section.section {
	padding-top: 5em;
	padding-bottom: 5em;
}
#main section.section.section-spec,
#main section.section.section-refraction,
#main section.section.section-annotation {
	padding-top: 2em !important;
	padding-bottom: 0 !important;
}

#main section.section.section-annotation {
	padding-bottom: 5em !important;
}

#main section .section-content .row {
	margin-left: 0;
	margin-right: 0;
}
#main section .section-content .row > .column {
	padding: 0;
}

/* #main section.section-features {
	margin-top: 4em;
} */

@media only screen and (max-width: 1068px) {
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}

@media only screen and (max-width: 734px) {
	#main section.section {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}

	/* #main section.section-features {
		margin-top: 3em;
	} */
}
