/* Become a Partner — CSR & institutions */

body.ryp-page {
	--ryp-ink: #1c120c;
	--ryp-muted: #5c4a3a;
	--ryp-gold: #c5942a;
	--ryp-gold-deep: #a67b1f;
	--ryp-maroon: #8b1a1a;
	--ryp-cream: #f5ede3;
	--ryp-paper: #faf7f2;
	--ryp-line: #e8ddd4;
	--ryp-night: #1a100c;
	--ryp-night-2: #2c1810;
	background: var(--ryp-paper);
	overflow-x: clip;
}

body.ryp-page #header-promo,
body.ryp-page .ms-page-header-bar,
body.ryp-page .yoast-breadcrumbs,
body.ryp-page .post-header,
body.ryp-page .featured-image-container {
	display: none !important;
}

body.ryp-page #main-container.main-container {
	margin-top: 0;
	padding: 0;
}

body.ryp-page .loop-container {
	margin-bottom: 0;
}

/* Break out of #max-width (1400px) so bands meet the viewport edges. */
body.ryp-page .ryp-hero,
body.ryp-page .ryp-stats,
body.ryp-page .ryp-section--cream,
body.ryp-page .ryp-section--paper,
body.ryp-page .ryp-section--white,
body.ryp-page .ryp-close {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

body.ryp-page.ryp-page--dock .site-footer {
	padding-bottom: 5.5rem;
}

body.ryp-page.ryp-page--dock .scroll-to-top {
	bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

.ryp {
	color: var(--ryp-ink);
}

.ryp a:focus-visible,
.ryp button:focus-visible,
.ryp summary:focus-visible,
.ryp input:focus-visible,
.ryp select:focus-visible,
.ryp textarea:focus-visible {
	outline: 2px solid var(--ryp-gold);
	outline-offset: 3px;
}

.ryp-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 5%;
}

.ryp-section {
	padding: 4.5rem 0;
	scroll-margin-top: 6.5rem;
}

.ryp-section--cream {
	background: var(--ryp-cream);
}

.ryp-section--white {
	background: #fff;
}

.ryp-section--paper {
	background:
		radial-gradient(900px 280px at 50% 0, rgba(197, 148, 42, 0.08), transparent 60%),
		var(--ryp-paper);
}

.ryp-kicker {
	display: block;
	font-family: Lato, sans-serif;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ryp-gold);
	margin: 0 0 0.85rem;
}

.ryp-kicker--light {
	color: #e8c36a;
}

.ryp-heading {
	font-family: Lato, sans-serif;
	font-size: clamp(1.75rem, 3.2vw, 2.55rem);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 0.55em;
	color: var(--ryp-ink);
}

.ryp-lead,
.ryp-copy {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--ryp-muted);
	margin: 0 0 1.15rem;
}

.ryp-lead {
	font-size: 1.125rem;
	color: var(--ryp-ink);
}

.ryp-lead--center {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.ryp-copy a {
	color: var(--ryp-maroon);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ryp-ornament {
	width: 72px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, #a67b1f, #e0b24a);
	margin: 0.2em auto 0;
}

.ryp-header {
	text-align: center;
	margin-bottom: 2.75rem;
}

.ryp-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.ryp-cta-row--center {
	justify-content: center;
	margin-top: 1.75rem;
}

.ryp .lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	border-radius: 999px;
}

/* Hero */

.ryp-hero {
	color: #fff8ee;
	background:
		radial-gradient(720px 280px at 50% 0%, rgba(197, 148, 42, 0.16), transparent 58%),
		linear-gradient(180deg, #2c1a12 0%, #1a100c 100%);
	padding: 5.25rem 0 4.5rem;
	text-align: center;
}

.ryp-hero__copy {
	max-width: 40rem;
	margin: 0 auto;
}

.ryp-hero h1 {
	font-family: Lato, sans-serif;
	font-size: clamp(2.2rem, 5vw, 3.35rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0 0 0.7em;
	color: #fffaf2;
}

.ryp-hero__lead {
	max-width: 32rem;
	margin: 0 auto 1.75rem;
	font-size: 1.125rem;
	line-height: 1.65;
	color: rgba(255, 248, 238, 0.76);
}

.ryp-split__visual figcaption {
	margin-top: 0.7rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--ryp-muted);
}

/* Stats */

.ryp-stats {
	background: #fff;
	border-bottom: 1px solid var(--ryp-line);
	padding: 1.75rem 0;
}

.ryp-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.ryp-stat {
	padding: 0.35rem 0.4rem 0.35rem 0.95rem;
	border-left: 3px solid var(--ryp-gold);
}

.ryp-stat__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ryp-gold-deep);
	margin-bottom: 0.2rem;
}

.ryp-stat strong {
	display: block;
	font-family: Lato, sans-serif;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
}

.ryp-stat span:last-child {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8125rem;
	color: var(--ryp-muted);
	line-height: 1.4;
}

/* Tiers */

.ryp-tiers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
	align-items: stretch;
}

.ryp-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	width: 100%;
	padding: 1.55rem 1.4rem 1.4rem;
	border: 1px solid var(--ryp-line);
	border-radius: 22px;
	background: #fff;
	color: var(--ryp-ink);
	box-shadow: 0 10px 28px rgba(44, 24, 16, 0.05);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ryp-tier--popular {
	background: linear-gradient(180deg, #fffdf8 0%, #f4e4c4 100%);
	border-color: rgba(197, 148, 42, 0.7);
	box-shadow: 0 16px 36px rgba(166, 123, 31, 0.14);
}

.ryp-tier:focus-visible {
	border-color: rgba(197, 148, 42, 0.55);
	box-shadow: 0 18px 36px rgba(44, 24, 16, 0.1);
}

@media (hover: hover) and (pointer: fine) {
	.ryp-tier:hover,
	.ryp-tier:focus-visible {
		transform: translateY(-3px);
		border-color: rgba(197, 148, 42, 0.55);
		box-shadow: 0 18px 36px rgba(44, 24, 16, 0.1);
	}
}

.ryp-tier.is-selected {
	border-color: var(--ryp-maroon);
	box-shadow:
		0 0 0 3px rgba(139, 26, 26, 0.12),
		0 18px 36px rgba(44, 24, 16, 0.1);
}

.ryp-tier em {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	font-style: normal;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--ryp-maroon);
	border-radius: 999px;
	padding: 0.22rem 0.55rem;
}

.ryp-tier__kicker {
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ryp-gold-deep);
}

.ryp-tier h3 {
	font-family: Lato, sans-serif;
	font-size: 1.35rem;
	font-weight: 900;
	margin: 0.35rem 0 0.15rem;
}

.ryp-tier__amount {
	display: block;
	font-size: 1.55rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
	color: var(--ryp-night-2);
}

.ryp-tier ul {
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
}

.ryp-tier li {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	margin: 0 0 0.55rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--ryp-muted);
}

.ryp-tier li i {
	color: #2f7a45;
	margin-top: 0.2rem;
}

.ryp-tier__cta {
	margin-top: auto;
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ryp-maroon);
}

.ryp-tier.is-selected .ryp-tier__cta {
	color: var(--ryp-gold-deep);
}

/* Steps */

.ryp-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.ryp-step {
	position: relative;
	padding: 1.4rem 1.15rem 1.3rem;
	background: var(--ryp-paper);
	border: 1px solid var(--ryp-line);
	border-radius: 18px;
}

.ryp-step__num {
	display: block;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--ryp-gold);
	margin-bottom: 0.65rem;
}

.ryp-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-bottom: 0.75rem;
	border-radius: 50%;
	background: rgba(197, 148, 42, 0.14);
	color: var(--ryp-maroon);
}

.ryp-step h3 {
	font-size: 1.05rem;
	font-weight: 900;
	margin: 0 0 0.4rem;
}

.ryp-step p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--ryp-muted);
}

/* Trust + split */

.ryp-split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 3rem;
	align-items: center;
}

.ryp-split__visual {
	margin: 0;
}

.ryp-split__img,
.ryp-split__visual img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 22px 48px rgba(44, 24, 16, 0.12);
}

.ryp-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.9rem;
	margin: 1.4rem 0 1.5rem;
}

.ryp-trust__card {
	padding: 1.05rem 1rem 1rem;
	background: #fff;
	border: 1px solid var(--ryp-line);
	border-radius: 16px;
}

.ryp-trust__icon {
	display: inline-flex;
	width: 2.2rem;
	height: 2.2rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(139, 26, 26, 0.08);
	color: var(--ryp-maroon);
	margin-bottom: 0.55rem;
}

.ryp-trust__card h3 {
	font-size: 1rem;
	font-weight: 900;
	margin: 0 0 0.35rem;
}

.ryp-trust__card p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--ryp-muted);
}

/* Form */

.ryp-start {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: 3rem;
	align-items: start;
}

.ryp-start__form {
	position: sticky;
	top: 6.25rem;
}

.ryp-start__contact {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-top: 1.4rem;
}

.ryp-start__contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--ryp-ink);
	font-weight: 700;
	text-decoration: none;
}

.ryp-start__contact a:hover {
	color: var(--ryp-maroon);
}

.ryp-start__contact i,
.ryp-start__contact .ms-icon {
	color: var(--ryp-gold-deep);
	width: 1.1rem;
}

.ryp-form {
	padding: 1.7rem 1.55rem 1.5rem;
	background: #fff;
	border: 1px solid var(--ryp-line);
	border-radius: 24px;
	box-shadow: 0 22px 50px rgba(44, 24, 16, 0.08);
}

.ryp-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.95rem 1rem;
}

.ryp-form__field {
	margin: 0;
}

.ryp-form__field--full,
.ryp-form__causes {
	grid-column: 1 / -1;
}

.ryp-form label,
.ryp-form legend {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 800;
	color: var(--ryp-ink);
}

.ryp-form .required {
	color: var(--ryp-maroon);
}

.ryp-form input[type="text"],
.ryp-form input[type="email"],
.ryp-form input[type="tel"],
.ryp-form select,
.ryp-form textarea {
	width: 100%;
	border: 1px solid #eadfd4;
	background: #faf7f2;
	color: var(--ryp-ink);
	font: inherit;
	padding: 0.85rem 1.05rem;
	border-radius: 999px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ryp-form textarea {
	border-radius: 18px;
	min-height: 8.5rem;
	resize: vertical;
}

.ryp-form input:hover,
.ryp-form select:hover,
.ryp-form textarea:hover {
	border-color: #d8c7b4;
}

.ryp-form input:focus,
.ryp-form select:focus,
.ryp-form textarea:focus {
	background: #fff;
	border-color: rgba(197, 148, 42, 0.7);
	box-shadow: 0 0 0 4px rgba(197, 148, 42, 0.14);
	outline: none;
}

.ryp-form__hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.75rem;
	color: #8a7b6c;
}

.ryp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ryp-chip {
	position: relative;
	margin: 0;
}

.ryp-chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ryp-chip span {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--ryp-line);
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ryp-chip input:checked + span,
.ryp-chip input:focus-visible + span {
	background: var(--ryp-night-2);
	border-color: var(--ryp-night-2);
	color: #fff;
}

.ryp-form__actions {
	margin: 1.2rem 0 0;
}

.ryp-form__submit {
	width: 100%;
	border: 0;
}

.ryp-form__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.ryp-form__notice {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	font-size: 0.9375rem;
}

.ryp-form__notice--err {
	background: #fdecea;
	color: #8b1a1a;
}

.ryp-form__success {
	text-align: center;
	padding: 1.25rem 0.5rem 0.5rem;
}

.ryp-form__success-icon {
	display: inline-flex;
	width: 3rem;
	height: 3rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(47, 122, 69, 0.12);
	color: #2f7a45;
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
}

.ryp-form__success h3 {
	font-size: 1.35rem;
	font-weight: 900;
	margin: 0 0 0.45rem;
}

.ryp-form__success p {
	color: var(--ryp-muted);
	margin: 0 0 1.2rem;
}

.ryp-form__success .ryp-cta-row {
	justify-content: center;
}

/* FAQ */

.ryp-faq {
	max-width: 840px;
	margin: 0 auto;
}

.ryp-faq__item {
	border-bottom: 1px solid var(--ryp-line);
}

.ryp-faq__item:first-child {
	border-top: 1px solid var(--ryp-line);
}

.ryp-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0;
	font-family: Lato, sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.ryp-faq__item summary::-webkit-details-marker {
	display: none;
}

.ryp-faq__item summary::after {
	content: "+";
	color: var(--ryp-gold);
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1;
}

.ryp-faq__item[open] summary::after {
	content: "\2212";
}

.ryp-faq__answer {
	padding: 0 0 1.2rem;
	color: var(--ryp-muted);
	line-height: 1.7;
}

.ryp-faq__answer p {
	margin: 0;
}

/* Close */

.ryp-close {
	background:
		radial-gradient(700px 280px at 50% 0, rgba(197, 148, 42, 0.2), transparent 60%),
		linear-gradient(160deg, #3c2a1e 0%, #1a100c 100%);
	text-align: center;
	color: #fff;
}

.ryp-close .ryp-heading,
.ryp-close .ryp-kicker {
	color: #fff;
}

.ryp-close .ryp-kicker {
	color: #e8c36a;
}

.ryp-close .ryp-copy {
	color: rgba(255, 255, 255, 0.82);
	max-width: 38rem;
	margin-left: auto;
	margin-right: auto;
}

.ryp-close .ryp-cta-row {
	margin-bottom: 1.15rem;
}

/* Dock */

.ryp-dock {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	gap: 0.6rem;
	padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
	background: rgba(250, 247, 242, 0.96);
	border-top: 1px solid var(--ryp-line);
	box-shadow: 0 -8px 24px rgba(44, 24, 16, 0.1);
}

body.ryp-page--dock .ryp-dock {
	display: flex;
}

.ryp-dock .lp-btn {
	flex: 1 1 0;
	text-align: center;
}

@media (min-width: 801px) {
	.ryp-dock,
	body.ryp-page--dock .ryp-dock {
		display: none !important;
	}

	body.ryp-page.ryp-page--dock .site-footer {
		padding-bottom: 0;
	}
}

@media (max-width: 980px) {
	.ryp-split,
	.ryp-start,
	.ryp-tiers,
	.ryp-steps,
	.ryp-stats__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ryp-hero {
		padding: 3.75rem 0 3.25rem;
	}

	.ryp-section {
		padding: 3.25rem 0;
	}

	.ryp-start__form {
		position: static;
	}
}

@media (max-width: 640px) {
	.ryp-split,
	.ryp-start,
	.ryp-tiers,
	.ryp-steps,
	.ryp-stats__grid,
	.ryp-trust,
	.ryp-form__grid {
		grid-template-columns: 1fr;
	}

	.ryp-hero {
		padding: 3.25rem 0 2.75rem;
	}

	.ryp-hero h1 {
		font-size: 2.05rem;
	}

	.ryp-cta-row .lp-btn {
		flex: 1 1 100%;
		text-align: center;
	}

	.ryp-form {
		padding: 1.25rem 1.05rem 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ryp-tier,
	.ryp .lp-btn,
	.ryp-form input,
	.ryp-form select,
	.ryp-form textarea,
	.ryp-chip span {
		transition: none;
	}

	.ryp-tier:hover,
	.ryp-tier:focus-visible {
		transform: none;
	}
}
