.row-nav ul {
	margin: 2em auto 0;
}
.row-nav ul li {
	border-right: 1px solid #d2d2d7;
	line-height: 1.6em;
	padding: 0 0.5em;
	display: inline-block;
}
.row-nav ul li:last-of-type {
	border-right: none;
}
.row-nav ul li a {
	cursor: pointer;
}
@media only screen and (max-width: 438px) {
	.row-nav ul li {
		display: block;
		border-right: none;
		padding: 0;
		margin-bottom: 1em;
	}
	.row-nav ul li:last-of-type {
		margin-bottom: 0;
	}
}

.modal-opener p + * {
	margin-top: 0 !important;
}

.info-title {
	margin-bottom: 1em;
}

.row-info {
	display: flex;
}

.section-optimize .keyline-row .column {
	align-self: center;
}

.typography-subbody {
	margin-top: 1.6em;
}

.section-optimize .keyline-row {
	border-bottom: 1px solid #d2d2d7;
}
.section-optimize .keyline-row .column {
	height: 316px;
}
.section-optimize p.typography-subbody {
	padding-left: 1em;
}

.lockup-optimization {
	display: inline-block;
	margin-top: 2em;
	width: 545px;
	height: 283px;
}

.standalone-image {
	display: inline-block;
	margin-top: 2em;
}

.image-configuring {
	width: 816px;
	height: 751px;
}

.image-monitoring {
	width: 816px;
	height: 775px;
}

@media only screen and (max-width: 1068px) {
	.section-optimize .keyline-row {
		border-bottom: none;
	}
	.section-optimize .keyline-row .column:first-of-type {
		border-bottom: 1px solid #d2d2d7;
	}
	.section-optimize .keyline-row .column {
		height: 318px;
	}
	.section-optimize p.typography-subbody {
		padding-left: 0;
	}
	.image-configuring {
		width: 576px;
		height: 530px;
	}
	.image-monitoring {
		width: 576px;
		height: 547px;
	}
}

@media only screen and (max-width: 734px) {
	.section-optimize .keyline-row .column {
		height: 201px;
	}
	.lockup-optimization {
		width: 320px;
		height: 167px;
	}
	.image-configuring {
		width: 100%;
		height: auto;
	}
	.image-monitoring {
		width: 100%;
		height: auto;
	}
}

@media only screen and (max-width: 320px) {
	.lockup-optimization {
		width: 280px;
		height: 146px;
	}
}

/* ----- video grid ----- */
.resource-grid {
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	/* grid-gap: 20px; */
	column-gap: 3em;
	row-gap: 2em;
	width: 100%;
	box-sizing: border-box;
	margin-top: 1.5em;
}

.resource-grid-item {
	height: auto;
	cursor: pointer !important;
	text-decoration: none !important;
}

/* .resource-grid-item-full {
	grid-column: 1/3;
} */

.resource-grid + h2,
.resource-grid + h3,
.resource-grid + p {
	margin-top: 2em;
}

.resource-grid + .divider-bottom {
	padding-top: 0;
}

@media only screen and (max-width: 1068px) {
	.resource-grid {
		grid-template-columns: repeat(2, 2fr);
		column-gap: 1.5em;
		row-gap: 1em;
	}

	.resource-grid-item {
		grid-column: unset;
	}
}

@media only screen and (max-width: 734px) {
	.resource-grid {
		grid-template-columns: repeat(3, 3fr);
		row-gap: 1.5em;
	}

	.resource-grid-item {
		grid-column: 1/3;
	}
}

.image-wrapper {
	width: 383px;
	height: 214px;
	border-radius: 8px;
}

body[data-color-scheme="dark"] .image-wrapper {
	border: 1px solid #333;
}

@media only screen and (max-width: 1068px) {
	.image-wrapper {
		width: 276px;
		height: 156px;
	}
}

.resource-grid-item img {
	border-radius: 8px;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	height: auto;
}

a.resource-grid-item {
	color: unset;
}

a.resource-grid-item:hover {
	text-decoration: none !important;
}

.resource-grid-item h4 {
	color: #86868b;
	font-size: 15px;
	margin-top: 1em;
	cursor: pointer !important;
}
body[data-color-scheme="dark"] .resource-grid-item h4 {
	color: #6e6e73;
}

@media only screen and (max-width: 734px) {
	.resource-grid-item h4 {
		margin-top: 0.5em;
	}
}

.resource-grid-item h4:hover {
	text-decoration: none;
}

/* ========== Case study ========== */
.case-study {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 3em;
	align-items: center;
}

.case-study--g1 {
	grid-template-columns: 1fr;
}

@media only screen and (max-width: 1068px) {
	.case-study {
		grid-template-columns: 1fr;
	}
}

.case-study-title {
	margin-top: 0.1em;
	margin-bottom: 1em;
	font-weight: 700;
}

.case-study .case-study-text p {
	margin-top: 1em;
	display: block;
	position: inherit;
}

.case-study-images {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.case-study-images--row {
	flex-direction: row;
	/* margin-top: 3em; */
}

@media only screen and (max-width: 734px) {
	.case-study-images--row {
		flex-direction: column;
	}
}

.case-study-images--sp {
	gap: 3em;
}

.case-study-images--pb {
	justify-content: space-around;
	align-items: center;
}

.case-study-icons {
	display: flex;
	flex-direction: row;
	gap: 1em;
}

@media only screen and (max-width: 1068px) {
	.case-study-icons {
		display: flex;
		flex-direction: column;
	}
}

.row-c {
	display: flex;
}

/* .case-study-text */

.case-study-phone {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	align-items: center;
}

/* ========== Callout + Modal custom ========== */
.callout.callout-padding {
	padding: 2em 4.33333% 2em;
	border: none !important;
}

@media only screen and (max-width: 734px) {
	.callout.callout-padding {
		padding: 2em 8.33333% 2em;
		border: none !important;
	}

	.stat {
		/* width: 100%; */
		margin: 1em 0 1em;
	}
}

.stat {
	width: fit-content;
	margin-right: 1em;
	display: block;
}

.stat .stat-content {
	margin: 0em 0 0.5em;
}

.stat .stat-value {
	font-weight: 600;
}

/* @media only screen and (max-width: 1068px) {
	.stat .stat-value {
		font-size: 32px;
	}
} */

.stat-caption {
	font-size: 16px;
	line-height: 1.45;
	font-weight: 400;
	letter-spacing: -0.016em;
	font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	/* max-width: 600px; */
}

.icon-arrow {
	width: 30px;
	margin-left: 0.5em;
}

.icon-app {
	margin-right: 1.5em;
}

.plus-icon {
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	fill: #fff;
}

.plus-icon #reset {
	opacity: 1;
	transition: opacity 0.66s 0s cubic-bezier(0.66, 0, 0.01, 1);
}

.plus-icon #reset-solid {
	opacity: 1;
	fill: #06c;
	transition: opacity 0.66s 0s cubic-bezier(0.66, 0, 0.01, 1);
}

.plus-icon {
	fill: #f5f5f7;
}

.modal-opener .link {
	display: flex;
	justify-content: center;
	gap: 0.5em;
	align-items: center;
	padding-top: 1em;
}

@media only screen and (max-width: 734px) {
	.modal-opener .link {
		padding-top: 1.5em;
	}
}

.modal .stat-caption {
	font-size: 17px;
	margin-top: 0.5em;
}

body[data-color-scheme="light"] {
	--color-red: #9f0606;
	--color-green: #017101;
}

body[data-color-scheme="dark"] {
	--color-red: #ff453a;
	--color-green: #30d158;
}

.f-red {
	color: var(--color-red);
}

.f-green {
	color: var(--color-green);
}

/* ========== Video ========== */

.column-flex-center-video {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media only screen and (max-width: 734px) {
	.column-flex-center-video {
		align-items: flex-start;
	}
}

.modal video,
.modal video img {
	width: 254px !important;
	height: 551px !important;
}

@media only screen and (max-width: 1068px) {
	.modal video,
	.modal video img {
		width: 192px !important;
		height: 416px !important;
	}
}

@media only screen and (max-width: 734px) {
	.modal video,
	.modal video img {
		width: 128px !important;
		height: 277px !important;
	}
}

#play-btn {
	margin-top: 1em;
	color: #06c;
}

body[data-color-scheme="dark"] #play-btn {
	color: var(--glyph-blue);
}

.modal video {
	max-height: unset !important;
	width: unset !important;
	max-width: unset !important;
}

/* ========== Grid ========== */
#main section.section {
	padding-top: 4em;
	padding-bottom: 0;
}
#main section.section:last-of-type {
	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: 0;
	}
	#main section.section:last-of-type {
		padding-bottom: 3em;
	}
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}

/* ========== Dark mode ========== */
body[data-color-scheme="dark"] .row-nav ul li {
	border-color: var(--fill-gray-tertiary);
}
body[data-color-scheme="dark"] .section-optimize .keyline-row {
	border-color: var(--fill-gray-tertiary);
}
@media only screen and (max-width: 1068px) {
	body[data-color-scheme="dark"] .section-optimize .keyline-row .column:first-of-type {
		border-color: var(--fill-gray-tertiary);
	}
}
