.cto-hero,
.cto-section {
	text-align: center;
}

.cto-hero {
	padding: 80px 0 48px;
}

.cto-title {
	max-width: none;
	font-family: var(--display);
	font-size: clamp(32px, 6vw, 64px);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: var(--text);
	overflow-wrap: break-word;
	text-wrap: balance;
}

.cto-hero-subtitle {
	margin: 24px auto 0;
	max-width: 540px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--muted);
	overflow-wrap: break-word;
}

.cto-section .section-header {
	text-align: center;
}

.cto-section .section-subtitle {
	margin-left: auto;
	margin-right: auto;
}

.cto-section {
	padding: var(--block) 0 var(--section);
}

.cto-flow {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cto-arrow {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--gold);
}

.cto-arrow span {
	width: 1px;
	height: 28px;
	background: linear-gradient(
		180deg,
		rgba(var(--gold-rgb), 0.05),
		var(--gold)
	);
}

.cto-arrow i {
	font-size: 12px;
	margin-top: -2px;
}

.cto-fork {
	position: relative;
	height: 44px;
	margin: 0 auto;
	width: min(100%, 720px);
}

.cto-fork-stem {
	position: absolute;
	top: 0;
	left: 50%;
	width: 1px;
	height: 18px;
	background: var(--gold);
	transform: translateX(-50%);
}

.cto-fork-bar {
	position: absolute;
	top: 18px;
	left: 25%;
	right: 25%;
	height: 1px;
	background: rgba(var(--gold-rgb), 0.55);
}

.cto-fork-left,
.cto-fork-right {
	position: absolute;
	top: 18px;
	width: 1px;
	height: 26px;
	background: linear-gradient(
		180deg,
		rgba(var(--gold-rgb), 0.55),
		var(--gold)
	);
}

.cto-fork-left {
	left: 25%;
}

.cto-fork-right {
	right: 25%;
}

.cto-fork-left::after,
.cto-fork-right::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 7px;
	height: 7px;
	border-right: 1px solid var(--gold);
	border-bottom: 1px solid var(--gold);
	transform: translateX(-50%) rotate(45deg);
}

.wallet-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	text-align: center;
}

.wallet-card-source {
	border-color: var(--line-gold);
}

.wallet-header {
	margin-bottom: 18px;
}

.wallet-step {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 8px;
}

.wallet-badge {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #111;
	background: var(--gold);
	padding: 4px 8px;
	border-radius: 6px;
	margin-bottom: 12px;
}

.wallet-title {
	font-family: var(--display);
	font-size: 28px;
	font-weight: 500;
	margin-bottom: 6px;
}

.wallet-desc {
	font-size: 14px;
	color: var(--muted);
}

.wallet-address-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.wallet-address-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 10px 12px;
	background: #0a0a0a;
	border: 1px solid var(--line);
	border-radius: 10px;
	text-align: left;
}

.wallet-address {
	flex: 1;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	word-break: break-all;
	line-height: 1.45;
}

.wallet-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--gold);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
}

.wallet-link:hover {
	color: var(--gold-soft);
}

.wallet-link i {
	font-size: 11px;
}

.cto-flow-note,
.cto-flow-footer {
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted);
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.cto-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 800px) {
	.cto-hero {
		padding: 48px 0 32px;
	}

	.cto-section {
		padding: var(--block) 0 72px;
	}

	.wallet-card {
		padding: 22px 18px;
	}

	.wallet-title {
		font-size: 24px;
	}

	.wallet-address {
		font-size: 11px;
	}

	.cto-fork {
		height: 36px;
		width: 100%;
	}

	.cto-fork-bar,
	.cto-fork-left,
	.cto-fork-right {
		display: none;
	}

	.cto-fork-stem {
		height: 28px;
	}

	.cto-fork-stem::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: -4px;
		width: 7px;
		height: 7px;
		border-right: 1px solid var(--gold);
		border-bottom: 1px solid var(--gold);
		transform: translateX(-50%) rotate(45deg);
	}

	.cto-split {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}
