@font-face {
	font-family: "Avenir Next";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/font-f12d55fb0d989a19.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Avenir Next";
	font-style: normal;
	font-weight: 500;
	src: url("../fonts/font-6b34da61dc06233d.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Avenir Next";
	font-style: normal;
	font-weight: 600;
	src: url("../fonts/font-8bec6cd1699c84d0.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Avenir Next";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/font-fbd51d4a5cc7c42d.woff2") format("woff2");
	font-display: swap;
}

:root {
	color: #050f19;
	background: #ffffff;
	font-family: "Avenir Next", Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	margin: 0;
	background: #ffffff;
	font-weight: 500;
}

button,
input {
	font: inherit;
}

button {
	cursor: pointer;
}

.site-header {
	border-bottom: 1px solid #edefF1;
	background: #ffffff;
}

.site-header__inner {
	display: flex;
	align-items: center;
	width: min(100%, 1260px);
	min-height: 72px;
	margin: 0 auto;
	padding: 0 24px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	color: #050f19;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.site-brand img {
	width: 32px;
	height: 32px;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	flex: 1;
	padding: 0 32px;
}

.site-nav a {
	color: #050f19;
	font-size: 15px;
	font-weight: 600;
	line-height: 72px;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: #1452f0;
}

.site-header__action {
	height: 36px;
	padding: 0 15px;
	border: 1px solid #dce3ec;
	border-radius: 6px;
	background: #ffffff;
	color: #1452f0;
	font-size: 14px;
	font-weight: 700;
}

.site-header__action:hover {
	border-color: #1452f0;
	background: #f3f6ff;
}

.page-shell {
	width: min(100%, 1260px);
	margin: 0 auto;
	padding: 48px 24px 72px;
}

.swap-landing {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(390px, 446px);
	align-items: center;
	gap: clamp(48px, 8vw, 112px);
	min-height: 620px;
	padding: clamp(38px, 5vw, 72px);
	border-radius: 10px;
	background: #f5f7f9;
	box-shadow: inset 0 4px 26px rgba(5, 15, 25, 0.03);
}

.landing-copy {
	max-width: 530px;
}

.swap-icon {
	display: block;
	width: 66px;
	height: 66px;
	object-fit: contain;
}

.eyebrow {
	margin: 28px 0 10px;
	color: #657795;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 520px;
	margin-bottom: 22px;
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0;
}

.token-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.token-pill {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 156px;
	padding: 9px 13px 9px 9px;
	border: 1px solid #e1e6ed;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 2px 6px rgba(5, 15, 25, 0.04);
}

.token-pill img,
.token-choice img,
.asset-button img,
.network-button img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.token-pill span,
.token-choice span {
	display: grid;
	gap: 2px;
}

.token-pill strong,
.token-choice span {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.15;
}

.token-pill small,
.token-choice small {
	color: #657795;
	font-size: 12px;
	font-weight: 500;
}

.landing-description {
	max-width: 480px;
	margin: 18px 0 16px;
	color: #657795;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}

.market-snapshot {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 420px;
	margin: 24px 0 18px;
	border-top: 1px solid #dfe5ec;
	border-bottom: 1px solid #dfe5ec;
}

.market-snapshot div {
	display: grid;
	gap: 3px;
	padding: 12px 0;
}

.market-snapshot div + div {
	padding-left: 18px;
	border-left: 1px solid #dfe5ec;
}

.market-snapshot span,
.market-snapshot small {
	color: #657795;
	font-size: 12px;
	font-weight: 500;
}

.market-snapshot strong {
	font-size: 16px;
	font-weight: 600;
}

.positive {
	color: #0c9c5c !important;
}

.text-action {
	padding: 0;
	border: 0;
	background: transparent;
	color: #1452f0;
	font-size: 15px;
	font-weight: 600;
}

.text-action span {
	margin-left: 6px;
	font-size: 18px;
}

.swap-card {
	width: 100%;
	padding: 18px;
	border: 1px solid #edf0f3;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 13px 28px rgba(1, 103, 255, 0.06);
}

.swap-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 2px 16px;
}

.swap-card__header h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.network-button,
.asset-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	background: transparent;
	color: #050f19;
	font-size: 14px;
	font-weight: 600;
}

.network-button {
	padding: 5px 0;
}

.network-button img {
	width: 18px;
	height: 18px;
}

.network-button span,
.chevron {
	color: #8492aa;
	font-size: 17px;
	line-height: 1;
}

.swap-form {
	position: relative;
	display: grid;
	gap: 10px;
}

.amount-panel {
	padding: 14px;
	border-radius: 8px;
	background: #f5f7f9;
}

.panel-label,
.panel-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #657795;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
}

.max-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #1452f0;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.amount-row {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
}

.amount-row input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #050f19;
	font-size: 31px;
	font-weight: 600;
	line-height: 1;
}

.amount-row input::placeholder {
	color: #050f19;
	opacity: 1;
}

.asset-button {
	flex: 0 0 auto;
	min-width: 104px;
	justify-content: center;
	padding: 8px 10px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(5, 15, 25, 0.08);
}

.panel-footer {
	font-size: 11px;
	text-transform: none;
}

.panel-footer b {
	font-weight: 600;
}

.swap-direction {
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 4px solid #ffffff;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 2px 7px rgba(5, 15, 25, 0.12);
	color: #1452f0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	transform: translate(-50%, -50%);
	transition: transform 160ms ease;
}

.swap-direction.is-reversed {
	transform: translate(-50%, -50%) rotate(180deg);
}

.token-selector {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 14px;
}

.token-choice {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 54px;
	padding: 8px;
	border: 1px solid #e5eaf0;
	border-radius: 8px;
	background: #ffffff;
	color: #050f19;
	text-align: left;
}

.token-choice.is-selected {
	border-color: #1452f0;
	background: #f1f5ff;
}

.slippage {
	margin-top: 16px;
}

.slippage__header {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	color: #657795;
	font-size: 12px;
	font-weight: 500;
}

.slippage__header b {
	color: #050f19;
	font-weight: 600;
}

.slippage__options {
	display: grid;
	grid-template-columns: repeat(3, 1fr) 1.5fr;
	gap: 7px;
}

.slippage__options button,
.slippage__options label {
	min-width: 0;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: #f5f7f9;
	color: #657795;
	font-size: 12px;
	font-weight: 600;
}

.slippage__options button.is-selected {
	background: #e7eeff;
	color: #1452f0;
}

.slippage__options label {
	display: flex;
	align-items: center;
	padding: 0 8px;
	border: 1px solid #e5eaf0;
	background: #ffffff;
}

.slippage__options input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	color: #050f19;
	font-size: 12px;
	font-weight: 600;
}

.slippage__options input::placeholder {
	color: #8492aa;
}

.slippage__options label span {
	color: #657795;
	font-size: 12px;
}

.route-summary {
	margin-top: 16px;
	padding: 14px 0;
	border-top: 1px solid #edf0f3;
	border-bottom: 1px solid #edf0f3;
}

.route-summary__header,
.route-summary__path {
	display: flex;
	align-items: center;
	gap: 8px;
}

.route-summary__header {
	font-size: 12px;
}

.route-summary__header > span:first-child {
	color: #657795;
}

.route-summary__header strong {
	color: #050f19;
	font-weight: 600;
}

.route-status {
	margin-left: auto;
	color: #0c9c5c;
	font-size: 11px;
	font-weight: 600;
}

.route-summary__path {
	margin-top: 12px;
}

.route-summary__path span {
	padding: 4px 7px;
	border-radius: 5px;
	background: #f5f7f9;
	color: #657795;
	font-size: 11px;
	font-weight: 600;
}

.route-summary__path i {
	width: 14px;
	height: 1px;
	background: #bcc8d7;
}

.quote-details {
	display: grid;
	gap: 8px;
	margin: 16px 0 0;
}

.quote-details div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 12px;
	line-height: 1.35;
}

.quote-details dt {
	color: #657795;
}

.quote-details dd {
	margin: 0;
	color: #050f19;
	font-weight: 600;
	text-align: right;
}

.connect-button,
.guide-button {
	width: 100%;
	height: 46px;
	margin-top: 18px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
}

.connect-button {
	border: 1px solid #1452f0;
	background: #1452f0;
	color: #ffffff;
}

.connect-button.is-connected {
	border-color: #0cce6b;
	background: #0cce6b;
}

.guide-button {
	margin-top: 10px;
	border: 1px solid #e5eaf0;
	background: #ffffff;
	color: #657795;
	font-size: 14px;
}

.guide {
	padding: 80px clamp(8px, 5vw, 72px) 0;
}

.guide .eyebrow {
	margin: 0 0 10px;
}

.guide h2 {
	max-width: 580px;
	margin-bottom: 34px;
	font-size: clamp(30px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.15;
}

.guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #e5eaf0;
}

.guide-grid article {
	min-height: 205px;
	padding: 24px 28px 20px 0;
	border-right: 1px solid #e5eaf0;
}

.guide-grid article + article {
	padding-left: 28px;
}

.guide-grid article:last-child {
	border-right: 0;
}

.guide-grid span {
	display: block;
	margin-bottom: 32px;
	color: #1452f0;
	font-size: 13px;
	font-weight: 600;
}

.guide-grid h3 {
	margin-bottom: 8px;
	font-size: 19px;
	font-weight: 700;
}

.guide-grid p {
	margin: 0;
	color: #657795;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}

.token-compare,
.why-section,
.faq {
	padding: 96px clamp(8px, 5vw, 72px) 0;
}

.section-heading {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	gap: 18px 80px;
	align-items: end;
}

.section-heading .eyebrow {
	grid-column: 1 / -1;
	margin: 0;
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(30px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.15;
}

.section-heading > p:not(.eyebrow) {
	max-width: 510px;
	margin: 0;
	color: #657795;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}

.comparison-table {
	margin-top: 38px;
	border-top: 1px solid #dfe5ec;
}

.comparison-table__row {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	align-items: center;
	min-height: 78px;
	border-bottom: 1px solid #dfe5ec;
	color: #657795;
	font-size: 14px;
	font-weight: 500;
}

.comparison-table__head {
	min-height: 44px;
	color: #8492aa;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.comparison-table__row strong {
	color: #050f19;
	font-size: 16px;
	font-weight: 600;
}

.comparison-token {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #050f19;
	font-size: 15px;
	font-weight: 600;
}

.comparison-token img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
}

.comparison-token small {
	margin-left: 2px;
	color: #8492aa;
	font-size: 12px;
	font-weight: 500;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 42px;
	border-top: 1px solid #dfe5ec;
}

.why-grid > div {
	min-height: 220px;
	padding: 26px 28px 20px 0;
	border-right: 1px solid #dfe5ec;
}

.why-grid > div + div {
	padding-left: 28px;
}

.why-grid > div:last-child {
	border-right: 0;
}

.why-grid b {
	display: block;
	margin-bottom: 34px;
	color: #1452f0;
	font-size: 13px;
	font-weight: 600;
}

.why-grid h3 {
	margin-bottom: 8px;
	font-size: 19px;
	font-weight: 700;
}

.why-grid p {
	margin: 0;
	color: #657795;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}

.faq {
	padding-bottom: 24px;
}

.faq-list {
	margin-top: 36px;
	border-top: 1px solid #dfe5ec;
}

.faq-list details {
	border-bottom: 1px solid #dfe5ec;
}

.faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 21px 0;
	color: #050f19;
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	list-style: none;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary span {
	color: #1452f0;
	font-size: 24px;
	font-weight: 400;
}

.faq-list details[open] summary span {
	transform: rotate(45deg);
}

.faq-list p {
	max-width: 760px;
	margin: -2px 0 22px;
	color: #657795;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
}

.token-modal[hidden] {
	display: none;
}

.token-modal {
	position: fixed;
	z-index: 20;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
}

.token-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 15, 25, 0.42);
}

.token-modal__dialog {
	position: relative;
	width: min(100%, 540px);
	max-height: min(720px, calc(100vh - 40px));
	overflow: auto;
	padding: 24px;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 20px 50px rgba(5, 15, 25, 0.22);
}

.token-modal__dialog header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.token-modal__dialog .eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
}

.token-modal__dialog h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
}

.modal-close {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f5f7f9;
	color: #657795;
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
}

.token-search {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 13px;
	border: 1px solid #dfe5ec;
	border-radius: 8px;
	color: #657795;
}

.token-search span {
	font-size: 20px;
}

.token-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	color: #050f19;
	font-size: 14px;
	font-weight: 500;
}

.token-search input::placeholder {
	color: #8492aa;
}

.modal-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0;
}

.modal-suggestions button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 10px 0 6px;
	border: 0;
	border-radius: 8px;
	background: #f5f7f9;
	color: #050f19;
	font-size: 12px;
	font-weight: 600;
}

.modal-suggestions img {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	object-fit: cover;
}

.token-modal__list {
	border-top: 1px solid #edf0f3;
}

.modal-token {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: center;
	width: 100%;
	gap: 12px;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid #edf0f3;
	background: #ffffff;
	color: #050f19;
	text-align: left;
}

.modal-token:hover {
	background: #f8faff;
}

.modal-token[hidden] {
	display: none;
}

.modal-token img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.modal-token span {
	display: grid;
	gap: 3px;
}

.modal-token strong {
	font-size: 14px;
	font-weight: 600;
}

.modal-token small,
.modal-token em {
	color: #8492aa;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}

@media (max-width: 900px) {
	.site-header__inner {
		min-height: 62px;
	}

	.site-nav {
		justify-content: flex-end;
		gap: 22px;
		padding: 0 22px;
	}

	.site-nav a {
		line-height: 62px;
	}

	.page-shell {
		padding: 24px 0 56px;
	}

	.swap-landing {
		grid-template-columns: 1fr;
		gap: 34px;
		min-height: 0;
		padding: 40px max(20px, 6vw);
		border-radius: 0;
	}

	.landing-copy {
		max-width: 620px;
	}

	.swap-card {
		max-width: 520px;
	}

	.guide {
		padding: 64px max(20px, 6vw) 0;
	}

	.token-compare,
	.why-section,
	.faq {
		padding-right: max(20px, 6vw);
		padding-left: max(20px, 6vw);
	}
}

@media (max-width: 600px) {
	.site-header__inner {
		min-height: 58px;
		padding: 0 16px;
	}

	.site-brand {
		font-size: 18px;
	}

	.site-brand img {
		width: 28px;
		height: 28px;
	}

	.site-nav {
		display: none;
	}

	.site-header__action {
		margin-left: auto;
	}

	.swap-landing {
		padding: 30px 16px 36px;
	}

	.swap-icon {
		width: 54px;
		height: 54px;
	}

	.eyebrow {
		margin-top: 22px;
	}

	h1 {
		font-size: 34px;
	}

	.landing-description {
		font-size: 15px;
	}

	.market-snapshot {
		max-width: none;
	}

	.swap-card {
		padding: 14px;
	}

	.swap-card__header {
		padding-bottom: 12px;
	}

	.amount-panel {
		padding: 12px;
	}

	.amount-row input {
		font-size: 27px;
	}

	.asset-button {
		min-width: 96px;
		padding: 7px 8px;
	}

	.asset-button img {
		width: 25px;
		height: 25px;
	}

	.token-choice span {
		font-size: 12px;
	}

	.token-choice small {
		font-size: 10px;
	}

	.slippage__options {
		grid-template-columns: repeat(3, 1fr);
	}

	.slippage__options label {
		grid-column: span 3;
	}

	.guide {
		padding: 52px 20px 0;
	}

	.guide-grid {
		grid-template-columns: 1fr;
	}

	.guide-grid article,
	.guide-grid article + article {
		min-height: 0;
		padding: 24px 0;
		border-right: 0;
		border-bottom: 1px solid #e5eaf0;
	}

	.guide-grid span {
		margin-bottom: 20px;
	}

	.token-compare,
	.why-section,
	.faq {
		padding: 56px 20px 0;
	}

	.section-heading {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.comparison-table {
		margin-top: 28px;
	}

	.comparison-table__row {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		min-height: 72px;
	}

	.comparison-table__row > :nth-child(3),
	.comparison-table__row > :nth-child(4) {
		display: none;
	}

	.why-grid {
		grid-template-columns: 1fr;
		margin-top: 30px;
	}

	.why-grid > div,
	.why-grid > div + div {
		min-height: 0;
		padding: 24px 0;
		border-right: 0;
		border-bottom: 1px solid #dfe5ec;
	}

	.why-grid b {
		margin-bottom: 20px;
	}

	.faq {
		padding-bottom: 12px;
	}

	.faq-list {
		margin-top: 28px;
	}

	.faq-list summary {
		font-size: 16px;
	}
}
