/**
 * RCS UI layer — header, footer, landing hero, application cards.
 *
 * Additive: loaded after the base theme stylesheet. Every selector is scoped to an
 * `.rcs-` class so page content, PMPro pages and the app launch pages keep their
 * existing styles. Values come from rcs-tokens.css. (1rem = 10px, see tokens file.)
 */

/* -------------------------------------------------------------------------- */
/*	Base
/* -------------------------------------------------------------------------- */

body.rcs-ui {
	background-color: var(--rcs-color-bg);
}

.rcs-container {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--rcs-container);
	padding-left: var(--rcs-gutter);
	padding-right: var(--rcs-gutter);
	width: 100%;
}

.rcs-container--narrow {
	max-width: var(--rcs-container-narrow);
}

.rcs-header a:focus-visible,
.rcs-header button:focus-visible,
.rcs-footer a:focus-visible,
.rcs-landing a:focus-visible,
.rcs-btn:focus-visible {
	border-radius: var(--rcs-radius-sm);
	box-shadow: var(--rcs-shadow-focus);
	outline: 2px solid transparent; /* visible in forced-colors mode */
}

.rcs-footer a:focus-visible {
	box-shadow: 0 0 0 3px var(--rcs-blue-900), 0 0 0 6px var(--rcs-blue-200);
}

/* -------------------------------------------------------------------------- */
/*	Buttons
/* -------------------------------------------------------------------------- */

.rcs-btn {
	align-items: center;
	background: var(--rcs-color-action);
	border: 2px solid var(--rcs-color-action);
	border-radius: var(--rcs-radius-md);
	color: var(--rcs-color-on-action);
	display: inline-flex;
	font-family: var(--rcs-font-sans);
	font-size: var(--rcs-text-base);
	font-weight: var(--rcs-weight-semibold);
	gap: var(--rcs-space-2);
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.2;
	min-height: 4.8rem;
	padding: var(--rcs-space-3) var(--rcs-space-5);
	text-decoration: none;
	text-transform: none;
	transition: background-color var(--rcs-duration) var(--rcs-ease), border-color var(--rcs-duration) var(--rcs-ease), color var(--rcs-duration) var(--rcs-ease);
}

.rcs-btn:hover,
.rcs-btn:focus {
	background: var(--rcs-color-action-hover);
	border-color: var(--rcs-color-action-hover);
	color: var(--rcs-color-on-action);
	text-decoration: none;
}

.rcs-btn--lg {
	font-size: var(--rcs-text-lg);
	min-height: 5.6rem;
	padding: var(--rcs-space-4) var(--rcs-space-6);
}

.rcs-btn--secondary {
	background: var(--rcs-white);
	border-color: var(--rcs-blue-700);
	color: var(--rcs-blue-700);
}

.rcs-btn--secondary:hover,
.rcs-btn--secondary:focus {
	background: var(--rcs-blue-100);
	border-color: var(--rcs-blue-700);
	color: var(--rcs-blue-700);
}

.rcs-btn__icon {
	flex: none;
	height: 1.8rem;
	width: 1.8rem;
}

/* -------------------------------------------------------------------------- */
/*	Header
/* -------------------------------------------------------------------------- */

.rcs-header {
	background: var(--rcs-white);
	border-bottom: 1px solid var(--rcs-color-border);
	font-family: var(--rcs-font-sans);
	position: relative;
	z-index: 100;
}

.rcs-header__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-3) var(--rcs-space-5);
	justify-content: space-between;
	min-height: 7.2rem;
	padding-bottom: var(--rcs-space-3);
	padding-top: var(--rcs-space-3);
}

.rcs-header__brand {
	align-items: center;
	display: flex;
	gap: var(--rcs-space-3);
	min-width: 0;
}

.rcs-header__brand .custom-logo-link {
	display: block;
	flex: none;
	line-height: 0;
}

.rcs-header__brand .custom-logo {
	height: auto;
	max-height: 4.8rem;
	max-width: 20rem;
	width: auto;
}

.rcs-header__title {
	color: var(--rcs-color-heading);
	font-size: var(--rcs-text-lg);
	font-weight: var(--rcs-weight-bold);
	letter-spacing: -0.01em;
	line-height: var(--rcs-leading-tight);
	margin: 0;
}

.rcs-header__title a {
	color: inherit;
	text-decoration: none;
}

.rcs-header__title a:hover {
	color: var(--rcs-color-link);
}

.rcs-nav-toggle {
	align-items: center;
	background: var(--rcs-white);
	border: 1px solid var(--rcs-color-border-strong);
	border-radius: var(--rcs-radius-md);
	color: var(--rcs-blue-900);
	cursor: pointer;
	display: none;
	font-family: inherit;
	font-size: var(--rcs-text-sm);
	font-weight: var(--rcs-weight-semibold);
	gap: var(--rcs-space-2);
	letter-spacing: 0;
	min-height: 4.4rem;
	padding: 0 var(--rcs-space-4);
	text-transform: none;
}

.rcs-nav-toggle:hover,
.rcs-nav-toggle:focus {
	background: var(--rcs-grey-100);
	color: var(--rcs-blue-900);
	text-decoration: none;
}

.rcs-nav-toggle__bars,
.rcs-nav-toggle__bars::before,
.rcs-nav-toggle__bars::after {
	background: currentColor;
	border-radius: 1px;
	display: block;
	height: 2px;
	width: 1.8rem;
}

.rcs-nav-toggle__bars {
	position: relative;
}

.rcs-nav-toggle__bars::before,
.rcs-nav-toggle__bars::after {
	content: "";
	left: 0;
	position: absolute;
}

.rcs-nav-toggle__bars::before {
	top: -0.6rem;
}

.rcs-nav-toggle__bars::after {
	top: 0.6rem;
}

.rcs-nav__list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-1) var(--rcs-space-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.rcs-nav__list li {
	margin: 0;
	position: relative;
}

.rcs-nav__list a {
	border-radius: var(--rcs-radius-sm);
	color: var(--rcs-grey-700);
	display: block;
	font-size: var(--rcs-text-sm);
	font-weight: var(--rcs-weight-medium);
	line-height: 1.2;
	padding: var(--rcs-space-3) var(--rcs-space-3);
	text-decoration: none;
}

.rcs-nav__list a:hover,
.rcs-nav__list .current-menu-item > a,
.rcs-nav__list .current_page_item > a {
	color: var(--rcs-blue-700);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.6rem;
}

.rcs-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 var(--rcs-space-4);
}

@media (min-width: 783px) {

	.rcs-nav__list .sub-menu {
		background: var(--rcs-white);
		border: 1px solid var(--rcs-color-border);
		border-radius: var(--rcs-radius-md);
		box-shadow: var(--rcs-shadow-md);
		display: none;
		left: 0;
		min-width: 22rem;
		padding: var(--rcs-space-2);
		position: absolute;
		top: 100%;
	}

	.rcs-nav__list li:hover > .sub-menu,
	.rcs-nav__list li:focus-within > .sub-menu {
		display: block;
	}
}

@media (max-width: 782px) {

	/* Collapse only when JS is available; without JS the menu stays visible. */
	.js .rcs-nav-toggle {
		display: inline-flex;
	}

	.rcs-nav {
		flex-basis: 100%;
	}

	.js .rcs-nav {
		display: none;
	}

	.js .rcs-nav.is-open {
		display: block;
	}

	.rcs-nav__list {
		align-items: stretch;
		border-top: 1px solid var(--rcs-color-border);
		flex-direction: column;
		gap: 0;
		padding-top: var(--rcs-space-2);
	}

	.rcs-nav__list a {
		font-size: var(--rcs-text-base);
		padding: var(--rcs-space-3) var(--rcs-space-1);
	}
}

@media (max-width: 420px) {

	/* Keep logo, title and menu button on one row on the narrowest screens. */
	.rcs-header__inner {
		flex-wrap: wrap;
		gap: var(--rcs-space-2) var(--rcs-space-3);
	}

	.rcs-header__brand {
		flex: 1 1 0;
	}

	.rcs-header__brand .custom-logo {
		max-height: 3.6rem;
	}

	.rcs-header__title {
		font-size: var(--rcs-text-base);
		overflow-wrap: anywhere;
	}

	.rcs-nav-toggle {
		flex: none;
		padding: 0 var(--rcs-space-3);
	}

	.rcs-nav-toggle__label {
		border: 0;
		clip: rect(1px, 1px, 1px, 1px);
		height: 1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
	}
}

/* -------------------------------------------------------------------------- */
/*	Landing: hero
/* -------------------------------------------------------------------------- */

.rcs-landing {
	color: var(--rcs-color-text);
	font-family: var(--rcs-font-sans);
	font-size: var(--rcs-text-base);
	line-height: var(--rcs-leading-body);
}

.rcs-hero {
	background: var(--rcs-color-bg-tint);
	border-bottom: 1px solid var(--rcs-color-border);
	overflow: hidden;
	padding: var(--rcs-space-7) 0;
}

.rcs-hero__grid {
	align-items: center;
	display: grid;
	gap: var(--rcs-space-7);
	grid-template-columns: minmax(0, 1fr);
}

.rcs-hero__inner {
	max-width: 68rem;
}

.rcs-hero__eyebrow {
	color: var(--rcs-blue-700);
	font-size: var(--rcs-text-sm);
	font-weight: var(--rcs-weight-semibold);
	margin: 0 0 var(--rcs-space-3);
}

.rcs-hero__heading {
	color: var(--rcs-color-heading);
	font-family: var(--rcs-font-display);
	font-size: var(--rcs-text-3xl);
	font-weight: var(--rcs-weight-medium);
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0 0 var(--rcs-space-5);
}

.rcs-hero__sub {
	color: var(--rcs-blue-900);
	font-size: var(--rcs-text-xl);
	line-height: 1.4;
	margin: 0 0 var(--rcs-space-4);
	max-width: 56rem;
}

.rcs-hero__lead {
	color: var(--rcs-grey-700);
	font-size: var(--rcs-text-base);
	margin: 0 0 var(--rcs-space-5);
	max-width: 60rem;
}

.rcs-hero__points {
	border-top: 1px solid var(--rcs-blue-200);
	list-style: none;
	margin: 0 0 var(--rcs-space-6);
	max-width: 60rem;
	padding: 0;
}

.rcs-hero__points li {
	border-bottom: 1px solid var(--rcs-blue-200);
	color: var(--rcs-grey-900);
	font-size: var(--rcs-text-base);
	margin: 0;
	padding: var(--rcs-space-3) 0 var(--rcs-space-3) 3.2rem;
	position: relative;
}

/* Tick drawn with borders: no icon font, no image request. */
.rcs-hero__points li::before {
	border-bottom: 2px solid var(--rcs-blue-600);
	border-right: 2px solid var(--rcs-blue-600);
	content: "";
	height: 1.1rem;
	left: 0.6rem;
	position: absolute;
	top: 1.7rem;
	transform: rotate(45deg);
	width: 0.6rem;
}

.rcs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-3);
}

.rcs-hero__visual {
	display: none;
	justify-self: center;
	line-height: 0;
	margin: 0;
}

.rcs-hero__visual img {
	border: 1px solid var(--rcs-color-border);
	border-radius: var(--rcs-radius-lg);
	height: auto;
	max-width: 100%;
}

.rcs-polar {
	height: auto;
	max-width: 44rem;
	width: 100%;
}

.rcs-polar__halo {
	fill: var(--rcs-white);
	stroke: var(--rcs-blue-200);
	stroke-width: 1;
}

.rcs-polar__axis {
	fill: none;
	stroke: var(--rcs-blue-600);
	stroke-width: 1.5;
}

.rcs-polar__seg {
	stroke: var(--rcs-white);
	stroke-width: 3;
}

.rcs-polar__seg--a {
	fill: var(--rcs-blue-800);
}

.rcs-polar__seg--b {
	fill: var(--rcs-blue-600);
}

.rcs-polar__seg--c {
	fill: var(--rcs-blue-200);
}

.rcs-polar__seg--d {
	fill: var(--rcs-amber-300);
}

.rcs-polar__seg--e {
	fill: var(--rcs-amber-500);
}

/* The one load moment on the site: the plot fills in segment by segment. */
@media (prefers-reduced-motion: no-preference) {

	.rcs-polar__seg {
		animation: rcs-polar-in 420ms var(--rcs-ease) both;
		animation-delay: calc(var(--i) * 45ms + 150ms);
	}
}

@keyframes rcs-polar-in {

	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.rcs-hero--page {
	padding: var(--rcs-space-7) 0 var(--rcs-space-6);
}

.rcs-hero--page .rcs-hero__heading {
	font-size: clamp(3rem, 2.2rem + 2vw, 4.4rem);
	margin-bottom: var(--rcs-space-3);
}

.rcs-hero--page .rcs-hero__sub {
	color: var(--rcs-grey-700);
	font-size: var(--rcs-text-lg);
	margin-bottom: 0;
}

.rcs-hero--page .rcs-hero__sub > :last-child {
	margin-bottom: 0;
}

@media (min-width: 900px) {

	.rcs-hero {
		padding: var(--rcs-space-8) 0;
	}

	.rcs-hero--page {
		padding: var(--rcs-space-7) 0 var(--rcs-space-6);
	}

	.rcs-hero__grid--split {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.rcs-hero__visual {
		display: block;
	}
}

/* -------------------------------------------------------------------------- */
/*	Landing: "used at" strip, notice, closing call to action
/* -------------------------------------------------------------------------- */

.rcs-trust {
	border-bottom: 1px solid var(--rcs-color-border);
	padding: var(--rcs-space-5) 0;
}

.rcs-trust__inner {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-2) var(--rcs-space-6);
}

.rcs-trust__label {
	color: var(--rcs-color-text-muted);
	font-size: var(--rcs-text-sm);
	margin: 0;
}

.rcs-trust__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-2) var(--rcs-space-6);
	list-style: none;
	margin: 0;
	padding: 0;
}

.rcs-trust__list li {
	color: var(--rcs-blue-900);
	font-family: var(--rcs-font-display);
	font-size: var(--rcs-text-lg);
	font-weight: var(--rcs-weight-medium);
	margin: 0;
}

.rcs-notice {
	border-left: 4px solid var(--rcs-blue-600);
	margin: 0;
	max-width: 80rem;
	padding: var(--rcs-space-1) 0 var(--rcs-space-1) var(--rcs-space-5);
}

.rcs-notice__heading {
	color: var(--rcs-color-heading);
	font-family: var(--rcs-font-sans);
	font-size: var(--rcs-text-lg);
	font-weight: var(--rcs-weight-semibold);
	letter-spacing: 0;
	margin: 0 0 var(--rcs-space-2);
}

.rcs-notice__text {
	color: var(--rcs-grey-700);
	margin: 0;
}

.rcs-cta {
	background: var(--rcs-blue-900);
	color: var(--rcs-grey-300);
	padding: var(--rcs-space-7) 0;
}

.rcs-cta__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-5) var(--rcs-space-7);
	justify-content: space-between;
}

.rcs-cta__heading {
	color: var(--rcs-white);
	font-family: var(--rcs-font-display);
	font-size: var(--rcs-text-2xl);
	font-weight: var(--rcs-weight-medium);
	letter-spacing: -0.015em;
	line-height: var(--rcs-leading-tight);
	margin: 0 0 var(--rcs-space-2);
}

.rcs-cta__text {
	margin: 0;
	max-width: 60rem;
}

.rcs-btn--on-dark {
	background: var(--rcs-white);
	border-color: var(--rcs-white);
	color: var(--rcs-blue-900);
}

.rcs-btn--on-dark:hover,
.rcs-btn--on-dark:focus {
	background: var(--rcs-blue-100);
	border-color: var(--rcs-blue-100);
	color: var(--rcs-blue-900);
}

.rcs-cta .rcs-btn:focus-visible {
	box-shadow: 0 0 0 3px var(--rcs-blue-900), 0 0 0 6px var(--rcs-blue-200);
}

/* -------------------------------------------------------------------------- */
/*	Landing: sections + application cards
/* -------------------------------------------------------------------------- */

.rcs-section {
	padding: var(--rcs-space-8) 0;
}

.rcs-section--subtle {
	background: var(--rcs-color-bg-subtle);
	border-top: 1px solid var(--rcs-color-border);
}

.rcs-section__heading {
	color: var(--rcs-color-heading);
	font-family: var(--rcs-font-display);
	font-size: var(--rcs-text-2xl);
	font-weight: var(--rcs-weight-medium);
	letter-spacing: -0.02em;
	line-height: var(--rcs-leading-tight);
	margin: 0 0 var(--rcs-space-3);
}

.rcs-section__intro {
	color: var(--rcs-color-text-muted);
	margin: 0 0 var(--rcs-space-6);
	max-width: 68rem;
}

.rcs-apps {
	display: grid;
	gap: var(--rcs-space-5);
	list-style: none;
	margin: var(--rcs-space-6) 0 0;
	padding: 0;
}

.rcs-apps > li {
	margin: 0;
}

.rcs-app-card {
	background: var(--rcs-color-surface);
	border: 1px solid var(--rcs-color-border);
	border-radius: var(--rcs-radius-lg);
	box-shadow: var(--rcs-shadow-sm);
	display: grid;
	gap: var(--rcs-space-5);
	grid-template-columns: 1fr;
	padding: var(--rcs-space-5);
	transition: box-shadow var(--rcs-duration) var(--rcs-ease), border-color var(--rcs-duration) var(--rcs-ease);
}

.rcs-app-card:hover,
.rcs-app-card:focus-within {
	border-color: var(--rcs-color-border-strong);
	box-shadow: var(--rcs-shadow-md);
}

.rcs-app-card__media {
	align-items: center;
	aspect-ratio: 16 / 10;
	background: var(--rcs-blue-50);
	border: 1px solid var(--rcs-color-border);
	border-radius: var(--rcs-radius-md);
	color: var(--rcs-blue-600);
	display: flex;
	justify-content: center;
	margin: 0;
	overflow: hidden;
}

.rcs-app-card__media img {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

.rcs-app-card__icon {
	height: 5.6rem;
	width: 5.6rem;
}

.rcs-app-card__body {
	min-width: 0;
}

.rcs-app-card__header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-2) var(--rcs-space-3);
	margin-bottom: var(--rcs-space-3);
}

.rcs-app-card__title {
	color: var(--rcs-color-heading);
	font-family: var(--rcs-font-sans);
	font-size: var(--rcs-text-xl);
	font-weight: var(--rcs-weight-bold);
	letter-spacing: -0.015em;
	line-height: var(--rcs-leading-snug);
	margin: 0;
}

.rcs-badge {
	background: var(--rcs-blue-100);
	border-radius: var(--rcs-radius-pill);
	color: var(--rcs-blue-700);
	display: inline-block;
	font-size: var(--rcs-text-xs);
	font-weight: var(--rcs-weight-semibold);
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 0.5rem 1.2rem;
}

.rcs-app-card__desc {
	color: var(--rcs-color-text-muted);
	font-size: var(--rcs-text-base);
}

.rcs-app-card__desc > :first-child {
	margin-top: 0;
}

.rcs-app-card__desc > :last-child {
	margin-bottom: 0;
}

.rcs-app-card__desc p {
	margin: 0 0 var(--rcs-space-3);
}

.rcs-app-card__desc a {
	color: var(--rcs-color-link);
}

.rcs-app-card__action {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: var(--rcs-space-2);
}

.rcs-app-card__action .rcs-btn {
	width: 100%;
}

.rcs-app-card__hint {
	color: var(--rcs-color-text-muted);
	font-size: var(--rcs-text-xs);
	margin: 0;
}

@media (min-width: 600px) {

	.rcs-app-card {
		grid-template-columns: 20rem minmax(0, 1fr);
	}

	.rcs-app-card__action {
		grid-column: 2;
	}

	.rcs-app-card__action .rcs-btn {
		width: auto;
	}
}

@media (min-width: 1000px) {

	.rcs-app-card {
		align-items: center;
		gap: var(--rcs-space-6);
		grid-template-columns: 24rem minmax(0, 1fr) auto;
		padding: var(--rcs-space-6);
	}

	.rcs-app-card__action {
		align-items: stretch;
		grid-column: auto;
		min-width: 19rem;
	}

	.rcs-app-card__action .rcs-btn {
		width: 100%;
	}

	.rcs-app-card__hint {
		text-align: center;
	}
}

.rcs-empty {
	background: var(--rcs-grey-100);
	border: 1px dashed var(--rcs-color-border-strong);
	border-radius: var(--rcs-radius-md);
	color: var(--rcs-grey-700);
	margin: var(--rcs-space-5) 0 0;
	padding: var(--rcs-space-5);
}

/* Editor-managed body copy (the_content) on the landing templates. */
.rcs-prose {
	color: var(--rcs-color-text);
	font-size: var(--rcs-text-base);
	line-height: var(--rcs-leading-body);
}

.rcs-prose > * {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--rcs-container-narrow);
}

.rcs-prose > .alignwide {
	max-width: var(--rcs-container);
}

.rcs-prose > .alignfull {
	max-width: none;
}

.rcs-prose h2,
.rcs-prose h3,
.rcs-prose h4 {
	color: var(--rcs-color-heading);
	letter-spacing: -0.015em;
}

.rcs-prose a {
	color: var(--rcs-color-link);
}

.rcs-prose a:hover {
	color: var(--rcs-color-link-hover);
}

/* -------------------------------------------------------------------------- */
/*	Footer
/* -------------------------------------------------------------------------- */

.rcs-footer {
	background: var(--rcs-blue-900);
	border-top: 1px solid rgba(255, 255, 255, 0.16); /* divides it from a dark band above */
	color: var(--rcs-grey-300);
	font-family: var(--rcs-font-sans);
	font-size: var(--rcs-text-sm);
	line-height: var(--rcs-leading-body);
	padding: var(--rcs-space-7) 0 var(--rcs-space-5);
}

.rcs-footer a {
	color: var(--rcs-white);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 0.3rem;
}

.rcs-footer a:hover {
	color: var(--rcs-blue-200);
	text-decoration-color: currentColor;
}

.rcs-footer__grid {
	display: grid;
	gap: var(--rcs-space-6);
	grid-template-columns: 1fr;
}

.rcs-footer__heading {
	color: var(--rcs-white);
	font-size: var(--rcs-text-sm);
	font-weight: var(--rcs-weight-semibold);
	letter-spacing: 0;
	margin: 0 0 var(--rcs-space-3);
	text-transform: none;
}

.rcs-footer__name {
	color: var(--rcs-white);
	font-size: var(--rcs-text-lg);
	font-weight: var(--rcs-weight-bold);
	margin: 0 0 var(--rcs-space-2);
}

.rcs-footer__text {
	margin: 0;
	max-width: 48rem;
}

.rcs-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rcs-footer__list li {
	margin: 0 0 var(--rcs-space-2);
}

.rcs-footer__address {
	font-style: normal;
}

.rcs-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	flex-wrap: wrap;
	gap: var(--rcs-space-2) var(--rcs-space-5);
	justify-content: space-between;
	margin-top: var(--rcs-space-6);
	padding-top: var(--rcs-space-5);
}

.rcs-footer__bottom p {
	margin: 0;
}

@media (min-width: 783px) {

	.rcs-footer__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* -------------------------------------------------------------------------- */
/*	Motion + print
/* -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.rcs-btn,
	.rcs-app-card {
		transition: none;
	}
}

@media print {

	.rcs-header .rcs-nav,
	.rcs-nav-toggle,
	.rcs-app-card__action,
	.rcs-hero__actions {
		display: none;
	}
}

/* -------------------------------------------------------------------------- */
/*	Editor-built landing page (.rcs-home): the same bands as blocks
/* -------------------------------------------------------------------------- */

/*
 * Blocks span the viewport; each band centres its own content. The base theme and the
 * content layer both narrow `.entry-content > *` with high-specificity rules, hence !important.
 */
body.rcs-ui .rcs-home {
	margin: 0;
	padding: 0;
}

body.rcs-ui .rcs-home > *,
body.rcs-ui .rcs-home > .wp-block-group > .wp-block-group__inner-container,
body.rcs-ui .rcs-home > .wp-block-group > .wp-block-group__inner-container > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.rcs-ui .rcs-home > * {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

/* Hero band: Group → style "Hero band". */
body.rcs-ui .rcs-home .wp-block-group.is-style-rcs-hero {
	background: var(--rcs-color-bg-tint);
	border-bottom: 1px solid var(--rcs-color-border);
	overflow: hidden;
	padding: var(--rcs-space-7) max(var(--rcs-gutter), calc((100% - var(--rcs-container)) / 2));
}

body.rcs-ui .rcs-home .is-style-rcs-hero .wp-block-columns {
	align-items: center;
	gap: var(--rcs-space-7);
	margin: 0;
}

body.rcs-ui .rcs-home .is-style-rcs-hero h1 {
	color: var(--rcs-color-heading);
	font-family: var(--rcs-font-display);
	font-size: var(--rcs-text-3xl);
	font-weight: var(--rcs-weight-medium);
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin: 0 0 var(--rcs-space-5);
}

body.rcs-ui .rcs-home .is-style-rcs-hero p {
	max-width: none;
}

body.rcs-ui .rcs-home .is-style-rcs-hero .wp-block-buttons {
	margin-top: var(--rcs-space-6);
}

body.rcs-ui .rcs-home .is-style-rcs-hero .wp-block-buttons .wp-block-button__link {
	font-size: var(--rcs-text-lg);
	padding: var(--rcs-space-4) var(--rcs-space-6);
}

body.rcs-ui .rcs-home .is-style-rcs-hero .rcs-hero__visual {
	margin: 0 auto;
}

@media (min-width: 900px) {

	body.rcs-ui .rcs-home .wp-block-group.is-style-rcs-hero {
		padding-bottom: var(--rcs-space-8);
		padding-top: var(--rcs-space-8);
	}
}

/* Dark band: Group → style "Dark band" (the closing call to action). */
body.rcs-ui .rcs-home .wp-block-group.is-style-rcs-band {
	background: var(--rcs-blue-900);
	color: var(--rcs-grey-300);
	padding: var(--rcs-space-7) max(var(--rcs-gutter), calc((100% - var(--rcs-container)) / 2));
}

body.rcs-ui .rcs-home .is-style-rcs-band .wp-block-columns {
	align-items: center;
	margin: 0;
}

body.rcs-ui .rcs-home .is-style-rcs-band h2 {
	color: var(--rcs-white);
	font-family: var(--rcs-font-display);
	font-size: var(--rcs-text-2xl);
	font-weight: var(--rcs-weight-medium);
	letter-spacing: -0.015em;
	line-height: var(--rcs-leading-tight);
	margin: 0 0 var(--rcs-space-2);
}

body.rcs-ui .rcs-home .is-style-rcs-band p {
	color: var(--rcs-grey-300);
	margin: 0;
}

body.rcs-ui .rcs-home .is-style-rcs-band .wp-block-buttons {
	margin: 0;
}

body.rcs-ui #site-content .rcs-home .is-style-rcs-band .wp-block-button__link {
	background: var(--rcs-white);
	border-color: var(--rcs-white);
	color: var(--rcs-blue-900);
	font-size: var(--rcs-text-lg);
	padding: var(--rcs-space-4) var(--rcs-space-6);
}

body.rcs-ui #site-content .rcs-home .is-style-rcs-band .wp-block-button__link:hover,
body.rcs-ui #site-content .rcs-home .is-style-rcs-band .wp-block-button__link:focus {
	background: var(--rcs-blue-100);
	border-color: var(--rcs-blue-100);
	color: var(--rcs-blue-900);
}

@media (min-width: 782px) {

	body.rcs-ui .rcs-home .is-style-rcs-band .wp-block-column:last-child .wp-block-buttons {
		justify-content: flex-end;
	}
}

/* Outline ("secondary") block buttons inside the landing page. */
body.rcs-ui #site-content .rcs-home .is-style-outline .wp-block-button__link {
	background: var(--rcs-white);
	border-color: var(--rcs-blue-700);
	color: var(--rcs-blue-700);
}

/* The application cards keep their own layout inside an editor-built page. */
body.rcs-ui .rcs-home .rcs-section__heading,
body.rcs-ui .rcs-home .rcs-app-card__title {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	text-align: left;
}

body.rcs-ui .rcs-home .rcs-app-card__title {
	margin-bottom: 0;
}

body.rcs-ui .rcs-home .rcs-app-card,
body.rcs-ui .rcs-home .rcs-app-card__desc p {
	max-width: none;
	text-align: left;
}

body.rcs-ui .rcs-home .rcs-section {
	padding-top: var(--rcs-space-7);
}

/* Section: Group → style "Section". A plain centred band for a heading, intro and [rcs_apps]. */
body.rcs-ui .rcs-home .wp-block-group.is-style-rcs-section {
	padding: var(--rcs-space-8) max(var(--rcs-gutter), calc((100% - var(--rcs-container)) / 2));
}

body.rcs-ui .rcs-home .is-style-rcs-section > h2,
body.rcs-ui .rcs-home .is-style-rcs-section > .wp-block-group__inner-container > h2 {
	color: var(--rcs-color-heading);
	font-family: var(--rcs-font-display);
	font-size: var(--rcs-text-2xl);
	font-weight: var(--rcs-weight-medium);
	letter-spacing: -0.02em;
	line-height: var(--rcs-leading-tight);
	margin: 0 0 var(--rcs-space-3);
	text-align: left;
}

body.rcs-ui .rcs-home .is-style-rcs-section > p,
body.rcs-ui .rcs-home .is-style-rcs-section > .wp-block-group__inner-container > p {
	margin: 0 0 var(--rcs-space-4);
}

/* The shortcode inside a Section: no second band, no second container. */
body.rcs-ui .rcs-home .is-style-rcs-section .rcs-section {
	padding: 0;
}

body.rcs-ui .rcs-home .is-style-rcs-section .rcs-section > .rcs-container {
	max-width: none;
	padding: 0;
}

body.rcs-ui .rcs-home .is-style-rcs-section .rcs-apps {
	margin-top: 0;
}

/* Card titles keep the interface face whatever heading level the page gives them. */
body.rcs-ui .entry-content .rcs-app-card__title {
	font-family: var(--rcs-font-sans);
	font-size: var(--rcs-text-xl);
	font-weight: var(--rcs-weight-semibold);
	letter-spacing: -0.015em;
	line-height: var(--rcs-leading-snug);
}
