/*
 * Homepage (template-homepage.php; docs/elementor-removal-implementation.md §6.7), from the approved
 * prototype v6. Loaded on the homepage only, after css/tokens.css and css/components.css (the shared
 * section headings, cards, chips, coupon, rows and scroll reveals) and before the base layer and site
 * chrome. Every selector starts with .roc-home (the <main>), so it outranks the base layer's
 * `.roc-kit h2/a/button` (0,1,1) and style.css's `p:last-of-type` whatever the load order. Where
 * style.css or the base layer use !important (link underline and box-shadow resets, input radius, focus
 * outlines), these rules do too. Buttons set their :focus colours before :hover, because
 * `.roc-kit button:focus` paints focused buttons black.
 *
 * Motion (§6.0a item 7): nothing waits to become readable; reveals move but never fade; nothing loops;
 * all motion sits inside prefers-reduced-motion: no-preference; only transform, scale, clip and (on
 * load) opacity animate.
 */

.roc-home {
	color: var(--roc-text);
	font-family: var(--roc-font-body);
	line-height: 1.6;
}

/* ---------- Accent bar on hover (text cards) ---------- */
.roc-home :is(.roc-course, .roc-tool, .roc-deal, .roc-program)::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--roc-gradient);
	scale: 0 1;
	transform-origin: left;
	pointer-events: none;
}

.roc-home :is(.roc-course, .roc-tool, .roc-deal, .roc-program):is(:hover, :focus-within)::after {
	scale: 1 1;
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home :is(.roc-course, .roc-tool, .roc-deal, .roc-program)::after {
		transition: scale 500ms var(--roc-ease-out);
	}
}

/* ---------- Hero ---------- */
.roc-home .roc-hero {
	position: relative;
	padding-block: clamp(32px, 5vw, 80px) clamp(48px, 5vw, 80px);
	background:
		radial-gradient(60% 70% at 85% 10%, rgba(37, 99, 235, 0.12), transparent 70%),
		radial-gradient(40% 50% at 5% 90%, rgba(147, 197, 253, 0.18), transparent 70%),
		var(--roc-white);
	overflow: hidden;
	isolation: isolate;
}

.roc-home .roc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
}

.roc-home .roc-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.roc-home .roc-hero__title {
	margin: 0;
	color: var(--roc-slate-900);
	font: 800 var(--roc-h1) / 1.05 var(--roc-font-display);
	font-variant-numeric: lining-nums;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.roc-home .roc-hero__tagline {
	max-width: 34ch;
	margin: 14px 0 0;
	color: var(--roc-slate-600);
	font: 400 clamp(1.0625rem, 1rem + 0.35vw, 1.25rem) / 1.55 var(--roc-font-body);
	text-wrap: pretty;
}

/* A hand-drawn underline that draws itself under "free financial tools" */
.roc-home .roc-scribble {
	position: relative;
	color: var(--roc-slate-800);
	font-weight: 500;
	white-space: nowrap;
}

.roc-home .roc-scribble__line {
	position: absolute;
	left: -2%;
	bottom: -0.34em;
	width: 104%;
	height: 0.55em;
	overflow: visible;
	pointer-events: none;
}

.roc-home .roc-scribble__line path {
	fill: none;
	stroke: var(--roc-blue-500);
	stroke-width: 3.2;
	stroke-linecap: round;
}

.roc-home .roc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.roc-home .roc-hero__actions .roc-btn {
	min-height: 50px;
	padding-inline: 22px;
	font-size: 1rem;
}

/* Social proof */
.roc-home .roc-proof {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(32px, 4vw, 48px) 0 0;
	padding: 0;
	border: 1px solid var(--roc-border);
	border-radius: var(--roc-radius-lg);
	background: rgba(255, 255, 255, 0.85);
	list-style: none;
	box-shadow: var(--roc-shadow-sm);
}

.roc-home .roc-proof li,
.roc-home .roc-proof a {
	display: grid;
	gap: 4px;
}

.roc-home .roc-proof li {
	padding: 16px 18px;
}

.roc-home .roc-proof li + li {
	border-left: 1px solid var(--roc-border);
}

.roc-home .roc-proof__value {
	color: var(--roc-slate-900);
	font: 800 clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem) / 1 var(--roc-font-display);
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.02em;
}

.roc-home .roc-proof__label {
	color: var(--roc-text-subtle);
	font: 500 var(--roc-text-xs) / 1.35 var(--roc-font-body);
}

.roc-home .roc-proof a,
.roc-home .roc-proof a:hover {
	color: inherit;
	text-decoration: none;
}

.roc-home .roc-proof a:hover .roc-proof__label {
	color: var(--roc-blue-700);
}

/*
 * Portrait. The photo is a cut-out on a transparent background; its light-blue swoosh starts 12.7% down
 * the image, so the blue frame starts there and the top of Ryan's head rises above it. Measured face
 * box on the 650x668 file: x 47-86%, y 3-52%. The badges stay below 55%.
 */
.roc-home .roc-hero__media {
	position: relative;
	justify-self: center;
	width: min(100%, 460px);
}

.roc-home .roc-hero__stage {
	position: relative;
	aspect-ratio: 650 / 668;
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-hero__stage {
		transform: perspective(1100px) rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -7deg));
		transition: transform 700ms var(--roc-ease-out);
	}
}

.roc-home .roc-hero__frame {
	position: absolute;
	inset: 12.7% 0 0;
	border-radius: 28px;
	background: var(--roc-gradient);
	box-shadow: 0 40px 80px -30px rgba(30, 64, 175, 0.55);
	overflow: hidden;
}

.roc-home .roc-hero__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(80% 60% at 50% 0%, rgba(255, 255, 255, 0.28), transparent 70%);
}

/* Same geometry as the whole image: shifted up by the frame's offset (12.7 / 87.3) */
.roc-home .roc-hero__frame img {
	position: absolute;
	left: 0;
	top: -14.548%;
	display: block;
	width: 100%;
	max-width: none;
	height: 114.548%;
}

/* The same file again, showing only the hair above the frame (one request; hidden from AT) */
.roc-home .roc-hero__pop {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	mask-image: linear-gradient(#000 calc(12.7% + 2px), transparent calc(12.7% + 2px)),
		linear-gradient(90deg, transparent 42%, #000 46% 88%, transparent 92%);
	mask-composite: intersect;
}

.roc-home .roc-hero__badges {
	display: contents;
}

.roc-home .roc-hero__badge {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 16px 10px 10px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: var(--roc-radius-md);
	background: rgba(255, 255, 255, 0.9);
	color: var(--roc-slate-900);
	font: 700 var(--roc-text-sm) / 1.2 var(--roc-font-body);
	white-space: nowrap;
	box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.35);
	-webkit-backdrop-filter: blur(10px) saturate(160%);
	backdrop-filter: blur(10px) saturate(160%);
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-hero__badge {
		translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 22px);
		transition: translate 700ms var(--roc-ease-out);
	}
}

.roc-home .roc-hero__badge small {
	display: block;
	color: var(--roc-text-subtle);
	font-weight: 500;
	font-size: var(--roc-text-xs);
}

.roc-home .roc-hero__badge-icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--roc-gradient);
	color: var(--roc-white);
	box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.7);
}

.roc-home .roc-hero__badge-icon .roc-icon {
	width: 19px;
	height: 19px;
}

.roc-home .roc-hero__badge--cfa {
	left: -32px;
	top: 58%;
}

.roc-home .roc-hero__badge--frm {
	right: -26px;
	top: 79%;
}

/* Load choreography: CSS only, finished in under a second. The H1 and the portrait (the LCP
   candidates) move but never fade. */
@keyframes roc-rise {
	from {
		opacity: 0;
		translate: 0 18px;
	}
}

@keyframes roc-rise-solid {
	from {
		translate: 0 18px;
	}
}

@keyframes roc-settle {
	from {
		scale: 0.94;
	}
}

@keyframes roc-pop {
	from {
		opacity: 0;
		scale: 0.6;
	}
}

@keyframes roc-ping {
	from {
		box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
	}

	to {
		box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-enter {
		animation: roc-rise 720ms var(--roc-ease-out) backwards;
		animation-delay: calc(60ms + var(--d, 0) * 80ms);
	}

	.roc-home .roc-enter--lcp {
		animation-name: roc-rise-solid;
	}

	.roc-home .roc-hero__stage {
		animation: roc-settle 900ms var(--roc-ease-out) backwards;
	}

	.roc-home .roc-hero__badge {
		animation: roc-pop 800ms var(--roc-ease-spring) backwards;
	}

	.roc-home .roc-hero__badge--cfa {
		animation-delay: 560ms;
	}

	.roc-home .roc-hero__badge--frm {
		animation-delay: 700ms;
	}

	.roc-home .roc-scribble__line path {
		stroke-dasharray: 1;
		animation: roc-draw 800ms var(--roc-ease-out) 820ms backwards;
	}

	/* Three pulses, then still (WCAG 2.2.2) */
	.roc-home .roc-market__dot {
		animation: roc-ping 1500ms var(--roc-ease-out) 900ms 3 backwards;
	}
}

@media (max-width: 991.98px) {
	.roc-home .roc-hero__grid {
		grid-template-columns: 1fr;
	}

	.roc-home .roc-hero__media {
		order: -1;
		width: min(100%, 340px);
	}

	.roc-home .roc-hero__badge--cfa {
		left: -18px;
	}

	.roc-home .roc-hero__badge--frm {
		right: -18px;
	}

	.roc-home .roc-proof {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.roc-home .roc-proof li:nth-child(3) {
		border-left: 0;
	}

	.roc-home .roc-proof li:nth-child(n + 3) {
		border-top: 1px solid var(--roc-border);
	}
}

/* Phones: the badges sit as a pair on the frame's bottom edge, over the shirt */
@media (max-width: 575.98px) {
	.roc-home .roc-hero__media {
		width: min(100%, 268px);
		margin-bottom: 30px;
	}

	.roc-home .roc-hero__badges {
		position: absolute;
		left: 50%;
		bottom: -26px;
		z-index: 1;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		width: max-content;
		max-width: calc(100vw - 32px);
		translate: -50% 0;
	}

	.roc-home .roc-hero__badge {
		position: static;
		gap: 8px;
		padding: 7px 12px 7px 7px;
		font-size: 0.78125rem;
	}

	.roc-home .roc-hero__badge small {
		font-size: 0.6875rem;
	}

	.roc-home .roc-hero__badge-icon {
		width: 28px;
		height: 28px;
		border-radius: 8px;
	}

	.roc-home .roc-hero__badge-icon .roc-icon {
		width: 16px;
		height: 16px;
	}

	.roc-home .roc-hero__actions .roc-btn {
		flex: 1 1 100%;
	}
}

/* ---------- Courses ---------- */
.roc-home .roc-course {
	gap: 14px;
	padding: 22px 20px 20px;
}

.roc-home .roc-course__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.roc-home .roc-course__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--roc-gradient);
	color: var(--roc-white);
	box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.8);
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-course__icon {
		transition: rotate 500ms var(--roc-ease-spring), scale 500ms var(--roc-ease-spring);
	}

	.roc-home .roc-course:is(:hover, :focus-within) .roc-course__icon {
		rotate: -8deg;
		scale: 1.08;
	}
}

.roc-home .roc-course__icon .roc-icon {
	width: 22px;
	height: 22px;
}

.roc-home .roc-course .roc-card__title {
	font-size: 1.0625rem;
}

.roc-home .roc-course__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--roc-text-subtle);
	font: 500 var(--roc-text-xs) / 1.2 var(--roc-font-body);
}

.roc-home .roc-course__facts li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.roc-home .roc-course__facts .roc-icon {
	width: 14px;
	height: 14px;
}

/* ---------- Tools: the market strip and the bento ---------- */
.roc-home .roc-market {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 24px;
	padding: 12px;
	border: 1px solid var(--roc-border);
	border-radius: var(--roc-radius-lg);
	background: var(--roc-white);
}

.roc-home .roc-market__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 8px;
	color: var(--roc-slate-700);
	font: 700 var(--roc-text-xs) / 1 var(--roc-font-body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.roc-home .roc-market__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--roc-blue-600);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.roc-home .roc-market__list {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Positioned so its visually hidden label stays inside the phone ticker's scroller */
.roc-home .roc-ticker {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 12px 6px 6px;
	border: 1px solid var(--roc-border);
	border-radius: var(--roc-radius-pill);
	color: var(--roc-slate-900);
	text-decoration: none;
	font: 600 var(--roc-text-sm) / 1 var(--roc-font-body);
	transition: border-color var(--roc-fast) var(--roc-ease), background-color var(--roc-fast) var(--roc-ease),
		box-shadow var(--roc-base) var(--roc-ease-out);
}

.roc-home .roc-ticker:hover {
	border-color: var(--roc-blue-300);
	background: var(--roc-blue-50);
	color: var(--roc-slate-900);
	box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.5) !important;
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-ticker {
		transition: border-color var(--roc-fast) var(--roc-ease), background-color var(--roc-fast) var(--roc-ease),
			translate var(--roc-base) var(--roc-ease-out), box-shadow var(--roc-base) var(--roc-ease-out);
	}

	.roc-home .roc-ticker:hover {
		translate: 0 -2px;
	}
}

.roc-home .roc-ticker img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
}

/* Room for a live price ("$254.43") from the start, so it fills in without moving anything */
.roc-home .roc-ticker__price {
	min-width: 3.9em;
	color: var(--roc-slate-600);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.roc-home .roc-actions-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

/* Bento: the most-used tool (about 7,300 stock dashboard pages) leads as a wide feature tile */
.roc-home .roc-bento {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roc-home .roc-tool {
	flex-direction: row;
	align-items: flex-start;
	gap: 14px;
	padding: 20px;
}

.roc-home .roc-tool__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--roc-blue-50);
	color: var(--roc-blue-700);
	transition: background-color var(--roc-base) var(--roc-ease), color var(--roc-base) var(--roc-ease);
}

.roc-home .roc-tool:hover .roc-tool__icon {
	background: var(--roc-blue-600);
	color: var(--roc-white);
}

.roc-home .roc-tool__icon .roc-icon {
	width: 22px;
	height: 22px;
}

.roc-home .roc-tool__text {
	display: grid;
	gap: 4px;
}

.roc-home .roc-tool__text .roc-card__title {
	font-size: var(--roc-text-base);
}

.roc-home .roc-tool__text p {
	margin: 0;
	color: var(--roc-text-muted);
	font-size: var(--roc-text-sm);
	line-height: 1.5;
}

.roc-home .roc-tool--feature {
	grid-column: span 2;
	grid-row: span 2;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	min-height: 200px;
	padding: 24px;
	background: linear-gradient(135deg, var(--roc-white) 40%, var(--roc-blue-50));
}

.roc-home .roc-tool__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	max-width: 46%;
}

.roc-home .roc-tool--feature .roc-tool__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--roc-gradient);
	color: var(--roc-white);
	box-shadow: 0 10px 22px -10px rgba(37, 99, 235, 0.8);
}

.roc-home .roc-tool--feature .roc-tool__text .roc-card__title {
	font-size: var(--roc-h3);
}

.roc-home .roc-tool__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--roc-blue-700);
	font: 600 var(--roc-text-sm) / 1.2 var(--roc-font-body);
}

.roc-home .roc-tool__cta .roc-icon {
	width: 16px;
	height: 16px;
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-tool__cta .roc-icon {
		transition: translate var(--roc-base) var(--roc-ease-out);
	}

	.roc-home .roc-tool--feature:hover .roc-tool__cta .roc-icon {
		translate: 4px 0;
	}
}

.roc-home .roc-tool__visual {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;
	width: 62%;
	height: 82%;
	pointer-events: none;
	mask-image: linear-gradient(90deg, transparent, #000 28%);
}

.roc-home .roc-spark {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.roc-home .roc-spark__grid {
	fill: none;
	stroke: rgba(148, 163, 184, 0.35);
	stroke-width: 1;
	stroke-dasharray: 3 6;
}

.roc-home .roc-spark__line {
	fill: none;
	stroke: var(--roc-blue-600);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@keyframes roc-wipe {
	from {
		clip-path: inset(0 100% 0 0);
	}

	to {
		clip-path: inset(0 0 0 0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.roc-home .roc-tool--feature {
			view-timeline: --roc-feature block;
		}

		.roc-home .roc-tool--feature .roc-spark__line {
			stroke-dasharray: 1;
			animation: roc-draw linear both;
			animation-timeline: --roc-feature;
			animation-range: entry 20% cover 50%;
		}

		.roc-home .roc-tool--feature .roc-spark__area {
			animation: roc-wipe linear both;
			animation-timeline: --roc-feature;
			animation-range: entry 20% cover 50%;
		}
	}
}

@media (max-width: 991.98px) {
	.roc-home .roc-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.roc-home .roc-tool--feature {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 180px;
	}
}

@media (max-width: 767.98px) {
	.roc-home .roc-bento {
		grid-template-columns: 1fr;
	}

	.roc-home .roc-tool__head {
		max-width: 70%;
	}

	.roc-home .roc-tool__visual {
		width: 56%;
		height: 58%;
		opacity: 0.75;
	}
}

/* Phones: the ticker is one swipeable line instead of three wrapped rows */
@media (max-width: 575.98px) {
	.roc-home .roc-market {
		overflow: hidden;
	}

	/* Bleeds to the card's border (its padding is 12px) and is clipped by the rounded corners */
	.roc-home .roc-market__list {
		flex-wrap: nowrap;
		margin-inline: -12px;
		padding: 2px 12px 4px;
		scroll-padding-inline: 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.roc-home .roc-market__list::-webkit-scrollbar {
		display: none;
	}

	.roc-home .roc-market__list > li {
		flex: none;
		scroll-snap-align: start;
	}
}

/* ---------- Videos: the newest leads, the next four sit beside it ---------- */
.roc-home .roc-videos {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
}

.roc-home .roc-video__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(180deg, transparent 50%, rgba(2, 6, 23, 0.45));
}

.roc-home .roc-video__play span {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--roc-blue-700);
	box-shadow: 0 8px 20px rgba(2, 6, 23, 0.3);
	transition: background-color var(--roc-fast) var(--roc-ease), color var(--roc-fast) var(--roc-ease);
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-video__play span {
		transition: scale 450ms var(--roc-ease-spring), background-color var(--roc-fast) var(--roc-ease),
			color var(--roc-fast) var(--roc-ease);
	}
}

.roc-home .roc-card:is(:hover, :focus-within) .roc-video__play span {
	background: var(--roc-blue-600);
	color: var(--roc-white);
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-card:is(:hover, :focus-within) .roc-video__play span {
		scale: 1.14;
	}
}

.roc-home .roc-video__play .roc-icon {
	width: 22px;
	height: 22px;
	margin-left: 3px;
}

@media (min-width: 992px) {
	.roc-home .roc-videos {
		grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	}

	.roc-home .roc-video--feature {
		grid-row: span 4;
	}

	.roc-home .roc-video--feature .roc-card__body {
		padding: 22px 24px 24px;
	}

	.roc-home .roc-video--feature .roc-card__title {
		font: 700 var(--roc-h3) / 1.3 var(--roc-font-body);
	}

	.roc-home .roc-video--feature .roc-video__play span {
		width: 72px;
		height: 72px;
	}

	.roc-home .roc-video--feature .roc-video__play .roc-icon {
		width: 28px;
		height: 28px;
	}

	.roc-home .roc-video:not(.roc-video--feature) {
		flex-direction: row;
		align-items: center;
	}

	.roc-home .roc-video:not(.roc-video--feature) .roc-card__media {
		flex: 0 0 168px;
		margin: 12px 0 12px 12px;
		border-radius: 10px;
	}

	.roc-home .roc-video:not(.roc-video--feature) .roc-card__body {
		gap: 6px;
		padding: 12px 16px;
	}

	.roc-home .roc-video:not(.roc-video--feature) .roc-card__meta .roc-icon {
		display: none;
	}

	.roc-home .roc-video:not(.roc-video--feature) .roc-card__title {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 0.9375rem;
	}

	.roc-home .roc-video:not(.roc-video--feature) .roc-video__play span {
		width: 36px;
		height: 36px;
	}

	.roc-home .roc-video:not(.roc-video--feature) .roc-video__play .roc-icon {
		width: 16px;
		height: 16px;
		margin-left: 2px;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.roc-home .roc-video:not(.roc-video--feature) .roc-card__media {
		flex-basis: 136px;
	}
}

@media (max-width: 991.98px) {
	.roc-home .roc-videos {
		grid-auto-flow: column;
		grid-auto-columns: min(82%, 320px);
		margin-inline: calc(-1 * var(--roc-gutter));
		padding: 4px var(--roc-gutter) 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--roc-gutter);
		scrollbar-width: thin;
		mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 36px), transparent);
	}

	.roc-home .roc-videos > * {
		scroll-snap-align: start;
	}
}

/* ---------- Calculator library: a calculator "display" with an instant finder, and a keypad ----------
 * The finder searches every calculator (finder.js); without it the form submits to the hub and the
 * popular calculators are plain links. The keys are the 12 largest categories; chips hold the rest. */
.roc-home .roc-calcs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: 1fr auto;
	gap: clamp(16px, 2vw, 24px);
}

.roc-home .roc-calcs .roc-library__more {
	grid-column: 3 / span 2;
	grid-row: 2;
}

/* White text on slate-900 to blue-900 is at least 10:1 */
.roc-home .roc-finder {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
	padding: clamp(20px, 2.6vw, 30px);
	border-radius: var(--roc-radius-xl);
	background: linear-gradient(160deg, var(--roc-slate-900) 0%, var(--roc-blue-900) 100%);
	color: var(--roc-white);
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.7);
}

.roc-home .roc-finder::before {
	content: "";
	position: absolute;
	top: -170px;
	right: -130px;
	z-index: -1;
	width: 440px;
	height: 440px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.34), transparent 65%);
}

/* Spare height on desktop goes to the display, and the digits grow to fill it (a size container) */
.roc-home .roc-finder__display {
	container-type: size;
	display: grid;
	flex: 1 0 150px;
	align-content: space-between;
	min-height: 150px;
	gap: 8px;
	margin: 0;
	padding: 14px 20px 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 2px 12px rgba(2, 6, 23, 0.45);
}

/* Read as "275 free financial calculators", shown like a calculator: label above, digits right */
.roc-home .roc-finder__unit {
	order: -1;
	color: var(--roc-blue-200);
	font: 700 var(--roc-text-xs) / 1.2 var(--roc-font-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.roc-home .roc-finder__number {
	justify-self: end;
	font: 800 clamp(3.5rem, 2.6rem + 3vw, 5rem) / 0.95 var(--roc-font-display);
	font-size: min(calc(100cqh - 30px), 33cqw, 10rem);
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.02em;
	text-shadow: 0 0 28px rgba(147, 197, 253, 0.45);
}

.roc-home .roc-finder__form.roc-library__search {
	margin-top: 4px;
}

/* One line, fixed height: typing never moves the list */
.roc-home .roc-finder__status {
	height: 20px;
	margin: 2px 0 -6px;
	overflow: hidden;
	color: var(--roc-blue-200);
	font: 700 var(--roc-text-xs) / 20px var(--roc-font-body);
	letter-spacing: 0.1em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.roc-home .roc-finder.is-searching .roc-finder__status {
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--roc-text-sm);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.roc-home .roc-finder__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: repeat(6, 44px);
	gap: 2px;
	margin: 0 -10px;
	padding: 0;
	list-style: none;
}

.roc-home .roc-finder__list a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 0 10px;
	border-radius: 10px;
	color: var(--roc-white);
	text-decoration: none;
	transition: background-color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-finder__list a:hover,
.roc-home .roc-finder__list a.is-top {
	background: rgba(255, 255, 255, 0.08);
	color: var(--roc-white);
}

/* On the dark panel the focus ring is light (the global ring is blue-600) */
.roc-home .roc-finder__list a:focus-visible {
	outline: var(--roc-focus-on-dark) !important;
	outline-offset: -3px !important;
	background: rgba(255, 255, 255, 0.12);
}

.roc-home .roc-finder__name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	font: 500 var(--roc-text-sm) / 1.2 var(--roc-font-body);
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Blue-300 on blue-900 is 5.7:1 */
.roc-home .roc-finder__name mark {
	padding: 0;
	background: none;
	color: var(--roc-blue-300);
	font-weight: 700;
}

.roc-home .roc-finder__cat {
	flex: none;
	color: var(--roc-blue-200);
	font: 500 var(--roc-text-xs) / 1 var(--roc-font-body);
}

.roc-home .roc-finder__key {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	box-shadow: 0 2px 0 rgba(255, 255, 255, 0.16);
}

.roc-home .roc-finder__key .roc-icon {
	width: 15px;
	height: 15px;
}

/* The keypad: each category is a raised key that lifts, turns blue and presses down */
.roc-home .roc-keypad {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: 12px;
	grid-column: 3 / span 2;
	grid-row: 1;
	margin: 0;
	padding: 0;
	list-style: none;
}

.roc-home .roc-key {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
	height: 100%;
	min-height: 84px;
	padding: 14px 16px 13px;
	border: 1px solid var(--roc-border);
	border-radius: 16px;
	background: linear-gradient(180deg, var(--roc-white), var(--roc-slate-50));
	box-shadow: 0 3px 0 var(--roc-slate-200), 0 12px 22px -16px rgba(15, 23, 42, 0.4) !important;
	color: var(--roc-slate-800);
	text-decoration: none;
	isolation: isolate;
	transition: box-shadow var(--roc-base) var(--roc-ease), color var(--roc-fast) var(--roc-ease),
		border-color var(--roc-fast) var(--roc-ease);
}

/* The blue face fades in (gradients can't transition) */
.roc-home .roc-key::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: var(--roc-gradient);
	opacity: 0;
	transition: opacity var(--roc-base) var(--roc-ease);
}

.roc-home .roc-key strong {
	color: var(--roc-blue-700);
	font: 800 clamp(1.5rem, 1.2rem + 1vw, 2rem) / 1 var(--roc-font-display);
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.02em;
	transition: color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-key span {
	font: 600 var(--roc-text-sm) / 1.25 var(--roc-font-body);
	text-wrap: balance;
}

.roc-home .roc-key:is(:hover, :focus-visible) {
	border-color: var(--roc-blue-800);
	box-shadow: 0 4px 0 var(--roc-blue-900), var(--roc-shadow-glow) !important;
	color: var(--roc-white);
}

.roc-home .roc-key:is(:hover, :focus-visible)::before {
	opacity: 1;
}

.roc-home .roc-key:is(:hover, :focus-visible) strong {
	color: var(--roc-white);
}

.roc-home .roc-key:active {
	box-shadow: 0 1px 0 var(--roc-blue-900) !important;
	transition-duration: 60ms;
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-key {
		transition: translate var(--roc-base) var(--roc-ease-out), box-shadow var(--roc-base) var(--roc-ease),
			color var(--roc-fast) var(--roc-ease), border-color var(--roc-fast) var(--roc-ease);
	}

	.roc-home .roc-key:is(:hover, :focus-visible) {
		translate: 0 -3px;
	}

	.roc-home .roc-key:active {
		translate: 0 2px;
	}
}

/* ---------- Search boxes (article library, calculator finder) ---------- */
.roc-home .roc-library__search {
	display: flex;
	gap: 4px;
	margin-top: auto;
	padding: 5px;
	border-radius: 14px;
	background: var(--roc-white);
	box-shadow: 0 12px 26px -12px rgba(2, 6, 23, 0.5);
}

/* style.css gives every input an 8px radius with !important */
.roc-home .roc-library__search input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 46px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px !important;
	background: transparent;
	color: var(--roc-slate-900);
	font: 400 1rem / 1.2 var(--roc-font-body);
}

.roc-home .roc-library__search input::placeholder {
	color: var(--roc-slate-500);
}

.roc-home .roc-library__search button {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--roc-blue-600);
	color: var(--roc-white);
	font: inherit;
	cursor: pointer;
	transition: background-color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-library__search button:focus {
	background: var(--roc-blue-600);
	color: var(--roc-white);
}

.roc-home .roc-library__search button:hover {
	background: var(--roc-blue-800);
	color: var(--roc-white);
}

.roc-home .roc-library__search .roc-icon {
	width: 20px;
	height: 20px;
}

/* ---------- Excel model library: a workbook ----------
 * The formula bar is the search (GET /financial-models/?search=). The sheet is a real table: the topic
 * (row header), its models over an Excel-style data bar, and its most popular free model. Row numbers
 * are CSS counters with empty alt text, never read out. */
.roc-home .roc-book {
	overflow: hidden;
	border: 1px solid var(--roc-border);
	border-radius: var(--roc-radius-xl);
	background: var(--roc-white);
	box-shadow: var(--roc-shadow-card);
}

.roc-home .roc-book__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 22px;
	padding: clamp(18px, 2.4vw, 28px);
}

.roc-home .roc-book__glyph {
	display: grid;
	place-items: center;
	flex: none;
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: var(--roc-gradient);
	color: var(--roc-white);
	box-shadow: var(--roc-shadow-glow);
}

.roc-home .roc-book__glyph .roc-icon {
	width: 30px;
	height: 30px;
}

.roc-home .roc-book__count {
	display: grid;
	flex: 1 1 200px;
	gap: 4px;
	margin: 0;
}

.roc-home .roc-book__number {
	color: var(--roc-blue-700);
	font: 800 clamp(2.75rem, 2rem + 2.4vw, 3.75rem) / 0.95 var(--roc-font-display);
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.03em;
}

.roc-home .roc-book__unit {
	color: var(--roc-slate-700);
	font: 600 var(--roc-text-base) / 1.3 var(--roc-font-body);
}

.roc-home .roc-book__facts {
	display: flex;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.roc-home .roc-book__facts li {
	display: grid;
	gap: 4px;
	padding: 2px 22px;
}

.roc-home .roc-book__facts li + li {
	border-left: 1px solid var(--roc-border);
}

.roc-home .roc-book__facts strong {
	color: var(--roc-slate-900);
	font: 800 1.5rem / 1 var(--roc-font-display);
	font-variant-numeric: lining-nums;
}

.roc-home .roc-book__facts span {
	color: var(--roc-text-muted);
	font: 500 var(--roc-text-sm) / 1.3 var(--roc-font-body);
}

/* The formula bar: name box, fx, the search box and a submit key */
.roc-home .roc-book__formula {
	display: flex;
	align-items: stretch;
	border-block: 1px solid var(--roc-border);
	background: var(--roc-white);
	transition: box-shadow var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-book__formula:focus-within {
	box-shadow: inset 0 0 0 2px var(--roc-blue-600);
}

.roc-home .roc-book__namebox,
.roc-home .roc-book__fx {
	display: flex;
	align-items: center;
	flex: none;
	padding: 0 16px;
	border-right: 1px solid var(--roc-border);
	color: var(--roc-slate-600);
}

.roc-home .roc-book__namebox {
	width: 112px;
	background: var(--roc-slate-50);
	font: 500 var(--roc-text-sm) / 1 var(--roc-font-body);
}

.roc-home .roc-book__fx {
	font: italic 600 1.0625rem / 1 Georgia, "Times New Roman", serif;
}

.roc-home .roc-book__formula input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	padding: 0 16px;
	border: 0;
	border-radius: 0 !important;
	background: transparent;
	color: var(--roc-slate-900);
	font: 400 1rem / 1.2 var(--roc-font-body);
}

.roc-home .roc-book__formula input::placeholder {
	color: var(--roc-slate-500);
}

.roc-home .roc-book__formula button {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--roc-blue-600);
	color: var(--roc-white);
	font: inherit;
	cursor: pointer;
	transition: background-color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-book__formula button:focus {
	background: var(--roc-blue-600);
	color: var(--roc-white);
}

.roc-home .roc-book__formula button:hover {
	background: var(--roc-blue-800);
	color: var(--roc-white);
}

.roc-home .roc-book__formula button:focus-visible {
	outline: 3px solid var(--roc-white) !important;
	outline-offset: -7px !important;
}

.roc-home .roc-book__formula .roc-icon {
	width: 20px;
	height: 20px;
}

.roc-home .roc-sheet {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	counter-reset: roc-row;
	font: 400 var(--roc-text-sm) / 1.35 var(--roc-font-body);
}

.roc-home .roc-sheet th,
.roc-home .roc-sheet td {
	height: 46px;
	padding: 0 16px;
	border-bottom: 1px solid var(--roc-border);
	text-align: left;
	vertical-align: middle;
	transition: background-color var(--roc-fast) var(--roc-ease), color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-sheet :is(th, td) + :is(th, td) {
	border-left: 1px solid var(--roc-slate-100);
}

/* Column widths (the fixed layout reads them from the header row) */
.roc-home .roc-sheet thead th:nth-child(1) {
	width: 30%;
}

.roc-home .roc-sheet thead th:nth-child(2) {
	width: 26%;
	text-align: right;
}

/* Row numbers and the select-all corner sit in a gutter inside the first cell, so the table has no
   extra cells to read out */
.roc-home .roc-sheet tr > :first-child {
	position: relative;
	padding-left: 62px;
}

.roc-home .roc-sheet tr > :first-child::before {
	position: absolute;
	inset: 0 auto 0 0;
	display: grid;
	place-items: center;
	width: 46px;
	border-right: 1px solid var(--roc-border);
	background: var(--roc-slate-50);
	color: var(--roc-slate-500);
	font: 500 var(--roc-text-xs) / 1 var(--roc-font-body);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
	transition: background-color var(--roc-fast) var(--roc-ease), color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-sheet thead th:first-child::before {
	content: "";
	background: linear-gradient(315deg, var(--roc-slate-300) 7px, transparent 7px) var(--roc-slate-50);
}

.roc-home .roc-sheet tbody tr {
	counter-increment: roc-row;
}

.roc-home .roc-sheet tbody th::before {
	content: counter(roc-row);
	content: counter(roc-row) / "";
}

.roc-home .roc-sheet thead th {
	height: 38px;
	background: var(--roc-slate-50);
	color: var(--roc-slate-600);
	font: 700 var(--roc-text-xs) / 1 var(--roc-font-body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.roc-home .roc-sheet tbody th {
	font-weight: 600;
}

.roc-home .roc-sheet tbody th a {
	color: var(--roc-slate-900);
	text-decoration: none;
}

.roc-home .roc-sheet a:hover {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/* Models: right-aligned like numbers in Excel, over a gradient data bar (decorative) */
.roc-home .roc-sheet .roc-sheet__count {
	position: relative;
	text-align: right;
}

.roc-home .roc-sheet__bar {
	position: absolute;
	inset: 9px auto 9px 10px;
	width: calc((100% - 62px) * var(--share, 1));
	border-radius: 3px;
	background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.1));
	box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.35);
	transform-origin: left center;
}

.roc-home .roc-sheet__n {
	position: relative;
	color: var(--roc-slate-900);
	font: 700 var(--roc-text-base) / 1 var(--roc-font-body);
	font-variant-numeric: tabular-nums;
}

.roc-home .roc-sheet__model {
	position: relative;
}

.roc-home .roc-sheet__model a,
.roc-home .roc-sheet__model a:hover {
	display: block;
	overflow: hidden;
	color: var(--roc-blue-700);
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* The selected row: tint, blue outline, row number and Excel's fill handle */
.roc-home .roc-sheet tbody tr:is(:hover, :focus-within) > * {
	background: var(--roc-blue-50);
}

.roc-home .roc-sheet tbody tr:is(:hover, :focus-within) > th::before {
	background: var(--roc-blue-600);
	color: var(--roc-white);
}

.roc-home .roc-sheet tbody tr:is(:hover, :focus-within) {
	outline: 2px solid var(--roc-blue-600);
	outline-offset: -2px;
}

.roc-home .roc-sheet tbody tr:is(:hover, :focus-within) .roc-sheet__model::after {
	content: "";
	position: absolute;
	right: -1px;
	bottom: -4px;
	z-index: 1;
	width: 8px;
	height: 8px;
	border: 1.5px solid var(--roc-white);
	background: var(--roc-blue-600);
}

.roc-home .roc-book__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 28px;
	padding: 0 clamp(18px, 2.4vw, 28px) 0 0;
	background: var(--roc-slate-50);
}

/* The active sheet tab */
.roc-home .roc-book__tab {
	align-self: flex-start;
	margin: -1px auto 0 46px;
	padding: 10px 18px 11px;
	border: 1px solid var(--roc-border);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background: var(--roc-white);
	box-shadow: inset 0 -3px 0 var(--roc-blue-600);
	color: var(--roc-blue-700);
	font: 700 var(--roc-text-sm) / 1 var(--roc-font-body);
}

/* ---------- Article library: a stat tile with search, two feature topics, four tiles, chips ---------- */
.roc-home .roc-library {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

/* Stat tile. Solid white text: on the gradient's lightest stop (#2563eb) that is 5.2:1. */
.roc-home .roc-library__stat {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	grid-column: span 2;
	grid-row: span 2;
	padding: clamp(24px, 3vw, 36px);
	border-radius: var(--roc-radius-xl);
	background: var(--roc-gradient);
	color: var(--roc-white);
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 30px 60px -30px rgba(30, 64, 175, 0.6);
}

.roc-home .roc-library__stat::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: radial-gradient(120% 90% at 100% 0%, #000, transparent 70%);
}

.roc-home .roc-library__stat::after {
	content: "";
	position: absolute;
	top: -150px;
	right: -130px;
	z-index: -1;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(147, 197, 253, 0.45), transparent 65%);
}

.roc-home .roc-library__count {
	display: grid;
	gap: 6px;
	margin: 0;
}

.roc-home .roc-library__number {
	font: 800 clamp(3.75rem, 2.6rem + 4vw, 6rem) / 0.95 var(--roc-font-display);
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.03em;
}

.roc-home .roc-library__unit {
	font: 600 var(--roc-text-lg) / 1.3 var(--roc-font-body);
}

.roc-home .roc-library__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border-block: 1px solid rgba(255, 255, 255, 0.22);
	list-style: none;
}

.roc-home .roc-library__facts li {
	display: grid;
	gap: 4px;
	padding: 14px 0;
}

.roc-home .roc-library__facts li + li {
	padding-left: 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.roc-home .roc-library__facts strong {
	font: 800 1.5rem / 1 var(--roc-font-display);
	font-variant-numeric: lining-nums;
}

.roc-home .roc-library__facts span {
	font: 500 var(--roc-text-sm) / 1.3 var(--roc-font-body);
}

/* Topic tiles */
.roc-home .roc-topic {
	gap: 10px;
	padding: 20px;
}

.roc-home .roc-topic--feature {
	grid-row: span 2;
}

.roc-home .roc-topic__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.roc-home .roc-topic__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--roc-blue-50);
	color: var(--roc-blue-700);
	transition: background-color var(--roc-base) var(--roc-ease), color var(--roc-base) var(--roc-ease);
}

.roc-home .roc-topic:is(:hover, :focus-within) .roc-topic__icon {
	background: var(--roc-blue-600);
	color: var(--roc-white);
}

.roc-home .roc-topic__icon .roc-icon {
	width: 22px;
	height: 22px;
}

.roc-home .roc-topic__name {
	margin: 0;
	color: var(--roc-slate-900);
	font: 700 var(--roc-text-lg) / 1.3 var(--roc-font-body);
	text-wrap: balance;
}

.roc-home .roc-topic--feature .roc-topic__name {
	font-size: var(--roc-h3);
}

.roc-home .roc-topic__count {
	margin: 0;
	color: var(--roc-text-muted);
	font: 500 var(--roc-text-sm) / 1.2 var(--roc-font-body);
}

.roc-home .roc-topic__count strong {
	margin-right: 4px;
	color: var(--roc-blue-700);
	font: 800 1.375rem / 1 var(--roc-font-display);
	font-variant-numeric: lining-nums tabular-nums;
}

/* Share of the library, relative to the largest topic */
.roc-home .roc-topic__bar {
	display: block;
	height: 6px;
	border-radius: var(--roc-radius-pill);
	background: var(--roc-slate-100);
	overflow: hidden;
}

.roc-home .roc-topic__bar span {
	display: block;
	width: calc(var(--share, 1) * 100%);
	height: 100%;
	border-radius: inherit;
	background: var(--roc-gradient);
	transform-origin: left center;
}

.roc-home .roc-topic__list {
	display: grid;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.roc-home .roc-topic__list a {
	display: block;
	padding: 10px 0;
	border-top: 1px solid var(--roc-border);
	color: var(--roc-slate-800);
	font: 500 var(--roc-text-sm) / 1.4 var(--roc-font-body);
	text-decoration: none;
}

.roc-home .roc-topic__list a:hover {
	color: var(--roc-blue-700);
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.roc-home .roc-topic__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--roc-blue-700);
	font: 600 var(--roc-text-sm) / 1.2 var(--roc-font-body);
	text-decoration: none;
}

.roc-home .roc-topic__all:hover {
	color: var(--roc-blue-900);
}

.roc-home .roc-topic__all .roc-icon {
	width: 16px;
	height: 16px;
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-topic__all .roc-icon {
		transition: translate var(--roc-base) var(--roc-ease-out);
	}

	.roc-home .roc-topic__all:hover .roc-icon {
		translate: 4px 0;
	}
}

/* More topics / more categories */
.roc-home .roc-library__more {
	grid-column: 1 / -1;
	padding: 20px 22px 22px;
	border: 1px solid var(--roc-border);
	border-radius: var(--roc-radius-lg);
	background: var(--roc-white);
}

.roc-home .roc-library__more-title {
	margin: 0 0 12px;
	color: var(--roc-slate-700);
	font: 700 var(--roc-text-xs) / 1 var(--roc-font-body);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.roc-home .roc-library__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.roc-home .roc-library__chips a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 7px 0 14px;
	border: 1px solid var(--roc-border);
	border-radius: var(--roc-radius-pill);
	background: var(--roc-white);
	color: var(--roc-slate-800);
	font: 500 var(--roc-text-sm) / 1 var(--roc-font-body);
	text-decoration: none;
	transition: border-color var(--roc-fast) var(--roc-ease), background-color var(--roc-fast) var(--roc-ease),
		color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-library__chips a span {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 26px;
	padding: 0 8px;
	border-radius: var(--roc-radius-pill);
	background: var(--roc-blue-50);
	color: var(--roc-blue-800);
	font: 700 var(--roc-text-xs) / 1 var(--roc-font-body);
	font-variant-numeric: tabular-nums;
	transition: background-color var(--roc-fast) var(--roc-ease), color var(--roc-fast) var(--roc-ease);
}

.roc-home .roc-library__chips a:hover {
	border-color: var(--roc-blue-300);
	background: var(--roc-blue-50);
	color: var(--roc-blue-800);
}

.roc-home .roc-library__chips a:hover span {
	background: var(--roc-blue-600);
	color: var(--roc-white);
}

/* The topic and data bars grow as they scroll in, and the keys pop up (decorative, motion only) */
@keyframes roc-bar {
	from {
		scale: 0 1;
	}
}

@keyframes roc-key-pop {
	from {
		translate: 0 18px;
		scale: 0.86;
	}
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		/* Each bar runs on its own timeline, so it is full by the time its tile is well in view */
		.roc-home .roc-topic__bar span,
		.roc-home .roc-sheet__bar {
			animation: roc-bar linear both;
			animation-timeline: view();
			animation-range: entry 100% cover 35%;
		}

		.roc-home .roc-keypad.roc-stagger > li {
			animation-name: roc-key-pop;
			animation-timing-function: var(--roc-ease-spring);
			animation-range: entry 0% cover calc(18% + var(--i, 0) * 2.5%);
		}
	}
}

/* ---------- Partner deals ---------- */
.roc-home .roc-deal {
	gap: 12px;
	padding: 20px;
}

.roc-home .roc-deal__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.roc-home .roc-deal__logo {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--roc-border);
	border-radius: 12px;
	background: var(--roc-white);
	color: var(--roc-blue-700);
	font: 800 1.125rem / 1 var(--roc-font-display);
	font-variant-numeric: lining-nums;
	overflow: hidden;
	transition: box-shadow var(--roc-base) var(--roc-ease);
}

.roc-home .roc-deal:is(:hover, :focus-within) .roc-deal__logo {
	box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.6);
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-deal__logo {
		transition: rotate 500ms var(--roc-ease-spring), scale 500ms var(--roc-ease-spring),
			box-shadow var(--roc-base) var(--roc-ease);
	}

	.roc-home .roc-deal:is(:hover, :focus-within) .roc-deal__logo {
		rotate: -6deg;
		scale: 1.1;
	}
}

.roc-home .roc-deal__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.roc-home .roc-deal__offer {
	margin: 0;
	color: var(--roc-slate-900);
	font: 700 var(--roc-text-lg) / 1.35 var(--roc-font-body);
}

/* "Get deal" sits above the card's stretched link */
.roc-home .roc-deal__go {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--roc-blue-700);
	font: 600 var(--roc-text-sm) / 1.2 var(--roc-font-body);
	text-decoration: none;
}

.roc-home .roc-deal__go:hover {
	color: var(--roc-blue-900);
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.roc-home .roc-deal__go .roc-icon {
	width: 15px;
	height: 15px;
}

/* ---------- Certificates: subgrid lines up logo, title, savings, code and link across a row ---------- */
.roc-home .roc-programs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.roc-home .roc-program {
	display: grid;
	grid-row: span 5;
	grid-template-rows: subgrid;
	row-gap: 14px;
	padding: 22px 20px 20px;
}

.roc-home .roc-program__logo {
	--logo-h: calc(28px * var(--ls, 1));
	display: block;
	width: calc(var(--lw, 4) * var(--logo-h));
	height: var(--logo-h);
	overflow: hidden;
}

/* Crops the padding baked into the uploaded logo files, so every mark has the same height */
.roc-home .roc-program__logo img {
	display: block;
	width: calc(var(--iw) * var(--logo-h));
	max-width: none;
	height: calc(var(--ih) * var(--logo-h));
	margin: calc(var(--iy) * var(--logo-h) * -1) 0 0 calc(var(--ix) * var(--logo-h) * -1);
	mix-blend-mode: multiply;
}

.roc-home .roc-program .roc-card__title {
	align-self: start;
}

.roc-home .roc-program__save {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-content: start;
	align-self: start;
	gap: 8px 10px;
	padding: 12px;
	border-radius: var(--roc-radius-md);
	background: var(--roc-blue-50);
	color: var(--roc-blue-900);
}

.roc-home .roc-program__save-icon {
	grid-row: span 2;
	color: var(--roc-blue-600);
}

.roc-home .roc-program__save-icon .roc-icon {
	width: 18px;
	height: 18px;
	margin-top: 1px;
}

.roc-home .roc-program__offer {
	margin: 0;
	font: 600 var(--roc-text-sm) / 1.4 var(--roc-font-body);
}

.roc-home .roc-program__note {
	margin: 2px 0 0;
	color: var(--roc-slate-600);
	font: 400 var(--roc-text-xs) / 1.4 var(--roc-font-body);
}

.roc-home .roc-program__countdown {
	grid-column: 2;
	justify-self: start;
	gap: 5px;
}

.roc-home .roc-program__countdown[hidden] {
	display: none;
}

.roc-home .roc-program .roc-coupon {
	justify-self: start;
	align-self: start;
}

.roc-home .roc-program .roc-card__foot {
	align-self: end;
}

/* Closing soon: a gradient border, which turns while hovered or focused */
@property --roc-angle {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes roc-spin {
	to {
		--roc-angle: 360deg;
	}
}

.roc-home .roc-program.is-closing-soon {
	border: 1.5px solid transparent;
	background:
		linear-gradient(var(--roc-white), var(--roc-white)) padding-box,
		conic-gradient(from var(--roc-angle), var(--roc-blue-300), var(--roc-blue-600), var(--roc-blue-800), var(--roc-blue-600), var(--roc-blue-300)) border-box;
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-program.is-closing-soon:is(:hover, :focus-within) {
		animation: roc-spin 3s linear infinite;
	}
}

@media (max-width: 991.98px) {
	.roc-home .roc-programs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.roc-home .roc-programs {
		grid-template-columns: none;
		grid-template-rows: repeat(5, auto);
		grid-auto-flow: column;
		grid-auto-columns: min(84%, 320px);
		margin-inline: calc(-1 * var(--roc-gutter));
		padding: 4px var(--roc-gutter) 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--roc-gutter);
		scrollbar-width: thin;
		mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 36px), transparent);
	}

	.roc-home .roc-programs > * {
		scroll-snap-align: start;
	}

	.roc-home .roc-program__logo {
		--logo-h: calc(24px * var(--ls, 1));
	}
}

/* ---------- About + Work With Ryan: the closing section ---------- */
.roc-home .roc-about {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: start;
	gap: clamp(32px, 5vw, 72px);
}

/* The wrapper is never transformed: a transform would isolate the blend below */
.roc-home .roc-about__media {
	position: relative;
}

/* On desktop the portrait travels with the taller copy column */
@media (min-width: 992px) {
	.roc-home .roc-about__media {
		position: sticky;
		top: calc(var(--roc-header-h) + 24px);
	}
}

/* The photo has an opaque white background; multiply lets the section colour show through */
.roc-home .roc-about__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--roc-radius-xl);
	mix-blend-mode: multiply;
}

.roc-home .roc-about__years {
	position: absolute;
	right: -16px;
	bottom: 24px;
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 16px 18px;
	border-radius: var(--roc-radius-lg);
	background: var(--roc-white);
	box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.3);
}

.roc-home .roc-about__years strong {
	color: var(--roc-blue-700);
	font: 800 2rem / 1 var(--roc-font-display);
	font-variant-numeric: lining-nums tabular-nums;
}

.roc-home .roc-about__years > span {
	max-width: 14ch;
	color: var(--roc-text-muted);
	font: 500 var(--roc-text-xs) / 1.3 var(--roc-font-body);
}

.roc-home .roc-about__bio {
	margin: 16px 0 0;
	color: var(--roc-text-muted);
	font-size: var(--roc-text-lg);
	line-height: var(--roc-leading-body);
}

.roc-home .roc-creds {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.roc-home .roc-creds li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--roc-border);
	border-radius: var(--roc-radius-md);
	background: var(--roc-white);
}

.roc-home .roc-creds .roc-icon {
	width: 20px;
	height: 20px;
	color: var(--roc-blue-600);
}

.roc-home .roc-creds strong {
	display: block;
	color: var(--roc-slate-900);
	font: 700 var(--roc-text-sm) / 1.25 var(--roc-font-body);
}

.roc-home .roc-creds span {
	color: var(--roc-text-subtle);
	font-size: var(--roc-text-xs);
}

.roc-home .roc-about__more {
	margin-top: 12px;
}

/* Work With Ryan: the old closing band's look. White on the gradient's lightest stop (#2563eb) is
   5.2:1, and 4.76:1 at 0.94 opacity. */
.roc-home .roc-about__work {
	position: relative;
	display: grid;
	gap: 18px;
	margin-top: 20px;
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--roc-radius-xl);
	background: var(--roc-gradient);
	color: var(--roc-white);
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 30px 60px -30px rgba(30, 64, 175, 0.6);
	view-timeline: --roc-work block;
}

.roc-home .roc-about__work::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}

/* A soft light that drifts across the panel as it scrolls through the viewport */
.roc-home .roc-about__work::after {
	content: "";
	position: absolute;
	top: -200px;
	right: -150px;
	z-index: -1;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(147, 197, 253, 0.42), transparent 65%);
	pointer-events: none;
}

@keyframes roc-glow-drift {
	from {
		translate: 140px 180px;
		scale: 0.8;
	}

	to {
		translate: -240px -20px;
		scale: 1.15;
	}
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.roc-home .roc-about__work::after {
			animation: roc-glow-drift linear both;
			animation-timeline: --roc-work;
		}
	}
}

.roc-home .roc-about__work-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
}

.roc-home .roc-about__work-eyebrow {
	margin: 0 0 6px;
	color: rgba(255, 255, 255, 0.94);
	font: 700 var(--roc-text-xs) / 1 var(--roc-font-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.roc-home .roc-about__work-title {
	margin: 0;
	color: var(--roc-white);
	font: 800 clamp(1.5rem, 1.2rem + 1.2vw, 2rem) / 1.15 var(--roc-font-display);
	letter-spacing: var(--roc-tracking-display);
}

.roc-home .roc-about__work-text {
	max-width: 60ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.94);
	line-height: var(--roc-leading-body);
}

.roc-home .roc-about__work .roc-btn--light {
	min-height: 48px;
	padding-inline: 20px;
	box-shadow: 0 12px 26px -12px rgba(2, 6, 23, 0.5) !important;
}

/* On the blue panel the focus ring is white (the global ring is blue-600) */
.roc-home .roc-about__work a:focus-visible {
	outline: 3px solid var(--roc-white) !important;
	outline-offset: 2px !important;
}

.roc-home .roc-about__services {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.roc-home .roc-about__services a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 8px 12px 8px 8px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--roc-white);
	font: 600 0.9375rem / 1.2 var(--roc-font-body);
	text-decoration: none;
	white-space: nowrap;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color var(--roc-base) var(--roc-ease), border-color var(--roc-base) var(--roc-ease);
}

.roc-home .roc-about__services a:hover {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.14);
	color: var(--roc-white);
}

@media (prefers-reduced-motion: no-preference) {
	.roc-home .roc-about__services a {
		transition: background-color var(--roc-base) var(--roc-ease), border-color var(--roc-base) var(--roc-ease),
			translate var(--roc-base) var(--roc-ease-out);
	}

	.roc-home .roc-about__services a:hover {
		translate: 3px 0;
	}
}

.roc-home .roc-about__service-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.14);
}

.roc-home .roc-about__service-icon .roc-icon {
	width: 17px;
	height: 17px;
}

/* ---------- Breakpoints for the libraries and the closing section ---------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.roc-home .roc-calcs {
		grid-template-rows: auto;
	}

	.roc-home .roc-finder {
		grid-row: 1;
	}

	.roc-home .roc-keypad {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.roc-home .roc-calcs .roc-library__more {
		grid-column: 1 / -1;
	}
}

@media (max-width: 991.98px) {
	.roc-home .roc-calcs {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.roc-home :is(.roc-finder, .roc-keypad),
	.roc-home .roc-calcs .roc-library__more {
		grid-column: auto;
		grid-row: auto;
	}

	.roc-home .roc-library {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.roc-home :is(.roc-library__stat, .roc-topic--feature) {
		grid-row: auto;
	}

	.roc-home .roc-about {
		grid-template-columns: 1fr;
	}

	.roc-home .roc-about__media {
		width: min(100%, 380px);
	}

	.roc-home .roc-about__years {
		right: -8px;
	}
}

@media (max-width: 767.98px) {
	.roc-home .roc-topic--feature {
		grid-column: 1 / -1;
	}

	.roc-home .roc-topic:not(.roc-topic--feature) {
		padding: 16px;
	}

	.roc-home .roc-topic:not(.roc-topic--feature) .roc-topic__name {
		font-size: var(--roc-text-base);
	}

	.roc-home .roc-library__facts strong {
		font-size: 1.25rem;
	}

	.roc-home .roc-book__facts {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
		margin: 0;
		padding-top: 14px;
		border-top: 1px solid var(--roc-border);
	}

	.roc-home .roc-book__facts li {
		padding: 2px 12px;
	}

	.roc-home .roc-book__facts li:first-child {
		padding-left: 0;
	}

	.roc-home .roc-book__facts strong {
		font-size: 1.25rem;
	}

	.roc-home .roc-book__facts span {
		font-size: var(--roc-text-xs);
	}
}

@media (max-width: 575.98px) {
	.roc-home .roc-keypad {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.roc-home .roc-key {
		min-height: 84px;
		padding: 12px 10px 10px;
		border-radius: 12px;
	}

	.roc-home .roc-key strong {
		font-size: 1.375rem;
	}

	.roc-home .roc-key span {
		font-size: var(--roc-text-xs);
	}

	/* The popular-model column and the name box give way on phones (whole columns, so the table holds) */
	.roc-home :is(.roc-book__namebox, .roc-book__tab),
	.roc-home .roc-sheet tr > :nth-child(3) {
		display: none;
	}

	.roc-home .roc-sheet {
		table-layout: auto;
	}

	.roc-home .roc-sheet th,
	.roc-home .roc-sheet td {
		padding: 0 12px;
	}

	.roc-home .roc-sheet tr > :first-child {
		padding-left: 48px;
	}

	.roc-home .roc-sheet tr > :first-child::before {
		width: 36px;
	}

	.roc-home .roc-sheet thead th:nth-child(1) {
		width: auto;
	}

	.roc-home .roc-sheet thead th:nth-child(2) {
		width: 40%;
	}

	.roc-home .roc-book__foot {
		padding: 4px 16px;
		gap: 0 20px;
	}

	/* Topic chips stay wrapped, so every category shows at once, but compact */
	.roc-home .roc-library__chips {
		gap: 6px;
	}

	.roc-home .roc-library__chips a {
		gap: 6px;
		min-height: 44px;
		padding: 0 5px 0 12px;
		font-size: 0.8125rem;
	}

	.roc-home .roc-library__chips a span {
		min-width: 24px;
		height: 24px;
		padding: 0 7px;
	}

	.roc-home :is(.roc-creds, .roc-about__services) {
		grid-template-columns: 1fr;
	}

	/* Phones read top to bottom: title, text, services, then the button */
	.roc-home .roc-about__work {
		display: flex;
		flex-direction: column;
	}

	.roc-home .roc-about__work-head {
		display: contents;
	}

	.roc-home .roc-about__work .roc-btn--light {
		order: 1;
		width: 100%;
		justify-content: center;
	}
}

/* ---------- Print and forced colours: the static page ---------- */
@media print {
	.roc-home :is(.roc-library__stat, .roc-finder, .roc-book__glyph, .roc-about__work) {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.roc-home :is(.roc-enter, .roc-hero__stage, .roc-hero__badge, .roc-scribble__line path, .roc-spark__line, .roc-spark__area, .roc-topic__bar span, .roc-sheet__bar) {
		animation: none !important;
		opacity: 1 !important;
		translate: none !important;
		scale: none !important;
	}

	.roc-home .roc-hero__stage {
		transform: none;
	}
}

@media (forced-colors: active) {
	.roc-home .roc-sheet__bar {
		border: 1px solid CanvasText;
		background: none;
	}

	.roc-home .roc-key::before {
		display: none;
	}

	.roc-home .roc-finder__key {
		border-color: CanvasText;
	}
}
