/* ===== Landing page shell ===== */
.rg-landing {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Hero ===== */
.rg-hero {
	background: linear-gradient(160deg, color-mix(in srgb, var(--rg-brand, #2563eb) 14%, #ffffff) 0%, #ffffff 65%);
	padding: 72px 20px 56px;
	text-align: center;
	border-bottom: 1px solid #f1f5f9;
}

.rg-hero-inner {
	max-width: 560px;
	margin: 0 auto;
	animation: rg-fade-in 0.5s ease;
}

.rg-hero-logo {
	width: 84px;
	height: 84px;
	object-fit: contain;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	padding: 8px;
	margin-bottom: 18px;
}

.rg-category-badge {
	display: inline-block;
	background: color-mix(in srgb, var(--rg-brand, #2563eb) 12%, #ffffff);
	color: var(--rg-brand, #2563eb);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.rg-business-name {
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 10px;
	color: #0f172a;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.rg-tagline {
	font-size: 16px;
	color: #64748b;
	margin: 0 0 22px;
	line-height: 1.5;
}

.rg-contact-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
	margin-top: 8px;
}

.rg-contact-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
}

a.rg-contact-item:hover {
	color: var(--rg-brand, #2563eb);
}

.rg-contact-item svg {
	flex-shrink: 0;
	opacity: 0.8;
}

/* ===== Review gate card ===== */
.rg-review-wrap {
	max-width: 480px;
	margin: -28px auto 64px;
	padding: 0 20px;
	position: relative;
}

.rg-review-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 20px 40px rgba(15,23,42,0.1);
	padding: 40px 32px;
	text-align: center;
	animation: rg-fade-in 0.5s ease 0.1s backwards;
}

@keyframes rg-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.rg-prompt {
	color: #334155;
	font-weight: 600;
	margin: 0 0 24px;
	font-size: 16px;
}

.rg-gate-buttons {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* The primary CTA — deliberately much bolder than the secondary link,
   so "leave a review" is the unmistakable default action. */
.rg-btn-primary {
	border: none;
	border-radius: 12px;
	padding: 19px 24px;
	font-size: 16.5px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--rg-brand, #16a34a), color-mix(in srgb, var(--rg-brand, #16a34a) 75%, #000000));
	color: #fff;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--rg-brand, #16a34a) 40%, transparent);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
	animation: rg-pulse 2.6s ease-in-out infinite;
}

.rg-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px color-mix(in srgb, var(--rg-brand, #16a34a) 48%, transparent);
}
.rg-btn-primary:active {
	transform: translateY(0) scale(0.98);
}

@keyframes rg-pulse {
	0%, 100% { box-shadow: 0 8px 20px color-mix(in srgb, var(--rg-brand, #16a34a) 40%, transparent); }
	50% { box-shadow: 0 8px 26px color-mix(in srgb, var(--rg-brand, #16a34a) 60%, transparent); }
}

/* The secondary path — quiet, text-link styled, clearly not the main action. */
.rg-btn-secondary {
	border: none;
	background: none;
	color: #94a3b8;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	padding: 6px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rg-btn-secondary:hover {
	color: #64748b;
}

.rg-btn-submit {
	border: none;
	border-radius: 10px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	background: var(--rg-brand, #2563eb);
	color: #fff;
	width: 100%;
}
.rg-btn-submit:hover {
	opacity: 0.92;
}

.rg-feedback-form {
	text-align: left;
	margin-top: 8px;
	animation: rg-fade-in 0.3s ease;
}

.rg-feedback-intro {
	font-size: 14px;
	color: #6b7280;
	line-height: 1.5;
	margin-bottom: 20px;
}

.rg-feedback-form label {
	display: block;
	font-size: 13px;
	color: #374151;
	font-weight: 600;
	margin-bottom: 16px;
}

.rg-feedback-form input,
.rg-feedback-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1.5px solid #e5e7eb;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 6px;
	box-sizing: border-box;
	font-family: inherit;
	font-weight: 400;
	color: #111827;
	transition: border-color 0.12s ease;
}

.rg-feedback-form input:focus,
.rg-feedback-form textarea:focus {
	outline: none;
	border-color: var(--rg-brand, #2563eb);
}

.rg-message {
	animation: rg-fade-in 0.3s ease;
	color: var(--rg-brand, #16a34a);
	padding-top: 4px;
}

.rg-check-icon {
	margin-bottom: 10px;
}

.rg-message p {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	color: #111827;
}

#rg-feedback-response {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 500;
}

.rg-footer-note {
	text-align: center;
	color: #9ca3af;
	font-size: 13px;
	margin-top: 22px;
}

@media (max-width: 480px) {
	.rg-hero { padding: 56px 16px 48px; }
	.rg-business-name { font-size: 26px; }
	.rg-review-card { padding: 32px 22px; }
}

/* ===== Onboarding form (admin-facing) ===== */
.rg-onboard-form {
	max-width: 460px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rg-onboard-form label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	color: #374151;
	margin-bottom: 4px;
}

.rg-onboard-form input,
.rg-onboard-form select {
	width: 100%;
	max-width: 420px;
	padding: 10px 12px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	margin-bottom: 4px;
	box-sizing: border-box;
	font-size: 14px;
	background: #fff;
	font-family: inherit;
}

.rg-onboard-form input:focus,
.rg-onboard-form select:focus {
	outline: none;
	border-color: #2563eb;
}

.rg-onboard-form button {
	background: #2563eb;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	font-size: 14px;
}
.rg-onboard-form button:hover {
	opacity: 0.92;
}

.rg-field-hint {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #9ca3af;
	margin-top: 4px;
}

.rg-form-error {
	color: #dc2626;
	font-weight: 600;
	background: #fef2f2;
	border: 1px solid #fecaca;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
}

.rg-login-required {
	max-width: 460px;
	background: #f9fafb;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	padding: 24px;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rg-login-required p {
	margin: 0 0 12px;
	color: #374151;
}

.rg-login-link {
	display: inline-block;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	padding: 10px 22px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
}
.rg-login-link:hover {
	opacity: 0.92;
	color: #fff;
}
