/*
 * Reality Revision landing / thank-you page.
 * Styled to match "The Reality Audit" PDF: black cover pages, white inner pages,
 * gold accents, Cairo headings, Manrope labels, Merriweather body text, blue call-to-action.
 */
:root {
	--rr-black: #000;
	--rr-ink: #161616;
	--rr-ink-soft: #5c5c5c;
	--rr-white: #fff;
	--rr-on-dark: #eaf2fa;
	--rr-on-dark-muted: #a8b3c2;
	--rr-gold: #b8860b;
	--rr-gold-light: #d0b060;
	--rr-cream: #fbf8f3;
	--rr-cream-line: #e6d7b0;
	--rr-blue: #2c41dd;
	--rr-font-head: "Cairo", "Segoe UI", Arial, sans-serif;
	--rr-font-label: "Manrope", "Segoe UI", Arial, sans-serif;
	--rr-font-body: "Merriweather", Georgia, "Times New Roman", serif;
}

body.rr-page {
	margin: 0;
	background: var(--rr-black);
	color: var(--rr-on-dark);
	font-family: var(--rr-font-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

body.rr-page img {
	max-width: 100%;
	height: auto;
}

/* ---------- Brand header (logo + wordmark, like the PDF cover) ---------- */
.rr-brand {
	padding: 40px 16px 0;
	text-align: center;
}

.rr-brand a {
	display: inline-block;
	text-decoration: none;
}

.rr-brand img {
	display: block;
	width: 96px;
	margin: 0 auto 12px;
}

.rr-brand span {
	font-family: var(--rr-font-label);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.24em;
	color: var(--rr-white);
}

/* ---------- Sections ---------- */
.rr-landing .rr-section {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px 16px;
	box-sizing: border-box;
}

.rr-landing .rr-hero {
	max-width: 1320px;
	padding-top: 40px;
}

/* White "inner page" band, like pages 2-7 of the PDF. */
.rr-landing .rr-light {
	max-width: none;
	background: var(--rr-white);
	color: var(--rr-ink);
	text-align: center;
}

.rr-landing .rr-light > * {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.rr-landing .rr-close {
	text-align: center;
}

/* ---------- Type ---------- */
.rr-landing h1,
.rr-landing h2,
.rr-landing h3 {
	font-family: var(--rr-font-head);
	font-weight: 700;
	color: var(--rr-white);
	letter-spacing: -0.01em;
}

.rr-landing h1 {
	margin: 0 0 8px;
	font-size: clamp(2.6rem, 8vw, 4rem);
	line-height: 1.05;
}

.rr-landing h2 {
	margin: 0 0 20px;
	font-size: clamp(1.6rem, 5vw, 2.2rem);
	line-height: 1.2;
}

.rr-landing h3 {
	margin: 0 0 6px;
	font-size: 1.25rem;
	line-height: 1.3;
}

.rr-landing .rr-light h2,
.rr-landing .rr-light h3 {
	color: var(--rr-ink);
}

.rr-landing p {
	margin: 0 0 16px;
}

.rr-landing .rr-eyebrow {
	margin: 0 auto 12px;
	font-family: var(--rr-font-label);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--rr-gold);
}

.rr-landing .rr-subtitle {
	margin-bottom: 24px;
	font-style: italic;
	font-size: clamp(1.15rem, 3.4vw, 1.4rem);
	line-height: 1.5;
	color: var(--rr-white);
}

.rr-landing .rr-small {
	font-size: 14px;
	font-style: italic;
	color: var(--rr-on-dark-muted);
}

.rr-landing .rr-light .rr-small {
	color: var(--rr-ink-soft);
}

.rr-landing .rr-rule {
	width: 120px;
	margin: 0 auto 28px;
	border: 0;
	border-top: 1px solid var(--rr-cream-line);
}

.rr-landing a {
	color: inherit;
}

/* ---------- Hero layout: text + form left, cover art right ---------- */
.rr-landing .rr-hero .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
	margin: 0;
}

.rr-landing .rr-hero .wp-block-column {
	flex: 1 1 380px;
	min-width: 0;
}

/* Cover art gets ~1.5x the text column's width; text stays at a comfortable measure. */
.rr-landing .rr-hero .wp-block-column:last-child {
	flex-grow: 1.55;
}

/* Side-by-side layout: top-align the columns and drop the cover so its top edge
   lines up with the H1 (eyebrow line 12px x 1.75 line-height + 12px margin). */
@media (min-width: 840px) {
	.rr-landing .rr-hero .wp-block-columns {
		align-items: flex-start;
	}

	.rr-landing .rr-hero .wp-block-column {
		align-self: flex-start;
	}

	.rr-landing .rr-hero .rr-cover {
		margin-top: 35px;
	}
}

.rr-landing .rr-cover {
	margin: 0;
}

.rr-landing .rr-cover img {
	display: block;
	width: 100%;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.35), 0 24px 60px rgba(184, 134, 11, 0.12);
}

.rr-landing .rr-cover figcaption {
	margin-top: 12px;
	font-size: 14px;
	font-style: italic;
	text-align: center;
	color: var(--rr-on-dark-muted);
}

/* ---------- Part cards (cream boxes with a gold line, like page 2) ---------- */
.rr-landing .rr-card {
	margin: 0 auto 16px;
	padding: 22px 24px;
	background: var(--rr-cream);
	border: 1px solid var(--rr-cream-line);
	border-radius: 4px;
	text-align: center;
}

.rr-landing .rr-card .rr-eyebrow {
	margin-bottom: 6px;
	font-size: 11px;
}

.rr-landing .rr-card p:last-child {
	margin-bottom: 0;
}

/* ---------- Big call-to-action button (blue, like page 8) ---------- */
.rr-landing .rr-cta .wp-block-button__link,
.rr-landing a.rr-cta-link {
	display: inline-block;
	padding: 15px 32px;
	font-family: var(--rr-font-label);
	font-weight: 700;
	font-size: 16px;
	color: var(--rr-white);
	background: var(--rr-blue);
	border-radius: 2px;
	text-decoration: none;
}

.rr-landing .rr-cta {
	justify-content: center;
	margin: 8px 0 24px;
}

.rr-landing .rr-cta .wp-block-button__link:hover,
.rr-landing .rr-cta .wp-block-button__link:focus-visible {
	background: #2335b8;
}

/* ---------- Footer ---------- */
.rr-footer {
	padding: 40px 16px 48px;
	font-family: var(--rr-font-label);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rr-on-dark-muted);
	text-align: center;
	border-top: 1px solid rgba(184, 134, 11, 0.25);
}

.rr-footer p {
	margin: 0;
}

.rr-footer a {
	color: var(--rr-on-dark);
	text-decoration: none;
}

.rr-footer a:hover {
	color: var(--rr-gold-light);
}

/* Thank-you page: single centered column. */
.rr-landing .rr-hero.rr-center {
	max-width: 720px;
	text-align: center;
}

@media (max-width: 600px) {
	body.rr-page {
		font-size: 16px;
	}

	.rr-landing .rr-section {
		padding: 56px 16px;
	}

	.rr-landing .rr-hero {
		padding-top: 28px;
	}
}

/* Keep labels centered inside the centered bands (some themes force left-aligned paragraphs). */
.rr-landing .rr-light p,
.rr-landing .rr-close p,
.rr-landing .rr-center p {
	text-align: center;
}
