:root {
	/* Warm Nepal-inspired palette, 2026-refined */
	--color-primary: #dc143c;          /* Nepal crimson — kept for identity */
	--color-primary-soft: #fb7185;
	--color-primary-deep: #9f1239;     /* used in gradients */
	--color-secondary: #4338ca;        /* deeper indigo (was navy) */
	--color-secondary-soft: #818cf8;
	--color-accent: #f59e0b;           /* saffron warmth */
	--color-accent-soft: #fcd34d;
	--color-emerald: #047857;
	--color-bg: #fbf7f0;               /* slightly warmer cream */
	--color-bg-deep: #f5ede0;
	--color-card: #ffffff;
	--color-card-tinted: #fffaf3;
	--color-text: #0f172a;             /* deeper for contrast */
	--color-muted: #64748b;
	--color-success: #047857;
	--color-warning: #d97706;
	--color-border: #ecdfcf;           /* warm beige border */
	--color-border-strong: #d6c9b5;

	--shadow-soft:           0 18px 40px rgba(31, 41, 55, 0.07), 0 2px 4px rgba(31, 41, 55, 0.04);
	--shadow-hover:          0 28px 64px rgba(67, 56, 202, 0.18), 0 4px 8px rgba(31, 41, 55, 0.05);
	--shadow-glow-primary:   0 22px 52px rgba(220, 20, 60, 0.28), 0 0 0 1px rgba(220, 20, 60, 0.12);
	--shadow-glow-accent:    0 22px 52px rgba(245, 158, 11, 0.22);
	--shadow-layered:        0 0 0 1px rgba(15, 23, 42, 0.04),
	                         0 1px 3px rgba(15, 23, 42, 0.06),
	                         0 8px 24px rgba(15, 23, 42, 0.08),
	                         0 24px 56px rgba(67, 56, 202, 0.08);

	--gradient-brand:        linear-gradient(135deg, #dc143c 0%, #9f1239 40%, #4338ca 100%);
	--gradient-warm:         linear-gradient(135deg, #fff5e6 0%, #fff5f7 50%, #f3e8ff 100%);
	--gradient-text:         linear-gradient(120deg, #dc143c 0%, #f59e0b 50%, #4338ca 100%);

	--ease-out-soft:  cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-snap:      cubic-bezier(0.65, 0, 0.35, 1);
}

html {
	scroll-behavior: smooth;
}

body {
	position: relative;
	background:
		/* subtle mandala dot motif */
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><g fill='none' stroke='%23dc143c' stroke-opacity='0.05' stroke-width='1'><circle cx='40' cy='40' r='18'/><circle cx='40' cy='40' r='10'/><circle cx='40' cy='40' r='3'/><circle cx='200' cy='200' r='22'/><circle cx='200' cy='200' r='12'/><circle cx='200' cy='200' r='4'/></g><g fill='%234338ca' fill-opacity='0.04'><circle cx='120' cy='120' r='2'/><circle cx='80' cy='160' r='1.5'/><circle cx='160' cy='80' r='1.5'/></g></svg>") repeat,
		var(--color-bg);
	background-size: 240px 240px, auto;
	color: var(--color-text);
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "ss01" on, "cv11" on;
}

/* Animated gradient mesh layer behind everything */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(60% 60% at 8% 6%,   rgba(220, 20, 60, 0.22), transparent 60%),
		radial-gradient(50% 50% at 92% 12%, rgba(245, 158, 11, 0.18), transparent 65%),
		radial-gradient(55% 55% at 80% 90%, rgba(67, 56, 202, 0.20), transparent 60%),
		radial-gradient(45% 45% at 10% 88%, rgba(4, 120, 87, 0.14),  transparent 60%);
	filter: blur(8px);
	opacity: 0.95;
	animation: mesh-drift 28s ease-in-out infinite;
	will-change: transform;
}

/* Himalayan peak silhouette anchored bottom of viewport */
body::after {
	content: "";
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 160px;
	width: 100%;
	z-index: -1;
	pointer-events: none;
	background:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'><defs><linearGradient id='peakA' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%234338ca' stop-opacity='0.22'/><stop offset='1' stop-color='%234338ca' stop-opacity='0.04'/></linearGradient><linearGradient id='peakB' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23dc143c' stop-opacity='0.18'/><stop offset='1' stop-color='%23dc143c' stop-opacity='0.04'/></linearGradient></defs><path d='M0,160 L0,90 L80,40 L150,80 L230,30 L310,75 L390,20 L470,65 L560,15 L660,60 L760,25 L860,70 L960,30 L1060,65 L1140,40 L1200,55 L1200,160 Z' fill='url(%23peakA)'/><path d='M0,160 L0,115 L70,90 L160,108 L260,75 L370,100 L470,80 L580,108 L690,85 L800,108 L900,85 L1000,100 L1100,90 L1200,95 L1200,160 Z' fill='url(%23peakB)'/></svg>") no-repeat center bottom / 100% 160px;
	opacity: 0.85;
}

/* Scroll progress bar fixed at top */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-secondary));
	z-index: 60;
	pointer-events: none;
	transition: width 80ms linear;
	border-radius: 0 3px 3px 0;
	box-shadow: 0 0 12px rgba(220, 20, 60, 0.45);
}

/* Gradient text utility */
.gradient-text {
	background: var(--gradient-text);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: gradient-shift 8s ease-in-out infinite;
}

/* Hero headline kerning */
.hero-headline {
	letter-spacing: -0.025em;
}

/* Cursor spotlight container — applied to large cards */
.spotlight {
	position: relative;
	overflow: hidden;
}

.spotlight::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		260px circle at var(--mx, 50%) var(--my, 50%),
		rgba(220, 20, 60, 0.12),
		transparent 60%
	);
	opacity: 0;
	transition: opacity 320ms ease;
	pointer-events: none;
	z-index: 1;
}

.spotlight:hover::before {
	opacity: 1;
}

/* 3D tilt support — JS sets --rx and --ry */
.tilt {
	transform-style: preserve-3d;
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
	transition: transform 240ms var(--ease-out-quart);
	will-change: transform;
}

/* Magnetic button — JS sets --dx, --dy in px */
.magnetic {
	transition: transform 240ms var(--ease-out-quart);
	transform: translate(var(--dx, 0), var(--dy, 0));
	will-change: transform;
}

/* Noise overlay for premium feel */
.noise-overlay {
	position: relative;
}
.noise-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
	mix-blend-mode: overlay;
	opacity: 0.04;
	border-radius: inherit;
}

@media (min-width: 1024px) {
	body {
		font-size: 17px;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.font-nepali {
	font-family: "Noto Sans Devanagari", sans-serif;
}

.section-shell {
	width: min(100% - 3rem, 72rem);
	margin: 0 auto;
}

/* Cards */
.soft-card {
	background: linear-gradient(180deg, #ffffff, var(--color-card-tinted));
	border: 1px solid var(--color-border);
	border-radius: 1.5rem;
	box-shadow: var(--shadow-soft);
	transition: transform 320ms var(--ease-out-quart), box-shadow 320ms var(--ease-out-quart),
		border-color 320ms var(--ease-out-quart);
	position: relative;
	isolation: isolate;
	backdrop-filter: saturate(120%);
}

.soft-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(220, 20, 60, 0.35), rgba(30, 58, 138, 0.35));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 320ms var(--ease-out-soft);
	pointer-events: none;
	z-index: 1;
}

.soft-card:hover::before {
	opacity: 0.7;
}

.soft-card-hover {
	cursor: pointer;
}

/* On mouse-equipped devices, the .tilt JS system handles the transform.
   On touch/no-hover devices, fall back to a simple lift. */
@media (hover: none) {
	.soft-card-hover:hover,
	a.soft-card:hover {
		transform: translateY(-6px);
	}
}

.soft-card-hover:hover,
a.soft-card:hover {
	box-shadow: var(--shadow-hover);
	border-color: rgba(67, 56, 202, 0.28);
}

/* Buttons */
.button-lift {
	position: relative;
	overflow: hidden;
	transition: transform 220ms var(--ease-out-soft), box-shadow 220ms var(--ease-out-soft),
		background-color 220ms ease;
}

.button-lift::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 700ms var(--ease-out-soft);
	pointer-events: none;
}

.button-lift:hover {
	box-shadow: 0 22px 44px rgba(31, 41, 55, 0.2);
}

@media (hover: none) {
	.button-lift:hover { transform: translateY(-2px); }
}

.button-lift:hover::after {
	transform: translateX(120%);
}

.button-lift:active {
	transform: translateY(0);
	transition-duration: 80ms;
}

.button-lift.bg-sathi-primary:hover,
.button-lift[class*="bg-[var(--color-primary)]"]:hover {
	box-shadow: var(--shadow-glow-primary);
}

/* Hero */
.hero-glow {
	background:
		radial-gradient(circle at top left, rgba(30, 58, 138, 0.18), transparent 32%),
		radial-gradient(circle at bottom right, rgba(220, 20, 60, 0.18), transparent 30%),
		#fffdf9;
}

/* Banners */
.legal-banner {
	border: 1px solid rgba(217, 119, 6, 0.25);
	background: rgba(217, 119, 6, 0.08);
}

.draft-banner {
	border: 1px solid rgba(30, 58, 138, 0.14);
	background: rgba(30, 58, 138, 0.06);
}

/* Floating WhatsApp */
.floating-whatsapp {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 40;
	animation: float-in 700ms var(--ease-spring) both;
	animation-delay: 600ms;
}

.floating-whatsapp::before {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 9999px;
	background: rgba(37, 211, 102, 0.45);
	z-index: -1;
	animation: pulse-soft 2.6s ease-out infinite;
}

.floating-whatsapp:hover {
	transform: translateY(-3px) scale(1.03);
}

/* FAQ accordion */
.faq-panel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 380ms var(--ease-out-soft), opacity 280ms ease, padding 280ms ease;
}

.faq-panel.is-open {
	max-height: 480px;
	opacity: 1;
}

.faq-chevron {
	transition: transform 280ms var(--ease-out-soft);
}

.faq-chevron.is-open {
	transform: rotate(180deg);
}

/* Forms */
.input-error {
	border-color: rgba(220, 20, 60, 0.6) !important;
	box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1) !important;
	animation: shake 320ms ease;
}

input:focus,
select:focus,
textarea:focus {
	border-color: rgba(220, 20, 60, 0.55) !important;
	box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.12);
	outline: none;
}

input[type="file"] {
	cursor: pointer;
}

input[type="file"]:hover {
	background: rgba(220, 20, 60, 0.04) !important;
	border-color: rgba(220, 20, 60, 0.4) !important;
}

/* Utility */
.text-balance {
	text-wrap: balance;
}

.img-frame {
	overflow: hidden;
	border-radius: 1.75rem;
	position: relative;
}

.img-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.18));
	pointer-events: none;
}

.img-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--ease-out-soft);
}

.soft-card:hover .img-frame img,
.img-frame:hover img {
	transform: scale(1.04);
}

/* Reveal-on-scroll */
[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 700ms var(--ease-out-soft), transform 700ms var(--ease-out-soft);
	will-change: opacity, transform;
}

[data-reveal].in-view {
	opacity: 1;
	transform: translateY(0);
}

[data-reveal="left"] {
	transform: translateX(-24px) translateY(0);
}

[data-reveal="left"].in-view {
	transform: translateX(0);
}

[data-reveal="right"] {
	transform: translateX(24px) translateY(0);
}

[data-reveal="right"].in-view {
	transform: translateX(0);
}

[data-reveal-delay="1"] {
	transition-delay: 80ms;
}

[data-reveal-delay="2"] {
	transition-delay: 160ms;
}

[data-reveal-delay="3"] {
	transition-delay: 240ms;
}

[data-reveal-delay="4"] {
	transition-delay: 320ms;
}

[data-reveal-delay="5"] {
	transition-delay: 400ms;
}

/* Legacy reveal-up — used by scenarios.js */
.reveal-up {
	opacity: 0;
	transform: translateY(18px);
	animation: reveal-up 0.7s var(--ease-out-soft) forwards;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }
.reveal-delay-4 { animation-delay: 0.32s; }

/* Pulse ring (legacy) */
.pulse-ring {
	position: relative;
}

.pulse-ring::after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 9999px;
	border: 1px solid rgba(220, 20, 60, 0.32);
	animation: pulse-ring 2.4s ease-out infinite;
}

/* Nav link underline */
header nav a {
	position: relative;
	padding-bottom: 2px;
}

header nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--color-primary);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 260ms var(--ease-out-soft);
}

header nav a:hover::after,
header nav a.text-blue-900::after {
	transform: scaleX(1);
}

/* Mobile menu */
header div.md\:hidden[x-show] {
	animation: slide-down 280ms var(--ease-out-soft);
}

/* Icon bounce on hover for cards */
.soft-card-hover .inline-flex i {
	transition: transform 420ms var(--ease-spring);
}

.soft-card-hover:hover .inline-flex i,
a.soft-card:hover .inline-flex i {
	transform: scale(1.12) rotate(-4deg);
}

/* Trust strip subtle hover */
section .rounded-2xl.border.border-slate-200.bg-white {
	transition: transform 240ms var(--ease-out-soft), box-shadow 240ms var(--ease-out-soft);
}

/* Selection */
::selection {
	background: rgba(220, 20, 60, 0.18);
	color: var(--color-text);
}

/* Scrollbar (subtle) */
::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
::-webkit-scrollbar-thumb {
	background: rgba(31, 41, 55, 0.18);
	border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
	background: rgba(31, 41, 55, 0.3);
}

/* Confetti for thank-you page */
.confetti-piece {
	position: fixed;
	top: -20px;
	width: 10px;
	height: 14px;
	opacity: 0;
	pointer-events: none;
	z-index: 50;
	animation: confetti-fall 3.2s var(--ease-out-soft) forwards;
}

/* Check pop for success card */
.success-pop {
	animation: success-pop 700ms var(--ease-spring) both;
}

/* Keyframes */
@keyframes reveal-up {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse-ring {
	0% { opacity: 0.7; transform: scale(0.96); }
	70% { opacity: 0; transform: scale(1.12); }
	100% { opacity: 0; transform: scale(1.14); }
}

@keyframes pulse-soft {
	0% { opacity: 0.55; transform: scale(1); }
	70% { opacity: 0; transform: scale(1.45); }
	100% { opacity: 0; transform: scale(1.5); }
}

@keyframes float-in {
	from { opacity: 0; transform: translateY(20px) scale(0.92); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slide-down {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-6px); }
	75% { transform: translateX(6px); }
}

@keyframes blob-drift-a {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-40px, 30px) scale(1.08); }
}

@keyframes blob-drift-b {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(40px, -30px) scale(1.05); }
}

@keyframes mesh-drift {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33%      { transform: translate(-30px, 20px) scale(1.05); }
	66%      { transform: translate(40px, -30px) scale(0.97); }
}

@keyframes gradient-shift {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}

@keyframes float-y {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

@keyframes confetti-fall {
	0% { opacity: 1; transform: translateY(0) rotate(0deg); }
	100% { opacity: 0; transform: translateY(110vh) rotate(720deg); }
}

@keyframes success-pop {
	0% { transform: scale(0.4); opacity: 0; }
	60% { transform: scale(1.12); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

/* =============================================================
   NEPALI TONE ACCENTS
   ============================================================= */
.lang-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.95rem;
	background: linear-gradient(120deg, #ffffff, #fff5f7);
	border: 1px solid rgba(220, 20, 60, 0.2);
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(220, 20, 60, 0.08);
	font-size: 0.82rem;
}

.lang-chip-mark {
	font-weight: 700;
	color: #dc143c;
	padding-right: 0.6rem;
	border-right: 1px solid rgba(220, 20, 60, 0.2);
	letter-spacing: 0.01em;
}

.lang-chip-sub {
	color: #475569;
	font-weight: 500;
}

.namaste-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.4rem 0.9rem 0.4rem 0.55rem;
	background: linear-gradient(120deg, #fff5f7, #fff5e6);
	border: 1px solid rgba(220, 20, 60, 0.2);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	color: #7c2d12;
	box-shadow: 0 8px 22px rgba(220, 20, 60, 0.12);
}

.namaste-pill .namaste-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: linear-gradient(135deg, #dc143c, #f59e0b);
	color: #ffffff;
	font-size: 0.95rem;
}

.namaste-pill .namaste-script {
	font-family: "Noto Sans Devanagari", sans-serif;
	font-weight: 700;
	color: #dc143c;
	letter-spacing: 0.02em;
}

.prayer-flags {
	display: flex;
	gap: 6px;
	align-items: center;
}

.prayer-flags span {
	width: 18px;
	height: 24px;
	border-radius: 2px 2px 6px 6px;
	display: inline-block;
	box-shadow: 0 4px 8px rgba(15, 23, 42, 0.08);
	transform-origin: top center;
	animation: prayer-sway 4s ease-in-out infinite;
}

.prayer-flags span:nth-child(1) { background: #2563eb; animation-delay: 0s; }
.prayer-flags span:nth-child(2) { background: #f8fafc; border: 1px solid rgba(15,23,42,0.1); animation-delay: 0.15s; }
.prayer-flags span:nth-child(3) { background: #dc143c; animation-delay: 0.30s; }
.prayer-flags span:nth-child(4) { background: #16a34a; animation-delay: 0.45s; }
.prayer-flags span:nth-child(5) { background: #eab308; animation-delay: 0.60s; }

.mountain-silhouette {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 90px;
	pointer-events: none;
	z-index: 0;
	opacity: 0.45;
}

.mountain-silhouette svg {
	display: block;
	width: 100%;
	height: 100%;
}

.devanagari-flourish {
	position: absolute;
	font-family: "Noto Sans Devanagari", sans-serif;
	color: rgba(220, 20, 60, 0.08);
	font-size: 8rem;
	font-weight: 700;
	line-height: 1;
	user-select: none;
	pointer-events: none;
	z-index: 0;
}

@keyframes prayer-sway {
	0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(3deg); }
}

/* =============================================================
   BRAND LOCKUP
   ============================================================= */
.brand-mark {
	display: inline-block;
	border-radius: 11px;
	box-shadow: 0 6px 18px rgba(220, 20, 60, 0.25);
	transition: transform 320ms var(--ease-spring), box-shadow 320ms var(--ease-out-soft);
}

.brand-link:hover .brand-mark {
	transform: rotate(-6deg) scale(1.05);
	box-shadow: 0 10px 24px rgba(220, 20, 60, 0.35);
}

.brand-wordmark {
	background: linear-gradient(120deg, #1f2937 0%, #1e3a8a 60%, #dc143c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* =============================================================
   HERO CONSTELLATION
   ============================================================= */
.hero-scene {
	position: relative;
	width: 100%;
	height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-scene::before,
.hero-scene::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.hero-scene::before {
	width: 360px;
	height: 360px;
	border: 1px dashed rgba(30, 58, 138, 0.18);
	animation: orbit-spin 60s linear infinite;
}

.hero-scene::after {
	width: 540px;
	height: 540px;
	border: 1px dashed rgba(220, 20, 60, 0.14);
	animation: orbit-spin 90s linear infinite reverse;
}

.hero-core {
	position: relative;
	z-index: 2;
	width: 176px;
	height: 176px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 30%, #ffffff, #fff5f7 55%, #ffe4ea),
		conic-gradient(from 220deg, rgba(220, 20, 60, 0.2), rgba(67, 56, 202, 0.2), rgba(245, 158, 11, 0.2), rgba(220, 20, 60, 0.2));
	box-shadow:
		0 32px 64px rgba(220, 20, 60, 0.26),
		0 0 0 1px rgba(220, 20, 60, 0.14),
		inset 0 0 50px rgba(255, 255, 255, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: core-pulse 4.5s var(--ease-out-soft) infinite;
}

.hero-core::after {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(220, 20, 60, 0.18), transparent 70%);
	z-index: -1;
	animation: core-glow 4.5s var(--ease-out-soft) infinite;
}

.hero-core-icon {
	width: 72px;
	height: 72px;
	background: linear-gradient(135deg, #dc143c, #1e3a8a);
	-webkit-background-clip: text;
	background-clip: text;
}

.hero-core-icon svg,
.hero-core-icon i {
	color: #dc143c;
	width: 100%;
	height: 100%;
}

.orbit-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin-left: -32px;
	margin-top: -32px;
	border-radius: 22px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 16px 36px rgba(31, 41, 55, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
	transform: translate(var(--tx, 0), var(--ty, 0));
	animation: orbit-float 6s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
	z-index: 1;
	transition: transform 320ms var(--ease-out-soft), box-shadow 320ms var(--ease-out-soft);
}

.orbit-icon:hover {
	transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.12);
	box-shadow: 0 22px 44px rgba(31, 41, 55, 0.18);
}

.orbit-icon i,
.orbit-icon svg {
	width: 28px;
	height: 28px;
}

.orbit-icon.rose { color: #dc143c; background: linear-gradient(135deg, #fff, #ffe4ea); }
.orbit-icon.blue { color: #1e3a8a; background: linear-gradient(135deg, #fff, #dbeafe); }
.orbit-icon.amber { color: #b45309; background: linear-gradient(135deg, #fff, #fef3c7); }
.orbit-icon.emerald { color: #047857; background: linear-gradient(135deg, #fff, #d1fae5); }
.orbit-icon.indigo { color: #4338ca; background: linear-gradient(135deg, #fff, #e0e7ff); }
.orbit-icon.orange { color: #c2410c; background: linear-gradient(135deg, #fff, #ffedd5); }

.orbit-line {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 1px;
	background: linear-gradient(90deg, rgba(220, 20, 60, 0.35), transparent);
	transform-origin: left center;
	z-index: 0;
	opacity: 0.5;
}

/* =============================================================
   STATS SECTION
   ============================================================= */
.stat-card {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 1.5rem;
	padding: 1.75rem 1.5rem;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 320ms var(--ease-out-soft), box-shadow 320ms var(--ease-out-soft);
}

.stat-card::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: var(--stat-accent, rgba(220, 20, 60, 0.12));
	filter: blur(20px);
	opacity: 0.7;
	transition: opacity 320ms ease, transform 320ms var(--ease-out-soft);
}

.stat-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.stat-card:hover::before {
	opacity: 1;
	transform: scale(1.15);
}

.stat-number {
	font-size: clamp(3rem, 6vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
	background: linear-gradient(135deg, #dc143c 0%, #f59e0b 50%, #4338ca 100%);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: gradient-shift 8s ease-in-out infinite;
}

.stat-label {
	margin-top: 0.75rem;
	font-size: 0.95rem;
	color: var(--color-muted);
	line-height: 1.5;
}

.stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--stat-icon-bg, rgba(220, 20, 60, 0.1));
	color: var(--stat-icon-color, #dc143c);
	margin-bottom: 1rem;
}

/* =============================================================
   SCENARIO ICON HERO (replaces stock photos)
   ============================================================= */
.scenario-hero {
	position: relative;
	height: 360px;
	border-radius: 1.75rem;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--hero-from, #fff5f7), var(--hero-to, #ffe4ea));
}

.scenario-hero::before,
.scenario-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(2px);
}

.scenario-hero::before {
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 70%);
	top: -60px;
	right: -40px;
	animation: orbit-float 7s ease-in-out infinite;
}

.scenario-hero::after {
	width: 180px;
	height: 180px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 70%);
	bottom: -40px;
	left: -40px;
	animation: orbit-float 9s ease-in-out infinite reverse;
}

.scenario-hero-disk {
	position: relative;
	z-index: 2;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(8px);
	animation: core-pulse 4.5s var(--ease-out-soft) infinite;
}

.scenario-hero-disk i,
.scenario-hero-disk svg {
	width: 76px;
	height: 76px;
	color: var(--hero-icon-color, #dc143c);
}

.scenario-hero-tag {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: #ffffff;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-text);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
	z-index: 3;
	animation: orbit-float 5s ease-in-out infinite;
}

.scenario-hero-tag svg,
.scenario-hero-tag i {
	width: 14px;
	height: 14px;
	color: var(--hero-icon-color, #dc143c);
}

.scenario-hero-tag.t1 { top: 12%; left: 8%; animation-delay: 0.2s; }
.scenario-hero-tag.t2 { top: 22%; right: 8%; animation-delay: 0.8s; }
.scenario-hero-tag.t3 { bottom: 14%; left: 12%; animation-delay: 1.4s; }

/* Color presets */
.scenario-hero[data-accent="rose"]    { --hero-from: #fff5f7; --hero-to: #ffe4ea; --hero-icon-color: #dc143c; }
.scenario-hero[data-accent="blue"]    { --hero-from: #eff6ff; --hero-to: #dbeafe; --hero-icon-color: #1e3a8a; }
.scenario-hero[data-accent="amber"]   { --hero-from: #fffbeb; --hero-to: #fef3c7; --hero-icon-color: #b45309; }
.scenario-hero[data-accent="emerald"] { --hero-from: #ecfdf5; --hero-to: #d1fae5; --hero-icon-color: #047857; }
.scenario-hero[data-accent="indigo"]  { --hero-from: #eef2ff; --hero-to: #e0e7ff; --hero-icon-color: #4338ca; }
.scenario-hero[data-accent="orange"]  { --hero-from: #fff7ed; --hero-to: #ffedd5; --hero-icon-color: #c2410c; }
.scenario-hero[data-accent="slate"]   { --hero-from: #f8fafc; --hero-to: #e2e8f0; --hero-icon-color: #334155; }

/* =============================================================
   SCENARIO CARD ICONS (homepage grid) — sticker style
   ============================================================= */
.soft-card-hover .inline-flex.rounded-2xl {
	position: relative;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
	transition: transform 380ms var(--ease-spring), box-shadow 380ms var(--ease-out-soft);
}

.soft-card-hover:hover .inline-flex.rounded-2xl {
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

/* =============================================================
   PRICING TIERS
   ============================================================= */
.tier-card,
.addon-card {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 1.75rem;
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	box-shadow: var(--shadow-soft);
	transition: transform 360ms var(--ease-out-soft), box-shadow 360ms var(--ease-out-soft), border-color 360ms ease;
}

.tier-card:hover,
.addon-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.tier-card-featured,
.addon-card-featured {
	border-color: rgba(220, 20, 60, 0.4);
	box-shadow: 0 28px 56px rgba(220, 20, 60, 0.18);
	background:
		linear-gradient(180deg, rgba(255, 245, 247, 0.7), #ffffff 30%);
}

.tier-card-featured::before,
.addon-card-featured::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: linear-gradient(135deg, #dc143c, #1e3a8a);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 0;
}

.tier-card > *,
.addon-card > * {
	position: relative;
	z-index: 1;
}

.tier-ribbon {
	position: absolute;
	top: -14px;
	right: 1.75rem;
	background: linear-gradient(135deg, #dc143c, #1e3a8a);
	color: #ffffff;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: 0 12px 24px rgba(220, 20, 60, 0.3);
	z-index: 2;
}

.tier-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	align-self: flex-start;
}

.tier-badge-standard {
	background: rgba(30, 58, 138, 0.1);
	color: #1e3a8a;
}

.tier-badge-emergency {
	background: rgba(220, 20, 60, 0.12);
	color: #dc143c;
}

.tier-badge-injury {
	background: rgba(5, 150, 105, 0.12);
	color: #047857;
}

.tier-name {
	font-size: 1.55rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

.tier-price {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0.25rem 0;
}

.tier-currency {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
}

.tier-amount {
	font-size: 3.25rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	background: linear-gradient(135deg, #dc143c, #1e3a8a);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.tier-period {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--color-muted);
}

.tier-tagline {
	color: #334155;
	font-size: 0.95rem;
	line-height: 1.55;
}

.tier-list {
	margin-top: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	font-size: 0.92rem;
	color: #334155;
}

.tier-list li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.tier-check {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: #059669;
}

.tier-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.2rem;
	border-radius: 14px;
	font-weight: 600;
	font-size: 0.95rem;
	background: #f1f5f9;
	color: #1e293b;
	border: 1px solid #e2e8f0;
	transition: transform 220ms var(--ease-out-soft), box-shadow 220ms var(--ease-out-soft),
		background-color 220ms ease, color 220ms ease;
	margin-top: 0.5rem;
}

.tier-cta:hover {
	background: #1e293b;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.2);
}

.tier-cta-featured {
	background: linear-gradient(135deg, #dc143c, #1e3a8a);
	color: #ffffff;
	border: 0;
	box-shadow: var(--shadow-glow-primary);
}

.tier-cta-featured:hover {
	background: linear-gradient(135deg, #b91135, #1e3a8a);
	color: #ffffff;
}

.tier-foot {
	font-size: 0.82rem;
	color: var(--color-muted);
	line-height: 1.5;
	border-top: 1px dashed #e2e8f0;
	padding-top: 0.85rem;
	margin-top: 0.25rem;
}

.tier-foot-warn {
	color: #7c2d12;
}

.tier-foot-warn em {
	display: block;
	margin-top: 0.4rem;
	color: #92400e;
	background: rgba(217, 119, 6, 0.08);
	padding: 6px 8px;
	border-radius: 8px;
	font-style: normal;
	font-size: 0.78rem;
}

.addon-card {
	text-align: left;
	gap: 0.75rem;
}

.addon-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(220, 20, 60, 0.1));
	color: #1e3a8a;
}

.addon-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
}

.addon-price {
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, #dc143c, #1e3a8a);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.addon-period {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.addon-list {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	font-size: 0.9rem;
	color: #334155;
	list-style: none;
	padding-left: 0;
}

.addon-list li {
	position: relative;
	padding-left: 1.1rem;
}

.addon-list li::before {
	content: "•";
	color: #dc143c;
	position: absolute;
	left: 0;
	font-weight: 700;
}

/* =============================================================
   CONSENT MODAL
   ============================================================= */
.consent-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.consent-modal.is-open {
	display: flex;
	animation: fade-in 320ms ease;
}

.consent-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(6px);
}

.consent-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 1.5rem;
	box-shadow: 0 32px 80px rgba(15, 23, 42, 0.35);
	max-width: 640px;
	width: 100%;
	max-height: calc(100vh - 2rem);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	animation: dialog-pop 380ms var(--ease-spring);
}

.consent-header {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1.75rem 1.75rem 0.5rem;
}

.consent-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, #fff5f7, #ffe4ea);
	color: #dc143c;
}

.consent-icon svg,
.consent-icon i {
	width: 24px;
	height: 24px;
}

.consent-eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #dc143c;
}

.consent-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin-top: 0.25rem;
	line-height: 1.3;
}

.consent-body {
	padding: 1rem 1.75rem;
	overflow-y: auto;
	font-size: 0.95rem;
	color: #334155;
	line-height: 1.65;
}

.consent-lead {
	background: #fffbeb;
	border: 1px solid rgba(217, 119, 6, 0.3);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	color: #78350f;
}

.consent-list {
	margin-top: 1rem;
	padding-left: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.consent-list li {
	list-style: decimal;
}

.consent-list strong {
	color: #0f172a;
}

.placeholder-note {
	display: inline-block;
	font-size: 0.8rem;
	color: #b45309;
	background: rgba(217, 119, 6, 0.1);
	padding: 2px 6px;
	border-radius: 6px;
	margin-left: 4px;
}

.consent-foot {
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #475569;
}

.consent-foot a {
	color: #dc143c;
	font-weight: 600;
	text-decoration: underline;
}

.consent-check {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 1rem 1.75rem;
	margin: 0 1.75rem;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	cursor: pointer;
	font-size: 0.95rem;
	color: #1f2937;
	line-height: 1.5;
}

.consent-check input[type="checkbox"] {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	accent-color: #dc143c;
	cursor: pointer;
}

.consent-actions {
	display: flex;
	gap: 0.75rem;
	justify-content: flex-end;
	padding: 1.25rem 1.75rem 1.75rem;
	flex-wrap: wrap;
}

.consent-decline,
.consent-agree {
	padding: 0.85rem 1.4rem;
	border-radius: 14px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: transform 220ms var(--ease-out-soft), box-shadow 220ms var(--ease-out-soft),
		background-color 220ms ease, color 220ms ease;
}

.consent-decline {
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #e2e8f0;
}

.consent-decline:hover {
	background: #e2e8f0;
}

.consent-agree {
	background: linear-gradient(135deg, #dc143c, #1e3a8a);
	color: #ffffff;
	border: 0;
	box-shadow: var(--shadow-glow-primary);
}

.consent-agree:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.consent-decline-notice {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #faf7f2, #fff5f7);
	padding: 1rem;
	z-index: 100;
}

/* Inline tier picker */
.tier-picker {
	border: 1px solid #e2e8f0;
	background: linear-gradient(135deg, #ffffff, #fff5f7);
	border-radius: 14px;
	padding: 1rem 1.1rem;
	margin-top: 0.5rem;
}

.tier-picker-options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.6rem;
}

.tier-option {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	padding: 0.7rem 0.9rem;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
	cursor: pointer;
	transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.tier-option:hover {
	border-color: rgba(220, 20, 60, 0.35);
	background: rgba(220, 20, 60, 0.03);
}

.tier-option input[type="radio"] {
	margin-top: 4px;
	accent-color: #dc143c;
	cursor: pointer;
}

.tier-option:has(input:checked) {
	border-color: #dc143c;
	box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.12);
	background: rgba(220, 20, 60, 0.04);
}

.tier-option-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tier-option-title {
	font-weight: 600;
	font-size: 0.95rem;
	color: #0f172a;
}

.tier-option-sub {
	font-size: 0.82rem;
	color: #475569;
	line-height: 1.4;
}

/* Hide injury-win-only tier on non-accident scenario pages */
body:not([data-scenario="accident"]) [data-tier-injury] {
	display: none;
}

/* Inline form consent block */
.form-consent {
	border: 1px solid rgba(220, 20, 60, 0.18);
	background: linear-gradient(135deg, rgba(220, 20, 60, 0.04), rgba(30, 58, 138, 0.04));
	border-radius: 14px;
	padding: 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.form-consent .form-consent-title {
	font-size: 0.8rem;
	font-weight: 700;
	color: #dc143c;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.form-consent label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: 0.92rem;
	color: #1f2937;
	line-height: 1.5;
	cursor: pointer;
}

.form-consent input[type="checkbox"] {
	margin-top: 4px;
	width: 16px;
	height: 16px;
	accent-color: #dc143c;
	flex-shrink: 0;
	cursor: pointer;
}

@keyframes fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes dialog-pop {
	from { opacity: 0; transform: translateY(10px) scale(0.96); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============================================================
   KEYFRAMES (additions)
   ============================================================= */
@keyframes orbit-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes orbit-float {
	0%, 100% { transform: translate(var(--tx, 0), var(--ty, 0)) translateY(0); }
	50% { transform: translate(var(--tx, 0), var(--ty, 0)) translateY(-10px); }
}

@keyframes core-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}

@keyframes core-glow {
	0%, 100% { opacity: 0.6; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}

	body::before,
	body::after {
		animation: none;
	}
}
