.psc-autoinvest-landing {
	--psc-navy: #152238;
	--psc-gold: #b38a36;
	--psc-cream: #f8f5ed;
	--psc-border: #ded7c8;
	width: 100%;
	color: #25282d;
	font-size: 16px;
	line-height: 1.65;
}

/* ReHub and the standard-page snippet both add a sidebar. Steady Stack is a
 * purpose-built landing page, so it must own the full content width. */
body.psc-autoinvest-page {
	overflow-x: hidden;
}

body.psc-autoinvest-page .rh-flex-eq-height.col_wrap_three.mb0 {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

body.psc-autoinvest-page .rh-container {
	width: 100% !important;
	max-width: none !important;
}

body.psc-autoinvest-page .rh-content-wrap {
	display: block !important;
	width: min(1180px, calc(100% - 32px)) !important;
	max-width: 1180px !important;
	margin: 0 auto !important;
}

body.psc-autoinvest-page #content.main-side,
body.psc-autoinvest-page .main-side.page {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.psc-autoinvest-page .rh-post-wrapper,
body.psc-autoinvest-page .rh-post-wrapper > article,
body.psc-autoinvest-page .pgs-standard-page {
	width: 100% !important;
	max-width: none !important;
}

body.psc-autoinvest-page .sidebar,
body.psc-autoinvest-page .pgs-standard-side {
	display: none !important;
}

body.psc-autoinvest-page .pgs-standard-wrap {
	max-width: 1160px;
}

/* The generic page card repeats the title and pushes the program below the
 * fold. The branded hero supplies the visible customer-facing page heading. */
body.psc-autoinvest-page .pgs-standard-hero {
	display: none !important;
}

body.psc-autoinvest-page .pgs-standard-content-grid {
	display: block !important;
	max-width: 1160px;
}

body.psc-autoinvest-page .pgs-standard-content {
	width: 100%;
	padding: clamp(22px, 3vw, 36px);
}

.psc-autoinvest-landing h1,
.psc-autoinvest-landing h2,
.psc-autoinvest-landing h3 {
	margin-top: 0;
	color: var(--psc-navy);
	line-height: 1.2;
}

.psc-autoinvest-hero {
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid #dfca8c;
	border-radius: 10px;
	background: linear-gradient(135deg, #070b12 0%, #152238 72%, #273853 100%);
	box-shadow: 0 18px 44px rgba(7, 11, 18, .18);
	color: #fff;
}

.psc-steady-stack-logo {
	display: block;
	width: min(100%, 640px);
	height: auto;
	margin: 0 0 clamp(18px, 3vw, 28px);
}

.psc-autoinvest-hero .psc-autoinvest-page-heading {
	max-width: 760px;
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(30px, 4vw, 46px);
}

.psc-steady-stack-nav-link > a {
	color: #b38a36 !important;
	font-weight: 800 !important;
}

.pgs-bullion-nav-desktop .psc-steady-stack-nav-link > a {
	display: inline-flex !important;
	align-items: center;
	min-height: 34px;
	margin: 5px 0;
	padding: 0 11px !important;
	border: 1px solid #d4af55;
	border-radius: 6px;
	background: linear-gradient(135deg, #c9a348 0%, #a87d28 100%);
	box-shadow: 0 2px 9px rgba(0, 0, 0, .18);
	color: #101621 !important;
	line-height: 1 !important;
	white-space: nowrap;
}

.pgs-bullion-nav-desktop .psc-steady-stack-nav-link > a:hover,
.pgs-bullion-nav-desktop .psc-steady-stack-nav-link > a:focus-visible {
	border-color: #f0d787;
	background: #e0bd60;
	color: #080b10 !important;
}

#slide-menu-mobile .psc-steady-stack-nav-link--mobile > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: calc(100% - 24px);
	min-height: 48px;
	margin: 8px 12px;
	padding: 12px 16px !important;
	box-sizing: border-box;
	border: 1px solid #d4af55;
	border-radius: 7px;
	background: linear-gradient(135deg, #c9a348 0%, #a87d28 100%);
	color: #101621 !important;
	font-weight: 900 !important;
	text-align: center;
	text-decoration: none !important;
}

.pgs-bullion-nav-desktop .psc-steady-stack-learn-link > a {
	color: #9a7120 !important;
	font-weight: 800 !important;
}

.pgs-bullion-nav-desktop .psc-steady-stack-learn-link > a:hover,
.pgs-bullion-nav-desktop .psc-steady-stack-learn-link > a:focus-visible {
	color: #6f4e0d !important;
}

#slide-menu-mobile .psc-steady-stack-learn-link > a {
	display: block;
	margin: 2px 0 5px;
	padding-left: 14px !important;
	border-left: 3px solid #c9a348;
	background: rgba(201, 163, 72, .1);
	color: #8a641b !important;
	font-weight: 800 !important;
}

.pgs-bullion-mobile-strip .pgs-bullion-mobile-panel > .psc-steady-stack-learn-link--strip {
	display: block;
	padding-left: 14px !important;
	border-left: 3px solid #c9a348;
	background: rgba(201, 163, 72, .1);
	color: #8a641b !important;
	font-weight: 800 !important;
	white-space: normal;
}

.psc-autoinvest-eyebrow {
	margin: 0 0 10px;
	color: #e8c76f;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.psc-autoinvest-tagline {
	margin: 0 0 14px;
	color: #f4d77f !important;
	font-size: clamp(20px, 2.3vw, 26px) !important;
	font-weight: 800;
	line-height: 1.35 !important;
}

.psc-autoinvest-lede {
	max-width: 820px;
	margin: 0 0 18px;
	color: #e7edf5 !important;
	font-size: clamp(18px, 2vw, 22px) !important;
	line-height: 1.6 !important;
}

.psc-steady-stack-home-cta {
	display: grid;
	grid-template-columns: minmax(210px, .85fr) minmax(260px, 1.2fr) auto;
	gap: clamp(18px, 3vw, 34px);
	align-items: center;
	width: min(1280px, calc(100% - 32px));
	margin: 20px auto 26px;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid #b38a36;
	border-radius: 14px;
	background: linear-gradient(135deg, #070b12 0%, #152238 100%);
	box-shadow: 0 16px 40px rgba(7, 11, 18, .2);
	color: #fff;
}

.psc-steady-stack-home-logo {
	display: block;
	width: 100%;
	height: auto;
}

.psc-steady-stack-home-copy p,
.psc-steady-stack-home-copy h2,
.psc-steady-stack-home-copy strong {
	margin: 0;
	color: #fff;
}

.psc-steady-stack-home-copy p {
	color: #dbe5f2;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .045em;
	text-transform: uppercase;
}

.psc-steady-stack-home-copy h2 {
	margin: 4px 0 5px;
	font-size: clamp(25px, 3vw, 40px);
	line-height: 1.15;
}

.psc-steady-stack-home-copy strong {
	color: #f4d77f;
	font-size: clamp(17px, 1.7vw, 21px);
}

.psc-steady-stack-home-cta .psc-steady-stack-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 22px !important;
	border: 1px solid #d1a84f !important;
	border-radius: 7px !important;
	background: linear-gradient(135deg, #d4af55 0%, #b4862d 100%) !important;
	box-shadow: 0 8px 22px rgba(179, 138, 54, .3) !important;
	color: #101621 !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	text-align: center;
	text-decoration: none !important;
}

.psc-steady-stack-home-cta .psc-steady-stack-home-button:hover {
	background: #e0bd60 !important;
	color: #080b10 !important;
}

body.psc-autoinvest-page .pgs-standard-content .psc-autoinvest-primary,
body.psc-autoinvest-page .pgs-standard-content .psc-autoinvest-product-card a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px !important;
	border: 1px solid #9b7627 !important;
	border-radius: 6px !important;
	background: var(--psc-gold) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
}

body.psc-autoinvest-page .pgs-standard-content .psc-autoinvest-primary:hover,
body.psc-autoinvest-page .pgs-standard-content .psc-autoinvest-product-card a.button:hover {
	background: #8f6b25 !important;
	color: #fff !important;
}

.psc-autoinvest-steps,
.psc-autoinvest-products,
.psc-autoinvest-faq {
	padding: clamp(34px, 5vw, 52px) 0 8px;
}

.psc-autoinvest-step-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.psc-autoinvest-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.psc-autoinvest-step-grid article,
.psc-autoinvest-product-card {
	min-width: 0;
	padding: clamp(19px, 2vw, 24px);
	border: 1px solid var(--psc-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(21, 34, 56, .06);
}

.psc-autoinvest-step-grid h3,
.psc-autoinvest-product-card h3 {
	margin: 16px 0 8px !important;
	font-size: clamp(18px, 1.7vw, 21px) !important;
}

.psc-autoinvest-step-grid p,
.psc-autoinvest-product-card p {
	margin: 0;
	font-size: 15px !important;
	line-height: 1.65 !important;
}

.psc-autoinvest-step-grid article > span {
	display: inline-grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 50%;
	background: var(--psc-gold);
	color: #fff;
	font-weight: 700;
}

.psc-autoinvest-lock-note {
	margin: clamp(34px, 5vw, 48px) 0 0;
	padding: clamp(22px, 3vw, 30px);
	border-left: 6px solid var(--psc-gold);
	background: var(--psc-cream);
}

.psc-autoinvest-lock-note h2 {
	margin-bottom: 10px !important;
}

.psc-autoinvest-lock-note p {
	margin: 0;
}

.psc-autoinvest-product-card {
	display: flex;
	flex-direction: column;
}

.psc-autoinvest-product-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.psc-autoinvest-product-card .price {
	margin: auto 0 15px;
	font-size: 19px;
	font-weight: 700;
}

.psc-autoinvest-faq details {
	padding: 19px 2px;
	border-bottom: 1px solid var(--psc-border);
}

.psc-autoinvest-faq summary {
	cursor: pointer;
	color: var(--psc-navy);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

.psc-autoinvest-faq details p {
	margin: 12px 0 0;
}

.psc-autoinvest-disclosure {
	margin-top: 38px;
	padding: 22px;
	border: 1px solid var(--psc-border);
	border-radius: 8px;
	background: #fafafa;
	font-size: 14px;
}

.psc-autoinvest-disclosure a {
	display: inline-block;
	margin: 6px 18px 0 0;
}

.psc-autoinvest-enroll {
	margin: 14px 0;
	padding: 16px;
	border: 2px solid #b38a36;
	border-radius: 8px;
	background: #fffaf0;
}

.psc-autoinvest-enroll label,
.psc-autoinvest-plan-edit label {
	display: block;
	font-weight: 600;
}

.psc-autoinvest-enroll select,
.psc-autoinvest-enroll input[type="date"],
.psc-autoinvest-plan-edit select,
.psc-autoinvest-plan-edit input[type="date"],
.psc-autoinvest-plan-edit input[type="number"] {
	width: 100%;
	max-width: 520px;
	min-height: 44px;
	margin-top: 6px;
}

.psc-autoinvest-plan {
	margin: 0 0 20px;
	padding: clamp(16px, 3vw, 24px);
	border: 1px solid #ded7c8;
	border-radius: 8px;
	background: #fff;
}

.psc-autoinvest-plan-edit {
	margin: 16px 0;
	padding: 14px;
	border: 1px solid #ded7c8;
	border-radius: 6px;
	background: #fafafa;
}

.psc-autoinvest-plan-edit summary {
	cursor: pointer;
	font-weight: 700;
}

.psc-autoinvest-plan-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.psc-autoinvest-plan-actions form,
.psc-autoinvest-plan-actions p {
	margin: 0;
}

.psc-autoinvest-plan-actions .button {
	min-height: 42px;
}

.psc-autoinvest-plan-actions .psc-button-danger {
	border-color: #b32d2e !important;
	color: #8a1617 !important;
}

@media (max-width: 600px) {
	.psc-autoinvest-plan-actions,
	.psc-autoinvest-plan-actions form,
	.psc-autoinvest-plan-actions .button {
		width: 100%;
	}
}

.psc-autoinvest-checkout-notice p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.psc-autoinvest-step-grid,
	.psc-autoinvest-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.psc-steady-stack-home-cta {
		grid-template-columns: minmax(200px, .8fr) minmax(260px, 1.2fr);
	}

	.psc-steady-stack-home-cta .psc-steady-stack-home-button {
		grid-column: 1 / -1;
	}
}

@media (max-width: 639px) {
	body.psc-autoinvest-page .rh-content-wrap {
		width: 100% !important;
	}

	body.psc-autoinvest-page .pgs-standard-content-band {
		padding: 18px 0 28px;
	}

	body.psc-autoinvest-page .pgs-standard-wrap {
		padding-inline: 14px;
	}

	body.psc-autoinvest-page .pgs-standard-content {
		padding: 16px;
	}

	.psc-autoinvest-landing {
		font-size: 16px;
	}

	.psc-autoinvest-step-grid,
	.psc-autoinvest-product-grid {
		grid-template-columns: 1fr;
	}

	.psc-autoinvest-hero {
		padding: 22px 18px;
	}

	.psc-steady-stack-logo {
		margin-bottom: 18px;
	}

	.psc-autoinvest-lede {
		font-size: 17px !important;
	}

	body.psc-autoinvest-page .pgs-standard-content .psc-autoinvest-primary {
		width: 100%;
	}

	.psc-autoinvest-step-grid article,
	.psc-autoinvest-product-card {
		padding: 20px;
	}

	.psc-autoinvest-lock-note {
		border-left-width: 4px;
	}

	.psc-autoinvest-disclosure {
		padding: 18px;
	}

	.psc-autoinvest-disclosure a {
		display: block;
		margin-right: 0;
	}

	.psc-steady-stack-home-cta {
		grid-template-columns: 1fr;
		width: calc(100% - 24px);
		margin: 14px auto 20px;
		padding: 20px 18px;
		text-align: center;
	}

	.psc-steady-stack-home-visual {
		max-width: 430px;
		margin: 0 auto;
	}

	.psc-steady-stack-home-cta .psc-steady-stack-home-button {
		grid-column: auto;
		width: 100%;
	}
}
