.sidebar .sidebar-stage {
	position: relative;
	width: 850px;
	height: 350px;
	margin: 0 auto;
	--p-stage: 0px;
	--p-pane: 0px;
	transform: translateY(var(--p-stage));
	overflow: visible;
}

.sidebar .sidebar-bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 850px;
	height: 386px;
	background: url("assets/highlight-sidebar.png") no-repeat 0 0 / 100% 100%;
	pointer-events: none;
}

.sidebar .sidebar-bg .sidebar-window {
	position: absolute;
	left: 0;
	top: 17px; /* 22 + 17 = 39 to match previous visual */
	width: 175px;
	height: 331px;
	background: url("assets/highlight-sidebar-window.png") no-repeat 0 0 / 100% 100%;
	animation: sidebarSlide 4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
	will-change: transform, opacity;
}

.sidebar .sidebar-bg .sidebar-window-wrap {
	position: absolute;
	left: 21px;
	top: 22px;
	width: 175px;
	height: 331px;
	overflow: hidden;
}

@keyframes sidebarSlide {
	0% {
		transform: translateX(-120%);
		opacity: 0;
	}
	15% {
		transform: translateX(0);
		opacity: 1;
	}
	60% {
		transform: translateX(0);
		opacity: 1;
	}
	75% {
		transform: translateX(-120%);
		opacity: 0;
	}
	100% {
		transform: translateX(-120%);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sidebar .sidebar-bg .sidebar-window {
		animation: none;
	}
}

.widgets .widgets-stage {
	position: relative;
	width: 876px;
	height: 350px;
	margin-left: -1px;
	--p: 0px;
}

.widgets .widgets-image {
	position: absolute;
	left: -48px; /* 0px from left */
	top: 70%;
	transform: translateY(calc(-50% + var(--p)));
	width: 899px;
	height: 440px;
	user-select: none;
	background-size: 899px 440px;
	background-position: top right;
}
.drawing .drawing-stage {
	position: relative;
	width: 876px;
	height: 350px;
	margin-left: -1px;
	--p-left: 0px;
	--p-right: 0px;
}

.drawing .drawing-stage img {
	display: block;
	position: absolute;
	user-select: none;
	width: 340px;
	height: 364px;
}

.drawing .drawing-center {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

.drawing .drawing-left {
	left: 50%;
	top: 70%;
	transform: translate(calc(-50% - 280px), calc(-50%)) translateY(var(--p-left));
	z-index: 1;
}

.drawing .drawing-right {
	left: 50%;
	top: 30%;
	transform: translate(calc(-50% + 280px), -50%) translateY(var(--p-right));
	z-index: 1;
}
:root {
	--text: #0a0a0a;
	--muted: #6b7280;
	--bg: #ffffff;
	--nav-bg: rgba(255, 255, 255, 0.6);
	--border: rgba(15, 23, 42, 0.08);
	--hero-gradient: radial-gradient(1400px 700px at 40% -10%, #f9fafb 0%, #ffffff 45%),
		radial-gradient(1200px 600px at 80% 10%, #f3f4f6 0%, #ffffff 50%);
}

html,
body {
	height: 100%;
	margin: 0;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Top navigation */
.site-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1001;
	padding: 16px 28px;
	background: var(--nav-bg);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.nav-content {
	max-width: 876px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.site-nav.is-scrolled {
	border-bottom-color: var(--border);
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

/* Burger button */
.burger-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
	z-index: 100;
	width: 40px;
	height: 40px;
}

.burger-line {
	width: 24px;
	height: 2px;
	background: #111827;
	border-radius: 2px;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	transform-origin: center;
	position: absolute;
}

.burger-line:nth-child(1) {
	top: 50%;
	margin-top: -7px;
}

.burger-line:nth-child(2) {
	top: 50%;
}

.burger-line:nth-child(3) {
	top: 50%;
	margin-top: 7px;
}

.site-nav.is-menu-open .burger-line:nth-child(1) {
	transform: rotate(45deg);
	top: 50%;
	margin-top: 0;
}

.site-nav.is-menu-open .burger-line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.site-nav.is-menu-open .burger-line:nth-child(3) {
	transform: rotate(-45deg);
	top: 50%;
	margin-top: 0;
}

.nav-left {
	display: flex;
	gap: 32px;
	align-items: center;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 22px;
	border: 1px solid var(--border);
	background: #efeef2; /* EFEFF2 */
	color: #111827;
	text-decoration: none;
	font-size: 14px;
}

.chip:hover {
	background: #e9e9ed;
}

.download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: #111827;
}

.download-btn img {
	display: block;
	height: 22px;
}

.download-btn--white {
	background: #ffffff;
}

/* Nav-specific download button overrides */
.site-nav .download-btn {
	padding: 0;
	border: 0;
	background: transparent;
	height: auto;
	display: flex;
	align-items: center;
}

.site-nav .download-btn img {
	width: 120px;
	height: 39px;
}

/* Hero */
.hero {
	padding-top: 108px; /* space for fixed nav */
}

.hero-inner {
	max-width: 876px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	align-items: center;
	padding: 32px 28px 140px;
}

.hero-title {
	font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	font-size: 96px;
	line-height: 94px;
	letter-spacing: -0.5px;
	font-weight: 700;
	margin: 12px 0 24px;
	width: 536px;
}

.hero-cta {
	margin-top: 24px;
	display: flex;
	gap: 16px;
	align-items: center;
}

.download-black {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 320ms ease, transform 320ms ease;
	will-change: opacity, transform;
}

.download-black.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.download-black img {
	width: 189px;
	height: 62px;
	display: block;
}

/* Highlights */
.highlights {
	padding: 40px 28px 100px;
}

.highlights-inner {
	max-width: 972px;
	margin: 0 auto;
}

.highlights-title {
	font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
	font-size: 56px;
	letter-spacing: -0.3px;
	font-weight: 700;
	margin: 0 0 80px 47px;
}

.highlights-carousel {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw); /* full-bleed */
}

.highlights-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-left: calc(50vw - 486px); /* center first 876px slide */
	padding-right: calc(50vw - 486px);
	padding-bottom: 16px;
	scrollbar-width: none; /* Firefox */
}

.highlights-track::-webkit-scrollbar {
	display: none;
}

.highlight-slide {
	flex: 0 0 972px; /* card width equals content width */
	scroll-snap-align: center;
	overflow: hidden;
}

.highlight-card {
	background: #f8f8f8;
	border-radius: 28px;
	padding: 48px 48px 0px;
	overflow: hidden;
}

.highlight-card-text {
	font-size: 28px;
	font-weight: 600;
	margin: 0 0 48px;
}

.groups .groups-stage {
	position: relative;
	width: 876px;
	height: 350px;
	margin-left: -1px;
	--p-center: 0px;
	--p-left: 0px;
	--p-right: 0px;
}

.groups .groups-stage img {
	display: block;
	position: absolute;
	user-select: none;
}

.groups .groups-center {
	left: 50%;
	top: -37px;
	width: 384px;
	height: 672px;
	transform: translate(-50%, 0%) translateY(var(--p-center));
	z-index: 2;
}

.groups .groups-left {
	left: 45px;
	top: 70px;
	width: 340px;
	height: 364px;
	transform: translateY(var(--p-left));
	z-index: 1;
}

.groups .groups-right {
	right: 45px;
	top: 70px;
	width: 340px;
	height: 364px;
	transform: translateY(var(--p-right));
	z-index: 1;
}

/* Password highlight (three images with parallax) */
.password .password-stage {
	position: relative;
	width: 876px;
	height: 350px;
	margin-left: -1px;
	--p-center: 0px;
	--p-left: 0px;
	--p-right: 0px;
}

.password .password-stage img {
	display: block;
	position: absolute;
	user-select: none;
}

.password .password-center {
	left: 50%;
	top: -7px;
	width: 340px;
	height: 364px;
	transform: translate(-50%, 0) translateY(var(--p-center));
	z-index: 2;
}

.password .password-left {
	left: 45px;
	top: 80px;
	width: 340px;
	height: 364px;
	transform: translateY(var(--p-left));
	z-index: 1;
}

.password .password-right {
	right: 45px;
	top: 80px;
	width: 340px;
	height: 364px;
	transform: translateY(var(--p-right));
	z-index: 1;
}

.highlight-video-wrap {
	width: 876px;
	height: 350px;
	overflow: hidden;
	background: #f8f8f8;
}

.highlight-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: none;
}

/* History highlight (image instead of video) */
.history .history-stage {
	width: 340px;
	height: 350px;
	margin: 0 auto; /* center within card */
	position: relative;
}

.history .history-image {
	display: block;
	width: 340px;
	height: 364px;
	object-fit: contain;
	position: relative;
	z-index: 10; /* top of the stack */
	transform: translateY(var(--py, 0px));
}

.history .history-clone {
	position: absolute;
	left: 50%;
	top: 0;
	width: 100%;
	height: 100%;
	transform: translate(-50%, calc(var(--dy, 0px) + var(--py, 0px))) scale(var(--scale, 1));
	opacity: var(--opacity, 0.1);
	object-fit: contain;
	pointer-events: none;
	z-index: var(--z, 1);
}

.highlights-controls {
	margin-top: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.hl-play {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	border: 0;
	background: #eff0f3;
	box-shadow: inset 0 0 0 1px #e5e7eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.hl-play:hover {
	background: #e5e7eb;
}

.hl-play .svg-icon {
	width: 56px;
	height: 56px;
	display: none;
	fill: currentColor;
	color: #111827;
}
.hl-play .pause-icon {
	display: block;
}
.hl-play.is-paused .pause-icon {
	display: none;
}
.hl-play.is-paused .play-icon {
	display: block;
}
.hl-play .replay-icon {
	display: none;
}

.highlights-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	background: #eff0f3;
	box-shadow: inset 0 0 0 1px #e5e7eb;
	padding: 24px 24px;
	border-radius: 999px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.56);
	border: 0;
	padding: 0;
	transition: all 180ms ease;
	cursor: pointer;
	position: relative;
}

.dot.is-active {
	width: 48px;
	overflow: hidden;
}

.dot.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: calc(var(--progress, 0) * 100%);
	background: #111827;
	border-radius: inherit;
	transition: width 80ms linear;
}

/* Visual block with gradient */
.visual {
	position: relative;
	min-height: 560px;
	border-radius: 28px;
	overflow: visible;
}

.device {
	position: absolute;
	opacity: 0;
	transform: translateY(40px) scale(0.98);
	transition: opacity 800ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform, opacity;
	pointer-events: none;
	--parallax: 0px;
}

.device.in-view {
	opacity: 1;
}

.device--iphone {
	left: 65%;
	top: 8cqb;
	width: 220px;
	height: 451px;
	z-index: 1;
	transform: translate(calc(-50% - 50px), 0) scale(0.98) translateY(var(--parallax));
}

.device--iphone.in-view {
	transform: translate(calc(-50% - 100px), 0) scale(1) translateY(var(--parallax));
}

.device--mac {
	left: 65%;
	top: -50px;
	width: 384px;
	height: 672px;
	z-index: 2;
	transform: translate(calc(-50% + 0px), 0px) scale(0.98) translateY(var(--parallax));
}

.device--mac.in-view {
	transform: translate(calc(-50% + 40px), 0) scale(1) translateY(var(--parallax));
}

/* Typewriter caret */
.caret {
	display: inline-block;
	width: 2px;
	height: 0.7em;
	background: currentColor;
	margin-left: 2px;
	animation: blink 1s step-end infinite;
}

/* Todo section */
.todo-section {
	position: relative;
	margin-bottom: 100px;
}

.drawing-canvas {
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 40px 80px;
	box-sizing: border-box;
	background: rgba(249, 250, 251, 0.9);
}

.drawing-content {
	width: min(100%, 972px);
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 auto;
}

.drawing-canvas-title {
	font-size: 64px;
	font-weight: 600;
	margin: 0;
	text-align: center;
	color: #111827;
}

.drawing-canvas-subtitle {
	margin: 0;
	text-align: center;
	color: #6e6e73;
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 48px;
}

.canvas-holder {
	width: 100%;
	height: 480px;
	max-width: 960px;
	border-radius: 32px;
	border: 2px dashed rgba(17, 24, 39, 0.1);
	background: rgba(255, 255, 255, 0.6);
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 80px;
}

.drawing-devices {
	margin: 64px 0 72px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 48px;
	position: relative;
}

.drawing-video {
	width: 100%;
	margin: 0 auto 72px;
	border-radius: 40px;
	overflow: hidden;
	position: relative;
}

.drawing-video-player {
	display: block;
	width: 100%;
	height: auto;
}

.drawing-video-toggle {
	position: absolute;
	left: 24px;
	bottom: 24px;
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	background: #eff0f3;
	box-shadow: inset 0 0 0 1px #e5e7eb;
	cursor: pointer;
	transition: background 160ms ease;
	user-select: none;
	-webkit-user-select: none;
}

.drawing-video-toggle__icon {
	display: none;
	width: 21px;
	height: 19px;
}

.drawing-video-toggle.is-paused .drawing-video-toggle__icon--play,
.drawing-video-toggle:not(.is-paused) .drawing-video-toggle__icon--pause {
	display: block;
}

.drawing-video-toggle:hover,
.drawing-video-toggle:focus-visible {
	background: #e5e7eb;
}

.drawing-video-toggle:active {
	background: #dfe1e7;
}

.drawing-device {
	display: block;
	height: auto;
	transform: rotate(var(--rotate, 0deg));
}

.drawing-device--center {
	width: 328px;
	max-width: 60vw;
	z-index: 2;
	--rotate: 0deg;
	transform: translateY(var(--dy, 0px)) rotate(var(--rotate, 0deg));
}

.drawing-device--left,
.drawing-device--right {
	width: 236px;
	max-width: 45vw;
	opacity: 0.9;
}

.drawing-device--left {
	--rotate: -4deg;
}

.drawing-device--right {
	--rotate: 4deg;
}

.drawing-canvas-paper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: rgba(255, 255, 255, 0.85);
	touch-action: none;
	cursor: crosshair;
	border-radius: inherit;
}

.drawing-tools {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 0);
	display: flex;
	align-items: flex-end;
	gap: 4px;
	background: transparent;
	backdrop-filter: none;
	border-radius: 0;
	box-shadow: none;
}

.drawing-export,
.drawing-trash,
.drawing-undo {
	position: absolute;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 16px;
	background: rgba(17, 24, 39, 0.06);
	backdrop-filter: blur(4px);
	cursor: pointer;
	transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
	user-select: none;
	-webkit-user-select: none;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
}

.drawing-export {
	top: 16px;
	right: 16px;
	bottom: auto;
	left: auto;
}

.drawing-trash {
	bottom: 16px;
	right: 16px;
}

.drawing-undo {
	bottom: 16px;
	left: 16px;
}

.drawing-export img {
	display: block;
	width: 22px;
	height: 22px;
}

.drawing-trash img {
	display: block;
	width: 20px;
	height: 23px;
}

.drawing-undo img {
	display: block;
	width: 19px;
	height: 19px;
}

.drawing-export.is-visible,
.drawing-trash.is-visible,
.drawing-undo.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.drawing-export.is-visible:hover,
.drawing-export.is-visible:focus-visible,
.drawing-trash.is-visible:hover,
.drawing-trash.is-visible:focus-visible,
.drawing-undo.is-visible:hover,
.drawing-undo.is-visible:focus-visible {
	transform: translateY(-3px);
	background: rgba(17, 24, 39, 0.12);
}

.drawing-export.is-visible:active,
.drawing-trash.is-visible:active,
.drawing-undo.is-visible:active {
	transform: translateY(0);
	background: rgba(17, 24, 39, 0.2);
}

.drawing-tool {
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	transform: translateY(20px);
	transition: transform 180ms ease;
	outline: none;
	width: 34px;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	-webkit-user-select: none;
}

.drawing-tool img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.drawing-tool:hover,
.drawing-tool:focus-visible {
	transform: translateY(10px);
}

.drawing-tool-active {
	transform: translateY(0);
}

.drawing-tool-active:hover,
.drawing-tool-active:focus-visible {
	transform: translateY(5px);
}

.todo-title {
	font-size: 28px;
	padding-top: 80px;
	text-align: center;
	margin: 0;
	color: white;
	position: relative;
	z-index: 1;
}

.todo-subtitle {
	font-size: 64px;
	font-weight: 600;
	text-align: center;
	margin: 0;
	color: white;
	position: relative;
	z-index: 1;
	padding-bottom: 34px;
}

.todo-window {
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	width: 384px;
	height: 672px;
	transform: translateY(var(--parallax));
}

.todo-container {
	max-width: 972px;
	width: 100%;
	height: 880px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.todo-bg {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1680px;
	height: 880px;
	background-image: url("assets/todo-bg.webp");
	background-size: 1680px 950px;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
	border-radius: 28px;
	z-index: 0;
}

.history-section {
	position: relative;
	margin-top: 100px;
	margin-bottom: 100px;
	overflow: hidden;
}

.history-container {
	max-width: 972px;
	width: 100%;
	height: 840px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.history-title {
	font-size: 28px;
	padding-top: 80px;
	text-align: center;
	margin: 0;
	color: white;
	position: relative;
	z-index: 1;
}

.history-subtitle {
	font-size: 64px;
	font-weight: 600;
	text-align: center;
	margin: 0;
	color: white;
	position: relative;
	z-index: 1;
	padding-bottom: 34px;
}

.history-bg {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 1680px;
	height: 840px;
	overflow: hidden;
	border-radius: 28px;
	z-index: 0;
}

.history-bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

@media (max-width: 1440px) {
	.history-container {
		height: 720px;
	}
	.history-bg {
		width: 1440px;
		height: 720px;
	}
}

@media (max-width: 1280px) {
	.history-container {
		height: 640px;
	}
	.history-bg {
		width: 1280px;
		height: 640px;
	}
}

@media (max-width: 768px) {
	.history-container {
		height: 550px;
	}
	.history-bg {
		width: 1100px;
		height: 550px;
	}
}

.colors-section {
	background: #ffffff;
	padding: 120px 28px 140px;
}

.colors-inner {
	max-width: 972px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.colors-header {
	max-width: 640px;
}

.colors-pallete-wrapper {
	display: flex;
	align-items: stretch;
	gap: 32px;
	width: 100%;
	max-width: 700px;
	margin: 0 auto 48px;
}

.color-preview-square {
	flex: 1;
	aspect-ratio: 1;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(15, 23, 42, 0.08);
	background-color: #ffffff;
	transition: background-color 0.3s ease;
	text-align: left;
	box-sizing: border-box;
	min-width: 0;
}

.color-preview-text {
	padding: 16px;
}

.color-preview-text p {
	margin-top: 0px;
	margin-bottom: 16px;
}

.colors-pallete-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	flex: 1;
	aspect-ratio: 1;
	box-sizing: border-box;
	min-width: 0;
}

.color-swatch {
	aspect-ratio: 1;
	border-radius: 8px;
	border: 2px solid rgba(1, 1, 1, 0.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.color-swatch:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-swatch.is-selected {
	outline: 3px solid black;
	outline-offset: 2px;
}

.colors-video-controls {
	display: inline-flex;
	align-items: center;
	position: relative;
	background: #e5e7eb;
	border-radius: 22px;
	padding: 4px;
	margin: 0px auto 0;
	gap: 0;
}

.colors-segment-slider {
	position: absolute;
	top: 4px;
	left: 4px;
	height: calc(100% - 8px);
	background: #111827;
	border-radius: 18px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
	pointer-events: none;
}

.colors-segment-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	border-radius: 18px;
	border: none;
	background: transparent;
	color: #6b7280;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.2s ease;
	position: relative;
	z-index: 2;
	min-width: 80px;
}

.colors-segment-chip:hover {
	color: #111827;
}

.colors-segment-chip.is-active {
	color: #ffffff;
}

.colors-video {
	width: 100%;
	max-width: 972px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	border-radius: 40px;
	overflow: hidden;
	position: relative;
}

.colors-video .drawing-video-player {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease;
}

.password-section {
	background: rgba(249, 250, 251, 0.9);
	padding: 120px 28px 140px;
}

.password-inner {
	max-width: 972px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.password-video {
	width: 100%;
	max-width: 972px;
	aspect-ratio: 16 / 9;
	margin: 0 auto 48px;
	border-radius: 40px;
	overflow: hidden;
	position: relative;
}

.password-video .drawing-video-player {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease;
}

.password-video-controls {
	display: inline-flex;
	align-items: center;
	position: relative;
	background: #e5e7eb;
	border-radius: 22px;
	padding: 4px;
	margin: 0px auto 0;
	gap: 0;
}

.password-segment-slider {
	position: absolute;
	top: 4px;
	left: 4px;
	height: calc(100% - 8px);
	background: #111827;
	border-radius: 18px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
	pointer-events: none;
}

.password-segment-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	border-radius: 18px;
	border: none;
	background: transparent;
	color: #6b7280;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: color 0.2s ease;
	position: relative;
	z-index: 2;
	min-width: 80px;
}

.password-segment-chip:hover {
	color: #111827;
}

.password-segment-chip.is-active {
	color: #ffffff;
}

@keyframes blink {
	0%,
	50% {
		opacity: 1;
	}
	50.01%,
	100% {
		opacity: 0;
	}
}

@media (max-width: 1680px) {
	.todo-bg {
		border-radius: 0px;
	}
}

/* Responsive */
@media (max-width: 1024px) {
	.hero {
		padding-top: 88px;
	}
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 32px 28px 0px;
	}
	.visual {
		position: relative;
		height: 590px;
	}
	.hero-title {
		font-size: 56px;
		line-height: 56px;
		width: 100%;
		letter-spacing: -0.4px;
		min-height: 112px;
	}
	.device--mac {
		width: 360px;
		height: 630px;
		left: 50%;
		top: 0;
		transform: translateX(calc(-50% - 60px)) scale(0.98) translateY(var(--parallax));
	}
	.device--mac.in-view {
		transform: translateX(calc(-50% - 60px)) scale(1) translateY(var(--parallax));
	}
	.device--iphone {
		width: 220px;
		height: 451px;
		left: 50%;
		top: 40px;
		transform: translateX(calc(-50% + 120px)) scale(0.98) translateY(var(--parallax));
	}
	.device--iphone.in-view {
		transform: translateX(calc(-50% + 120px)) scale(1) translateY(var(--parallax));
	}
	.highlights-title {
		padding-left: 0;
		margin-left: 0;
		font-size: 42px;
		margin-bottom: 64px;
	}

	/* Highlights carousel for tablet */
	.highlights {
		padding: 40px 20px 60px;
	}

	.highlights-carousel {
		margin-left: calc(50% - 50vw);
	}

	.highlights-track {
		padding-left: 16px;
		padding-right: 16px;
		gap: 16px;
	}

	.highlight-slide {
		flex: 0 0 calc(100vw - 32px);
		scroll-snap-align: center;
	}

	.highlight-card {
		padding: 32px 28px 0;
		border-radius: 20px;
	}

	.highlight-card-text {
		font-size: 22px;
		margin: 0 0 32px;
	}

	/* Sidebar for tablet */
	.sidebar .sidebar-stage {
		width: 100%;
		height: 350px;
		margin: 0 auto;
	}

	.sidebar .sidebar-bg {
		width: 100%;
		height: 386px;
		background-size: 850px 386px;
		background-position: top left;
		padding-right: 28px;
		margin-right: -28px;
	}

	.sidebar .sidebar-bg .sidebar-window-wrap {
		top: 40px;
		left: 22px;
		width: 180px;
		height: 386px;
	}

	.sidebar .sidebar-bg .sidebar-window {
		width: 180px;
		height: 333px;
		top: 0;
		background-size: contain;
	}

	.groups .groups-stage {
		width: 100%;
		height: 350px;
		margin: 0;
		position: relative;
	}

	.groups .groups-center {
		left: 50%;
		top: 0;
		width: 384px;
		height: 672px;
		transform: translate(-50%, 0) translateY(var(--p-center));
		z-index: 2;
	}

	.groups .groups-left {
		left: 50%;
		top: 80%;
		width: 360px;
		height: 364px;
		transform: translate(calc(-50% - 220px), -50%) translateY(var(--p-left));
		z-index: 1;
	}

	.groups .groups-right {
		left: 50%;
		top: 80%;
		width: 360px;
		height: 364px;
		transform: translate(calc(-50% + 220px), -50%) translateY(var(--p-right));
		z-index: 1;
	}

	/* Drawing for tablet */
	.drawing .drawing-stage {
		width: 100%;
		height: 350px;
		margin: 0;
		position: relative;
	}

	.drawing .drawing-center {
		left: 50%;
		width: 340px;
		height: 364px;
		z-index: 2;
	}

	.drawing .drawing-left {
		left: 50%;
		top: 80%;
		width: 340px;
		height: 364px;
		transform: translate(calc(-50% - 220px), -50%) translateY(var(--p-left));
		z-index: 1;
	}

	.drawing .drawing-right {
		left: 50%;
		top: 80%;
		width: 340px;
		height: 364px;
		transform: translate(calc(-50% + 220px), -50%) translateY(var(--p-right));
		z-index: 1;
	}

	/* Password for tablet */
	.password .password-stage {
		width: 100%;
		height: 350px;
		margin: 0;
		position: relative;
	}

	.password .password-center {
		left: 50%;
		width: 340px;
		height: 364px;
		z-index: 2;
	}

	.password .password-left {
		left: 50%;
		top: 80%;
		width: 340px;
		height: 364px;
		transform: translate(calc(-50% - 220px), -50%) translateY(var(--p-left));
		z-index: 1;
	}

	.password .password-right {
		left: 50%;
		top: 80%;
		width: 340px;
		height: 364px;
		transform: translate(calc(-50% + 220px), -50%) translateY(var(--p-right));
		z-index: 1;
	}

	/* Password mobile */
	.password .password-center {
		left: 50%;
		width: 340px;
		height: 364px;
		z-index: 2;
	}

	.password .password-left {
		display: none;
	}

	.password .password-right {
		display: none;
	}

	/* Widgets mobile */
	.widgets .widgets-stage {
		width: 100%;
		height: 350px;
		margin: 0;
		position: relative;
	}

	.widgets .widgets-image {
		left: auto;
		right: 0px;
	}

	/* History mobile */
	.history .history-stage {
		width: 100%;
		max-width: 340px;
		height: 350px;
		margin: 0 auto;
	}

	.history .history-image {
		width: 100%;
		max-width: 340px;
		height: auto;
	}
}

/* Mobile hero */
@media (max-width: 768px) {
	.hero {
		padding-top: 88px;
	}

	.hero-inner {
		padding: 28px;
		gap: 32px;
	}

	.hero-title {
		font-size: 42px;
		line-height: 44px;
		letter-spacing: -0.3px;
		width: 100%;
		min-height: 132px;
		margin: 0 0 24px;
	}

	.hero-cta {
		margin-top: 20px;
	}

	.download-black img {
		width: 155px;
		height: 51px;
	}

	.visual {
		margin: 0 auto;
		position: relative;
		height: 437px;
	}

	.device {
		opacity: 1;
	}

	.device--mac {
		width: 250px;
		height: 437px;
		left: 50%;
		top: 0;
		z-index: 1;
		transform: translateX(-50%) scale(1) translateY(var(--parallax));
	}

	.device--mac.in-view {
		transform: translateX(-20%) scale(1) translateY(var(--parallax));
	}

	.device--iphone {
		width: 220px;
		height: 451px;
		left: 50%;
		top: 40px;
		z-index: 2;
		transform: translateX(calc(-50%)) scale(1) translateY(var(--parallax));
	}

	.device--iphone.in-view {
		transform: translateX(calc(-80%)) scale(1) translateY(var(--parallax));
	}
}

/* Mobile navigation */
@media (max-width: 768px) {
	.burger-btn {
		display: flex;
	}

	.nav-left {
		position: fixed;
		top: 72px;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: calc(100vh - 72px);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 28px;
		background: rgba(255, 255, 255, 1);
		overflow-y: auto;
		z-index: 1000;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
		pointer-events: none;
	}

	.site-nav.is-menu-open .nav-left {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.nav-left .chip {
		width: 100%;
		justify-content: flex-start;
		border-radius: 0;
		margin-bottom: 0;
		padding: 16px 0;
		border: none;
		background: transparent;
		font-size: 28px;
		font-weight: 600;
		color: #111827;
		text-align: left;
		opacity: 0;
		transform: translateY(10px);
		transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.site-nav.is-menu-open .nav-left .chip {
		opacity: 1;
		transform: translateY(0);
	}

	.site-nav.is-menu-open .nav-left .chip:nth-child(1) {
		transition-delay: 0.2s;
	}

	.site-nav.is-menu-open .nav-left .chip:nth-child(2) {
		transition-delay: 0.3s;
	}

	.site-nav.is-menu-open .nav-left .chip:nth-child(3) {
		transition-delay: 0.4s;
	}

	.site-nav.is-menu-open .nav-left .chip:hover {
		background: transparent;
		opacity: 0.7;
	}

	.nav-content {
		position: relative;
	}

	.download-btn {
		margin-left: auto;
	}

	/* Prevent body scroll when menu is open */
	body.menu-open {
		overflow: hidden;
	}

	/* Highlights mobile */
	.highlights {
		padding: 40px 20px 60px;
	}

	.highlights-title {
		font-size: 42px;
		margin: 0 0 40px 0;
		padding-left: 0;
	}

	.highlights-carousel {
		margin-left: calc(50% - 50vw);
	}

	.highlights-track {
		padding-left: 16px;
		padding-right: 16px;
		gap: 16px;
	}

	.highlight-slide {
		flex: 0 0 calc(100vw - 32px);
		scroll-snap-align: center;
	}

	.highlight-card {
		padding: 32px 28px 0;
		border-radius: 20px;
	}

	.highlight-card-text {
		font-size: 22px;
		margin: 0 0 32px;
	}

	/* Sidebar mobile */
	.sidebar .sidebar-stage {
		width: 100%;
		height: 350px;
		margin: 0 auto;
	}

	.sidebar .sidebar-bg {
		width: 100%;
		height: 386px;
		background-size: 850px 386px;
		background-position: top left;
		padding-right: 28px;
		margin-right: -28px;
	}

	.sidebar .sidebar-bg .sidebar-window-wrap {
		top: 40px;
		left: 22px;
		width: 180px;
		height: 386px;
	}

	.sidebar .sidebar-bg .sidebar-window {
		width: 180px;
		height: 333px;
		top: 0;
		background-size: contain;
	}

	/* Groups mobile */

	.groups .groups-center {
		left: 50%;
		top: 0px;
		width: 280px;
		height: 480px;
		transform: translate(-50%, 0) translateY(var(--p-center));
		z-index: 2;
	}

	.groups .groups-left {
		left: 50%;
		top: 50%;
		width: 200px;
		height: 213px;
		transform: translate(calc(-50% - 80px), -50%) translateY(var(--p-left));
		z-index: 1;
	}

	.groups .groups-right {
		left: 50%;
		top: 50%;
		width: 200px;
		height: 213px;
		transform: translate(calc(-50% + 80px), -50%) translateY(var(--p-right));
		z-index: 1;
	}

	/* Drawing mobile */
	.drawing .drawing-center {
		left: 50%;
		width: 280px;
		height: 364px;
		z-index: 2;
	}

	.drawing .drawing-left {
		display: none;
	}

	.drawing .drawing-right {
		display: none;
	}

	/* Widgets mobile */
	.widgets .widgets-image {
		top: 50%;
		width: 700px;
		height: 342px;
		background-size: 700px 342px;
	}

	/* Todo mobile */

	.todo-title {
		font-size: 21px;
		padding-top: 48px;
	}

	.todo-subtitle {
		font-size: 40px;
		padding-bottom: 0px;
	}

	.history-title {
		font-size: 21px;
		padding-top: 48px;
	}

	.history-subtitle {
		font-size: 40px;
		padding-bottom: 0px;
	}

	.todo-window {
		position: absolute;
		left: 50%;
		height: auto;
		transform: translateX(-50%) translateY(var(--parallax));
	}

	/* Drawing Canvas */

	.drawing-canvas {
		height: auto;
		padding: 60px 24px 24px;
	}

	.canvas-holder {
		height: 100vw;
		margin-bottom: 24px;
	}

	.drawing-canvas-title {
		font-size: 40px;
		margin-bottom: 8px;
	}

	.drawing-canvas-subtitle {
		font-size: 21px;
		margin-bottom: 32px;
	}

	.drawing-devices {
		margin: 40px 0 48px;
		gap: 24px;
	}

	.drawing-device--center {
		width: 220px;
	}

	.drawing-device--left,
	.drawing-device--right {
		width: 160px;
	}

	.drawing-device--center {
		transform: translateY(var(--dy, 0px)) rotate(var(--rotate, 0deg));
	}

	.drawing-video {
		margin: 0 auto 48px;
		border-radius: 28px;
	}

	.drawing-video-toggle {
		left: 16px;
		bottom: 16px;
	}
}

@media (max-width: 640px) {
	.drawing-devices {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.drawing-device--center,
	.drawing-device--left,
	.drawing-device--right {
		width: min(70vw, 260px);
	}

	.drawing-video {
		border-radius: 24px;
		margin-bottom: 40px;
	}

	.drawing-video-toggle {
		left: 12px;
		bottom: 12px;
	}

	.drawing-video-player {
		aspect-ratio: 1 / 1;
		height: auto;
		object-fit: cover;
	}
}

@media (max-width: 480px) {
	.drawing-video {
		border-radius: 20px;
	}

	.drawing-video-toggle {
		width: 52px;
		height: 52px;
	}
}

@media (max-width: 1680px) {
	.todo-section {
		margin-bottom: 0;
	}

	.history-section {
		margin-bottom: 0;
		margin-top: 0;
	}

	.history-bg {
		border-radius: 0;
	}
}

.glance-section {
	background: #ffffff;
	padding: 100px 0px;
	overflow: hidden;
}

.glance-inner {
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.glance-header {
	width: 100%;
}

.glance-title {
	font-size: 64px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 16px;
	transition: opacity 200ms ease;
}

.glance-subtitle {
	font-size: 28px;
	color: #6e6e73;
	font-weight: 600;
	margin: 0 0 48px;
	transition: opacity 200ms ease;
	margin-bottom: 48px;
}

.glance-title.is-swapping,
.glance-subtitle.is-swapping {
	opacity: 0;
}

.glance-carousel {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.glance-carousel::-webkit-scrollbar {
	display: none;
}

.glance-track {
	display: flex;
	gap: 16px;
	padding-left: max(16px, calc(50vw - 486px));
	padding-right: max(16px, calc(50vw - 486px));
	padding-bottom: 16px;
	position: relative;
}

.glance-track::after {
	content: "";
	flex: 0 0 max(16px, calc(50vw - 486px));
}

.glance-slide {
	flex: 0 0 972px;
	padding: 0;
	opacity: 0.4;
	transform: scale(0.98);
	transition: opacity 220ms ease, transform 220ms ease;
	pointer-events: none;
	will-change: transform, opacity;
	scroll-snap-align: center;
}

.glance-slide.is-active {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
}

.glance-video {
	margin: 0 auto;
	width: 100%;
	max-width: 972px;
}

.glance-controls {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	justify-content: center;
}

.glance-nav {
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: #eff0f3;
	box-shadow: inset 0 0 0 1px #e5e7eb;
	cursor: pointer;
	transition: background 160ms ease;
}

.glance-nav:hover,
.glance-nav:focus-visible {
	background: #e5e7eb;
}

.glance-nav:active {
	background: #dfe1e7;
}

.glance-nav img {
	display: block;
	width: 18px;
	height: 18px;
}

.glance-nav--prev img {
	transform: translateX(-1px);
}

.glance-nav--next img {
	transform: translateX(1px);
}

.glance-slide:not(.is-active) .drawing-video-toggle {
	opacity: 0;
	pointer-events: none;
}

.glance-slide.is-active .drawing-video-toggle {
	opacity: 1;
	pointer-events: auto;
}

.drawing-video {
	width: 100%;
	margin: 0 auto 48px;
	border-radius: 40px;
	overflow: hidden;
	position: relative;
}

@media (max-width: 1024px) {
	.glance-section {
		padding: 96px 32px;
	}

	.glance-track {
		padding-left: 32px;
		padding-right: 32px;
	}

	.glance-slide {
		flex: 0 0 min(972px, calc(100vw - 64px));
	}
}

@media (max-width: 640px) {
	.glance-section {
		padding: 72px 20px;
	}

	.glance-title {
		font-size: 40px;
		margin-bottom: 12px;
	}

	.glance-subtitle {
		margin-bottom: 32px;
		font-size: 22px;
	}

	.glance-track {
		padding-left: 20px;
		padding-right: 20px;
	}

	.colors-section {
		padding: 72px 20px 100px;
	}

	.colors-pallete-wrapper {
		flex-direction: column;
		align-items: center;
		gap: 24px;
		max-width: 100%;
	}

	.color-preview-square {
		width: 100%;
		aspect-ratio: 1;
		border-radius: 14px;
	}

	.colors-pallete-grid {
		gap: 6px;
		width: 100%;
		aspect-ratio: 1;
	}

	.color-swatch {
		border-radius: 10px;
	}

	.colors-video-controls {
		margin-top: 20px;
	}

	.colors-segment-chip {
		font-size: 13px;
		padding: 7px 14px;
	}

	.colors-video {
		margin: 0 auto;
		border-radius: 24px;
	}

	.password-section {
		padding: 72px 20px 100px;
	}

	.password-video {
		margin: 0 auto;
		border-radius: 24px;
	}

	.password-video-controls {
		margin-top: 20px;
	}

	.password-segment-chip {
		font-size: 13px;
		padding: 7px 14px;
	}

	.glance-slide {
		flex: 0 0 calc(100vw - 40px);
	}

	.drawing-video {
		margin: 0 auto 40px;
	}

	.drawing-video-player {
		aspect-ratio: 1 / 1;
		height: auto;
		object-fit: cover;
	}

	.glance-nav {
		width: 52px;
		height: 52px;
	}

	.glance-nav img {
		width: 16px;
		height: 16px;
	}
}
