.ra-mem-dash,
.ra-mem-pricing-wrap {
	--ra-m-card: #ffffff;
	--ra-m-surf: #f8fafc;
	--ra-m-border: #e2e8f0;
	--ra-m-text: #0f172a;
	--ra-m-muted: #64748b;
	--ra-m-accent: #3b4fe4;
	--ra-m-gold: #FFC20E;
	color: var(--ra-m-text);
	max-width: 920px;
}

@media (prefers-color-scheme: dark) {
	.ra-mem-dash,
	.ra-mem-pricing-wrap {
		--ra-m-card: #161b26;
		--ra-m-surf: #1e2534;
		--ra-m-border: #2a3346;
		--ra-m-text: #f1f5f9;
		--ra-m-muted: #94a3b8;
		--ra-m-accent: #3b4fe4;
	}
}

html[data-theme="dark"] .ra-mem-dash,
html[data-theme="dark"] .ra-mem-pricing-wrap,
body.tutor-dark-mode .ra-mem-dash,
body.tutor-dark-mode .ra-mem-pricing-wrap,
.tutor-dashboard-dark .ra-mem-dash,
.tutor-dashboard-dark .ra-mem-pricing-wrap {
	--ra-m-card: #161b26;
	--ra-m-surf: #1e2534;
	--ra-m-border: #2a3346;
	--ra-m-text: #f1f5f9;
	--ra-m-muted: #94a3b8;
	--ra-m-accent: #3b4fe4;
}

.ra-mem-status-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--ra-m-card);
	border: 1px solid var(--ra-m-border);
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 26px;
}

.ra-mem-status-card.is-active {
	border-color: var(--ra-m-gold);
}

.ra-mem-status-pill {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ra-m-surf);
	border: 1px solid var(--ra-m-border);
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 8px;
}

.ra-mem-status-card.is-active .ra-mem-status-pill {
	background: rgba(255, 194, 14, 0.16);
	border-color: var(--ra-m-gold);
	color: var(--ra-m-gold);
}

.ra-mem-status-title {
	margin: 0 0 4px;
	font-size: 19px;
	font-weight: 800;
	color: var(--ra-m-text);
}

.ra-mem-status-sub {
	margin: 0;
	font-size: 13.5px;
	color: var(--ra-m-muted);
}

.ra-mem-status-right {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ra-mem-mentor-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	background: var(--ra-m-gold);
	color: #050505 !important;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.ra-mem-wa-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	background: #16a34a;
	color: #ffffff !important;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.ra-mem-hero {
	text-align: center;
	margin-bottom: 28px;
}

.ra-mem-eyebrow {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--ra-m-accent);
	margin-bottom: 8px;
}

.ra-mem-heading {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--ra-m-text);
}

.ra-mem-subheading {
	margin: 0 auto;
	max-width: 560px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ra-m-muted);
}

.ra-mem-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 24px;
	padding-top: 10px;
}

.ra-mem-card {
	position: relative;
	background: var(--ra-m-card);
	border: 1px solid var(--ra-m-border);
	border-radius: 12px;
	padding: 26px 22px 22px;
	display: flex;
	flex-direction: column;
}

.ra-mem-card.is-popular {
	border: 1.5px solid var(--ra-m-accent);
}

.ra-mem-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ra-m-accent);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.ra-mem-tier-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--ra-m-text);
	margin-bottom: 4px;
}

.ra-mem-sub {
	font-size: 13px;
	color: var(--ra-m-muted);
	margin-bottom: 16px;
}

.ra-mem-price-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.ra-mem-price {
	font-size: 28px;
	font-weight: 800;
	color: var(--ra-m-text);
	letter-spacing: -0.02em;
}

.ra-mem-unit {
	font-size: 13px;
	color: var(--ra-m-muted);
}

.ra-mem-divider {
	height: 1px;
	background: var(--ra-m-border);
	margin: 18px 0;
}

.ra-mem-perks {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	font-size: 13.5px;
	color: var(--ra-m-text);
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1;
}

.ra-mem-perks li::before {
	content: "✓ ";
	color: var(--ra-m-accent);
	font-weight: 800;
	margin-right: 4px;
}

.ra-mem-btn {
	display: block;
	text-align: center;
	padding: 11px 16px;
	border-radius: 8px;
	background: transparent;
	border: 1px solid var(--ra-m-border);
	color: var(--ra-m-text) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ra-mem-btn:hover {
	border-color: var(--ra-m-accent);
}

.ra-mem-btn.is-primary {
	background: var(--ra-m-accent);
	border-color: var(--ra-m-accent);
	color: #ffffff !important;
	font-weight: 700;
}

.ra-mem-btn.is-primary:hover {
	opacity: 0.92;
}

.ra-mem-more {
	margin-bottom: 24px;
}

.ra-mem-more-title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--ra-m-text);
}

.ra-mem-trial-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: var(--ra-m-card);
	border: 1px solid var(--ra-m-border);
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 14px;
}

.ra-mem-trial-card span {
	display: block;
	font-size: 12.5px;
	color: var(--ra-m-muted);
}

.ra-mem-trial-right {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ra-mem-trial-link {
	font-weight: 700;
	color: var(--ra-m-accent);
	text-decoration: none;
}

.ra-mem-faq-title {
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 12px;
	color: var(--ra-m-text);
}

.ra-mem-faq-item {
	background: var(--ra-m-card);
	border: 1px solid var(--ra-m-border);
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 8px;
}

.ra-mem-faq-item summary {
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	color: var(--ra-m-text);
}

.ra-mem-faq-item p {
	margin: 8px 0 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--ra-m-muted);
}

@media (max-width: 768px) {
	.ra-mem-grid {
		grid-template-columns: 1fr;
	}
}
