/* Registro SaaS ASCENKA */
:root {
	--rg-primary: #282b3e;
	--rg-primary-dark: #022c8d;
	--rg-accent: #022c8d;
	--rg-ink: #1a1d2e;
	--rg-muted: #5c6178;
	--rg-surface: #f3f4f8;
	--rg-card: #FFFFFF;
	--rg-line: #d5d8e4;
	--rg-font: "Manrope", system-ui, sans-serif;
	--rg-display: "Fraunces", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body.rg-body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--rg-font);
	color: var(--rg-ink);
	background:
		radial-gradient(ellipse 70% 50% at 10% 0%, rgba(31,170,110,.16), transparent 55%),
		linear-gradient(180deg, #EAF3EE 0%, var(--rg-surface) 45%);
	-webkit-font-smoothing: antialiased;
}
.rg-wrap {
	width: min(100% - 2rem, 920px);
	margin: 0 auto;
	padding: 1.5rem 0 3rem;
}
.rg-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.rg-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--rg-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--rg-primary);
	text-decoration: none;
}
.rg-brand img {
	height: 36px;
	width: auto;
	display: block;
}
.rg-top a.rg-link {
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--rg-muted);
	text-decoration: none;
}
.rg-top a.rg-link:hover { color: var(--rg-primary); }

.rg-grid {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 1.25rem;
	align-items: start;
}
.rg-card {
	background: var(--rg-card);
	border: 1px solid var(--rg-line);
	border-radius: 20px;
	padding: 1.35rem 1.4rem;
	box-shadow: 0 12px 36px rgba(20,34,28,.06);
}
.rg-card h1 {
	font-family: var(--rg-display);
	font-size: 1.55rem;
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
}
.rg-card h2 {
	font-size: 1rem;
	margin: 0 0 1rem;
	font-weight: 800;
}
.rg-lead {
	margin: 0 0 1.25rem;
	color: var(--rg-muted);
	font-size: 0.95rem;
}
.rg-plan-name {
	font-family: var(--rg-display);
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: var(--rg-primary-dark);
}
.rg-plan-price {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0 0 0.75rem;
}
.rg-plan-price small {
	font-weight: 600;
	color: var(--rg-muted);
	font-size: 0.85rem;
}
.rg-limits {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}
.rg-limits li {
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.55rem 0.7rem;
	background: #f3f4f8;
	border-radius: 10px;
	border: 1px solid var(--rg-line);
}
.rg-badge {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #E8F6EF;
	color: var(--rg-primary-dark);
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}
.rg-note {
	font-size: 0.85rem;
	color: var(--rg-muted);
	margin: 0;
}
.rg-section {
	margin-bottom: 1.35rem;
}
.rg-section:last-of-type { margin-bottom: 0.5rem; }
.rg-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}
.rg-field { display: flex; flex-direction: column; gap: 0.3rem; }
.rg-field.full { grid-column: 1 / -1; }
.rg-field label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--rg-muted);
}
.rg-field input {
	border: 1.5px solid var(--rg-line);
	border-radius: 12px;
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 0.95rem;
	color: var(--rg-ink);
	background: #fff;
}
.rg-field input:focus {
	outline: none;
	border-color: var(--rg-accent);
	box-shadow: 0 0 0 3px rgba(31,170,110,.15);
}
.rg-hint {
	font-size: 0.75rem;
	color: var(--rg-muted);
}
.rg-error {
	background: #FEF2F2;
	border: 1px solid #FECACA;
	color: #991B1B;
	border-radius: 12px;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 1rem;
}
.rg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.25rem;
}
.rg-consent .rg-check {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--rg-ink);
	cursor: pointer;
}
.rg-consent .rg-check input {
	margin-top: 0.2rem;
	width: 1.05rem;
	height: 1.05rem;
	accent-color: var(--rg-primary-dark);
	flex: 0 0 auto;
}
.rg-consent .rg-check a {
	color: var(--rg-primary-dark);
	font-weight: 700;
}
.rg-consent-msg {
	margin: 0 0 0.9rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	font-size: 0.9rem;
	line-height: 1.45;
	font-weight: 600;
}
.rg-consent-msg.is-warn {
	background: #FEF3C7;
	border: 1px solid #F6DE8A;
	color: #78350F;
}
.rg-consent-msg.is-ok {
	background: #e8eefc;
	border: 1px solid #c9d6f5;
	color: #022c8d;
}
.rg-consent-msg a {
	color: inherit;
	font-weight: 800;
}
.rg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.25rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	font-family: inherit;
}
.rg-btn-primary {
	background: var(--rg-primary);
	color: #fff;
}
.rg-btn-primary:hover:not(:disabled) { background: var(--rg-primary-dark); }
.rg-btn-primary:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.rg-btn-ghost {
	background: transparent;
	border-color: var(--rg-line);
	color: var(--rg-ink);
}
.rg-hint-ok { color: var(--rg-primary-dark); font-weight: 700; }
.rg-hint-bad { color: #991B1B; font-weight: 700; }
.rg-ci-alert {
	margin-top: 0.45rem;
	padding: 0.7rem 0.85rem;
	border-radius: 12px;
	background: #FEF3C7;
	border: 1px solid #F6DE8A;
	color: #78350F;
	font-size: 0.84rem;
	line-height: 1.45;
	font-weight: 600;
}
.rg-ci-alert strong { font-weight: 800; }
.rg-success {
	text-align: center;
	max-width: 520px;
	margin: 3rem auto;
}
.rg-success h1 {
	font-family: var(--rg-display);
	font-size: 1.8rem;
	margin: 0 0 0.75rem;
}
.rg-success p { color: var(--rg-muted); line-height: 1.55; }

@media (max-width: 800px) {
	.rg-grid { grid-template-columns: 1fr; }
	.rg-fields { grid-template-columns: 1fr; }
}
