.home-hero .hp-roadmap-open {
	margin-top: 28px;
}

.hp-roadmap {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(16, 45, 32, .62);
}

.hp-roadmap[hidden] {
	display: none;
}

body.hp-roadmap-lock {
	overflow: hidden;
}

body.hp-roadmap-lock #jvLabelWrap,
body.hp-roadmap-lock #jcont,
body.hp-roadmap-lock #ccp-reopen {
	visibility: hidden !important;
}

.hp-roadmap-dialog {
	display: flex;
	flex-direction: column;
	width: min(1180px, 100%);
	height: min(860px, calc(100dvh - 48px));
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	color: var(--ink);
	box-shadow: 0 18px 55px rgba(16, 45, 32, .18);
}

.hp-roadmap-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
	min-height: 64px;
	padding: 10px 14px 10px 18px;
	background: var(--lime);
	color: #183a28;
}

.hp-roadmap-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .05em;
}

.hp-roadmap-brand small {
	display: block;
	margin-top: 2px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(24, 58, 40, .62);
}

.hp-roadmap-mark {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 11px;
	background: linear-gradient(145deg, var(--green), var(--forest));
	border: 1px solid rgba(194, 230, 142, .24);
	color: var(--lime);
	font-size: 20px;
}

.hp-roadmap-bar-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.hp-roadmap-close {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border: 0;
	border-radius: 999px;
	background: rgba(24, 58, 40, .08);
	color: #183a28;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.hp-roadmap-close:focus-visible {
	outline: 2px solid #183a28;
	outline-offset: 2px;
}

.hp-roadmap-nav button:focus-visible,
.hp-roadmap-btn:focus-visible,
.hp-roadmap-open:focus-visible {
	outline: 2px solid var(--lime);
	outline-offset: 2px;
}

.hp-roadmap-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	flex: 1 1 auto;
	min-height: 0;
}

.hp-roadmap-side,
.hp-roadmap-scroll {
	min-height: 0;
	overflow: auto;
}

.hp-roadmap-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}

.hp-roadmap-side {
	display: flex;
	flex-direction: column;
	padding: 14px;
	border-right: 1px solid var(--line);
	background: #fff;
	overflow: hidden;
}

.hp-roadmap-side-title,
.hp-roadmap-label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.hp-roadmap-side-title {
	margin-bottom: 10px;
}

.hp-roadmap-nav {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hp-roadmap-nav button {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 7px 8px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--muted);
	text-align: left;
	cursor: pointer;
}

.hp-roadmap-nav button:hover {
	background: var(--mist);
	color: var(--forest);
}

.hp-roadmap-nav button.is-on {
	background: var(--forest);
	color: #fff;
}

.hp-roadmap-num {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--mist);
	color: var(--green);
	font-size: 10px;
	font-weight: 800;
}

.hp-roadmap-nav button.is-on .hp-roadmap-num {
	background: rgba(194, 230, 142, .16);
	color: var(--lime);
}

.hp-roadmap-nav b {
	font-size: 11px;
	font-weight: 800;
	line-height: 1.35;
}

.hp-roadmap-sidefoot {
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 11px;
	line-height: 1.5;
}

.hp-roadmap-cover {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 168px;
	padding: 20px 24px;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(16, 45, 32, .93), rgba(25, 74, 50, .72)),
		var(--hp-roadmap-cover) center 48% / cover no-repeat;
}

.hp-roadmap-coverrow {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .1em;
}

.hp-roadmap-coverrow span:first-child {
	color: var(--lime);
}

.hp-roadmap h2,
body.hp-home .hp-roadmap h2 {
	max-width: none;
	margin: 16px 0 6px;
	color: #fff;
	font-size: clamp(24px, 3vw, 33px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.04em;
}

.hp-roadmap-cover p {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	line-height: 1.5;
}

.hp-roadmap-track {
	height: 4px;
	margin-top: 14px;
	overflow: hidden;
	border-radius: 9px;
	background: rgba(255, 255, 255, .22);
}

.hp-roadmap-fill {
	height: 100%;
	width: 10%;
	background: linear-gradient(90deg, var(--leaf), var(--lime));
}

.hp-roadmap-content {
	padding: 20px 24px 18px;
}

.hp-roadmap-label {
	color: var(--green);
}

.hp-roadmap-lead {
	margin: 6px 0 16px;
	color: #536258;
	font-size: 14px;
	line-height: 1.6;
}

.hp-roadmap-task {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 12px;
	padding: 13px 0;
	border-top: 1px solid var(--line);
}

.hp-roadmap-task:first-child {
	padding-top: 0;
	border-top: 0;
}

.hp-roadmap-tasknum {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--mist);
	color: var(--green);
	font-size: 10px;
	font-weight: 800;
}

.hp-roadmap h3,
body.hp-home .hp-roadmap h3 {
	margin: 2px 0 4px;
	color: var(--forest);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
}

.hp-roadmap-task p,
.hp-roadmap-result p,
.hp-roadmap-note p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.hp-roadmap-result,
.hp-roadmap-note {
	margin-top: 16px;
	padding: 16px 18px;
	border-radius: 14px;
}

.hp-roadmap-result {
	border: 1px solid #dce9d5;
	background: linear-gradient(135deg, #edf5e8, #f5f8f1);
}

.hp-roadmap-result b,
.hp-roadmap-note b {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	color: var(--forest);
	font-size: 13px;
}

.hp-roadmap-check {
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--green);
	color: #fff;
	font-size: 13px;
}

.hp-roadmap-note {
	border: 1px solid #e8e1cd;
	background: #fbfaf5;
}

.hp-roadmap-note b {
	display: block;
	color: #856b35;
	font-size: 12px;
}

.hp-roadmap-note p {
	color: #6e6859;
}

.hp-roadmap-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex: 0 0 auto;
	margin: 0;
	padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: #fff;
}

.hp-roadmap-btn {
	border: 0;
	border-radius: 999px;
	padding: 12px 16px;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.hp-roadmap-primary {
	background: linear-gradient(135deg, var(--green), var(--forest2));
	color: #fff;
}

.hp-roadmap-secondary {
	background: #f0f4ed;
	color: var(--forest);
	border: 1px solid var(--line);
}

.hp-roadmap-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.hp-roadmap-position {
	color: var(--muted);
	font-size: 11px;
	font-weight: 800;
}

@media (max-width: 1024px) {
	.hp-roadmap-layout {
		grid-template-columns: 210px minmax(0, 1fr);
	}
}

@media (max-width: 850px) {
	.hp-roadmap {
		padding: 0;
	}
	.hp-roadmap-dialog {
		width: 100%;
		height: 100dvh;
		border-radius: 0;
	}
	.hp-roadmap-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto minmax(0, 1fr);
	}
	.hp-roadmap-side {
		padding: 8px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
		overflow: hidden;
	}
	.hp-roadmap-side-title,
	.hp-roadmap-sidefoot {
		display: none;
	}
	.hp-roadmap-nav {
		flex-direction: row;
		gap: 6px;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 4px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}
	.hp-roadmap-nav button {
		flex: 0 0 auto;
		width: auto;
		min-width: 40px;
		min-height: 40px;
		justify-content: center;
		padding: 4px;
		border: 1px solid var(--line);
		scroll-snap-align: start;
	}
	.hp-roadmap-nav b {
		display: none;
	}
	.hp-roadmap-bar-title {
		font-size: 13px;
	}
	.hp-roadmap-brand small {
		display: none;
	}
}

@media (max-width: 430px) {
	.hp-roadmap-bar {
		min-height: 56px;
		padding: 8px 8px 8px 12px;
	}
	.hp-roadmap-mark {
		width: 32px;
		height: 32px;
		font-size: 18px;
	}
	.hp-roadmap-cover {
		min-height: 0;
		padding: 16px;
	}
	.hp-roadmap h2,
	body.hp-home .hp-roadmap h2 {
		font-size: 23px;
		margin-top: 12px;
	}
	.hp-roadmap-cover p,
	.hp-roadmap-lead,
	.hp-roadmap-task p,
	.hp-roadmap-result p,
	.hp-roadmap-note p {
		font-size: 13px;
	}
	.hp-roadmap-content {
		padding: 16px 14px 14px;
	}
	.hp-roadmap-task {
		grid-template-columns: 28px minmax(0, 1fr);
		gap: 8px;
	}
	.hp-roadmap-actions {
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	}
	.hp-roadmap-btn {
		flex: 1 1 0;
		min-height: 44px;
		padding: 10px 8px;
	}
	.hp-roadmap-position {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-roadmap-fill {
		transition: none;
	}
}
