:root {
	--rci-teal: #2a9dad;
	--rci-teal-dark: #1f7f8c;
	--rci-ink: #1a2a2e;
	--rci-paper: #f7f4ef;
	--rci-surface: #ffffff;
	--rci-muted: #5c6b70;
	--rci-line: #e2ddd4;
	--rci-accent-soft: #d4eef1;
	--rci-radius: 12px;
	--rci-shadow: 0 8px 28px rgba(26, 42, 46, 0.08);
	--rci-font-display: "Fraunces", Georgia, serif;
	--rci-font-body: "Source Sans 3", "Segoe UI", sans-serif;
	--rci-max: 640px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--rci-font-body);
	font-size: 1.125rem;
	line-height: 1.55;
	color: var(--rci-ink);
	background:
		radial-gradient(ellipse 120% 80% at 10% -20%, rgba(42, 157, 173, 0.14), transparent 55%),
		radial-gradient(ellipse 90% 60% at 100% 0%, rgba(212, 180, 140, 0.18), transparent 50%),
		var(--rci-paper);
	min-height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

a {
	color: var(--rci-teal-dark);
}

a:hover {
	color: var(--rci-teal);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(247, 244, 239, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--rci-line);
}

.site-brand {
	display: block;
	max-width: var(--rci-max);
	margin: 0 auto;
	padding: 0.85rem 1.1rem;
	font-family: var(--rci-font-display);
	font-size: clamp(1.05rem, 4.2vw, 1.35rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	text-align: center;
	text-decoration: none;
	color: var(--rci-ink);
}

.site-brand:hover {
	color: var(--rci-teal-dark);
	text-decoration: none;
}

#main {
	flex: 1 0 auto;
	width: 100%;
	max-width: var(--rci-max);
	margin: 0 auto;
	padding: 1.25rem 1.1rem 2.5rem;
}

.panel {
	background: var(--rci-surface);
	border: 1px solid var(--rci-line);
	border-radius: var(--rci-radius);
	box-shadow: var(--rci-shadow);
	padding: 1.35rem 1.2rem 1.6rem;
}

.hero {
	text-align: center;
	padding: 1.5rem 0 0.5rem;
}

.hero-brand {
	font-family: var(--rci-font-display);
	font-size: clamp(1.85rem, 7vw, 2.6rem);
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 0 0 0.75rem;
	color: var(--rci-ink);
}

.hero-lead {
	margin: 0 auto 1.5rem;
	max-width: 28rem;
	color: var(--rci-muted);
	font-size: 1.05rem;
}

.hero-nod {
	margin: 1.25rem 0 0;
	font-size: 0.85rem;
	color: var(--rci-muted);
}

.section-title {
	font-family: var(--rci-font-display);
	font-size: 1.35rem;
	font-weight: 600;
	margin: 2rem 0 0.75rem;
}

.muted {
	color: var(--rci-muted);
	font-size: 0.95rem;
}

.btn {
	display: inline-block;
	font-family: var(--rci-font-body);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	padding: 0.85rem 1.6rem;
	transition: background 0.15s ease, transform 0.15s ease;
}

.btn:active {
	transform: scale(0.98);
}

.btn-primary {
	background: var(--rci-teal);
	color: #fff;
}

.btn-primary:hover {
	background: var(--rci-teal-dark);
	color: #fff;
	text-decoration: none;
}

.btn-block {
	display: block;
	width: 100%;
}

.btn-share {
	color: #fff;
	border-radius: 10px;
	padding: 0.75rem 1rem;
}

.btn-share:hover {
	color: #fff;
	opacity: 0.92;
	text-decoration: none;
}

.btn-share.facebook { background: #3b5998; }
.btn-share.whatsapp { background: #25d366; }
.btn-share.twitter { background: #111; }
.btn-share.native { background: var(--rci-teal); }
.btn-share.copy { background: var(--rci-ink); }

.cta-wrap {
	text-align: center;
	margin: 1.5rem 0;
}

.form-group {
	margin-bottom: 1.15rem;
}

.form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.form-control {
	display: block;
	width: 100%;
	font: inherit;
	color: var(--rci-ink);
	background: #fff;
	border: 1px solid var(--rci-line);
	border-radius: 10px;
	padding: 0.75rem 0.9rem;
	appearance: none;
}

.form-control:focus {
	outline: 2px solid var(--rci-teal);
	outline-offset: 1px;
	border-color: var(--rci-teal);
}

.progress-wrap {
	margin-bottom: 1.25rem;
}

.progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.9rem;
	color: var(--rci-muted);
	margin-bottom: 0.4rem;
}

.progress-bar {
	height: 6px;
	background: var(--rci-line);
	border-radius: 999px;
	overflow: hidden;
}

.progress-bar > span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--rci-teal), #4ec4d4);
	border-radius: inherit;
	transition: width 0.25s ease;
}

.item-check {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0 0 0.55rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--rci-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.item-check:has(input:checked) {
	border-color: var(--rci-teal);
	background: var(--rci-accent-soft);
}

.item-check input {
	width: 1.2rem;
	height: 1.2rem;
	margin-top: 0.15rem;
	flex-shrink: 0;
	accent-color: var(--rci-teal);
}

.item-check span {
	flex: 1;
	line-height: 1.35;
}

.likert {
	margin: 0 0 1.75rem;
}

.likert-prompt {
	margin: 0 0 0.65rem;
	font-weight: 600;
}

.likert-ends {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.75rem;
	color: var(--rci-muted);
	margin-bottom: 0.5rem;
}

.likert-ends span {
	flex: 1;
	line-height: 1.25;
}

.likert-ends span:nth-child(2) {
	text-align: center;
}

.likert-ends span:last-child {
	text-align: right;
}

.time-readout {
	font-weight: 700;
	color: var(--rci-teal-dark);
}

.pub {
	text-align: center;
	margin: 1.25rem auto;
	overflow: hidden;
}

.pub ins {
	max-width: 100%;
}

.site-footer {
	flex-shrink: 0;
	width: 100%;
	max-width: var(--rci-max);
	margin: auto auto 0;
	padding: 0.35rem 1.1rem 0.4rem;
	text-align: center;
	font-size: 0.7rem;
	color: var(--rci-muted);
}

.site-footer a {
	color: var(--rci-muted);
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--rci-teal-dark);
}

.site-footer p {
	margin: 0;
}

.result-card {
	text-align: center;
	padding: 1.75rem 1.25rem;
	background: linear-gradient(160deg, var(--rci-teal) 0%, #1f7f8c 100%);
	color: #fff;
	border-radius: var(--rci-radius);
	box-shadow: var(--rci-shadow);
	margin: 0.5rem 0 1.5rem;
}

.result-card .pair {
	font-family: var(--rci-font-display);
	font-size: 1.15rem;
	font-weight: 500;
	opacity: 0.95;
	margin: 0 0 0.35rem;
}

.result-card .label {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.9;
}

.result-card .score {
	font-family: var(--rci-font-display);
	font-size: clamp(3.2rem, 16vw, 4.5rem);
	font-weight: 650;
	line-height: 1;
	margin: 0.5rem 0 0.35rem;
	letter-spacing: -0.03em;
}

.result-card .tag {
	margin: 0;
	font-size: 1rem;
	opacity: 0.92;
}

#shares {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
	display: grid;
	gap: 0.55rem;
}

#shares li a,
#shares li .btn {
	width: 100%;
}

@media (min-width: 480px) {
	#shares {
		grid-template-columns: 1fr 1fr;
	}
}

/* noUiSlider — soft & playful */
.slider-wrap {
	padding: 0.75rem 0.55rem 1rem;
}

.noUi-target {
	background: #ebe6de;
	border: none;
	box-shadow: none;
	height: 8px;
	border-radius: 999px;
}

.noUi-connects {
	border-radius: 999px;
	overflow: hidden;
}

.noUi-connect {
	background: linear-gradient(90deg, #5ec4d0, #2a9dad);
}

.noUi-horizontal .noUi-handle {
	width: 26px;
	height: 26px;
	right: -13px;
	top: -10px;
	border: none;
	border-radius: 50%;
	background: #fff;
	box-shadow:
		0 0 0 3px #2a9dad,
		0 3px 0 rgba(42, 157, 173, 0.25),
		0 6px 14px rgba(26, 42, 46, 0.12);
	cursor: grab;
	outline: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.noUi-handle:before,
.noUi-handle:after {
	display: none !important;
}

.noUi-handle:focus,
.noUi-handle:focus-visible {
	outline: none;
	box-shadow:
		0 0 0 3px #2a9dad,
		0 0 0 6px rgba(42, 157, 173, 0.28),
		0 6px 14px rgba(26, 42, 46, 0.12);
}

.noUi-active {
	cursor: grabbing;
}

.noUi-active .noUi-handle,
.noUi-handle.noUi-active {
	transform: scale(1.12);
	box-shadow:
		0 0 0 3px #1f7f8c,
		0 2px 0 rgba(42, 157, 173, 0.2),
		0 8px 18px rgba(26, 42, 46, 0.16);
}

/* Kill library default hover outline / inset chrome */
.noUi-target:focus,
.noUi-handle:hover {
	outline: none;
}

