/* Hemp Smart quiz — /hemp-smart/ and homepage hook */

.hemp-smart-hook {
	margin: 1.25rem 0;
}

.hemp-smart-hook__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1rem 1.25rem;
	align-items: center;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	background: linear-gradient(135deg, #0d3b2c 0%, #1a5c42 55%, #2d7a5a 100%);
	color: #f4faf6;
	box-shadow: 0 8px 24px rgba(13, 59, 44, 0.18);
}

.hemp-smart-hook--art .hemp-smart-hook__inner {
	position: relative;
	overflow: hidden;
}

.hemp-smart-hook--art .hemp-smart-hook__inner::after {
	content: "";
	position: absolute;
	right: -10%;
	top: 50%;
	width: min(42%, 180px);
	height: 120%;
	transform: translateY(-50%);
	background-image: var(--hemp-smart-hook-art);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center right;
	opacity: 0.22;
	pointer-events: none;
}

.hemp-smart-hook__badge {
	position: relative;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.hemp-smart-hook__ring {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: conic-gradient(#c9a227 calc(var(--hemp-smart-pct, 50) * 1%), rgba(255, 255, 255, 0.15) 0);
	mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
	animation: hemp-smart-pulse 2.5s ease-in-out infinite;
}

.hemp-smart-hook__score {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
}

.hemp-smart-hook__beat {
	position: absolute;
	left: 50%;
	bottom: -1.35rem;
	transform: translateX(-50%);
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #f5f0e8;
	white-space: nowrap;
}

.hemp-smart-hook__eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	opacity: 0.85;
}

.hemp-smart-hook__headline {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
}

.hemp-smart-hook__meta {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	opacity: 0.9;
}

.hemp-smart-hook__dot {
	margin: 0 0.35rem;
	opacity: 0.5;
}

.hemp-smart-hook__btn {
	display: inline-block;
	padding: 0.65rem 1.1rem;
	border-radius: 8px;
	background: #c9a227;
	color: #1a1a1a;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hemp-smart-hook__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	color: #1a1a1a;
}

@media (max-width: 640px) {
	.hemp-smart-hook__inner {
		grid-template-columns: auto 1fr;
	}
	.hemp-smart-hook__cta {
		grid-column: 1 / -1;
	}
	.hemp-smart-hook__btn {
		display: block;
		text-align: center;
	}
}

/* Full page app */
.hemp-smart {
	max-width: 42rem;
	margin: 0 auto 3rem;
	padding: 0 1rem;
	font-family: inherit;
}

.hemp-smart-hero {
	text-align: center;
	margin-bottom: 1.75rem;
}

.hemp-smart-hero--visual {
	display: grid;
	gap: 0.75rem;
}

.hemp-smart-hero__tagline-live {
	text-align: center;
	margin: 0;
	font-size: 0.9rem;
	color: #52615a;
}

.hemp-smart-limit-banner {
	margin-bottom: 1rem;
}

.hemp-smart-intro-banner {
	margin: -0.25rem -0.5rem 1rem;
}

/* Image + WordPress text overlay (Pollo assets ship without headlines) */
.hemp-smart-visual {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
}

.hemp-smart-visual__img {
	display: block;
	width: 100%;
	height: auto;
}

.hemp-smart-visual__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1rem 1.1rem;
	background: linear-gradient(180deg, rgba(13, 59, 44, 0.08) 0%, rgba(13, 59, 44, 0.72) 100%);
	pointer-events: none;
	line-height: 1.35;
}

.hemp-smart-visual--hero .hemp-smart-visual__overlay {
	justify-content: flex-end;
	align-items: flex-start;
	text-align: left;
	padding: 1.25rem 1.35rem;
	background: linear-gradient(180deg, rgba(13, 59, 44, 0.15) 35%, rgba(13, 59, 44, 0.82) 100%);
}

.hemp-smart-visual--hero .hemp-smart-visual__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 3.5vw, 1.85rem);
	font-weight: 800;
	color: #f5f0e8;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hemp-smart-visual--hero .hemp-smart-visual__sub {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #f4faf6;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hemp-smart-visual--intro .hemp-smart-visual__overlay {
	justify-content: flex-end;
	align-items: flex-start;
	background: linear-gradient(180deg, transparent 40%, rgba(13, 59, 44, 0.75) 100%);
}

.hemp-smart-visual--intro .hemp-smart-visual__title {
	margin: 0;
	color: #f5f0e8;
	font-size: 1.35rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hemp-smart-visual--result .hemp-smart-visual__overlay {
	justify-content: center;
	align-items: center;
	text-align: center;
	background: linear-gradient(180deg, rgba(13, 59, 44, 0.2) 0%, rgba(13, 59, 44, 0.55) 100%);
}

.hemp-smart-visual__score {
	display: block;
	font-size: 2.25rem;
	font-weight: 800;
	color: #f5f0e8;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hemp-smart-visual__tier {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #c9a227;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.hemp-smart-visual--share .hemp-smart-visual__overlay {
	justify-content: center;
	align-items: center;
	text-align: center;
	background: linear-gradient(180deg, rgba(13, 59, 44, 0.25) 0%, rgba(13, 59, 44, 0.7) 100%);
}

.hemp-smart-visual__share {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #f5f0e8;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	max-width: 18rem;
}

.hemp-smart-visual--lb .hemp-smart-visual__overlay--lb {
	justify-content: center;
	align-items: center;
	background: linear-gradient(180deg, transparent 30%, rgba(13, 59, 44, 0.65) 100%);
}

.hemp-smart-visual__lb-title {
	font-size: 1rem;
	font-weight: 700;
	color: #f5f0e8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hemp-smart-visual--limit .hemp-smart-visual__overlay {
	justify-content: center;
	align-items: center;
	text-align: center;
}

.hemp-smart-visual--limit .hemp-smart-visual__title {
	display: block;
	font-size: 1.15rem;
	color: #f5f0e8;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hemp-smart-visual--limit .hemp-smart-visual__sub {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	color: #f4faf6;
}

.hemp-smart-visual--empty {
	max-width: 220px;
}

.hemp-smart-visual--empty .hemp-smart-visual__overlay {
	justify-content: flex-end;
	align-items: center;
	text-align: center;
	padding-bottom: 0.85rem;
}

.hemp-smart-visual--empty .hemp-smart-visual__title {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	color: #f5f0e8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hemp-smart-share {
	margin-bottom: 1.25rem;
	text-align: center;
}

.hemp-smart-share .hemp-smart-btn {
	margin-top: 0.65rem;
}

.hemp-smart-result-ring.has-celebration-visual .hemp-smart-result-score,
.hemp-smart-result-ring.has-celebration-visual .hemp-smart-result-level,
.hemp-smart-result-ring.has-celebration-visual [data-smart-result-badge-wrap] {
	display: none !important;
}

.hemp-smart-visual--badge {
	width: 96px;
	margin: 0 auto 0.75rem;
}

.hemp-smart-visual--badge .hemp-smart-visual__img {
	width: 96px;
	height: 96px;
	object-fit: contain;
}

.hemp-smart-visual__overlay--badge {
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 0.35rem;
}

.hemp-smart-visual--badge .hemp-smart-visual__tier {
	font-size: 0.55rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #f5f0e8;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hemp-smart-mystery__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.hemp-smart-mystery__head h3 {
	margin: 0;
}

.hemp-smart-mystery__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 8px;
}

.hemp-smart-hero__media {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 32px rgba(13, 59, 44, 0.14);
	line-height: 0;
}

.hemp-smart-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
}

.hemp-smart-hero__copy {
	padding: 0 0.25rem;
}

.hemp-smart-panel--art {
	position: relative;
	overflow: hidden;
}

.hemp-smart-panel--art::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--hemp-smart-panel-art);
	background-size: cover;
	background-position: center;
	opacity: 0.1;
	pointer-events: none;
}

.hemp-smart-panel--art > * {
	position: relative;
	z-index: 1;
}

.hemp-smart-hero__eyebrow {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #1a5c42;
	margin: 0 0 0.5rem;
}

.hemp-smart-hero__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	color: #0d3b2c;
}

.hemp-smart-hero__sub {
	margin: 0 auto 1rem;
	max-width: 36rem;
	color: #4a5c54;
	line-height: 1.5;
}

.hemp-smart-hero__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.25rem;
}

.hemp-smart-stat {
	font-size: 0.875rem;
	color: #52615a;
}

.hemp-smart-stat strong {
	color: #0d3b2c;
	font-size: 1.1rem;
}

.hemp-smart-panel {
	background: #fff;
	border: 1px solid #d9e2dc;
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 4px 20px rgba(13, 59, 44, 0.06);
}

.hemp-smart-panel--hidden[hidden] {
	display: none !important;
}

.hemp-smart-form label {
	display: block;
	margin-bottom: 0.85rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1f2933;
}

.hemp-smart-form input[type="text"],
.hemp-smart-form select {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid #b8c7bf;
	border-radius: 8px;
	font-size: 1rem;
}

.hemp-smart-check {
	display: flex !important;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 500 !important;
}

.hemp-smart-check input {
	margin-top: 0.2rem;
}

.hemp-smart-intro-note {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: #4a5c54;
	line-height: 1.45;
}

.hemp-smart-intro-note--signed-in {
	color: #0d5c3a;
	font-weight: 600;
}

.hemp-smart-intro-note--resume {
	color: #0d5c3a;
	font-weight: 600;
	background: #e8f4ec;
	border-radius: 8px;
	padding: 0.65rem 0.85rem;
}

.hemp-smart-intro-steps {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	color: #52615a;
	font-weight: 600;
}

.hemp-smart-fieldset {
	border: 1px solid #d9e2dc;
	border-radius: 10px;
	padding: 0.85rem 1rem 0.65rem;
	margin: 0 0 0.85rem;
}

.hemp-smart-fieldset legend {
	padding: 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #0d3b2c;
}

.hemp-smart-radio {
	display: flex !important;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 500 !important;
	margin-bottom: 0.45rem;
}

.hemp-smart-radio input {
	margin-top: 0.2rem;
}

.hemp-smart-play-modes .hemp-smart-radio {
	margin-bottom: 0.55rem;
}

.hemp-smart-intro-panel {
	margin-top: 0.5rem;
}

.hemp-smart-actions--stack {
	flex-direction: column;
	align-items: stretch;
}

.hemp-smart-actions--stack .hemp-smart-btn {
	text-align: center;
	text-decoration: none;
}

.hemp-smart-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.hemp-smart-btn {
	padding: 0.65rem 1.25rem;
	border-radius: 8px;
	border: none;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s, transform 0.15s;
}

.hemp-smart-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.hemp-smart-btn--primary {
	background: #0d5c3a;
	color: #fff;
}

.hemp-smart-btn--primary:not(:disabled):hover {
	background: #0d3b2c;
	transform: translateY(-1px);
}

.hemp-smart-btn--ghost {
	background: transparent;
	color: #0d5c3a;
	border: 1px solid #b8c7bf;
}

.hemp-smart-progress {
	display: flex;
	gap: 6px;
	margin-bottom: 1rem;
}

.hemp-smart-progress span {
	flex: 1;
	height: 6px;
	border-radius: 3px;
	background: #e8f4ec;
	transition: background 0.2s;
}

.hemp-smart-progress span.is-done {
	background: #0d5c3a;
}

.hemp-smart-progress span.is-current {
	background: #c9a227;
}

.hemp-smart-qmeta {
	font-size: 0.8rem;
	color: #52615a;
	margin: 0 0 0.75rem;
}

.hemp-smart-prompt {
	font-size: 1.2rem;
	line-height: 1.45;
	color: #1f2933;
	margin: 0 0 1rem;
}

.hemp-smart-select-hint {
	font-size: 0.85rem;
	color: #1a5c42;
	margin: -0.5rem 0 0.75rem;
}

.hemp-smart-choices {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.hemp-smart .hemp-smart-choice,
button.hemp-smart-choice {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.85rem 1rem;
	border: 2px solid #8aa396;
	border-radius: 10px;
	background: #ffffff;
	color: #14261c !important;
	-webkit-text-fill-color: #14261c;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.45;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: 0 1px 2px rgba(13, 59, 44, 0.06);
	transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.hemp-smart-choice:hover,
.hemp-smart-choice:focus-visible {
	border-color: #0d5c3a;
	background: #eef7f1 !important;
	color: #0d3b2c !important;
	-webkit-text-fill-color: #0d3b2c;
	box-shadow: 0 2px 8px rgba(13, 92, 58, 0.12);
	outline: none;
}

.hemp-smart-choice.is-selected {
	border-color: #0d5c3a;
	background: #e8f4ec !important;
	color: #0d3b2c !important;
	-webkit-text-fill-color: #0d3b2c;
	font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(13, 92, 58, 0.15);
}

.hemp-smart-choice.is-locked {
	pointer-events: none;
	opacity: 0.92;
}

.hemp-smart-result-ring {
	text-align: center;
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-radius: 14px;
	background: linear-gradient(180deg, #e8f4ec 0%, #fff 100%);
}

.hemp-smart-result-ring.is-perfect {
	animation: hemp-smart-confetti 0.6s ease;
	background: linear-gradient(180deg, #fff8e1 0%, #e8f4ec 100%);
}

.hemp-smart-lb-header {
	margin: 0 0 0.75rem;
	line-height: 0;
}

.hemp-smart-lb-header img {
	width: 100%;
	max-width: 320px;
	height: auto;
	border-radius: 8px;
}

.hemp-smart-result-score {
	display: block;
	font-size: 2.5rem;
	font-weight: 800;
	color: #0d3b2c;
}

.hemp-smart-result-level {
	display: inline-block;
	margin-top: 0.35rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: #0d5c3a;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hemp-smart-result-headline {
	text-align: center;
	margin: 0 0 0.5rem;
	color: #0d3b2c;
}

.hemp-smart-result-message {
	text-align: center;
	color: #4a5c54;
	margin: 0 0 1.25rem;
}

.hemp-smart-rank {
	background: #f6f8f7;
	border-radius: 10px;
	padding: 1rem;
	margin-bottom: 1.25rem;
	font-size: 0.9rem;
	line-height: 1.55;
}

.hemp-smart-mystery h3,
.hemp-smart-leaderboards h3 {
	font-size: 1rem;
	margin: 0 0 0.5rem;
	color: #0d3b2c;
}

.hemp-smart-mystery-note {
	font-size: 0.85rem;
	color: #52615a;
	margin: 0 0 0.75rem;
}

.hemp-smart-study {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hemp-smart-study li {
	margin-bottom: 0.5rem;
}

.hemp-smart-study a {
	color: #0d5c3a;
	font-weight: 600;
}

.hemp-smart-lb-tabs {
	display: flex;
	gap: 0.35rem;
	margin-bottom: 0.75rem;
}

.hemp-smart-lb-tabs button {
	padding: 0.35rem 0.65rem;
	border: 1px solid #d9e2dc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 0.8rem;
}

.hemp-smart-lb-tabs button.is-active {
	background: #0d5c3a;
	color: #fff;
	border-color: #0d5c3a;
}

.hemp-smart-lb {
	margin: 0;
	padding-left: 1.25rem;
	font-size: 0.875rem;
}

.hemp-smart-lb li {
	margin-bottom: 0.35rem;
}

.hemp-smart-lb-empty {
	list-style: none;
	margin-left: -1.25rem;
	padding-left: 0;
}

.hemp-smart-lb-empty img {
	max-width: 220px;
	height: auto;
	border-radius: 8px;
}

.hemp-smart-panel--limit.hemp-smart-panel--art::before {
	opacity: 0.11;
}

.hemp-smart-toast {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	background: #1f2933;
	color: #fff;
	padding: 0.65rem 1rem;
	border-radius: 8px;
	font-size: 0.875rem;
	z-index: 9999;
	max-width: 90vw;
}

@keyframes hemp-smart-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.85; }
}

@keyframes hemp-smart-confetti {
	0% { transform: scale(0.96); }
	50% { transform: scale(1.02); }
	100% { transform: scale(1); }
}
