body[data-color-scheme="dark"] .dark-gradient {
	background: linear-gradient(
		to bottom,
		var(--dark) 0%,
		var(--fill-gray-secondary-alt) 100%
	);
}

/* === Grid=== */
#main section.section {
	padding-top: 4em;
	padding-bottom: 4em;
}
#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: 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;
	}
}

/* code colors */
.terminal {
	margin-top: 1em;
	margin-bottom: 2em;
	background-color: #f9fafa;
}

.bg-light .terminal {
	background-color: #fff;
}

.terminal pre {
	border: none;
	border-left: 1px solid #dadada;
	border-radius: 0;
	margin-left: 1em;
	padding-left: 1em;
	background-color: transparent;
}

.terminal pre code {
	color: #ad8200;
}

.terminal pre code .comment {
	color: #a13535;
}

.terminal pre code .method {
	color: #10295d;
}

.terminal pre code .name {
	color: #03a10e;
}

.terminal pre code .num {
	color: #60708a;
}

.terminal pre code .text {
	color: #000000;
}

.terminal pre code .title {
	color: #29085d;
}

/* code colors dark mode */
body[data-color-scheme="dark"] .terminal {
	background-color: rgba(255, 255, 255, 0.1);
}
body[data-color-scheme="dark"] .bg-light .terminal {
	background-color: #000000;
}
html body[data-color-scheme="dark"] .terminal pre {
	border-color: rgba(214, 214, 214, 0.2);
}
body[data-color-scheme="dark"] .terminal pre code {
	color: #ad8200;
}
body[data-color-scheme="dark"] .terminal pre code .comment {
	color: #e16a6a;
}
body[data-color-scheme="dark"] .terminal pre code .method {
	color: #6082f6;
}
body[data-color-scheme="dark"] .terminal pre code .name {
	color: #73a863;
}
body[data-color-scheme="dark"] .terminal pre code .num {
	color: #8c99aa;
}
body[data-color-scheme="dark"] .terminal pre code .text {
	color: #eeeeee;
}
body[data-color-scheme="dark"] .terminal pre code .title {
	color: #b48af7;
}

picture {
	display: block;
	position: relative;
}

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

.svg-filter {
	margin-top: 2em;
	margin-bottom: 0em;
	filter: invert(23%) sepia(78%) saturate(2414%) hue-rotate(197deg)
		brightness(98%) contrast(101%);
}
body[data-color-scheme="dark"] .svg-filter {
	filter: invert(46%) sepia(76%) saturate(1685%) hue-rotate(189deg)
		brightness(99%) contrast(105%);
}

picture {
	margin-bottom: 10px;
}

.no-hardware img {
	margin-top: 4em;
	margin-bottom: 1.5em;
	width: 438px;
	height: auto;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.no-hardware-large img {
	margin-top: 2em;
	width: 100%;
	height: auto;
	border: 1px solid #ddd;
	border-radius: 8px;
}

body[data-color-scheme="dark"] .no-hardware-large img,
body[data-color-scheme="dark"] .no-hardware img {
	border-color: #333;
}

picture + .typography-caption {
	margin-top: -25px;
	margin-bottom: 18px;
}

.lockup-performance {
	margin-top: 1em;
}

#main section .section-content .row .column.large-6:first-of-type {
	padding-right: 36px;
}
#main section .section-content .row .column.large-6:last-of-type {
	padding-left: 36px;
}

#main section .section-content .row .column.large-4:first-of-type {
	padding-right: 24px;
}
#main section .section-content .row .column.large-4:nth-of-type(2) {
	padding-left: 12px;
	padding-right: 12px;
}
#main section .section-content .row .column.large-4:last-of-type {
	padding-left: 24px;
}

@media only screen and (max-width: 1068px) {
	.no-hardware img {
		width: 310px;
	}
	#main section .section-content .row .column.large-6:first-of-type {
		padding-right: 18px;
	}
	#main section .section-content .row .column.large-6:last-of-type {
		padding-left: 18px;
	}
	#main section .section-content .row .column.large-4:first-of-type {
		padding-right: 12px;
	}
	#main section .section-content .row .column.large-4:nth-of-type(2) {
		padding-left: 6px;
		padding-right: 6px;
	}
	#main section .section-content .row .column.large-4:last-of-type {
		padding-left: 12px;
	}
}

@media only screen and (max-width: 734px) {
	.no-hardware img {
		margin-top: 3em;
		margin-bottom: 1em;
		width: 100%;
		max-width: 438px;
	}
	.section-getting-started .row.margin-top .column.large-6:last-of-type img {
		margin-top: 3em;
	}
	#main section .section-content .row .column.large-6:first-of-type {
		padding-right: 0;
	}
	#main section .section-content .row .column.large-6:last-of-type {
		padding-left: 0;
	}
	#main section .section-content .row .column.large-4:first-of-type,
	#main section .section-content .row .column.large-4:nth-of-type(2),
	#main section .section-content .row .column.large-4:last-of-type {
		padding-left: 0;
		padding-right: 0;
	}
}
