/* 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;
}
/* Stage 4's rail continues for visual consistency with the other stages. */

.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;
	z-index: 2;
}

/* Stage hero slot — full-bleed visual at the top of the card.
   stage1: photographic <img>. stage2: illustrated <svg>. */
.aryf-lp-stage__hero {
	position: relative;
	margin: -1.6rem -1.7rem 1.4rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
}
.aryf-lp-stage__hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* Illustrated SVG hero — sized to fill the slot, accent-colored via currentColor. */
.aryf-lp-stage__hero-svg {
	width: 100%;
	height: 100%;
	display: block;
	padding: 1rem 1.4rem;
	box-sizing: border-box;
	color: currentColor;
}
/* Soft gradient overlay at the bottom of every photo hero so the dark card
   background blends in rather than hitting a hard line. */
.aryf-lp-stage__hero::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 40%;
	background: linear-gradient(to bottom, transparent, var(--lp-card-bg));
	pointer-events: none;
}
@media (max-width: 760px) {
	.aryf-lp-stage__hero {
		margin: -1.3rem -1.25rem 1.1rem;
		aspect-ratio: 3 / 2;
	}
}
.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: currentColor; }
.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 cards — each item has a label + one-sentence description ---------- */
.aryf-lp-buildgrid {
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.aryf-lp-build__item {
	padding: 1.1rem 1.2rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 12px;
	color: #e9eef5;
	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);
}
.aryf-lp-build__item-h {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.005em;
}
.aryf-lp-build__item-p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
}

/* ---------- 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; }
}

/* ============================================================
 * Tree view — "the curriculum at a glance"
 * 6 verticals × 3 levels rendered as a CSS Grid. Innovator card
 * spans the right column down all rows so all paths converge to one.
 * ============================================================ */
.aryf-lp-tree {
	background: rgba(255, 255, 255, 0.02);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aryf-lp-treegrid {
	display: grid;
	grid-template-columns: max-content 1fr 1.5fr 1fr;
	grid-template-rows: auto repeat(var(--lane-count, 6), auto);
	column-gap: 1.2rem;
	row-gap: 0.75rem;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}

.aryf-lp-treegrid__corner { /* empty top-left */ }

.aryf-lp-treegrid__col-head {
	padding: 0.55rem 0.9rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.aryf-lp-treegrid__col-head--blue   { color: var(--c-blue, #5ea7e8); }
.aryf-lp-treegrid__col-head--teal   { color: var(--c-teal, #2dd4bf); }
.aryf-lp-treegrid__col-head--purple { color: var(--c-purple, #a855f7); }
.aryf-lp-treegrid__col-num {
	font-size: 0.72rem;
	padding: 0.16rem 0.42rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.07);
	letter-spacing: 0.04em;
	font-weight: 700;
}
.aryf-lp-treegrid__col-name { font-size: 0.95rem; }

.aryf-lp-treegrid__lane {
	font-size: 0.74rem;
	color: rgba(255, 255, 255, 0.55);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.4rem 0;
	text-align: right;
	white-space: nowrap;
}

.aryf-lp-treegrid__cell {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	position: relative;
}
/* Subtle inline arrow between Explorer and Builder cells. */
.aryf-lp-treegrid__cell--builder::before {
	content: "→";
	position: absolute;
	left: -1.05rem;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.20);
	font-size: 1rem;
	pointer-events: none;
}

.aryf-lp-treenode {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.8rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.10);
	text-decoration: none;
	color: rgba(255, 255, 255, 0.92);
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.aryf-lp-treenode:hover,
.aryf-lp-treenode:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.25);
	transform: translateY(-1px);
	outline: none;
}
.aryf-lp-treenode__id {
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.16rem 0.4rem;
	border-radius: 6px;
	letter-spacing: 0.04em;
	flex-shrink: 0;
}
.aryf-lp-treenode--blue .aryf-lp-treenode__id {
	background: rgba(94, 167, 232, 0.18);
	color: var(--c-blue, #5ea7e8);
}
.aryf-lp-treenode--teal .aryf-lp-treenode__id {
	background: rgba(45, 212, 191, 0.18);
	color: var(--c-teal, #2dd4bf);
}
.aryf-lp-treenode__name {
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.3;
}

.aryf-lp-treegrid__noop {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.40);
	font-style: italic;
	padding: 0.55rem 0.8rem;
}

.aryf-lp-treegrid__innovator {
	grid-column: 4;
	grid-row: 2 / -1;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1.4rem 1.2rem;
	border-radius: 16px;
	background: linear-gradient(180deg,
		rgba(168, 85, 247, 0.16) 0%,
		rgba(168, 85, 247, 0.05) 100%);
	border: 1px solid rgba(168, 85, 247, 0.30);
	text-decoration: none;
	color: #fff;
	gap: 0.6rem;
	position: relative;
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.aryf-lp-treegrid__innovator:hover,
.aryf-lp-treegrid__innovator:focus-visible {
	background: linear-gradient(180deg, rgba(168, 85, 247, 0.22) 0%, rgba(168, 85, 247, 0.08) 100%);
	border-color: rgba(168, 85, 247, 0.45);
	transform: translateY(-1px);
	outline: none;
}
.aryf-lp-treegrid__innovator::before {
	content: "↗";
	position: absolute;
	left: -1.2rem;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(168, 85, 247, 0.45);
	font-size: 1.1rem;
	pointer-events: none;
}
.aryf-lp-treegrid__innovator-id {
	font-size: 0.7rem;
	padding: 0.16rem 0.5rem;
	border-radius: 6px;
	background: rgba(168, 85, 247, 0.18);
	color: var(--c-purple, #a855f7);
	letter-spacing: 0.06em;
	font-weight: 700;
}
.aryf-lp-treegrid__innovator-name {
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
}
.aryf-lp-treegrid__innovator-tag {
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.70);
}

/* Mobile: collapse to a single column. Headers + lane labels become
   inline section dividers; cells stack; innovator drops to the bottom. */
@media (max-width: 760px) {
	.aryf-lp-treegrid {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	}
	.aryf-lp-treegrid__corner,
	.aryf-lp-treegrid__col-head {
		display: none;
	}
	.aryf-lp-treegrid__lane {
		text-align: left;
		color: #fff;
		font-size: 0.92rem;
		font-weight: 700;
		text-transform: none;
		letter-spacing: 0;
		margin-top: 1.2rem;
		padding: 0;
	}
	.aryf-lp-treegrid__lane:first-of-type { margin-top: 0.4rem; }
	.aryf-lp-treegrid__cell--builder::before { display: none; }
	.aryf-lp-treegrid__innovator {
		grid-column: unset;
		grid-row: unset;
		margin-top: 1.6rem;
	}
	.aryf-lp-treegrid__innovator::before { display: none; }
}

/* Per-stage prominent catalog CTA at the bottom of each stage card. */
.aryf-lp-stage__cta {
	margin-top: 1.4rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
}
.aryf-lp-stage__cta .aryf-cta-primary {
	margin: 0 auto 0 0;
}
@media (max-width: 640px) {
	.aryf-lp-stage__cta .aryf-cta-primary {
		width: 100%;
		justify-content: center;
	}
}

/* ============================================================
 * Tree dependency graph — vertical, top-down. Explorer at top, Builder
 * in the middle, Innovator anchoring the bottom. SVG lines connect
 * dependencies; HTML nodes provide real typography + clickable links.
 * ============================================================ */
.aryf-lp-treegraph {
	background: rgba(255, 255, 255, 0.02);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aryf-lp-treegraph__canvas {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 1.4rem;
}

/* SVG line layer — stretches to fill the canvas. preserveAspectRatio="none"
   in the markup lets it deform with the responsive grid so lines stay aligned. */
.aryf-lp-treegraph__lines {
	position: absolute;
	left: 0; right: 0;
	top: 2.6rem;     /* skip below the Explorer band tag */
	bottom: 8rem;    /* stop above the Innovator card area */
	width: 100%;
	height: calc(100% - 10.6rem);
	pointer-events: none;
	z-index: 0;
	fill: none;
	stroke: rgba(255, 255, 255, 0.28);
	stroke-width: 1.5;
}

/* Bands stack vertically. */
.aryf-lp-treegraph__band {
	position: relative;
	z-index: 1;
	margin-bottom: 4rem;
}
.aryf-lp-treegraph__band:last-child { margin-bottom: 0; }

.aryf-lp-treegraph__band-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	font-weight: 600;
	margin-bottom: 0.8rem;
}
.aryf-lp-treegraph__band-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0 0.3rem;
}
.aryf-lp-treegraph__band--explorer  .aryf-lp-treegraph__band-num { color: var(--c-blue);   background: rgba(94, 167, 232, 0.18); }
.aryf-lp-treegraph__band--builder   .aryf-lp-treegraph__band-num { color: var(--c-teal);   background: rgba(45, 212, 191, 0.18); }
.aryf-lp-treegraph__band--innovator .aryf-lp-treegraph__band-num { color: var(--c-purple); background: rgba(168, 85, 247, 0.22); }

/* Row grids — both bands use the same 8-column layout so the SVG-coord
   nodes line up across rows. */
.aryf-lp-treegraph__row {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 0.6rem;
}

/* Explorer row — C4 spans 3 columns so it visually sits over its 3 children. */
.aryf-lp-treegraph__row--top > :nth-child(1) { grid-column: 1; }
.aryf-lp-treegraph__row--top > :nth-child(2) { grid-column: 2; }
.aryf-lp-treegraph__row--top > :nth-child(3) { grid-column: 3; }
.aryf-lp-treegraph__row--top > :nth-child(4) { grid-column: 4 / span 3; justify-self: stretch; }
.aryf-lp-treegraph__row--top > :nth-child(5) { grid-column: 7; }
.aryf-lp-treegraph__row--top > :nth-child(6) { grid-column: 8; }

/* Builder row — explicit column placement. */
.aryf-lp-treenode--col1 { grid-column: 1; }
.aryf-lp-treenode--col2 { grid-column: 2; }
.aryf-lp-treenode--col3 { grid-column: 3; }
.aryf-lp-treenode--col4 { grid-column: 4; }
.aryf-lp-treenode--col5 { grid-column: 5; }
.aryf-lp-treenode--col6 { grid-column: 6; }
.aryf-lp-treenode--col7 { grid-column: 7; }
.aryf-lp-treenode--col8 { grid-column: 8; }

/* Node styling shared with the old tree (overriding parts where needed). */
.aryf-lp-treegraph .aryf-lp-treenode {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	padding: 0.55rem 0.7rem;
	min-height: 60px;
	justify-content: center;
}
.aryf-lp-treegraph .aryf-lp-treenode__name {
	font-size: 0.78rem;
	line-height: 1.2;
}
.aryf-lp-treegraph .aryf-lp-treenode__id {
	font-size: 0.62rem;
	padding: 0.12rem 0.34rem;
}

/* C2 "no-Builder" noop label. */
.aryf-lp-treegraph__noop {
	font-size: 0.7rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.40);
	text-align: center;
	align-self: center;
	padding: 0.4rem 0.3rem;
	line-height: 1.3;
}

/* Innovator anchor card — centered, prominent. */
.aryf-lp-treegraph__band--innovator {
	display: flex;
	justify-content: center;
}
.aryf-lp-treegraph__innovator-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.5rem;
	padding: 1.4rem 2rem;
	max-width: 480px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(168, 85, 247, 0.20) 0%, rgba(168, 85, 247, 0.06) 100%);
	border: 1px solid rgba(168, 85, 247, 0.40);
	text-decoration: none;
	color: #fff;
	transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.aryf-lp-treegraph__innovator-card:hover,
.aryf-lp-treegraph__innovator-card:focus-visible {
	background: linear-gradient(180deg, rgba(168, 85, 247, 0.28) 0%, rgba(168, 85, 247, 0.10) 100%);
	border-color: rgba(168, 85, 247, 0.60);
	transform: translateY(-2px);
	outline: none;
}
.aryf-lp-treegraph__innovator-card .aryf-lp-treegraph__band-tag {
	margin-bottom: 0;
}
.aryf-lp-treegraph__innovator-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.005em;
}
.aryf-lp-treegraph__innovator-tag {
	font-size: 0.86rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
}

/* Mobile: SVG lines hidden, layout reflows to a clean vertical stack. */
@media (max-width: 760px) {
	.aryf-lp-treegraph__lines { display: none; }
	.aryf-lp-treegraph__canvas { padding-top: 0.4rem; }
	.aryf-lp-treegraph__row {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
	.aryf-lp-treegraph__row--top > :nth-child(n) { grid-column: 1; justify-self: stretch; }
	.aryf-lp-treegraph .aryf-lp-treenode--col1,
	.aryf-lp-treegraph .aryf-lp-treenode--col2,
	.aryf-lp-treegraph .aryf-lp-treenode--col3,
	.aryf-lp-treegraph .aryf-lp-treenode--col4,
	.aryf-lp-treegraph .aryf-lp-treenode--col5,
	.aryf-lp-treegraph .aryf-lp-treenode--col6,
	.aryf-lp-treegraph .aryf-lp-treenode--col7,
	.aryf-lp-treegraph .aryf-lp-treenode--col8 { grid-column: 1; }
	.aryf-lp-treegraph__band { margin-bottom: 2rem; }
	.aryf-lp-treegraph__noop {
		text-align: left;
		padding: 0.5rem 0.7rem;
	}
}

/* Builder-only row in the tree — for courses that have no Explorer parent
   (Storytelling, Social Media). Sits between Builder and Innovator. */
.aryf-lp-treegraph__band--builderonly {
	margin-top: -2rem;
}
.aryf-lp-treegraph__builderonly-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.6rem;
	max-width: 600px;
}
@media (max-width: 760px) {
	.aryf-lp-treegraph__builderonly-row {
		grid-template-columns: 1fr;
	}
	.aryf-lp-treegraph__band--builderonly { margin-top: 0; }
}

/* ---------- Ladder hero visualization (replaces the 3-chip stagenav) ---------- */
/* Communicates progression: Explorer → Builder → Innovator as ascending steps. */
.aryf-lp-ladder {
	max-width: 760px;
	margin: 0.4rem auto 0;
}
.aryf-lp-ladder svg {
	display: block;
	width: 100%;
	height: auto;
}
.aryf-lp-ladder__step { cursor: pointer; outline: none; }
.aryf-lp-ladder__step rect {
	stroke-width: 1.8;
	fill: rgba(255, 255, 255, 0.04);
	transition: fill 220ms ease, stroke 220ms ease, transform 220ms ease;
}
.aryf-lp-ladder__step:hover rect,
.aryf-lp-ladder__step:focus-visible rect {
	fill: rgba(255, 255, 255, 0.09);
}
.aryf-lp-ladder__step--blue   rect { stroke: var(--c-blue); }
.aryf-lp-ladder__step--teal   rect { stroke: var(--c-teal); }
.aryf-lp-ladder__step--purple rect { stroke: var(--c-purple); }

.aryf-lp-ladder__num {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	fill: rgba(255, 255, 255, 0.5);
}
.aryf-lp-ladder__step--blue   .aryf-lp-ladder__num { fill: color-mix(in srgb, var(--c-blue)   75%, white); }
.aryf-lp-ladder__step--teal   .aryf-lp-ladder__num { fill: color-mix(in srgb, var(--c-teal)   75%, white); }
.aryf-lp-ladder__step--purple .aryf-lp-ladder__num { fill: color-mix(in srgb, var(--c-purple) 75%, white); }

.aryf-lp-ladder__name {
	font-size: 22px;
	font-weight: 700;
	fill: #ffffff;
	letter-spacing: 0.005em;
}
.aryf-lp-ladder__age {
	font-size: 13px;
	font-weight: 500;
	fill: #c5cdd8;
	letter-spacing: 0.04em;
}

@media (max-width: 600px) {
	/* Slightly larger label sizes inside the smaller rendered SVG so labels
	   stay legible on narrow phones. */
	.aryf-lp-ladder__name { font-size: 28px; }
	.aryf-lp-ladder__num  { font-size: 16px; }
	.aryf-lp-ladder__age  { font-size: 16px; }
}
