.rk-membership {
	--rk-green: #009b3a;
	--rk-green-dark: #006c2a;
	--rk-green-soft: #eef8f1;
	--rk-ink: #172019;
	--rk-muted: #657067;
	--rk-line: #d8dfda;
	--rk-surface: #ffffff;
	color: var(--rk-ink);
	font-family: inherit;
	margin: 0 auto;
	max-width: 1180px;
}

.rk-form-intro {
	margin-bottom: 2rem;
	text-align: center;
}

.rk-form-intro h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.03em;
	margin: 0.25rem 0 0.75rem;
}

.rk-form-intro p {
	color: var(--rk-muted);
	margin: 0;
}

.rk-form-intro .rk-eyebrow {
	color: var(--rk-green-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rk-membership-form {
	display: grid;
	gap: 1.15rem;
}

.rk-section {
	background: var(--rk-surface);
	border: 1px solid var(--rk-line);
	border-radius: 14px;
	margin: 0;
	min-width: 0;
	padding: clamp(1rem, 2vw, 1.5rem);
}

.rk-section legend {
	background: var(--rk-surface);
	color: var(--rk-green-dark);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 0 0.45rem;
	text-transform: uppercase;
}

.rk-section legend > span {
	align-items: center;
	background: var(--rk-green);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 0.78rem;
	height: 1.6rem;
	justify-content: center;
	margin-right: 0.4rem;
	width: 1.6rem;
}

.rk-section legend small {
	color: var(--rk-muted);
	font-size: 0.72rem;
	font-weight: 500;
	margin-left: 0.55rem;
	text-transform: none;
}

.rk-grid {
	display: grid;
	gap: 0.9rem 1rem;
}

.rk-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rk-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rk-span-2 {
	grid-column: span 2;
}

.rk-span-3 {
	grid-column: span 3;
}

.rk-span-4 {
	grid-column: 1 / -1;
}

.rk-field,
.rk-field-group {
	display: grid;
	font-size: 0.84rem;
	font-weight: 650;
	gap: 0.35rem;
	margin: 0;
}

.rk-field input,
.rk-field select,
.rk-field textarea,
.rk-member-number input {
	background: #fff;
	border: 1px solid #bdc8c0;
	border-radius: 7px;
	box-sizing: border-box;
	color: var(--rk-ink);
	font: inherit;
	font-weight: 400;
	min-height: 42px;
	padding: 0.58rem 0.7rem;
	width: 100%;
}

.rk-field textarea {
	min-height: 78px;
	resize: vertical;
}

.rk-field input:focus,
.rk-field select:focus,
.rk-field textarea:focus,
.rk-member-number input:focus,
.rk-membership input[type="checkbox"]:focus-visible,
.rk-membership input[type="radio"]:focus-visible {
	border-color: var(--rk-green);
	box-shadow: 0 0 0 3px rgba(0, 155, 58, 0.16);
	outline: none;
}

.rk-inline-options {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

.rk-inline-options > label,
.rk-declarations label,
.rk-consent-row label,
.rk-privacy-ack {
	align-items: flex-start;
	display: inline-flex;
	gap: 0.5rem;
}

.rk-membership input[type="checkbox"],
.rk-membership input[type="radio"] {
	accent-color: var(--rk-green);
	flex: 0 0 auto;
	height: 1.1rem;
	margin: 0.05rem 0 0;
	width: 1.1rem;
}

.rk-member-number {
	align-items: center;
	display: grid;
	gap: 0.45rem;
	grid-template-columns: auto minmax(120px, 220px);
	margin-left: auto;
}

.rk-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.rk-price-table {
	border-collapse: collapse;
	font-size: 0.78rem;
	margin: 0;
	min-width: 700px;
	width: 100%;
}

.rk-price-table th,
.rk-price-table td {
	border-bottom: 1px solid var(--rk-line);
	padding: 0.65rem 0.55rem;
	text-align: center;
	vertical-align: middle;
}

.rk-price-table thead th {
	background: var(--rk-green-soft);
	color: var(--rk-green-dark);
	font-weight: 800;
}

.rk-price-table tbody th {
	font-weight: 650;
	text-align: left;
}

.rk-price-table tbody tr:nth-child(even) {
	background: #f8faf8;
}

.rk-price-table .rk-group-divider {
	border-left: 2px solid var(--rk-green);
}

.rk-price-choice {
	align-items: center;
	display: inline-flex;
	gap: 0.4rem;
	justify-content: center;
	white-space: nowrap;
}

.rk-section h3 {
	font-size: 0.88rem;
	margin: 1.25rem 0 0.55rem;
}

.rk-note,
.rk-privacy-copy {
	color: var(--rk-muted);
	font-size: 0.78rem;
	line-height: 1.5;
	margin: 0.65rem 0 0;
}

.rk-highlight-note {
	background: var(--rk-green-soft);
	border-left: 3px solid var(--rk-green);
	border-radius: 5px;
	font-size: 0.82rem;
	margin: 0 0 1rem;
	padding: 0.75rem 0.85rem;
}

.rk-equipment-grid {
	align-items: end;
	display: grid;
	gap: 1rem;
	grid-template-columns: 1.6fr 1fr;
	margin-bottom: 0.9rem;
}

.rk-sizes {
	min-height: 42px;
}

.rk-price-summary {
	background: #f6f8f6;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82rem;
	gap: 0.5rem 1.5rem;
	margin-top: 1rem;
	padding: 0.8rem 0.9rem;
}

.rk-declarations {
	display: grid;
	font-size: 0.82rem;
	gap: 0.75rem;
}

.rk-consent-row {
	align-items: center;
	background: #f7f9f7;
	border-radius: 7px;
	display: grid;
	font-size: 0.82rem;
	gap: 0.75rem;
	grid-template-columns: 1fr auto auto;
	margin-top: 0.75rem;
	padding: 0.8rem 0.9rem;
}

.rk-privacy-ack {
	font-size: 0.82rem;
	font-weight: 650;
	margin-top: 1rem;
}

.rk-submit-row {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.35rem 0 0;
}

.rk-submit-row p {
	color: var(--rk-muted);
	font-size: 0.82rem;
	margin: 0;
}

.rk-submit-button {
	background: var(--rk-green);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	padding: 0.85rem 1.5rem;
	transition: background-color 160ms ease, transform 160ms ease;
}

.rk-submit-button:hover {
	background: var(--rk-green-dark);
	transform: translateY(-1px);
}

.rk-submit-button:disabled {
	cursor: wait;
	opacity: 0.65;
	transform: none;
}

.rk-form-message {
	border-radius: 8px;
	display: none;
	font-size: 0.9rem;
	font-weight: 650;
	margin-bottom: 1rem;
	padding: 0.85rem 1rem;
}

.rk-form-message.is-visible {
	display: block;
}

.rk-form-message.is-success {
	background: #e7f7ec;
	color: #075c27;
}

.rk-form-message.is-error {
	background: #fff0f0;
	color: #982424;
}

.rk-honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

@media (max-width: 900px) {
	.rk-grid-4,
	.rk-grid-3,
	.rk-equipment-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rk-span-3,
	.rk-span-4 {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.rk-section {
		border-radius: 10px;
		padding: 1rem 0.8rem;
	}

	.rk-section legend {
		font-size: 0.88rem;
	}

	.rk-section legend small {
		display: block;
		margin: 0.35rem 0 0 2.1rem;
	}

	.rk-grid-4,
	.rk-grid-3,
	.rk-equipment-grid {
		grid-template-columns: 1fr;
	}

	.rk-span-2,
	.rk-span-3,
	.rk-span-4 {
		grid-column: auto;
	}

	.rk-registration-type .rk-inline-options,
	.rk-submit-row {
		align-items: stretch;
		flex-direction: column;
	}

	.rk-member-number {
		grid-template-columns: 1fr;
		margin-left: 0;
	}

	.rk-consent-row {
		grid-template-columns: 1fr auto auto;
	}

	.rk-consent-row > span {
		grid-column: 1 / -1;
	}

	.rk-submit-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rk-submit-button {
		transition: none;
	}
}
