:root {
	color-scheme: dark;
	font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
	background: rgb(29, 29, 29);
	color: #e2e8f0;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 0;
}

main {
	flex: 1;
	width: min(1200px, 100%);
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 64px) clamp(32px, 6vw, 120px) clamp(48px, 6vw, 96px);
}

.hero {
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	border-radius: 32px;
	padding: clamp(24px, 5vw, 40px);
	background: rgb(41, 41, 41);
	box-shadow: 0 28px 60px rgba(8, 7, 15, 0.65);
	width: 100%;
}

.hero h2 {
	font-weight: 600;
	color: #e2e8f0;
	text-align: center;
}

.copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.logo-title {
	display: flex;
	align-items: center;
}

.logo {
	width: 100px;
	height: 100px;
	object-fit: contain;
	filter: invert(1) drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
	margin-top: 8px;
}

.copy .button-group {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 32px;
}

.copy-hint {
	max-width: 520px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

h1 {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	letter-spacing: -0.01em;
	font-weight: 800;
}

.hero-tagline {
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	line-height: 1.3;

	max-width: 600px;
	margin: 0;
	text-align: center;
	font-weight: 700;
	letter-spacing: 0.3px;
}

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.5;
	max-width: 500px;
	margin: 8px 0 0;
	text-align: center;
	font-weight: 500;
}

.hero-instruction {
	font-size: clamp(0.95rem, 2vw, 1.05rem);
	line-height: 1.4;
	color: rgba(226, 232, 240, 0.85);
	margin: 8px 0 0;
	font-weight: 500;
	text-align: center;
}

.value-props {
	display: flex;
	gap: clamp(16px, 3vw, 24px);
	flex-wrap: wrap;
	margin-top: 20px;
}

.prop {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(99, 102, 241, 0.08);
	border: 1px solid rgba(99, 102, 241, 0.2);
	border-radius: 12px;
	padding: 10px 16px;
	transition: all 0.2s;
}

.prop:hover {
	background: rgba(99, 102, 241, 0.12);
	border-color: rgba(99, 102, 241, 0.3);
	transform: translateY(-1px);
}

.prop-icon {
	font-size: 1.3rem;
	line-height: 1;
}

.prop-text {
	font-size: 0.9rem;
	font-weight: 600;
	color: #e2e8f0;
	letter-spacing: 0.2px;
}

p {
	margin: 0;
	line-height: 1.6;
	color: rgba(226, 232, 240, 0.88);
}

code {
	background: rgba(30, 41, 59, 0.6);
	padding: 1px 6px;
	border-radius: 6px;
	color: #93c5fd;
	font-family: "Menlo", "SFMono-Regular", monospace;
}

.upload {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 999px;
	border: none;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: #ffffff;
	cursor: pointer;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.03em;
	transition: all 0.2s ease;
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4),
		0 3px 10px rgba(139, 92, 246, 0.3);
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%,
	100% {
		box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4),
			0 3px 10px rgba(139, 92, 246, 0.3);
	}
	50% {
		box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5),
			0 4px 14px rgba(139, 92, 246, 0.4);
	}
}

.upload input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.upload:hover {
	transform: translateY(-2px) scale(1.05);
	background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
	box-shadow: 0 10px 32px rgba(99, 102, 241, 0.6),
		0 5px 16px rgba(139, 92, 246, 0.5);
	animation: none;
}

.demo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 999px;
	border: 2px solid rgba(148, 163, 184, 0.3);
	background: rgba(30, 41, 59, 0.6);
	color: #e2e8f0;
	cursor: pointer;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	transition: all 0.2s ease;
	font-size: 0.95rem;
	font-family: inherit;
}

.demo-btn:hover {
	transform: translateY(-1px);
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(148, 163, 184, 0.5);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-links {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

.link-separator {
	color: rgba(148, 163, 184, 0.4);
	font-size: 0.8rem;
}

.ghost-link {
	background: none;
	border: none;
	color: #93c5fd;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	transition: all 0.2s ease;
	text-decoration: underline;
	text-decoration-color: rgba(147, 197, 253, 0.3);
	text-underline-offset: 3px;
}

.ghost-link:hover {
	color: #bae6fd;
	text-decoration-color: rgba(186, 230, 253, 0.6);
	transform: translateY(-1px);
}

.demo {
	display: none;
	justify-content: center;
	margin: 16px 0 24px;
}

.demo-card {
	background: rgba(29, 29, 29);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 28px;
	padding: 32px;
	box-shadow: 0 24px 50px rgba(8, 7, 15, 0.55);
	max-width: 600px;
	width: calc(100% - 32px);
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-height: 90vh;
	overflow-y: auto;
}

.demo-card h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: #f1f5f9;
	margin: 0;
	text-align: center;
}

.export-steps {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.export-step {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.step-number {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffffff;
}

.step-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.step-content h3 {
	font-size: 1.15rem;
	font-weight: 600;
	color: #f1f5f9;
	margin: 0;
}

.step-content p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 0;
}

.step-content a {
	color: #818cf8;
	text-decoration: none;
	transition: color 0.2s;
}

.step-content a:hover {
	color: #a5b4fc;
}

.step-content code {
	background: rgba(99, 102, 241, 0.15);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9rem;
	color: #c7d2fe;
}

.export-step .phone-frame {
	margin-top: 12px;
	max-width: 100%;
}

.phone-frame {
	position: relative;
	background: linear-gradient(
		160deg,
		rgba(15, 23, 42, 0.9),
		rgba(30, 41, 59, 0.65)
	);
	border-radius: 42px;
	border: 3px solid rgba(148, 163, 184, 0.25);
	max-width: min(320px, 100%);
	margin: 0 auto;
	box-shadow: inset 0 0 0 3px rgba(15, 23, 42, 0.85);
	overflow: hidden;
}

.demo video {
	width: 100%;
	display: block;
	border-radius: 28px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: #000;
	aspect-ratio: 9 / 19.5;
	object-fit: cover;
}

.demo:not(.hidden) {
	display: flex;
}

.hint {
	text-align: center;
	font-size: 0.9rem;
	color: rgba(148, 163, 184, 0.8);
}

.banner {
	padding: 14px 18px;
	border-radius: 16px;
	background: rgba(248, 113, 113, 0.12);
	border: 1px solid rgba(248, 113, 113, 0.38);
	color: #fecaca;
}

.loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px;
	border-radius: 24px;
	border: 1px solid rgba(148, 163, 184, 0.15);
	background: rgba(15, 23, 42, 0.45);
}

.spinner {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 4px solid rgba(148, 163, 184, 0.25);
	border-top-color: #60a5fa;
	animation: spin 0.9s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.hidden {
	display: none;
}

.story-container {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.story-container.hidden {
	display: none !important;
}

.story-rail:empty {
	display: none;
}

.story-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 12px;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.story-toolbar .brand {
	font-size: 0.82rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(165, 180, 252, 0.8);
}

.story-toolbar .actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.story-toolbar .action {
	appearance: none;
	border: 1px solid rgba(129, 140, 248, 0.45);

	color: #e0e7ff;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.story-toolbar .action:hover {
	background: rgba(96, 165, 250, 0.4);
	transform: translateY(-1px);
}

.action.share {
	background: linear-gradient(135deg, #7c3aed 0%, #fb7185 100%);
	border: 1px solid rgba(248, 113, 113, 0.55);
	color: #ffffff;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	box-shadow: 0 12px 32px rgba(248, 113, 113, 0.35);
}

.action.share:hover {
	background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
	box-shadow: 0 18px 38px rgba(248, 113, 113, 0.45);
}

.action.download-all {
	border: 1px solid rgba(30, 30, 30);
	color: #ffffff;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
}

.action.download-all:hover {
	background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
	box-shadow: 0 18px 38px rgba(16, 185, 129, 0.45);
}

.action.download-all:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.action.download-all.downloading {
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
	border-color: rgba(107, 114, 128, 0.55);
	cursor: wait;
}

.action.share.hide-capturing {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

.story-rail {
	position: relative;
	height: auto;
	max-height: min(calc(100vh - 180px), 860px);
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	border-radius: 32px;
	/* dont show the scrollbar */
	scrollbar-width: none;
	width: min(1200px, 100%);
	margin: 0 auto;
	background: rgba(15, 23, 42, 0.55);
	border: 1px solid rgba(148, 163, 184, 0.22);
	backdrop-filter: blur(20px);
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.slide {
	margin: 0 auto clamp(28px, 5vh, 52px);
	height: clamp(700px, 82vh, 820px);
	scroll-snap-align: center;
	border-radius: 32px;
	padding: clamp(28px, 4.5vw, 48px) clamp(24px, 4vw, 52px)
		clamp(32px, 4.5vw, 52px);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 2vw, 20px);
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 28px 70px rgba(8, 7, 15, 0.75);
	color: #f8fafc;
	transition: transform 0.1s ease-out;
	will-change: transform;
}

.slide:nth-of-type(-n + 3) {
	padding: clamp(28px, 4.5vw, 48px) clamp(24px, 4vw, 52px)
		clamp(32px, 4.5vw, 52px);
	gap: clamp(14px, 2vw, 20px);
}

.slide:nth-of-type(-n + 3) .content {
	gap: clamp(12px, 1.8vw, 16px);
}

.slide:nth-of-type(-n + 3) h1 {
	font-size: clamp(2.1rem, 4.8vw, 2.8rem);
}

.slide:nth-of-type(-n + 3) h2 {
	font-size: clamp(1.8rem, 4.2vw, 2.4rem);
}

.chart-slide {
	height: clamp(700px, 82vh, 820px);
	padding: clamp(28px, 4.5vw, 48px) clamp(24px, 4vw, 52px)
		clamp(32px, 4.5vw, 52px);
	gap: clamp(14px, 2vw, 20px);
}

.chart-slide .chart-insights {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	gap: clamp(12px, 1.8vw, 18px);
	align-items: stretch;
	width: 100%;
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.chart-slide .visual {
	max-height: clamp(280px, 38vh, 360px);
	padding: clamp(8px, 1vh, 12px) 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 0;
}

.chart-slide .chart-insights .highlights {
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: clamp(8px, 1.2vw, 16px);
	align-self: stretch;
	min-height: 0;
	display: grid;
}

.chart-slide .highlights {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(10px, 1.4vw, 18px);
}

.chart-slide .highlight {
	padding: clamp(8px, 1.6vw, 14px);
	gap: 4px;
}

.chart-slide .highlight .emoji {
	font-size: clamp(0.85rem, 1.6vw, 1.15rem);
}

.chart-slide .highlight .value {
	font-size: clamp(1rem, 1.8vw, 1.4rem);
}

.chart-slide .highlight .label {
	font-size: 0.62rem;
}

.chart-slide .highlight .detail {
	font-size: 0.74rem;
}

.chart-slide h2 {
	font-size: clamp(1.85rem, 4.4vw, 2.4rem);
}

.chart-slide p {
	font-size: clamp(0.92rem, 1.7vw, 1.08rem);
	line-height: 1.45;
}

.slide::after {
	content: "chatrecap.co";
	position: absolute;
	bottom: clamp(8px, 2vh, 16px);
	left: clamp(24px, 4vw, 52px);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: rgba(148, 163, 184, 0.4);
	pointer-events: none;
	user-select: none;
	z-index: 3;
	text-transform: uppercase;
}

.slide::before {
	content: "";
	position: absolute;
	inset: -25% -20% -20% -25%;
	background: radial-gradient(
		circle at 20% 20%,
		rgba(129, 140, 248, 0.55),
		transparent 65%
	);
	z-index: 0;
}

.slide .content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 1.8vw, 16px);
	flex: 1;
	min-height: 0;
	overflow: hidden;
	padding-bottom: clamp(48px, 8vh, 72px);
}

.slide .tag {
	align-self: flex-start;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(15, 23, 42, 0.35);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(226, 232, 240, 0.8);
}

.demo-badge {
	position: absolute;
	top: clamp(18px, 3.5vw, 32px);
	left: clamp(18px, 3.5vw, 32px);
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(45, 212, 191, 0.5);
	background: rgba(20, 184, 166, 0.2);
	backdrop-filter: blur(10px);
	font-size: 0.65rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #5eead4;
	z-index: 2;
	animation: pulse-demo 2s ease-in-out infinite;
}

.demo-badge.hide-capturing {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

@keyframes pulse-demo {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(45, 212, 191, 0);
	}
}

.slide h1,
.slide h2 {
	margin: 0;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.slide h1 {
	font-size: clamp(2rem, 5.5vw, 2.5rem);
	line-height: 1.1;
}

.slide h2 {
	font-size: clamp(1.75rem, 5vw, 2.2rem);
	line-height: 1.1;
}

.slide p {
	margin: 0;
	line-height: 1.5;
	color: rgba(226, 232, 240, 0.92);
	font-size: clamp(0.92rem, 1.2vw, 1.05rem);
}

.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.6vw, 14px);
	flex: 1;
	align-content: start;
}

.highlight {
	background: rgba(30, 41, 59, 0.95);
	border-radius: 16px;
	padding: clamp(10px, 1.8vw, 14px);
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	gap: 4px;
	position: relative;
}

.highlight .emoji {
	font-size: clamp(1rem, 2vw, 1.35rem);
	margin-bottom: 2px;
}

.highlight .value {
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 700;
	color: #f1f5f9;
	line-height: 1.1;
}

.highlight .label {
	font-size: clamp(0.68rem, 0.85vw, 0.72rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(203, 213, 225, 0.75);
	line-height: 1.2;
}

.highlight .detail {
	font-size: clamp(0.78rem, 1vw, 0.85rem);
	color: rgba(148, 163, 184, 0.7);
	line-height: 1.3;
}

.stat {
	background: rgba(30, 41, 59, 0.95);
	border-radius: 18px;
	padding: 14px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat .value {
	font-size: 1.55rem;
	font-weight: 700;
	display: block;
	color: #f1f5f9;
}

.stat .label {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(203, 213, 225, 0.75);
}

.visual {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
}

.visual canvas {
	width: 100%;
	max-height: 220px;
	height: auto;
	display: block;
}

.visual img {
	width: 100%;
	border-radius: 18px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2),
		0 20px 48px rgba(15, 23, 42, 0.65);
}

.slide footer {
	position: absolute;
	bottom: clamp(20px, 3vh, 32px);
	left: 0;
	right: clamp(24px, 4vw, 52px);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(203, 213, 225, 0.7);
	text-align: left;
	z-index: 2;
}

.story-progress {
	display: flex;
	justify-content: center;
	gap: 6px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.35);
	transition: all 0.25s ease;
}

.dot.active {
	width: 32px;
	background: rgba(99, 102, 241, 0.85);
}

.theme-2 {
	background: linear-gradient(155deg, #001424, #01334a 60%, #02131f);
}

.theme-2::before {
	background: radial-gradient(
		circle at 75% 15%,
		rgba(45, 212, 191, 0.5),
		transparent 65%
	);
}

.theme-3 {
	background: linear-gradient(155deg, #200322, #4b0c46 60%, #120415);
}

.theme-3::before {
	background: radial-gradient(
		circle at 18% 20%,
		rgba(244, 114, 182, 0.5),
		transparent 65%
	);
}

.theme-4 {
	background: linear-gradient(150deg, #00162d, #0b2f63 60%, #040f1f);
}

.theme-4::before {
	background: radial-gradient(
		circle at 68% 18%,
		rgba(96, 165, 250, 0.5),
		transparent 65%
	);
}

.theme-5 {
	background: linear-gradient(150deg, #150b2e, #2b1560 60%, #050112);
}

.theme-5::before {
	background: radial-gradient(
		circle at 82% 18%,
		rgba(129, 140, 248, 0.55),
		transparent 65%
	);
}

.theme-6 {
	background: linear-gradient(150deg, #012019, #0f3a3a 60%, #041414);
}

.theme-6::before {
	background: radial-gradient(
		circle at 22% 22%,
		rgba(45, 212, 191, 0.5),
		transparent 65%
	);
}

.floating-share {
	position: absolute;
	top: clamp(20px, 3vh, 32px);
	right: clamp(20px, 3.5vw, 32px);
	padding: 8px 12px;
	border-radius: 999px;
	width: auto;
	max-width: none;
	z-index: 3;
}

@media (max-width: 540px) {
	body {
		overscroll-behavior: none;
	}

	.hero {
		padding: 16px;
	}

	.logo {
		width: 56px;
		height: 56px;
	}

	.logo-title h1 {
		font-size: clamp(1.8rem, 10vw, 2.4rem);
	}

	.story-rail {
		max-height: none;
		height: calc(100vh - 200px);
		scroll-snap-stop: always;
		user-select: none;
		-webkit-user-select: none;
	}

	.story-rail::before,
	.story-rail::after {
		content: "";
		position: fixed;
		top: 50%;
		transform: translateY(-50%);
		width: 30%;
		height: 100px;
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.3s ease;
		z-index: 10;
	}

	.story-rail::before {
		left: 0;
		background: linear-gradient(
			to right,
			rgba(129, 140, 248, 0.15),
			transparent
		);
	}

	.story-rail::after {
		right: 0;
		background: linear-gradient(
			to left,
			rgba(129, 140, 248, 0.15),
			transparent
		);
	}

	.slide {
		width: 100%;
		border-radius: 20px;
		height: calc(100vh - 200px);
		min-height: 600px;
		max-height: 800px;
		padding: clamp(16px, 3.5vh, 24px) clamp(16px, 4.5vw, 22px)
			clamp(24px, 4.5vh, 32px);
		gap: clamp(10px, 2vh, 14px);
		scroll-snap-stop: always;
		scroll-snap-align: start;
		margin-bottom: 20px;
		touch-action: pan-y;
	}

	.slide .content {
		padding-bottom: clamp(40px, 7vh, 60px);
	}

	.slide::after {
		bottom: clamp(10px, 2vh, 18px);
		left: clamp(16px, 4.5vw, 24px);
		right: clamp(16px, 4.5vw, 24px);
		font-size: 0.65rem;
		font-weight: 600;
		letter-spacing: 0.08em;
		color: rgba(148, 163, 184, 0.4);
	}

	.stats {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: clamp(8px, 1.5vh, 12px);
	}

	.stat {
		padding: clamp(10px, 2vh, 14px);
	}

	.stat .value {
		font-size: clamp(1.2rem, 5vw, 1.5rem);
	}

	.stat .label {
		font-size: clamp(0.65rem, 2.5vw, 0.75rem);
	}

	.highlights {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: clamp(8px, 1.5vh, 12px);
	}

	.chart-slide {
		height: calc(100vh - 200px);
		min-height: 600px;
		max-height: 800px;
		padding: clamp(16px, 3.5vh, 24px) clamp(16px, 4.5vw, 22px)
			clamp(24px, 4.5vh, 32px);
		gap: clamp(10px, 2vh, 14px);
	}

	.chart-slide .chart-insights {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: clamp(8px, 2vh, 14px);
	}

	.chart-slide .visual {
		max-height: clamp(160px, 42vh, 240px);
		padding: 0 clamp(4px, 2vw, 8px);
	}

	.chart-slide .highlights,
	.chart-slide .chart-insights .highlights {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.chart-slide .highlight {
		padding: clamp(8px, 1.8vh, 12px);
		gap: 3px;
	}

	.highlight {
		padding: clamp(8px, 1.8vh, 12px);
		gap: 3px;
	}

	.highlight .emoji {
		font-size: clamp(0.9rem, 3.8vw, 1.1rem);
		margin-bottom: 2px;
	}

	.highlight .value {
		font-size: clamp(1.1rem, 4.8vw, 1.4rem);
	}

	.highlight .label {
		font-size: clamp(0.62rem, 2.3vw, 0.7rem);
	}

	.highlight .detail {
		font-size: clamp(0.72rem, 2.8vw, 0.8rem);
	}

	.slide h1,
	.slide h2 {
		font-size: clamp(1.65rem, 6vw, 2rem);
		line-height: 1.15;
	}

	.slide p {
		font-size: clamp(0.88rem, 3.8vw, 1rem);
		line-height: 1.5;
	}

	.slide .tag {
		font-size: clamp(0.62rem, 2.3vw, 0.7rem);
		padding: 4px 10px;
	}

	.chart-slide h2 {
		font-size: clamp(1.5rem, 6.5vw, 1.85rem);
	}

	.chart-slide p {
		font-size: clamp(0.85rem, 3.5vw, 0.95rem);
	}

	.visual {
		min-height: 180px;
	}

	.story-toolbar {
		justify-content: center;
	}

	.story-toolbar .actions {
		justify-content: center;
	}

	.floating-share {
		position: absolute;
		top: 0;
		right: 0;
		width: auto;
		padding: 5px 14px;
		font-size: 0.7rem;
		color: #ffffff;
	}

	.slide footer {
		bottom: clamp(12px, 2.5vh, 20px);
		left: clamp(16px, 4.5vw, 24px);
		right: clamp(16px, 4.5vw, 24px);
		font-size: 0.65rem;
	}

	.demo-card {
		padding: 20px;
		max-width: calc(100% - 24px);
	}

	.demo-card h2 {
		font-size: 1.4rem;
	}

	.export-steps {
		gap: 20px;
	}

	.export-step {
		gap: 14px;
	}

	.step-number {
		width: 32px;
		height: 32px;
		font-size: 1rem;
	}

	.step-content h3 {
		font-size: 1.05rem;
	}

	.step-content p {
		font-size: 0.9rem;
	}
}

@media (max-width: 900px) {
	main {
		padding: 24px 16px 40px;
	}

	.hero {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		padding: clamp(20px, 4vw, 32px);
	}

	.copy {
		max-width: 100%;
	}

	.logo {
		width: 72px;
		height: 72px;
	}

	.logo-title {
		gap: 12px;
		flex-wrap: wrap;
	}

	.logo-title h1 {
		font-size: clamp(2rem, 8vw, 2.8rem);
	}

	.hero-tagline {
		font-size: clamp(1.2rem, 5vw, 1.5rem);
	}

	.hero-subtitle {
		font-size: clamp(0.95rem, 4vw, 1.1rem);
	}

	.hero-instruction {
		font-size: clamp(0.9rem, 3.5vw, 1rem);
	}

	.value-props {
		gap: 10px;
		margin-top: 16px;
	}

	.prop {
		padding: 8px 12px;
		gap: 6px;
	}

	.prop-icon {
		font-size: 1.1rem;
	}

	.prop-text {
		font-size: 0.825rem;
	}

	.copy .button-group {
		flex-direction: column;
		width: 100%;
		gap: 10px;
	}

	.upload,
	.demo-btn {
		width: 100%;
		justify-content: center;
	}

	.privacy-badge {
		padding: 7px 14px;
	}

	.privacy-icon {
		font-size: 1rem;
	}

	.privacy-text-main {
		font-size: 0.85rem;
	}

	.demo-card {
		padding: 24px;
		max-width: calc(100% - 32px);
	}

	.demo-card h2 {
		font-size: 1.5rem;
	}
}

.action.secondary.gh {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
}

.action.secondary.gh svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	display: block;
}

/* Achievements Grid */
.achievements-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(14px, 2.2vw, 18px);
	width: 100%;
}

.achievement-badge {
	background: rgba(30, 41, 59, 0.95);
	border: 2px solid rgba(99, 102, 241, 0.3);
	border-radius: 20px;
	padding: clamp(18px, 3vw, 24px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	position: relative;
}

.achievement-badge:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
	border-color: rgba(99, 102, 241, 0.5);
}

.badge-emoji {
	font-size: clamp(2.2rem, 5.5vw, 3rem);
	line-height: 1;
	margin-bottom: 2px;
	opacity: 0.95;
}

.badge-name {
	font-size: clamp(0.95rem, 2vw, 1.08rem);
	font-weight: 600;
	color: #e2e8f0;
	line-height: 1.3;
	letter-spacing: 0.5px;
}

.badge-description {
	font-size: clamp(0.72rem, 1.5vw, 0.8rem);
	color: rgba(148, 163, 184, 0.9);
	line-height: 1.4;
	font-weight: 400;
}

@media (max-width: 540px) {
	.achievements-grid {
		gap: 12px;
	}

	.achievement-badge {
		padding: 16px;
		gap: 6px;
		border-radius: 18px;
	}

	.badge-emoji {
		font-size: 2rem;
		margin-bottom: 2px;
	}

	.badge-name {
		font-size: 0.88rem;
		letter-spacing: 0.3px;
	}

	.badge-description {
		font-size: 0.7rem;
	}
}
