.rrcrm {
	--rrcrm-navy: #0D1B2A;
	--rrcrm-gold: #C9A84C;
	--rrcrm-ink: #2D3748;
	--rrcrm-muted: #5f6b7d;
	--rrcrm-line: #cfd4dd;
	--rrcrm-error: #a32020;
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 44px);
	background: #fff;
	color: var(--rrcrm-ink);
	border-top: 4px solid var(--rrcrm-gold);
	box-shadow: 0 1px 0 var(--rrcrm-line), 0 18px 40px -28px rgba(13, 27, 42, 0.45);
	font-family: Arial, sans-serif;
	scroll-margin-top: 96px;
}

.rrcrm__title,
.rrcrm__subtitle {
	font-family: Georgia, serif;
}

.rrcrm__title {
	margin: 0 0 8px;
	color: var(--rrcrm-navy);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
}

.rrcrm__intro {
	margin: 0 0 28px;
	color: var(--rrcrm-muted);
	max-width: 60ch;
	line-height: 1.6;
}

.rrcrm__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.rrcrm__field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rrcrm__field--wide {
	grid-column: 1 / -1;
}

.rrcrm__field label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--rrcrm-navy);
}

.rrcrm__field label span,
.rrcrm__required span {
	color: var(--rrcrm-gold);
}

.rrcrm input,
.rrcrm select,
.rrcrm textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font: inherit;
	font-size: 1rem;
	color: var(--rrcrm-ink);
	background: #fff;
	border: 1px solid var(--rrcrm-line);
	border-radius: 2px;
}

.rrcrm textarea {
	resize: vertical;
	min-height: 120px;
}

.rrcrm input:focus-visible,
.rrcrm select:focus-visible,
.rrcrm textarea:focus-visible,
.rrcrm__button:focus-visible,
.rrcrm__link:focus-visible {
	outline: 3px solid var(--rrcrm-gold);
	outline-offset: 2px;
	border-color: var(--rrcrm-navy);
}

.rrcrm [aria-invalid="true"] {
	border-color: var(--rrcrm-error);
	box-shadow: 0 0 0 1px var(--rrcrm-error);
}

.rrcrm__note {
	font-size: 0.875rem;
	color: var(--rrcrm-muted);
	line-height: 1.5;
}

.rrcrm__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rrcrm__required {
	margin: 14px 0 0;
	font-size: 0.85rem;
	color: var(--rrcrm-muted);
}

.rrcrm__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-top: 22px;
}

.rrcrm__button {
	appearance: none;
	border: 0;
	border-radius: 2px;
	padding: 14px 28px;
	background: var(--rrcrm-navy);
	color: #fff;
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: inset 0 -3px 0 var(--rrcrm-gold);
}

.rrcrm__button:hover {
	background: #1b2b40;
}

.rrcrm__button:disabled {
	opacity: 0.65;
	cursor: wait;
}

.rrcrm__link {
	appearance: none;
	background: none;
	border: 0;
	padding: 4px 0;
	color: var(--rrcrm-navy);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.rrcrm__subtitle {
	margin: 0 0 10px;
	color: var(--rrcrm-navy);
	font-size: 1.35rem;
}

.rrcrm__verify p,
.rrcrm__done p {
	line-height: 1.6;
	max-width: 62ch;
}

.rrcrm__card {
	margin-top: 18px;
	min-height: 60px;
}

.rrcrm__done a {
	color: var(--rrcrm-navy);
	font-weight: 600;
	text-decoration-color: var(--rrcrm-gold);
	text-underline-offset: 3px;
}

.rrcrm__status {
	margin: 16px 0 0;
	color: var(--rrcrm-error);
	font-weight: 600;
}

.rrcrm__status:empty {
	display: none;
}

.rrcrm [hidden] {
	display: none !important;
}

@media (max-width: 640px) {
	.rrcrm__grid {
		grid-template-columns: 1fr;
	}
	.rrcrm__button {
		width: 100%;
	}
}

.rrcrm__button--secondary {
	background: #fff;
	color: var(--rrcrm-navy);
	border: 1px solid var(--rrcrm-navy);
	box-shadow: inset 0 -3px 0 var(--rrcrm-gold);
}

a.rrcrm__button {
	display: inline-block;
	text-decoration: none;
	text-align: center;
}

.rrcrm__next {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 18px;
}

.rrcrm__choice {
	border: 0;
	padding: 0;
	margin: 0;
	gap: 10px;
}

.rrcrm__choice legend {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--rrcrm-navy);
	margin-bottom: 6px;
}

.rrcrm__choice label,
.rrcrm__agree label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 400;
	line-height: 1.5;
	color: var(--rrcrm-ink);
}

.rrcrm__choice input,
.rrcrm__agree input {
	width: auto;
	margin-top: 4px;
	flex: none;
}

.rrcrm__total {
	margin: 18px 0 0;
	font-family: Georgia, serif;
	font-size: 1.15rem;
	color: var(--rrcrm-navy);
}

.rrcrm__total:empty {
	display: none;
}

.rrcrm--thanks {
	text-align: left;
}

/* Inside the existing page cards on rrdefense.us */
.pwm-form-card .rrcrm,
.pwm-org-form-card .rrcrm,
.rrcontact-card .rrcrm {
	max-width: none;
	padding: 0;
	background: transparent;
	border-top: 0;
	box-shadow: none;
}

.pwm-founders-form-card .rrcrm {
	max-width: none;
	border-top: 0;
	box-shadow: none;
}

/* Registration: participants, documents, signatures */
.rrcrm__step {
	margin: 0 0 6px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rrcrm-gold);
}

.rrcrm__participant {
	border: 1px solid var(--rrcrm-line);
	border-left: 4px solid var(--rrcrm-gold);
	padding: 18px 20px 20px;
	margin: 0 0 22px;
}

.rrcrm__participant legend {
	font-family: Georgia, serif;
	font-size: 1.1rem;
	color: var(--rrcrm-navy);
	padding: 0 6px;
}

.rrcrm__kinds {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 4px 0 16px;
}

.rrcrm__kinds label {
	display: flex;
	gap: 8px;
	align-items: center;
	font-weight: 600;
	color: var(--rrcrm-navy);
}

.rrcrm__kinds input,
.rrcrm__choice input[type="radio"] {
	width: auto;
}

.rrcrm__label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--rrcrm-navy);
}

.rrcrm__doc {
	margin: 26px 0 0;
}

.rrcrm__doctext {
	max-height: 320px;
	overflow-y: auto;
	border: 1px solid var(--rrcrm-line);
	background: #faf8f3;
	padding: 16px 20px;
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--rrcrm-ink);
}

.rrcrm__doctext h4 {
	font-family: Georgia, serif;
	font-size: 0.98rem;
	color: var(--rrcrm-navy);
	margin: 18px 0 6px;
}

.rrcrm__doctext h4:first-child {
	margin-top: 0;
}

.rrcrm__doctext ul,
.rrcrm__doctext ol {
	padding-left: 22px;
}

.rrcrm__agree label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.5;
}

.rrcrm__agree input {
	width: auto;
	margin-top: 4px;
	flex: none;
}

.rrcrm__signature {
	font-family: Georgia, serif !important;
	font-size: 1.2rem !important;
	font-style: italic;
}

.rrcrm__survey-q {
	border: 0;
	padding: 0;
	margin: 0 0 24px;
}

.rrcrm__survey-q legend {
	font-weight: 700;
	color: var(--rrcrm-navy);
	margin-bottom: 10px;
	font-size: 1rem;
}

.rrcrm__survey-q label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 6px 0;
	line-height: 1.5;
}

.rrcrm__survey-q input {
	width: auto;
	margin-top: 4px;
	flex: none;
}

.rrcrm__cohort {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-left: 4px solid var(--rrcrm-gold);
	background: #faf6ea;
	font-weight: 600;
	color: var(--rrcrm-navy);
}

.rrcrm__summary {
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--rrcrm-line);
	background: #faf8f3;
}

.rrcrm__summary p {
	margin: 4px 0;
	color: var(--rrcrm-navy);
}

.rrcrm__summary:empty {
	display: none;
}
