.app-story-page {
	--story-black: #2b2b2b;
	--story-green: #00ca64;
	--story-dark-green: #027f48;
	--story-mint: #bbffca;
	--story-aqua: #a5fee8;
}

/* Keep the shared sticky header attached to the viewport. `overflow-x: hidden`
   on the body creates a separate scroll container in some browsers. */
body:has(.app-story-page) { overflow-x: clip; }

/* Restore the subscription page's global variable-font rule after the
   preview shell's static heading face has loaded. Component rules retain
   their own sizes, line heights, weights, and spacing. */
.app-story-page h1,
.app-story-page h2,
.app-story-page h3,
.app-story-page h4,
.app-story-page h5,
.app-story-page h6,
.app-story-page strong {
	font-family: "adapt-variable", Impact, sans-serif;
	font-variation-settings: "wdth" 55, "wght" 800;
}

/* The subscription page normally receives its reveal state from the full
   production JavaScript bundle. The isolated preview intentionally does not. */
.app-story-page .on-visible {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

/* Keep all real interface and explanatory copy at the approved 12px floor. */
.app-story-stage-format span,
.app-story-solution-sequence span,
.app-story-solution-sequence i,
.app-story-founder-credentials span,
.app-story-proof article > small,
.comparison-check small,
.app-story-comparison-table .framework-row th > span {
	font-size: 12px !important;
}

.app-story-page small {
	font-size: max(12px, .8em);
}

.app-story-page .app-story-actions {
	justify-content: flex-start;
}

.app-story-page .app-story-actions a {
	font-variation-settings: "wdth" 75, "wght" 800;
}

.app-story-page .app-story-final .app-story-actions {
	align-items: center;
	justify-content: center;
}

.app-story-stage-path:nth-child(3) article > span {
	color: var(--story-black);
}

/* The original raster was only enlarged, which preserved its softness.
   This is the same app composition rendered as live interface artwork. */
.app-story-laptop-screen > .practice-plan-visual,
.app-story-coordination-solution-screen > .practice-plan-visual,
.app-story-feature-screen > .practice-plan-visual {
	width: 100%;
	color: #2b2b2b;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* The surrounding solution section uses white copy, but the embedded app has
   a white canvas. Reassert the interface colors inside that canvas. */
.app-story-page .app-story-coordination-solution-screen .act-dashboard-content,
.app-story-page .app-story-coordination-solution-screen .act-ui-dashboard h3,
.app-story-page .app-story-coordination-solution-screen .act-daily-plan h4,
.app-story-page .app-story-coordination-solution-screen .act-dashboard-intro,
.app-story-page .app-story-coordination-solution-screen .act-daily-plan > p,
.app-story-page .app-story-coordination-solution-screen .act-date-card > strong {
	color: #2b2b2b;
}

/* 3D transforms force browsers to rasterize the detailed interface and soften
   its small type. The unrotated device keeps the live UI artwork crisp. */
.app-story-page .app-story-laptop,
.app-story-page .app-story-coordination-solution-screen {
	transform: none;
}

.app-story-page .app-story-founder-credentials {
	margin-top: 92px;
}

/* This interface is illustrative artwork, so retain its responsive UI scale
   instead of applying the page's 12px floor to tiny app-bar labels. */
.app-story-page .practice-plan-visual .act-ui-test-control small,
.app-story-page .practice-plan-visual .act-ui-score-control small {
	font-size: .52cqw;
}

/* The app screenshot predates the platform's Mastery → Support rename. */
.app-story-support-screen { position: relative; container-type: inline-size; }
.app-story-support-screen > span {
	position: absolute;
	top: 13.7%;
	left: 20.35%;
	z-index: 2;
	display: flex;
	align-items: center;
	width: 31%;
	height: 6.2%;
	padding-left: .25cqw;
	color: #2b2b2b;
	background: #f4f7f7;
	font-family: "Raleway", Arial, sans-serif;
	font-size: 3.05cqw;
	font-weight: 900;
	letter-spacing: -.05em;
	line-height: 1;
}

.comparison-framework-link { color: var(--story-dark-green); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.app-story-comparison-table thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 5;
	box-shadow: 1px 0 0 #d8d8d8;
}

.app-story-page .course-video-preview-play { max-width: calc(100% - 24px); }
.app-story-page .course-video-preview-play strong { min-width: 0; white-space: normal; text-align: left; }

@media (max-width: 620px) {
	.app-story-page .course-video-preview-play { gap: 7px; padding-right: 11px; }
	.app-story-page .course-video-preview-play > span { width: 42px; height: 42px; font-size: 15px; }
	.app-story-page .course-video-preview-play strong { font-size: 12px; line-height: 1.05; }
	.app-story-page .app-story-actions {
		align-items: flex-start;
	}

	.app-story-page .app-story-final .app-story-actions {
		align-items: center;
	}

	.app-story-page .app-story-actions a {
		width: auto;
	}

	.app-story-solution-sequence {
		flex-wrap: wrap;
		gap: 8px;
		justify-content: flex-start;
	}

	.app-story-solution-sequence span {
		padding: 8px 10px;
	}
}
