/* Learning Path page — additive layer on top of home.css.
   Color accents per stage: blue / teal / purple / amber. */

.aryf-lp {
	--lp-card-bg: rgba(255, 255, 255, 0.04);
	--lp-card-border: rgba(255, 255, 255, 0.10);
	--lp-card-radius: 16px;
}

/* ---------- Compact hero (hero + former intro merged) ---------- */
.aryf-lp-hero--compact .aryf-lp-hero__intro {
	color: #c9d1de;
	font-size: 0.98rem;
	line-height: 1.6;
	opacity: 0.9;
}

/* ---------- Hero stage chips ---------- */
.aryf-lp-stagenav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	justify-content: center;
	margin: 0.4rem auto 0;
	max-width: 740px;
}
.aryf-lp-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem 0.45rem 0.55rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: #e9eef5;
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.aryf-lp-chip:hover,
.aryf-lp-chip:focus-visible {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}
.aryf-lp-chip__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.aryf-lp-chip--blue   .aryf-lp-chip__num { background: rgba(93, 177, 255, 0.22); color: var(--c-blue); }
.aryf-lp-chip--teal   .aryf-lp-chip__num { background: rgba(52, 212, 168, 0.22); color: var(--c-teal); }
.aryf-lp-chip--purple .aryf-lp-chip__num { background: rgba(185, 124, 255, 0.22); color: var(--c-purple); }
.aryf-lp-chip--amber  .aryf-lp-chip__num { background: rgba(251, 191, 36, 0.22); color: var(--c-amber); }

.aryf-lp-cta-link {
	display: inline-flex;
	align-items: center;
	margin-left: 1rem;
	color: #cfd6e0;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	padding-bottom: 2px;
	transition: color 180ms ease, border-color 180ms ease;
}
.aryf-lp-cta-link:hover,
.aryf-lp-cta-link:focus-visible {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Stages list ---------- */
.aryf-lp-stages {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1.4rem;
}
.aryf-lp-stage {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 1rem;
	scroll-margin-top: 100px;
}
.aryf-lp-stage__rail {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.aryf-lp-stage__dot {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: currentColor;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), 0 0 24px currentColor;
	margin-top: 28px;
}
.aryf-lp-stage__line {
	flex: 1;
	width: 2px;
	margin-top: 8px;
	background: linear-gradient(to bottom, currentColor 0%, rgba(255, 255, 255, 0.08) 90%);
	opacity: 0.6;
}
.aryf-lp-stage:last-child .aryf-lp-stage__line { display: none; }

.aryf-lp-stage--blue   .aryf-lp-stage__rail { color: var(--c-blue); }
.aryf-lp-stage--teal   .aryf-lp-stage__rail { color: var(--c-teal); }
.aryf-lp-stage--purple .aryf-lp-stage__rail { color: var(--c-purple); }
.aryf-lp-stage--amber  .aryf-lp-stage__rail { color: var(--c-amber); }

.aryf-lp-stage__card {
	background: var(--lp-card-bg);
	border: 1px solid var(--lp-card-border);
	border-radius: var(--lp-card-radius);
	padding: 1.6rem 1.7rem 1.5rem;
	position: relative;
	overflow: hidden;
}
.aryf-lp-stage__card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: currentColor;
	opacity: 0.85;
}
/* Soft accent glow in the upper-right corner of each card. */
.aryf-lp-stage__card::after {
	content: "";
	position: absolute;
	top: -90px;
	right: -90px;
	width: 240px;
	height: 240px;
	border-radius: 999px;
	background: radial-gradient(closest-side, currentColor, transparent 70%);
	opacity: 0.10;
	pointer-events: none;
}

/* Stage icon — top-right, accented. */
.aryf-lp-stage__icon {
	position: absolute;
	top: 1.4rem;
	right: 1.4rem;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	color: currentColor;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	box-shadow: 0 0 24px -8px currentColor;
}
.aryf-lp-stage__tagline {
	margin: 0.2rem 0 0;
	color: currentColor;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	opacity: 0.95;
}

/* 4-step progress bar — visualizes where each stage sits in the journey. */
.aryf-lp-stage__progress {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin: 1rem 0 1.2rem;
}
.aryf-lp-stage__step {
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	transition: background 200ms ease;
}
.aryf-lp-stage__step--past    { background: rgba(255, 255, 255, 0.30); }
.aryf-lp-stage__step--current { background: currentColor; box-shadow: 0 0 12px currentColor; }
.aryf-lp-stage__step--future  { background: rgba(255, 255, 255, 0.08); }

/* Focus pills row. */
.aryf-lp-stage__pills {
	list-style: none;
	padding: 0;
	margin: 0 0 1.1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.aryf-lp-stage__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
}
.aryf-lp-stage__pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: currentColor;
	box-shadow: 0 0 6px currentColor;
}

/* Output chips — replaces the comma-separated sentence with visual tags. */
.aryf-lp-stage__chips {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
.aryf-lp-stage__chip {
	display: inline-block;
	padding: 0.4rem 0.75rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	color: #eaf0f8;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-left: 3px solid currentColor;
	line-height: 1.3;
}
.aryf-lp-stage--blue   .aryf-lp-stage__card { color: var(--c-blue); }
.aryf-lp-stage--teal   .aryf-lp-stage__card { color: var(--c-teal); }
.aryf-lp-stage--purple .aryf-lp-stage__card { color: var(--c-purple); }
.aryf-lp-stage--amber  .aryf-lp-stage__card { color: var(--c-amber); }

.aryf-lp-stage__head { margin-bottom: 0.9rem; padding-right: 70px; }
.aryf-lp-stage__tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: currentColor;
	margin-bottom: 0.35rem;
}
.aryf-lp-stage__name {
	font-family: inherit;
	font-size: clamp(1.7rem, 2.4vw, 2.1rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.3rem;
	line-height: 1.15;
}
.aryf-lp-stage__body {
	font-size: 1.02rem;
	line-height: 1.6;
	color: #dbe2ec;
	margin: 0 0 1.1rem;
}
.aryf-lp-stage__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4rem;
	margin-bottom: 1.1rem;
}
.aryf-lp-stage__subh {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #a9b3c2;
	margin: 0 0 0.55rem;
}
.aryf-lp-stage__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.aryf-lp-stage__list li {
	position: relative;
	padding-left: 1.15rem;
	color: #dbe2ec;
	line-height: 1.55;
	margin-bottom: 0.35rem;
	font-size: 0.97rem;
}
.aryf-lp-stage__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: currentColor;
	opacity: 0.85;
}
.aryf-lp-stage__outputs {
	margin: 0;
	color: #dbe2ec;
	font-size: 0.97rem;
	line-height: 1.55;
}
/* Courses at this stage — preview list + link to catalog. */
.aryf-lp-stage__courses {
	margin-top: 0.4rem;
	margin-bottom: 1.1rem;
	padding-top: 1rem;
	border-top: 1px dashed rgba(255, 255, 255, 0.10);
}
.aryf-lp-stage__courses-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.8rem;
	margin-bottom: 0.6rem;
	flex-wrap: wrap;
}
.aryf-lp-stage__courses-head .aryf-lp-stage__subh { margin: 0; }
.aryf-lp-stage__courses-all {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: currentColor;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: gap 200ms ease, opacity 200ms ease;
	opacity: 0.95;
}
.aryf-lp-stage__courses-all:hover,
.aryf-lp-stage__courses-all:focus-visible { gap: 0.55rem; opacity: 1; }
.aryf-lp-stage__courses-all span { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.aryf-lp-courselist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.aryf-lp-course { margin: 0; }
.aryf-lp-course__link {
	display: block;
	padding: 0.65rem 0.8rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-left: 3px solid currentColor;
	border-radius: 0 8px 8px 0;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.aryf-lp-course__link:hover,
.aryf-lp-course__link:focus-visible {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.22);
	border-left-color: currentColor;
	transform: translateX(2px);
	outline: none;
}
.aryf-lp-course__name {
	display: block;
	color: #fff;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0.15rem;
}
.aryf-lp-course__meta {
	display: block;
	color: #b8c2d1;
	font-size: 0.78rem;
	letter-spacing: 0.01em;
}
.aryf-lp-course__sep { margin: 0 0.35rem; opacity: 0.5; }

@media (max-width: 600px) {
	.aryf-lp-courselist { grid-template-columns: 1fr; }
}

.aryf-lp-stage__unlock {
	margin: 0;
	padding-top: 0.95rem;
	border-top: 1px dashed rgba(255, 255, 255, 0.10);
	color: #c9d1de;
	font-size: 0.92rem;
	font-style: italic;
}

/* ---------- Tracks grid ---------- */
.aryf-lp-trackgrid {
	margin-top: 2rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.aryf-lp-track {
	background: var(--lp-card-bg);
	border: 1px solid var(--lp-card-border);
	border-radius: 14px;
	padding: 1.3rem 1.35rem;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.aryf-lp-track:hover {
	transform: translateY(-2px);
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
}
.aryf-lp-track__h {
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}
.aryf-lp-track__p {
	margin: 0;
	color: #c9d1de;
	font-size: 0.95rem;
	line-height: 1.55;
}

/* ---------- Build chips ---------- */
.aryf-lp-buildgrid {
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.7rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.aryf-lp-build__item {
	padding: 0.95rem 1.05rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 12px;
	color: #e9eef5;
	font-weight: 500;
	font-size: 0.97rem;
	text-align: center;
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.aryf-lp-build__item:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}

/* ---------- Vision CTAs ---------- */
.aryf-lp-vision__ctas {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	align-items: center;
	justify-content: center;
	margin-top: 1.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.aryf-lp-stage {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.aryf-lp-stage__rail { display: none; }
	.aryf-lp-stage__card { padding: 1.3rem 1.25rem 1.2rem; }
	.aryf-lp-stage__cols { grid-template-columns: 1fr; gap: 1rem; }
	.aryf-lp-cta-link { margin-left: 0; margin-top: 0.6rem; }
}
