.bg-night {
	background: linear-gradient(135deg,  #010102 0%,#18253b 80%);
}
.bg-dawn {
	background: linear-gradient(135deg,  #1e2156 0%,#666666 100%);
}
.bg-dusk {
	background-color: #16263d;
}
.bg-grad {
	background: radial-gradient(circle at center bottom, #fff 60%, #8997BF 100%);
	color: #333;
}

.bg-grad h3 {
	color: #333;
}

.row-header {
	margin-bottom: 4em;
}


.row-tile {
	margin-top: 4em;
}
.tile-wrap {
	display: table;
	margin-right: auto;
	margin-left: auto;
	border-radius: 1em;
	padding-top: 3em;
	background-color: #330658
}
.tile-wrap .shortcuts-copy {
	display: table-cell;
	vertical-align: bottom;
	left: 44%;
}
.tile-wrap .shortcuts-copy p:last-of-type {
	padding-bottom: 4em;
}
.tile-wrap .shortcuts-image {
	display: table-cell;
	position: static;
}
.tile-wrap .device-shortcuts {
	vertical-align: bottom;
	position: absolute;
	bottom: 0;
	left: 3.5em;
}


.row-flex {
	display: flex;
}
.column-flex-center {
	align-self: center;
}
.column-flex-center .device-flex {
	margin-right: 0;
	margin-left: auto;
}


.siri-query {
	color: #c3c6f9;
}
.siri-query-icon {
	margin-bottom: 1em;
}
.siri-query-row {
	color: #efefef;
}

.section-fade {
	opacity: 0;
	-webkit-transition: opacity 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out;
	-transition: opacity 0.5s ease-in-out;
}
.intro.section-fade {
	-webkit-transition-delay: 0.35s;
	-o-transition-delay: 0.35s;
	-moz-transition-delay: 0.35s;
	transition-delay: 0.35s;
}
figure.section-fade {
	-webkit-transition-delay: 0.5s;
	-o-transition-delay: 0.5s;
	-moz-transition-delay: 0.5s;
	transition-delay: 0.5s;
}
.section-reveal {
	opacity: 0;
	-webkit-transform: translateY(20px);
	-moz-transform: translateY(20px);
	-o-transform: translateY(20px);
	transform: translateY(20px);
	-webkit-transition: opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
	-moz-transition: opacity 0.5s ease-in-out, -moz-transform 0.5s ease-in-out;
	-o-transition: opacity 0.5s ease-in-out, -o-transform 0.5s ease-in-out;
	-transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.section-reveal:nth-of-type(even) {
	-webkit-transition-delay: 0.2s;
	-o-transition-delay: 0.2s;
	-moz-transition-delay: 0.2s;
	transition-delay: 0.2s;
}
.section-reveal.show,
.section-fade.show {
	opacity: 1;
	transform: translateY(0);
}


/* Images */
.hero-lockup {
	margin-top: 2em;
	width: 980px;
	height: 500px;
	background-size: 980px 701px;
	background-repeat: no-repeat;
	background-position: center 0;
	background-image: url("/siri/images/hero-lockup-large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.hero-lockup {
		background-image: url("/siri/images/hero-lockup-large_2x.png");
	}
}

.icon-siri {
	margin-bottom: 1.5em;
	width: 96px;
	height: 96px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("/assets/elements/icons/sirikit/sirikit-96x96.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.icon-siri {
		background-image: url("/assets/elements/icons/sirikit/sirikit-96x96_2x.png");
	}
}

.icon-shortcuts {
	margin-bottom: 1.5em;
	width: 64px;
	height: 64px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("/assets/elements/icons/shortcuts-app/shortcuts-app-64x64.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.icon-shortcuts {
		background-image: url("/assets/elements/icons/shortcuts-app/shortcuts-app-64x64_2x.png");
	}
}

.screen-shortcuts-hero {
    background: url("/siri/images/screen-shortcuts-hero-large.jpg");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.screen-shortcuts-hero {
		background-image: url("/siri/images/screen-shortcuts-hero-large_2x.jpg");
	}
}

.screen-shortcuts-app {
	background-image: url("/siri/images/screen-shortcuts-app-large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.screen-shortcuts-app {
		background-image: url("/siri/images/screen-shortcuts-app-large_2x.png");
	}
}

.tile-wrap .device-iphone-x-silver-container.device-large-for-medium {
	width: 283px;
    height: 346px;
	background-size: 283px 566px;
}
.tile-wrap .device-iphone-x-silver-container.device-large-for-medium .device-hardware {
	width: 283px;
    height: 346px;
	background-size: 283px 566px;
	background-position: center 0;
}
.tile-wrap .device-iphone-x-silver-container.device-large-for-medium .device-screen {
	width: 246px;
    height: 330px;
    background-size: 246px 532px;
	background-position: center 0;
}

.siri-homepod {
	border-radius: 16em;
	margin-top: 2em;
	width: 453px;
	height: 453px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("/siri/images/homepod-hero-large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.siri-homepod {
		background-image: url("/siri/images/homepod-hero-large_2x.png");
	}
}

.icon-xcode {
	margin-bottom: 1em;
	width: 128px;
	height: 128px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("/assets/elements/icons/xcode/xcode-128x128.png")
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.icon-xcode {
		background-image: url("/assets/elements/icons/xcode/xcode-128x128_2x.png");
	}
}


@media only screen and (max-width: 1068px) {
	.tile-wrap .shortcuts-copy {
		left: 52%;
	}
	.tile-wrap .shortcuts-copy p:last-of-type {
		padding-bottom: 3em;
	}
	.tile-wrap .device-shortcuts {
		vertical-align: bottom;
		position: absolute;
		bottom: 0;
		left: 2.5em;
	}
	.tile-wrap .device-iphone-x-silver-container.device-large-for-medium {
	    height: 437px;
	}
	.tile-wrap .device-iphone-x-silver-container.device-large-for-medium .device-hardware {
	    height: 437px;
	}
	.tile-wrap .device-iphone-x-silver-container.device-large-for-medium .device-screen {
	    height: 421px;
	}
	.hero-lockup {
		width: 692px;
		height: 350px;
		background-size: 692px 495px;
		background-image: url("/siri/images/hero-lockup-medium.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
		.hero-lockup {
			background-image: url("/siri/images/hero-lockup-medium_2x.png");
		}
	}
}

@media only screen and (max-width: 735px) {
	.bg-grad {
		background: radial-gradient(circle at center bottom, #fff 65%, #8997BF 100%);
	}
	.row-header {
		margin-bottom: 0;
	}
	.row-flex {
		display: block;
	}
	.column-flex-center .device-flex {
		margin-right: auto;
		margin-left: 0;
	}
	.row-tile {
		margin-top: 1em;
	}
	.tile-wrap {
		padding: 2em 1em;
	}
	.tile-wrap .shortcuts-copy p:last-of-type {
		padding-bottom: 2em;
	}
	.tile-wrap .shortcuts-copy {
		display: block;
		position: relative;
		left: auto;
		text-align: center;
	}
	.tile-wrap .icon-shortcuts {
		margin-right: auto;
		margin-left: auto;
	}
	.tile-wrap .shortcuts-image {
		display: block;
		position: relative;
		text-align: center;
	}
	.tile-wrap .device-shortcuts {
		position: relative;
		left: 0;
	}
	.tile-wrap .device-iphone-x-silver-container.device-large-for-medium.device-medium-for-small {
		margin-right: auto;
		margin-left: auto;
	    width: 212px;
	    height: 425px;
	    background-size: 100% 100%;
	}
	.tile-wrap .device-iphone-x-silver-container.device-large-for-medium.device-medium-for-small .device-hardware {
	    width: 212px;
	    height: 425px;
	    background-size: 100% 100%;
	}
	.tile-wrap .device-iphone-x-silver-container.device-large-for-medium.device-medium-for-small .device-screen {
	    width: 185px;
	    height: 399px;
	    background-size: 100% 100%;
	}
	.hero-lockup {
		width: 320px;
		height: 155px;
		background-size: 320px 229px;
		background-image: url("/siri/images/hero-lockup-small.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
		.hero-lockup {
			background-image: url("/siri/images/hero-lockup-small_2x.png");
		}
	}
	.screen-shortcuts-hero {
	    background: url("/siri/images/screen-shortcuts-hero-medium.jpg");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
		.screen-shortcuts-hero {
			background-image: url("/siri/images/screen-shortcuts-hero-medium_2x.jpg");
		}
	}
	.screen-shortcuts-app {
		background-image: url("/siri/images/screen-shortcuts-app-medium.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
		.screen-shortcuts-app {
			background-image: url("/siri/images/screen-shortcuts-app-medium_2x.png");
		}
	}
	.siri-homepod {
		margin-top: 0;
	}
}

@media only screen and (max-width: 489px) {
	.siri-homepod {
		width: 300px;
		height: 300px;
		background-image: url("/siri/images/homepod-hero-small.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
		.siri-homepod {
			background-image: url("/siri/images/homepod-hero-small_2x.png");
		}
	}
}


/* ========== Grid ========== */
#main section.section.section-hero,
#main section.section.section-intent {
	padding-bottom: 0;
}
#main section.section-domains .section-content .row {
	margin-left: -1.5em;
	margin-right: -1.5em;
}
#main section.section-domains .section-content .row > .column {
	padding: 1.5em 1.5em;
}

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

