/*
* Balanced
* How it works CSS
* Version 2.2
* Last updated 20/4/24
*/

/* ==========================================================================
	How it works
========================================================================== */

/*
*
* Modules
*
*/

/* Layout */

#how .steps-container h2,
#how #decentralised-exchange h2 {
	font-family: 'tex-gyre-adventor-bold', sans-serif;
}
#how main ol,
#how main ul {
	color: rgba(255,255,255,0.75);
}
#how main ol {
	padding-left: 18px;
}
#how main ol li,
#how main ul li {
	line-height: 1.7;
}
#how main ol li + li,
#how main ul li + li {
	margin-top: 15px;
}
#how main ul li {
	font-size: 20px;
}
#how .grid-cell .panel {
	border-top: 3px solid #0c4373;
}
#how #borrow-balanced p,
#how #decentralised-exchange p,
#how #manage-crypto p,
#how #participate p,
#how #monitor-and-adjust p,
#how #lock-up p,
#how #lock-up ol,
#how #manage-crypto #claim-and-stake ul {
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
}
#how #transfer-between,
#how #manage-stake,
#how #liquidity-pools {
	gap: 4%;
}
#how #transfer-between {
	margin-top: 100px;
}
#how #transfer-between .grid-cell {
	align-self: stretch;
	justify-content:flex-end;
}
#how #manage-stake img,
#how #transfer-between img,
#how #lock-up img,
#how #liquidity-pools img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 450px;
	width: 100%;
}
#how #lock-up h3,
#how #participate-governance h3 {
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
}
#how #lock-up img,
#how #participate-governance img {
	float: none;
	height: auto;
	max-width: 75%;
}
#how #claim-and-stake,
#how #view-and-manage {
	margin-top: 100px;
}
#how .steps-container .label,
#how #decentralised-exchange #swap-assets .label,
#how #decentralised-exchange #supply-liquidity .label,
#how #manage-crypto #transfer-between .label,
#how #participate #lock-up .label,
#how #participate #liquidity-pools .label {
	border: 2px solid #0C2A4D;
	border-radius: 10px;
	margin-top: 15px;
	padding: 15px 20px;
	font-size: 16px;
	color: rgba(255,255,255,0.75);
	line-height: 30px;
}
#how #manage-crypto #transfer-between .label,
#how #manage-crypto #transfer-between .label a {
	font-size: 16px;
}
.sr-only:not(:focus):not(:active) {
	clip: rect(0 0 0 0); 
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap; 
	width: 1px;
  }

/* Lists */

#how ol li::marker {
	color: #2ca9b7;
	font-family: 'tex-gyre-adventor-bold', sans-serif;
}
#how ol li {
	padding-left: 20px;
	position: relative;
}
#how ol li:before {
	content: '';
	display: block;
	position: absolute;
	left: -32px;
	top: 0;
	height: 35px;
	width: 35px;
	background: #0C2A4D;
	border-radius: 50%;
	z-index: -1;
}

#how #decentralised-exchange h3,
#how #manage-crypto h3,
#how #participate h3 {
	font-size: 35px;
	line-height: 1.2;
	margin-bottom: 25px;
	margin-top: 0;
	padding-top: 0;
}
#how .hero .hero-background {
	z-index: -9;
	position: absolute;
	scale: 3.5;
	opacity: 0.5;
	transform: translateX(14px) translateY(-12px);
}
#how .hero p {
	max-width: initial;
}
#how .hero-cover {
  position: absolute;
  height: 700px;
  width: 300%;
  background: linear-gradient(180deg, rgba(1,0,42,0) 0%, rgba(1,0,42,1) 50%, rgba(1,0,42,1) 100%);
  margin-left: -100%;
  margin-top: 500px;
  z-index: -1;
}

/*
*
* Sub-navigation
*
*/

.sub-navigation {
	gap: 35px;
	margin-top: 50px;
}
.sub-navigation h2,
.sub-navigation h3 {
	font-size: 20px;
	margin-bottom: 10px;
	line-height: 1.5;
}
.sub-navigation p {
	font-size: 16px;
	letter-spacing: 0.01em;
	line-height: 1.8;
}
.sub-navigation h3 {
	position: relative;
}
.sub-navigation h3::after {
	background: url(../svg/chevron-down.svg) no-repeat center center;
	background-size: 14px;
	content: '';
	height: 28px;
	line-height: 1;
	margin-left: 0;
	margin-top: 0;
	position: absolute;
	top: 4px;
	transition: transform 0.3s ease;
	transform: rotate(-90deg);
	width: 28px;
}
.sub-navigation a.panel:hover h3::after {
	transform: rotate(0deg);
	transition: transform 0.2s ease;
}
.sub-navigation img,
.sub-navigation object {
	height: 60px;
	margin-bottom: 25px;
	width: auto;
}
.sub-navigation .grid-cell {
	border-top: 3px solid #0c4373;
	margin-bottom: 0;
}
.sub-navigation a.panel {
	color: #ffffff;
	border: 3px solid #0c2a4d;
	transition: border 0.2s ease;
}
.sub-navigation a.panel:hover {
	border: 3px solid #2ca9b7;
	transition: border 0.2s ease;
}

/*
*
* Hero
*
*/

#how .hero {
	margin-bottom: 100px;
}
#how .hero h1 {
	margin-top: 35px;
	margin-bottom: 15px;
}
#how .hero > p {
	font-size: 22px;
	line-height: 1.8;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	max-width: 800px;
}
#how .hero-image {
	position: absolute;
	width: 800px;
	z-index: -2;
	transform: translateX(0px) translateY(-525px);
}

/* Get started */

#how #get-started {
	margin-top: 300px;
	margin-bottom: 50px;
}
#how #get-started p {
	max-width: 85%;
	margin-left: auto;
	margin-right: auto;
}

/*
*
* Sub-navigation
*
*/

/* Separator */

#how .sub-navigation-toc {
    position: relative;
    margin: 27px auto;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 6px;
}
#how .sub-navigation-toc span {
    background-color: #01002A;
    padding: 0 9px;
    padding-left: 15px;
}
#how .sub-navigation-toc::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    margin: 0 auto;
    background-color: #0C2A4D;
    text-align: center;
    left: 0;
    right: 0;
    margin-top: 9px;
    z-index: -1;
}

/* Jumplinks */

#how .sub-navigation {
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 200px;
}
#how .sub-navigation > .grid {
	gap: 35px;
}
#how .sub-navigation > .grid:first-of-type {
	margin-bottom: 35px;
}
#how .sub-navigation object {
	height: 60px;
	margin-bottom: 15px;
	width: 60px;
}
#how .sub-navigation .panel:before,
#how .call-to-actions a.grid-cell:before {
	border-radius: 25px;
	border-top: 3px solid #0c4373;
	content: '';
 	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
#how .sub-navigation a.panel {
	border: 3px solid #01002a;
	position: relative;
	transition: border 0.3s ease;
}
#how .sub-navigation a.panel:hover {
	border: 3px solid #2ca9b7;
	transition: border 0.2s ease;
}
#how .sub-navigation .grid-cell:last-of-type {
	margin-right: 0;
}

/* Feature boxes */

#how .grid.tldr h2 {
	font-size: 22px;
	line-height: 1.4;
}
#how .grid.grid-center.step .label + .panel {
	margin-top: 50px;
}
#how .grid.grid-center.step .label + .panel h3.text-center {
	font-size: 21px;
	margin-bottom: 20px;
	text-align: left;
}

/*
*
* Borrow Balanced Dollars
*
*/

#how #borrow-balanced img {
	width: 400px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 35px;
}
#how #borrow-balanced > object {
	transform: translate(15%, -62%);
	width: 900px;
	position: absolute;
	z-index: -9;
	height: 2000px;
}

/* Steps */

#how #borrow-balanced .steps-container {
	position: relative;
}
#how #borrow-balanced .steps-container .grid {
	gap: 15%;
	margin-top: 120px;
	margin-bottom: 0;
}
#how #borrow-balanced .steps-container .grid .grid-cell {
	align-self: stretch;
}
#how .steps-container .grid:nth-of-type(2) .grid-cell {
	order: 2;
}
#how .steps-container .grid:nth-of-type(2) .grid-cell:nth-of-type(2) {
	order: 1;
}
#how .steps-container #monitor-and-adjust.grid:nth-of-type(3) .grid-cell video {
	margin-top: 25px;
	max-width: 150%;
	width: 88%;
	margin-bottom: 25px;
	margin-left: 6%;
}
#how .steps-container:before {
	background: #0C2A4D;
	border-radius: 10px;
	content: '';
	display: block;
	height: 100%;
	left: calc(50%);
	position: absolute;
	width: 5px;
	z-index: -1;
}
#how .step {
	margin-top: 200px;
}
#how .step video {
	float: right;
	width: 485px;
}
#how .steps-container .step video {
	float: none;
	margin-top: 10px;
	width: 100%;
	border-radius: 10px;
}
#how .steps-container .step h2 {
	font-size: 35px;
	line-height: 1.2;
	margin-top: 0;
	padding-top: 0;
}
#how .steps-container .step h2:before {
	border-radius: 50%;
	box-sizing: border-box;
	color: #ffffff;
	display: block;
	font-size: 40px;
	line-height: 1.55;
	height: 70px;
	left: 111%;
	position: absolute;
	text-align: center;
	top: -10px;
	width: 70px;
	z-index: 1;
}
#how .steps-container .step h2:before {
	background: #01002A;
	border: -webkit-linear-gradient(90deg, #1b648f, #2ca9b7);
}
#how .steps-container .step h2:after {
	background-image: linear-gradient(0deg,  hsl(202deg 68% 33%) 0%,  hsl(200deg 75% 33%) 11%,  hsl(197deg 81% 34%) 22%,  hsl(195deg 87% 34%) 33%,  hsl(193deg 90% 34%) 44%,  hsl(192deg 89% 35%) 56%,  hsl(190deg 83% 37%) 67%,  hsl(189deg 76% 39%) 78%,  hsl(188deg 68% 42%) 89%,hsl(186deg 61% 45%) 100%);
	border-radius: 50%;
	box-sizing: border-box;
	content: '';
	display: block;
	line-height: 1.25;
	height: 80px;
	left: 110%;
	position: absolute;
	text-align: center;
	top: -15px;
	transform: scale(1);
	width: 80px;
	z-index: 0;
}
#how .steps-container .step:nth-of-type(2) h2:before {
	left: -24%;
}
#how .steps-container .step:nth-of-type(2) h2:after {
	left: -25%;
}
#how .steps-container .step:nth-of-type(1) h2:before {
	content: '1';
}
#how .steps-container .step:nth-of-type(2) h2:before {
	content: '2';
}
#how .steps-container .step:nth-of-type(3) h2:before {
	content: '3';
}
#how .steps-container .step:nth-of-type(3) h2:before {
	left: calc(50% - 33px);
	top: -115px;
	line-height: 1.6;
}
#how .steps-container .step:nth-of-type(3) h2:after {
	left: calc(50% - 38px);
	top: -120px;
}
#how .steps-container ol {
	margin-left: 0;
	padding-left: 18px;
}
#how .steps-container #monitor-and-adjust {
	background: #01002A;
	padding-top: 50px;
	flex-direction: column;
}
#how .steps-container #monitor-and-adjust h2 {
	text-align: center;
}
#how .steps-container #monitor-and-adjust .grid-cell {
	margin-bottom: 50px;
}

/* Monitor and adjust */

#how #monitor-and-adjust video {
	float: none;
	margin: auto;
	display: block;
	width: 850px;
	border-radius: 10px;
	margin-top: 100px;
	margin-bottom: 135px; 
}

/*
*
* Decentralised exchange
*
*/

#how #decentralised-exchange {
	flex-direction: column;
	margin-top: 80px;
}
#how #decentralised-exchange h2 + p {
	text-align: center;
}
#how #decentralised-exchange > object {
	height: auto;
	display: block;
	margin-bottom: -9%;
	max-width: 55%;
	margin-left: auto;
	margin-right: auto;
}

/* Swap assets */

#how #decentralised-exchange #swap-assets {
	margin-top: 100px;
}
#how #decentralised-exchange #swap-assets {
	gap: 4%;
}
#how #decentralised-exchange #swap-assets .grid-cell {
	align-self: stretch;
}
#how #decentralised-exchange #swap-assets img {
	display: block;
	float: none;
	margin: 0 auto;
	max-width: 390px;
	width: 100%;
	transform: translateX(25px);
}

/* Stability fund / Stake and unstake */

#how #decentralised-exchange #fund-unstake {
	gap: 4%;
	margin-top: 100px;
}
#how #decentralised-exchange #fund-unstake h3 {
	margin-bottom: 40px;
}
#how #decentralised-exchange #fund-unstake object {
	display: block;
	height: auto;
	margin-bottom: 20px;
	max-width: 180px;
}
#how #decentralised-exchange #fund-unstake h3 .text-gradient {
	display: block;
}

/* Supply liquidity */

#how #supply-liquidity {
	margin-top: 150px;
}
#how #supply-liquidity > .grid > .grid-cell:nth-of-type(2) {
	transform: translateY(-100px);
}
#how #supply-liquidity object {
	display: block;
	height: auto;
	margin: -235px -465px -330px -220px;
	max-width: 150%;
	position: relative;
	z-index: -9;
}
#how #supply-liquidity video {
	width: 1000px;
	float: none;
	margin: auto;
	display: block;
	margin-top: -50px;
	margin-bottom: 50px;
}
#how #supply-liquidity p,
#how #supply-liquidity ol {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
#how #supply-liquidity > .grid:first-of-type > .grid-cell:first-of-type {
	margin-left: 50px;
	margin-top: -50px;
}
#how .cross-chain-liquidity {
	max-width: 85%;
	margin-top: 50px;
	margin-bottom: 50px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#how .liquidity-3 img {
	margin-top: 115px;
	width: 96%;
	margin-left: auto;
	display: block;
}
#how .liquidity-3 img {
	margin-top: 115px;
	width: 96%;
	margin-left: auto;
	display: block;
}

/*
*
* Manage your crypto
*
*/

/* Intro */

#how #manage-crypto object {
	display: block;
	height: auto;
	margin: -100px auto -110px auto;
	max-width: 100%;
	width: 100%;
}

/* Claim rewards */

#how #manage-crypto #claim-and-stake h3 {
	text-align: center;
}
#how #manage-crypto #claim-and-stake img {
	display: block;
	width: 75%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
}
#how #manage-crypto #claim-and-stake ul li {
	font-size: 20px;
}


/* View and send assets */

#how #manage-crypto #view-and-manage h3 {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
#how #manage-crypto #view-and-manage img {
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 400px;
}
#how #manage-crypto #view-and-manage p {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
#how #manage-crypto #view-and-manage .grid {
	margin-top: 100px;
	margin-bottom: 100px;
}


/* Manage staked assets */

#how #manage-crypto #manage-stake {
	margin-bottom: 100px;
}
#how #manage-crypto #manage-stake img {
	margin-top: 35px;
}

/* Transfer between blockchains */

#how #manage-crypto #transfer-between img {
	margin-top: 100px;
}

/*
*
* Participate in the DAO
*
*/

/* Intro */

#how #participate {
	margin-top: 0;
}
#how #participate object {
	display: block;
	height: auto;
	margin: 0 auto -40px auto;
	max-width: 85%;
}

/* Liquidity pools */

#how #participate #liquidity-pools {
	margin-top: 100px;
}
#how #participate #liquidity-pools img {
	margin-top: 70px;
	max-width: 100%;
}

/* Lock up */

#how #participate #lock-up {
	margin-top: 50px;
}
#how #participate #lock-up img {
	margin-bottom: 25px;
	max-width: 800px;
}

/* Vote on governance proposals */

#how #participate #participate-governance {
	margin-top: 100px;
}
#how #participate #participate-governance img {
	display: block;
	margin: 0 auto;
	margin-bottom: 35px;
	margin-top: 35px;
	max-width: 900px;
}
#how #participate #participate-governance p {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Savings rate */

#how-savings-rate {
	margin-top: 100px;
}

/*
*
* Next steps
*
*/

#how #next-steps object {
	display: block;
	margin-bottom: 15px;
	height: 60px;	
}
#how #next-steps .grid-cell:nth-of-type(1) object {
	width: 77px;
}
#how #next-steps .grid-cell:nth-of-type(2) object {
	width: 72px;
}
#how #next-steps .grid-cell:nth-of-type(3) object {
	width: 52px;
	height: 67px;
	margin-bottom: 8px;
}



/* ==========================================================================
	Responsive styles: 1600px and above
========================================================================== */

@media (min-width: 1600px) { 
	#how h2 {
	   font-size: 3.75rem;
	   line-height: 1.2;
	   margin-bottom: 2.5rem;
	}
  }


/* ==========================================================================
	Responsive styles: 1600px and below
========================================================================== */

@media (max-width: 1600px) {

	/*
	*
	* Hero: 1600px and below
	*
	*/

	#how .hero-cover {
		height: 900px;
		width: 300%;
		margin-left: -150%;
		margin-top: 300px;
	}

	/*
	*
	* Borrow Balanced Dollars: 1600px and below
	*
	*/

	#how .step {
		margin-top: 200px;
	}
	#how .step img {
		float: right;
	}
	#how .step video {
		width: 485px;
		float: right;
	}
	#how #monitor-and-adjust .video-tooltips .tooltip-content p {
		font-size: 15px;
	}
	#how #liquidate img {
		width: 350px;
		margin: auto;
		float: none;
		display: block;
	}
	#how .liquidity-3 img {
		margin-top: 75px;
		width: 99%;
		margin-left: auto;
		display: block;
	}
	#how #supply-liquidity object {
		display: block;
		height: auto;
		margin: -235px -465px -330px -220px;
		max-width: 150%;
		position: relative;
		z-index: -9;
	}
	#how #return-assets img {
		width: 400px;
	}
	#how #monitor-and-adjust video {
		width: 950px;
		margin-top: 25px;
		margin-bottom: 25px;
	}
	#how #get-started {
		max-width: 750px;
		margin: 50px auto 0;
		margin-top: 200px;
	}
	#how #manage-crypto #claim-and-stake ul li {
		font-size: 18px;
	}
	#how footer {
		margin-top: 150px;
	}
}

/* ==========================================================================
	Responsive styles: 1300px and below
========================================================================== */

@media (max-width: 1300px) {

	/*
	*
	* Modules: 1300px and below
	*
	*/

	#how li {
		font-size: 18px;
	}

	/*
	*
	* Hero: 1300px and below
	*
	*/

	#how .hero .hero-background {
		z-index: -9;
		scale: 5;
		transform: translateX(26px) translateY(5px);
	}
	#how .hero-image {
		width: 800px;
	}

	/*
	*
	* Sub-navigation: 1300px and below
	*
	*/

	#how .sub-navigation {
		max-width: 100%;
	}

	/*
	*
	* Borrow Balanced Dollars: 1300px and below
	*
	*/

	#how #borrow-balanced > img {
		width: 370px;
	}
	#how #borrow-balanced > object {
		transform: translate(5%, -62%);
	}
	#how #borrow-balanced .step {
		margin-top: 150px;
	}
	#how #borrow-balanced .steps-container .step h2::before {
		font-size: 40px;
		line-height: 1.6;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::before {
		left: 110.2%;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::after {
		left: 109%;
	}
	#how .steps-container .step:nth-of-type(2) h2::before {
		left: -25.2%;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::after {
		left: -26.5%;
	}

	/*  */

	#how .liquidity-3 img {
		margin-top: 140px;
		width: 125%;
		margin-left: 50px;
	}

	#how #swap-assets {
		margin-bottom: 200px;
	}
	#how #supply-liquidity object {
		margin-left: -40%;
		margin-top: -100px;
	}
}

/* ==========================================================================
	Responsive styles: 1100px and below
========================================================================== */

@media (max-width: 1100px) {

	/*
	*
	* Hero: 1100px and below
	*
	*/

	#how #borrow-balanced > object {
		transform: translate(0%, -62%);
	}

	#how .step video {
		width: 420px;
	}
	#how .steps-container .step h2::before {
		transform: scale(0.8) translateX(-6%);
	}
	#how .steps-container .step h2::after {
		transform: scale(0.85) translateX(-3%);
	}
	#how .steps-container .step:nth-of-type(1) h2::after {
		transform: scale(0.85) translateX(-6%);
	}
	#how .steps-container .step:nth-of-type(2) h2::before {
		transform: scale(0.8) translateX(-4%);
	}
	#how .steps-container .step:nth-of-type(3) h2::before {
		transform: scale(0.8) translateX(0%);
	}
	#how .steps-container .step:nth-of-type(3) h2::after {
		transform: scale(0.85) translateX(0%);
	}

	/* Monitor and adjust */

	#how #monitor-and-adjust video {
		width: 100%;
	}

	/* Claim and stake */

	#how #claim-and-stake img {
		width: 400px;
	}

	/* Liquidity */

	#how #supply-liquidity video {
		width: 100%;
	}
	#how .liquidity-3 {
		flex-direction: column;
	}
	#how .cross-chain-liquidity {
		max-width: 100%;
		padding-top: 0;
		margin-top: -75px;
	}
	#how .liquidity-3 > .grid-cell:last-of-type {
		margin-left: 0 !important;
	}
	#how .liquidity-3 > .grid-cell:last-of-type img {
		width: 100%;
		height: initial;
		margin-left: initial;
	}


	/* Manage */

	#how #manage-crypto object {
		margin-bottom: -40px;
	}

}

/* ==========================================================================
	Responsive styles: 1000px and below
========================================================================== */

@media (max-width: 1000px) {

	/*
	*
	* Hero: 1000px and below
	*
	*/

	/*
	*
	* Borrow Balanced Dollars: 1000px and below
	*
	*/

	#how #borrow-balanced > object {
		transform: translate(-5%, -62%);
	}

	#how #supply-liquidity object {
		margin-bottom: -100px;
	}
	#how #participate-governance img {
		max-width: 100%;
	}
	#how .hero-image {
		transform: translate(-125px, -525px);
	}
	#how .hero .hero-background {
		transform: translateX(5px) translateY(9px);
	}
	#how #participate #participate-governance img,
	#how #supply-liquidity video {
		max-width: 100%;
	}
	#how #manage-crypto #claim-and-stake img,
	#how #decentralised-exchange #swap-assets img {
		height: auto;
	}
	#how #how-savings-rate .grid.grid-center,
	#how #view-and-manage .grid.grid-center {
		gap: 5%;
	}
	#how #how-savings-rate img {
		max-width: 100%;
		width: 100%;
	}
	#how #manage-crypto #view-and-manage img {
		margin-top: 0;
		max-width: 100%;
		width: 100%;
	}
}

/* ==========================================================================
	Responsive styles: 800px and below
========================================================================== */

@media (max-width: 800px) {

	/*
	*
	* Hero: 800px and below
	*
	*/

	#how .hero .hero-cover,
	#how .hero .hero-background {
		display: none;
	}

	/*
	*
	* Sub-navigation: 800px and below
	*
	*/

	#how .sub-navigation > .grid {
		flex-direction: column;
	}

	/*
	*
	* Borrow Balanced Dollars: 800px and below
	*
	*/

	#how #borrow-balanced > img {
		transform: initial;
		margin-bottom: -20px;
		width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
	#how #borrow-balanced > object {
		transform: translate(-14%, -60%);
	}
	#how .steps-container::before {
		left: 0;
	}
	#how .steps-container .grid {
		gap: 0%;
		margin-top: 50px;
	}
	#how .steps-container .step video,
	#how .steps-container #monitor-and-adjust.grid:nth-of-type(3) .grid-cell video {
		margin-bottom: 100px;
		margin-top: 40px;
	}
	#how .steps-container {
		padding-left: 60px;
	}
	#how .steps-container::before {
		left: 0;
	}
	#how .steps-container .step h2 {
		padding-top: 40px;
	}
	#how .steps-container .step h2::before,
	#how .steps-container .step h2::after {
		left: -93px;
		top: 25px;
		transform: scale(0.7);
	}
	#how .steps-container .step h2::after {
		transform: scale(.9);
	}
	#how .steps-container .step:nth-of-type(2) h2::before,
	#how .steps-container .step:nth-of-type(2) h2::after {
		left: -93px;
	}
	#how .steps-container .step:nth-of-type(3) h2::before,
	#how .steps-container .step:nth-of-type(3) h2::after {
		left: -93px;
		top: 25px;
		transform: scale(0.7);
	}
	#how .steps-container .step:nth-of-type(3) h2::after {
		transform: scale(.9);
	}
	#how .steps-container .grid:nth-of-type(2) .grid-cell:nth-of-type(2) {
		order: 2;
	}
	#how .steps-container #monitor-and-adjust.grid h2 {
		text-align: left;
	}
	#how .steps-container #monitor-and-adjust.grid {
		padding-top: 0;
	}

	/* ==========================================================================
		How: 800px and below
	========================================================================== */

	/* Hero */

	#how .hero {
		margin-bottom: 70px;
	}
	#how .hero > .grid {
		flex-direction: column-reverse;
	}
	#how .hero p {
		max-width: 100%;
	}
	#how .hero-image {
		position: relative;
		height: auto;
		display: block;
		left: initial;
		margin-bottom: -100px;
		margin-left: -10%;
		max-width: initial;
		width: 120%;
		transform: initial;
		margin-top: -75px;
	}

	/* Get started */

	#how #get-started p {
		text-align: left;
	}

	/* Step */
	
	#how .step {
		flex-direction: column;
		margin-top: 125px;
	}
	#how .step video {
		margin-top: 25px;
		width: 100%;
	}
	#how #claim-and-stake img {
		width: 100%;
	}
	#how #borrow-balanced .steps-container .grid {
		gap: 0%;
		margin-top: 50px;
	}
	#how #borrow-balanced .steps-container .step video,
	#how #borrow-balanced .steps-container #monitor-and-adjust.grid:nth-of-type(3) .grid-cell video {
		margin-bottom: 0;
		margin-top: 0;
	}
	#how #borrow-balanced .steps-container {
		padding-left: 60px;
	}
	#how #borrow-balanced .steps-container::before {
		left: 0;
	}
	#how #borrow-balanced .steps-container .step h2 {
		padding-top: 40px;
	}
	#how #borrow-balanced .steps-container .step h2::before,
	#how #borrow-balanced .steps-container .step h2::after {
		left: -93px;
		top: 25px;
		transform: scale(0.7);
	}
	#how #borrow-balanced .steps-container .step h2::after {
		transform: scale(.9);
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::before,
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::after {
		left: -93px;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::after {
		left: -98px;
		top: 21px;
		transform: scale(0.7);
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::before,
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::after {
		left: -93px;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::after {
		left: -98px;
		top: 21px;
		transform: scale(0.7);
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(3) h2::before,
	#how #borrow-balanced .steps-container .step:nth-of-type(3) h2::after {
		left: -93px;
		top: 25px;
		transform: scale(0.7);
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(3) h2::after {
		transform: scale(0.72) translateX(-8%) translateY(-8%);
	}
	#how #borrow-balanced .steps-container .grid:nth-of-type(2) .grid-cell:nth-of-type(2) {
		order: 2;
	}
	#how #borrow-balanced .steps-container #monitor-and-adjust.grid h2 {
		text-align: left;
	}
	#how #borrow-balanced .steps-container #monitor-and-adjust.grid {
		padding-top: 0;
		margin-top: 0;
	}
	#how .tldr {
		flex-wrap: wrap;
	}
	#how .tldr .grid-cell {
		flex: 40%;
		margin-bottom: 25px;
	}
	#how .steps-container #monitor-and-adjust.grid:nth-of-type(3) .grid-cell video {
		max-width: initial;
		width: 100%;
		margin-left: 0;
		margin-top: 25px;
		margin-bottom: 25px;
		border-radius: 5px;
	}

	/*
	*
	* Decentralised exchange: 800px and below
	*
	*/

	#how #decentralised-exchange > object {
		margin-bottom: -9%;
		max-width: 77%;
		margin-left: auto;
		margin-right: auto;
	}
	#how #decentralised-exchange h2 {
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
	#how #decentralised-exchange h2 + p {
		text-align: left;
	}
	#how #decentralised-exchange #swap-assets img {
		max-width: 400px;
		transform: initial;
		margin-top: 50px;
	}

	/* Payments */

	#how #monitor-and-adjust video {
		width: 100%;
		margin: 0;
	}

	/* Stability fund / Stake and unstake */

	#how #decentralised-exchange #fund-unstake {
		flex-direction: column;
	}

	#how #decentralised-exchange #supply-liquidity > .grid {
		flex-direction: column;
	}

	#how #manage-crypto #how-savings-rate .grid {
		flex-direction: column;
	}
	#how #manage-crypto #view-and-manage .grid-cell,
	#how #manage-crypto #how-savings-rate .grid .grid-cell {
	   margin-bottom: 25px;
	}

	#how #view-and-manage > .grid {
		flex-direction: column-reverse;
	}
	#how #manage-crypto #manage-stake {
		flex-direction: column;
	}
	#how #manage-crypto #transfer-between {
		flex-direction: column-reverse;
	}

	#how #liquidity-pools {
		flex-direction: column;
	}
	#how #participate #participate-governance img {
		max-width: 100%;
	}

	/* Payments */

	#how div.grid:nth-child(4) {
		flex-direction: column;
	}

	#how #supply-liquidity video {
		width: 100%;
	}
	#how #supply-liquidity object {
		margin-left: -30%;
	}

	#how .steps-container .label {
		margin-bottom: 50px;
	}
	#how #borrow-balanced .steps-container #monitor-and-adjust.grid:nth-of-type(3) .grid-cell video {
		margin-bottom: 25px;
	}

}

/* ==========================================================================
	Responsive styles: 600px and below
========================================================================== */

@media (max-width: 600px) {

	/*
	*
	* Hero: 600px and below
	*
	*/

	#how .hero-image {
		width: 140%;
		margin-left: -20%;
	}

	/* Get started */

	#how #get-started {
		max-width: 750px;
		margin-top: 25px;
	}
	#how #get-started p {
		text-align: left;
		max-width: 100%;
	}
	#how .sub-navigation > .grid {
		gap: 25px;
	}

	/*
	*
	* Borrow Balanced Dollars: 600px and below
	*
	*/

	#how #borrow-balanced > img {
		transform: initial;
		margin-bottom: 25px;
		width: 250px;
		margin-left: auto;
		margin-right: auto;
		height: initial;
	}
	#how #borrow-balanced > object {
		transform: translate(-18%, -57%);
		width: 600px;
	}
	#how #borrow-balanced h2 .text-gradient {
		display: block;
	}
	#how #borrow-balanced .arrow-right {
		max-width: 200px;
		margin-left: initial;
	}
	#how #borrow-balanced .arrow-right::after {
		width: 15px;
		margin-left: -5px;
		margin-top: 32px;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::before,
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::after {
		left: -80px;
		top: -7px;
		line-height: 1.3;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::after {
		left: -83px;
		top: -10px;
		transform: scale(0.75);
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::before,
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::after {
		left: -80px;
		top: -7px;
		line-height: 1.3;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::after {
		left: -83px;
		top: -10px;
		transform: scale(0.75);
	}
	#how #borrow-balanced .steps-container .step:first-of-type h2 {
		padding-top: 0;
	}
	#how #borrow-balanced .steps-container::before {
		left: 5px;
	}
	#how #borrow-balanced div.step:nth-child(1) > div:nth-child(2) > video:nth-child(1),
	#how .grid.grid-center.step .label + .panel {
		margin-top: 25px;
	}
	#how #borrow-balanced div.step:nth-child(2) {
		margin-top: 0;
	}
	#how .grid.grid-center.step .label + .panel {
		margin-bottom: 25px;
	}
	#how #borrow-balanced #monitor-and-adjust > div:nth-child(1) > video:nth-child(2) {
		margin-bottom: 25px !important;
	}

	/*
	*
	* Decentralised exchange: 600px and below
	*
	*/

	#how #decentralised-exchange h2 {
		margin-left: initial;
	}
	#how #decentralised-exchange > object {
		margin-bottom: -20%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	#how #decentralised-exchange #swap-assets img {
		max-width: 300px;
		transform: initial;
		margin-top: 50px;
	}
	#how #decentralised-exchange #fund-unstake object {
		max-width: 135px;
	}

	/* Claim and stake */

	#how #claim-and-stake img {
		margin-top: 35px;
	}

	/* Monitor and adjust */

	#how #monitor-and-adjust video {
		margin: 25px 0 25px 0;
		width: 100%;
	}

	/* View and manage */

	#how #view-and-manage img {
		margin: 0;
		margin-top: 25px;
		width: 100%;
	}
	#how #swap-assets img {
		width: 100%;
	}
	#how #return-assets img {
		width: 100%;
	}
	#how #supply-liquidity video {
		width: 250%;
	}
	#how #liquidate img {
		width: 250px;
	}
	#how #fund-unstake {
		flex-direction: column;
	}
	#how #fund-unstake h3 .text-gradient {
		display: inline;
	}
	#how #supply-liquidity object {
		margin-bottom: -50px;
		max-width: initial;
		width: 150%;
	}
	#how #participate object {
		margin: 0 0 0px -10%;
		max-width: 120%;
	}

}

/* ==========================================================================
	Responsive styles: 500px and below
========================================================================== */

@media (max-width: 500px) {

	#how .steps-container:before {
		left: 12px;
	}
	#how #borrow-balanced .steps-container .step h2::before,
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::before,
	#how #borrow-balanced .steps-container .step:nth-of-type(3) h2::before {
    	font-size: 40px;
		height: 55px;
		left: -74px;
		top: 35px;
    	width: 55px;
	}
	#how #borrow-balanced .steps-container .step h2::after,
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::after,
	#how #borrow-balanced .steps-container .step:nth-of-type(3) h2::after {
		height: 60px;
		line-height: 1;
		left: -76px;
		top: 33px;
    	width: 60px;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::after {
		left: -83px;
		top: -9px;
		transform: scale(0.75);
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(1) h2::before {
		line-height: 1.2;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::before {
		top: 37px;
		left: -79px;
		line-height: 1.2;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(2) h2::after {
		top: 35px;
		left: -82px;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(3) h2::before {
		line-height: 1.2;
		left: -79px;
		top: 37px;
	}
	#how #borrow-balanced .steps-container .step:nth-of-type(3) h2::after {
		transform: scale(0.75) translateX(-12%) translateY(5%);
	}
	#how .tldr .grid {
		gap: 5%;
	}
	#how .tldr .grid-cell {
		margin: 0;
	}
	#how .tldr .grid-cell h2 {
		line-height: 1.3;
	}
	#how .tldr .grid-cell p {
		font-size: 15px;
	}
	#how #decentralised-exchange h2,
	#how #decentralised-exchange p,
	#how #borrow-balanced h2,
	#how #borrow-balanced p,
	#how #manage-crypto h2,
	#how #manage-crypto p,
	#how #participate h2,
	#how #participate p,
	#how #participate-governance h3 {
		text-align: left;
	}
	#how #decentralised-exchange .graphic {
		justify-content: flex-start;
	}
	#how #decentralised-exchange .graphic object {
		margin-bottom: 30px;
	}
	#how #supply-liquidity {
		margin-top: 50px;
	}
	#how #supply-liquidity > .grid:first-of-type > .grid-cell:first-of-type {
		margin-left: 0;
	}
	#how #supply-liquidity .grid,
	#how #transfer-between {
		flex-direction: column;
	}
	#how #transfer-between img {
		margin-bottom: 25px;
	}
	#how ul li {
		font-size: 17px;
	}
}

/* ==========================================================================
	Responsive styles: 450px and below
========================================================================== */

@media (max-width: 450px) {

	/*
	*
	* Hero: 450px and below
	*
	*/

	#how .hero h1 {
		font-size: 40px;
	}
	#how .tldr .grid-cell {
		flex: 1;
		margin-bottom: 15px;
		padding: 25px 15px;
	}
	#how .tldr .grid-cell h2 {
		font-size: 18px;
	}
	#how #borrow-balanced .steps-container .step video,
	#how #borrow-balanced .steps-container #monitor-and-adjust.grid:nth-of-type(3) .grid-cell video {
		margin-bottom: 0;
	}
	#how #borrow-balanced .steps-container .step h2 {
		font-size: 30px;
		padding-top: 45px;
	}
	#how #swap-assets,
	#how #swap-assets img,
	#how #manage-stake img,
	#how #transfer-between img {
		margin-top: 50px;
	}
	#how #supply-liquidity video {
		margin-top: -90px;
		max-width: 100%;
		margin-bottom: 25px;
	}
	#how #manage-stake,
	#how #transfer-between,
	#how #participate-governance {
		flex-direction: column;
	}
	#how #transfer-between .grid-cell:nth-of-type(1) {
		order: 1;
	}
	#how #transfer-between img {
		margin-bottom: 50px;
	}
	#how #lock-up img,
	#how #participate-governance img,
	#how #liquidity-pools img {
		margin-bottom: 50px;
		max-width: 100%;
	}
	#how #participate-governance {
		margin-top: 100px;
	}
	#how #liquidity-pools .grid-cell:nth-of-type(1) {
		order: 1;
	}
	#how #claim-and-stake,
	#how #decentralised-exchange #swap-assets {
		margin-top: 50px;
	}
	#how #manage-crypto #claim-and-stake img,
	#how #manage-crypto #view-and-manage img,
	#how #manage-crypto #manage-stake img,
	#how #manage-crypto #transfer-between img {
		width: 85%;
		margin-top: 25px;
	}
	#how #manage-crypto #transfer-between {
		flex-direction: column;
	}
	#how #manage-crypto object {
		margin-bottom: 0;
		margin-left: -20%;
		max-width: 140%;
		width: 140%;
	}

	/*
	*
	* Participate in the Balanced DAO: 450px and below
	*
	*/

	#how #participate object {
		max-width: initial;
		width: 160%;
		margin-left: -30%;
	}
	#how #lock-up h3 {
		text-align: left;
	}
	#how #participate #liquidity-pools img {
		margin-top: -75px;
		margin-bottom: 25px;
	}
}

/* ==========================================================================
	Responsive styles: 400px and below
========================================================================== */

@media (max-width: 400px) {

	/*
	*
	* Hero: 400px and below
	*
	*/

	#how .hero .hero-background {
		transform: initial;
		display: block;
		width: 70%;
		margin-left: 15%;
		margin-top: -63%;
	}

	/*
	*
	* Hero: 400px and below
	*
	*/

	#how #supply-liquidity object {
		margin-bottom: -15px;
		margin-left: -25%;
	}
}