:root {
	color-scheme: light dark;
	--paper: #f6f4ee;
	--card: #efede5;
	--raised: #fbfaf7;
	--line: rgb(31 35 32 / 0.1);
	--line-strong: rgb(31 35 32 / 0.16);
	--ink: #1d211f;
	--secondary: #5c615d;
	--tertiary: #858984;
	--accent: #6e56cf;
	--accent-soft: rgb(110 86 207 / 0.1);
	--accent-text: #5a43b8;
	--warning: #b06a28;
	--sage-1: #d5dccb;
	--sage-2: #a9b9a0;
	--sage-3: #7f9278;
	--art: #3e503a;
	--stage:
		radial-gradient(ellipse 55% 70% at 18% -10%, rgb(255 253 236 / 0.85), transparent 60%),
		radial-gradient(ellipse 70% 60% at 85% 110%, rgb(64 82 60 / 0.45), transparent 70%),
		linear-gradient(165deg, var(--sage-1) 0%, var(--sage-2) 45%, var(--sage-3) 100%);
	--rays: rgb(255 255 245 / 0.22);
	--glass:
		inset 0 1.5px 0 rgb(255 255 255 / 0.75),
		inset 0 0 0 1px rgb(255 255 255 / 0.22),
		inset 0 26px 40px -26px rgb(255 255 255 / 0.6),
		inset 22px 0 44px -30px rgb(255 255 255 / 0.32),
		inset -22px 0 44px -30px rgb(255 255 255 / 0.22),
		inset 0 -40px 60px -34px rgb(34 46 32 / 0.42),
		0 1px 2px rgb(40 52 38 / 0.12),
		0 24px 50px -24px rgb(40 52 38 / 0.38);
	--glass-sheen: radial-gradient(130% 70% at 50% -18%, rgb(255 255 255 / 0.34), transparent 58%);
	--grain-blend: multiply;
	--grain-opacity: 0.32;
	--shot-shadow: rgb(38 50 35 / 0.3);
	--quest-1: #2a78d6;
	--quest-2: #eb6834;
	--quest-3: #1baf7a;
	--quest-4: #c98500;
	--serif: ui-serif, 'New York', 'Iowan Old Style', Georgia, serif;
	--sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #0e0f0d;
		--card: #151714;
		--raised: #1b1d1a;
		--line: rgb(255 255 255 / 0.08);
		--line-strong: rgb(255 255 255 / 0.14);
		--ink: #f2f2ee;
		--secondary: #a3a7a0;
		--tertiary: #7a7e77;
		--accent: #7c66dc;
		--accent-soft: rgb(124 102 220 / 0.15);
		--accent-text: #b4a6f0;
		--warning: #e0954f;
		--sage-1: #2c3729;
		--art: #b9c9b2;
		--stage:
			radial-gradient(ellipse 55% 70% at 18% -10%, rgb(214 230 200 / 0.16), transparent 60%),
			radial-gradient(ellipse 70% 60% at 85% 110%, rgb(0 0 0 / 0.5), transparent 70%),
			linear-gradient(165deg, #2c3729 0%, #1c241b 48%, #111510 100%);
		--rays: rgb(220 235 210 / 0.07);
		--glass:
			inset 0 1px 0 rgb(255 255 255 / 0.16),
			inset 0 0 0 1px rgb(255 255 255 / 0.05),
			inset 0 26px 40px -26px rgb(255 255 255 / 0.1),
			inset 22px 0 44px -30px rgb(255 255 255 / 0.06),
			inset -22px 0 44px -30px rgb(255 255 255 / 0.04),
			inset 0 -40px 60px -34px rgb(0 0 0 / 0.5),
			0 1px 2px rgb(0 0 0 / 0.4),
			0 24px 50px -24px rgb(0 0 0 / 0.7);
		--glass-sheen: radial-gradient(130% 70% at 50% -18%, rgb(255 255 255 / 0.06), transparent 58%);
		--grain-blend: screen;
		--grain-opacity: 0.1;
		--shot-shadow: rgb(0 0 0 / 0.55);
	}
}

@media (prefers-contrast: more) {
	:root {
		--line: rgb(127 127 127 / 0.6);
		--line-strong: rgb(127 127 127 / 0.8);
		--secondary: color-mix(in srgb, var(--ink) 85%, transparent);
		--tertiary: color-mix(in srgb, var(--ink) 72%, transparent);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

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

html,
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

em.voice {
	font-family: var(--serif);
	font-size: 1.06em;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
}

h1,
h2,
h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

.page {
	width: min(1160px, 100% - 32px);
	margin: 0 auto;
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 68px;
	font-size: 14px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 16px;
	font-weight: 600;
}

.brand img {
	width: 24px;
	height: 24px;
	border-radius: 6px;
}

.nav-links {
	display: flex;
	flex: 1;
	gap: 26px;
	margin-left: 20px;
	color: var(--secondary);
}

.nav-links a:hover {
	color: var(--ink);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--raised);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.button:hover {
	filter: brightness(0.97);
}

.button.primary {
	border-color: transparent;
	background: var(--accent);
	color: #fff;
}

.button.large {
	height: 48px;
	padding: 0 24px;
	font-size: 15px;
}

.cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.cta-note {
	margin: 0;
	color: var(--tertiary);
	font-size: 13px;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--accent-text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.section {
	padding-top: 112px;
}

.section-heading {
	max-width: 760px;
	margin: 0;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.06;
}

.section-text {
	max-width: 560px;
	margin: 16px 0 0;
	color: var(--secondary);
	font-size: 18px;
	line-height: 1.6;
}

.section-text + .section-text {
	margin-top: 14px;
}

.reveal {
	transition:
		opacity 0.8s ease,
		transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal:not(.is-visible) {
	opacity: 0;
	transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
	.js .reveal:not(.is-visible) {
		opacity: 1;
		transform: none;
	}
}

.stage {
	position: relative;
	overflow: clip;
	border-radius: 28px;
	background: var(--glass-sheen), var(--stage);
	box-shadow: var(--glass);
}

.stage::before {
	position: absolute;
	inset: -20% -10%;
	background: repeating-linear-gradient(112deg, transparent 0 70px, var(--rays) 110px, transparent 170px, transparent 260px);
	filter: blur(22px);
	mask-image: radial-gradient(ellipse 70% 80% at 15% 0%, black, transparent 75%);
	content: '';
	pointer-events: none;
}

.stage::after {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.55 0 0 0 0 0.5 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: var(--grain-blend);
	opacity: var(--grain-opacity);
	content: '';
	pointer-events: none;
}

.window {
	position: relative;
	z-index: 1;
	border-radius: 12px;
	box-shadow:
		0 0 0 0.5px rgb(0 0 0 / 0.28),
		0 30px 80px 4px var(--shot-shadow),
		0 8px 20px var(--shot-shadow);
}

.hero {
	padding-top: 60px;
	text-align: center;
}

.hero h1 {
	max-width: 900px;
	margin: 0 auto;
	font-size: clamp(44px, 7.4vw, 84px);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
}

.hero .lede {
	max-width: 600px;
	margin: 20px auto 28px;
	color: var(--secondary);
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.55;
}

.focus-scene {
	position: relative;
	display: grid;
	place-items: center;
	height: 460px;
	margin-top: 8px;
}

.focus-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ghosts {
	position: absolute;
	inset: 0;
}

.focus-lines,
.ghosts {
	-webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%);
	mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%);
}

.task.ghost-task {
	position: absolute;
	width: max-content;
	min-height: 44px;
	padding: 8px 14px;
	filter: blur(3.5px);
	opacity: 0.62;
	animation: ghost-drift 9s ease-in-out infinite alternate;
	pointer-events: none;
}

.ghost-task.g1 {
	top: 24%;
	left: 13%;
	--drift-x: -18px;
	--drift-y: -10px;
}

.ghost-task.g2 {
	top: 16%;
	right: 19%;
	--drift-x: 16px;
	--drift-y: -12px;
	animation-delay: -3s;
}

.ghost-task.g3 {
	bottom: 17%;
	left: 22%;
	--drift-x: -14px;
	--drift-y: 12px;
	animation-delay: -6s;
}

.ghost-task.g4 {
	right: 11%;
	bottom: 27%;
	--drift-x: 20px;
	--drift-y: 8px;
	animation-delay: -1.5s;
}

@keyframes ghost-drift {
	to {
		transform: translate(var(--drift-x), var(--drift-y)) scale(1.04);
	}
}

.hero-task {
	--quest: var(--quest-4);
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 18px;
	width: min(560px, 100%);
	margin: 0;
	padding: 22px 26px;
	border: 1px solid var(--accent);
	border-radius: 18px;
	background: var(--raised);
	box-shadow:
		0 0 0 6px var(--accent-soft),
		0 30px 60px -30px var(--shot-shadow);
	text-align: left;
}

.hero-task .circle {
	width: 26px;
	height: 26px;
	border-width: 2.5px;
}

.hero-task .body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	min-width: 0;
}

.hero-task .name {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.hero-task .chip {
	font-size: 13px;
}

.hero-task .timer {
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: 48px;
}

.split.reverse {
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.split.reverse > :first-child {
	order: 2;
}

.panel {
	position: relative;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
}

.task {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--raised);
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	transition: background-color 0.35s ease;
}

.task .body {
	flex: 1;
	min-width: 0;
}

.task .meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	color: var(--secondary);
	font-size: 12px;
	font-weight: 400;
}

.circle {
	position: relative;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border: 2px solid var(--quest, var(--tertiary));
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.circle::after {
	position: absolute;
	top: 2.5px;
	left: 5px;
	width: 3.5px;
	height: 7px;
	border: solid #fff;
	border-width: 0 1.8px 1.8px 0;
	opacity: 0;
	transform: rotate(45deg) scale(0.4);
	transition:
		opacity 0.2s ease,
		transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
	content: '';
}

.task .name {
	position: relative;
	display: inline-block;
	transition: color 0.3s ease;
}

.task .name::after {
	position: absolute;
	top: 52%;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease 0.1s;
	content: '';
}

.task.done {
	background: color-mix(in srgb, var(--raised) 55%, transparent);
	backdrop-filter: blur(3px);
}

.task.done .circle {
	background: var(--quest, var(--tertiary));
}

.task.done .circle::after {
	opacity: 1;
	transform: rotate(45deg) scale(1);
}

.task.done .name {
	color: var(--secondary);
}

.task.done .name::after {
	transform: scaleX(1);
}

.task.running {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--line);
	color: var(--secondary);
	font-size: 12px;
	font-weight: 400;
	white-space: nowrap;
}

.dot {
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
}

.timer {
	color: var(--accent-text);
	font-variant-numeric: tabular-nums;
}

figure.compare {
	margin: 0;
}

.compare {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.compare figure {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.compare figure > .panel {
	flex: 1;
}

.compare-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px 2px;
	color: var(--secondary);
	font-size: 15px;
	font-weight: 600;
}

.compare-label.brand {
	color: var(--ink);
}

.compare-label img {
	border-radius: 5px;
}

.compare {
	margin-top: 28px;
}

.compare figure > .panel {
	flex: none;
	transition: opacity 0.2s ease;
}

.compare figure > .panel.swapping {
	opacity: 0;
}

.moments {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 40px;
}

.moments-track {
	position: absolute;
	top: 7px;
	right: 12.5%;
	left: 12.5%;
	height: 2px;
	border-radius: 2px;
	background: var(--line-strong);
}

.moments-track i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--accent);
	transition: width 0.6s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.moment {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 24px 4px 6px;
	border: 0;
	background: none;
	color: var(--tertiary);
	font: inherit;
	cursor: pointer;
}

.moment::before {
	position: absolute;
	top: 1px;
	left: 50%;
	width: 14px;
	height: 14px;
	border: 2px solid var(--line-strong);
	border-radius: 50%;
	background: var(--paper);
	transform: translateX(-50%);
	transition:
		border-color 0.3s ease,
		background-color 0.3s ease,
		box-shadow 0.3s ease;
	content: '';
}

.moment.reached::before {
	border-color: var(--accent);
	background: var(--accent);
}

.moment[aria-pressed='true']::before {
	box-shadow: 0 0 0 5px var(--accent-soft);
}

.moment b {
	color: var(--secondary);
	font-size: 17px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	transition: color 0.3s ease;
}

.moment span {
	font-size: 13px;
}

.moment[aria-pressed='true'] b {
	color: var(--ink);
}

.moment:hover b {
	color: var(--ink);
}

.moment-caption {
	max-width: 720px;
	min-height: 3.2em;
	margin: 22px auto 0;
	color: var(--secondary);
	font-size: 17px;
	line-height: 1.55;
	text-align: center;
}

.overdue-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-bottom: 1px solid var(--line);
	color: var(--secondary);
	font-size: 12px;
	font-weight: 600;
}

.overdue-strip span {
	padding: 2px 8px;
	border: 1.5px dashed var(--late);
	border-radius: 6px;
	color: var(--late);
}

.now-line {
	position: absolute;
	right: 0;
	left: -6px;
	z-index: 2;
	height: 2px;
	background: var(--late);
}

.now-line::before {
	position: absolute;
	top: -4px;
	left: -4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--late);
	content: '';
}

.tagwerk-day header .worked {
	color: var(--secondary);
	font-size: 13px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.log-total {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-top: -2px;
}

.log-total .figure {
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.log-total .label {
	color: var(--secondary);
	font-size: 14px;
}

.tagwerk-day .bar {
	height: 6px;
	margin-top: 12px;
}

.tagwerk-day .legend {
	margin-top: 10px;
}

.slots.log-slots {
	grid-template-columns: 44px 1fr;
	padding: 18px 0 0;
}

.slots.log-slots .hour {
	height: 40px;
}

.slots.log-slots .rows {
	background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 40px);
}

.slot.log {
	background: color-mix(in srgb, var(--quest, var(--tertiary)) 24%, var(--raised));
}

.slot.log.compact {
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding-top: 2px;
	padding-bottom: 2px;
}

.carry-note {
	margin: 8px 0 0;
	color: var(--tertiary);
	font-size: 13px;
}

.task.arriving {
	animation: task-arrive 0.7s cubic-bezier(0.22, 0.8, 0.25, 1) 0.3s both;
}

@keyframes task-arrive {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
}

.focus-view {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 420px;
	text-align: center;
}

.focus-view .focus-label {
	color: var(--tertiary);
	font-size: 13px;
	font-weight: 600;
}

.focus-view .focus-name {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.focus-view .timer {
	margin-top: 6px;
	font-size: clamp(44px, 5vw, 60px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
}

.focus-notes {
	width: min(300px, 100%);
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	color: var(--secondary);
	font-size: 14px;
	text-align: left;
}

.focus-notes li {
	padding: 8px 2px;
	border-top: 1px solid var(--line);
}

.compare-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 48px;
}

.compare-intro .section-text {
	margin: 0;
}

.problem-day {
	--late: #d2452f;
	padding: 0;
	overflow: hidden;
}

.problem-day header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	font-weight: 600;
}

.late-badge {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--late);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.slots {
	display: grid;
	grid-template-columns: 52px 1fr;
	padding: 14px 20px 20px 8px;
}

.slots .hours {
	display: flex;
	flex-direction: column;
}

.slots .hour {
	height: 46px;
	padding-right: 10px;
	color: var(--tertiary);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.slots .rows {
	position: relative;
	background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 46px);
}

.slot {
	position: absolute;
	right: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px 10px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--quest, var(--tertiary)) 18%, var(--raised));
	font-size: 12.5px;
	font-weight: 600;
	overflow: hidden;
}

.slot .time {
	color: var(--secondary);
	font-size: 11px;
	font-weight: 500;
}

.slot.missed {
	background: color-mix(in srgb, var(--quest, var(--tertiary)) 7%, var(--raised));
	outline: 1.5px dashed var(--late);
	outline-offset: -1.5px;
	color: var(--secondary);
}

.slot .tag {
	position: absolute;
	top: 6px;
	right: 8px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--late);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
}

.slot.half {
	left: 50%;
	margin-left: 3px;
}

.slot.narrow {
	right: 50%;
	margin-right: 3px;
}


.target {
	margin-top: 4px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--raised);
}

.target .label {
	color: var(--secondary);
	font-size: 13px;
}

.target .figure {
	margin-top: 4px;
	font-size: clamp(36px, 4.4vw, 48px);
	font-weight: 600;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.target .figure .of {
	color: var(--tertiary);
	font-weight: 500;
}

.bar {
	display: flex;
	gap: 2px;
	height: 8px;
	margin-top: 14px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--line);
}

.bar i {
	width: var(--share);
	height: 100%;
	transition: width 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.waiting .bar i {
	width: 0;
}

.legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-top: 12px;
	color: var(--secondary);
	font-size: 12.5px;
}

.legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tagwerk-day {
	padding: 20px;
}

.tagwerk-day header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
	font-size: 17px;
	font-weight: 600;
}

.tagwerk-day .day {
	color: var(--tertiary);
	font-size: 13px;
	font-weight: 500;
}

.day-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.day-list .logged {
	font-variant-numeric: tabular-nums;
}

.repeat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.group-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 2px 0;
	color: var(--secondary);
	font-size: 13px;
	font-weight: 600;
}

.group-label span {
	color: var(--tertiary);
	font-weight: 500;
}

.quest-head {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: center;
	gap: 14px;
}

.quest-head .icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--quest) 16%, transparent);
	color: var(--quest);
}

.quest-head .name {
	font-size: 15px;
	font-weight: 600;
}

.quest-head .aim {
	margin-top: 2px;
	color: var(--secondary);
	font-size: 13px;
}

.quest-total .total {
	margin-top: 22px;
}

.quest-total .total .label,
.target-row .label {
	color: var(--secondary);
	font-size: 13px;
}

.quest-total .total .figure {
	margin-top: 2px;
	font-size: clamp(40px, 4.8vw, 54px);
	font-weight: 600;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.bricks {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 170px;
	margin-top: 18px;
}

.brick-week {
	display: flex;
	flex: 1;
	flex-direction: column-reverse;
	gap: 2px;
	min-width: 0;
}

.brick {
	border-radius: 3px;
	background: var(--quest-2);
	opacity: 0.85;
	transition:
		opacity 0.35s ease,
		transform 0.45s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.brick-week:nth-child(odd) .brick:nth-child(even),
.brick-week:nth-child(even) .brick:nth-child(odd) {
	opacity: 0.68;
}

.bricks.waiting .brick {
	opacity: 0;
	transform: translateY(-14px);
}

.brick.marked {
	opacity: 1 !important;
	outline: 2px solid var(--ink);
	outline-offset: 1px;
}

.brick-note {
	position: absolute;
	z-index: 2;
	padding: 5px 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--raised);
	color: var(--secondary);
	font-size: 12.5px;
	white-space: nowrap;
	box-shadow: 0 8px 20px -12px var(--shot-shadow);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.brick-note b {
	margin-right: 4px;
	color: var(--ink);
	font-weight: 600;
}

.brick-note.visible {
	opacity: 1;
}

.brick-axis {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	color: var(--tertiary);
	font-size: 11.5px;
}

.quest-total .target {
	margin-top: 22px;
	padding: 18px 0 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	background: none;
}

.target-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.target-row .figure {
	white-space: nowrap;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.target-row .figure .of {
	color: var(--tertiary);
	font-weight: 500;
}

.quest-total .bar {
	height: 6px;
	margin-top: 10px;
}

.tour {
	margin-top: 32px;
}

.tour-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.tour-tab {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 18px 20px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.tour-tab:hover {
	background: var(--card);
}

.tour-tab[aria-selected='true'] {
	border-color: var(--accent);
	background: var(--raised);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.tour-tab .step {
	color: var(--accent-text);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.tour-tab .title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.tour-tab .text {
	color: var(--secondary);
	font-size: 14.5px;
	line-height: 1.5;
}

.tour-caption {
	display: none;
	margin: 0 0 18px;
	color: var(--secondary);
	font-size: 15.5px;
	line-height: 1.55;
}

.tour-stage {
	padding: 4px 0 24px;
}

.tour-shots {
	position: relative;
	z-index: 1;
	display: grid;
	max-width: 1000px;
	margin: 0 auto;
}

.tour-shots picture {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateY(14px);
	transition:
		opacity 0.5s ease,
		transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tour-shots picture.active {
	opacity: 1;
	transform: none;
}

.kind {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
}

.kind article {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
}

.kind .example {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 210px;
	padding: 26px 24px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--sage-1) 55%, var(--card)), var(--card));
}

.kind .example > :not(svg) {
	position: relative;
}

.kind .example svg.art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	color: var(--art);
	pointer-events: none;
}

.kind .copy {
	padding: 4px 28px 28px;
}

.kind h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.015em;
}

.kind p {
	margin: 0;
	color: var(--secondary);
	font-size: 15.5px;
	line-height: 1.55;
}

.days {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	width: min(440px, 100%);
}

.days .day-label {
	margin-bottom: 8px;
	color: var(--tertiary);
	font-size: 12px;
	font-weight: 600;
}

.days .task.ghost {
	border-style: dashed;
	background: transparent;
	color: var(--tertiary);
}

.days .task.ghost .circle {
	opacity: 0.4;
}

.move-note {
	grid-column: 1 / -1;
	color: var(--tertiary);
	font-size: 12px;
	text-align: center;
}

.repeat-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(320px, 100%);
}

.repeat-card .next {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--secondary);
	font-size: 13px;
}

.repeat-card .next b {
	color: var(--ink);
	font-weight: 600;
}

.done-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: min(320px, 100%);
}

.weeks {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 10px;
	width: min(380px, 100%);
	height: 160px;
	padding-top: 24px;
}

.weeks .target-line {
	position: absolute;
	top: 24px;
	left: 0;
	right: 0;
	border-top: 1px dashed var(--line-strong);
}

.weeks .target-line span {
	position: absolute;
	top: -18px;
	right: 0;
	color: var(--tertiary);
	font-size: 11px;
}

.weeks .week {
	position: relative;
	flex: 1;
	height: var(--h);
	border-radius: 5px 5px 2px 2px;
	background: color-mix(in srgb, var(--art) 50%, transparent);
}

.weeks .week.current {
	background: var(--accent);
}

.weeks .week[data-note]::after {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	color: var(--secondary);
	font-size: 11px;
	white-space: nowrap;
	transform: translateX(-50%);
	content: attr(data-note);
}

.devices-stage {
	width: min(1240px, 100% - 32px);
	margin: 40px auto 0;
	padding: 48px 56px 0;
}

.devices {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
	padding-right: 110px;
}

.devices .window {
	border-radius: 12px 12px 0 0;
}

.devices .phone-screen {
	position: absolute;
	right: 0;
	bottom: -60px;
	z-index: 2;
	width: min(250px, 29%);
	padding: 7px;
	border-radius: 42px;
	background: #0a0a0a;
	box-shadow:
		inset 0 0 0 1px rgb(255 255 255 / 0.14),
		0 0 0 1px rgb(0 0 0 / 0.35),
		0 30px 70px var(--shot-shadow);
}

.devices .phone-screen img {
	border-radius: 35px;
}

.devices .phone-screen::after {
	position: absolute;
	top: 15px;
	left: 50%;
	width: 24%;
	height: 16px;
	border-radius: 999px;
	background: #000;
	transform: translateX(-50%);
	content: '';
}

.soon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	padding: 5px 14px 5px 5px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--raised);
	color: var(--secondary);
	font-size: 13.5px;
}

.soon b {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-text);
	font-size: 12px;
	font-weight: 600;
}

.facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.facts li {
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--secondary);
	font-size: 15px;
	line-height: 1.5;
}

.facts strong {
	display: block;
	margin-bottom: 3px;
	color: var(--ink);
	font-weight: 600;
}

kbd {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 9px;
	border: 1px solid var(--line-strong);
	border-bottom-width: 3px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--raised), var(--card));
	color: var(--ink);
	font: 600 14px var(--sans);
	transition:
		transform 0.18s ease,
		border-bottom-width 0.18s ease,
		border-color 0.3s ease,
		color 0.3s ease;
}

kbd.mini {
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-bottom-width: 2px;
	border-radius: 6px;
	font-size: 12px;
}

.flow .split {
	align-items: center;
}

.flow-demo {
	position: relative;
	display: flex;
	flex-direction: column;
}

.flow-window {
	position: relative;
	pointer-events: none;
	height: 340px;
	padding: 20px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
}

.flow-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
	font-size: 17px;
	font-weight: 600;
}

.flow-day {
	color: var(--tertiary);
	font-size: 13px;
	font-weight: 500;
}

.flow-add {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	margin-bottom: 8px;
	padding: 0 14px;
	border: 1px dashed var(--line-strong);
	border-radius: 11px;
	color: var(--tertiary);
	font-size: 14px;
	transition:
		border-color 0.4s ease,
		background-color 0.4s ease;
}

.flow-add.active {
	border-style: solid;
	border-color: var(--accent);
	background: var(--raised);
	color: var(--ink);
}

.flow-add .plus {
	width: 18px;
	color: var(--tertiary);
	text-align: center;
}

.flow-caret {
	width: 1.5px;
	height: 17px;
	margin-left: -8px;
	background: var(--accent);
	opacity: 0;
}

.flow-menu.open .flow-caret {
	animation: caret 1s steps(1) infinite;
}

@keyframes caret {
	50% {
		opacity: 1;
	}
}

.flow-add.active .flow-placeholder,
.flow-add.has-text .flow-placeholder {
	display: none;
}

.flow-add.active .flow-caret {
	animation: caret 1s steps(1) infinite;
}

.flow-typed {
	color: var(--ink);
}

.flow-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.flow-list .task {
	min-height: 50px;
	transition:
		opacity 0.6s ease,
		transform 0.7s cubic-bezier(0.22, 0.8, 0.25, 1),
		max-height 0.6s ease 0.25s,
		margin 0.6s ease 0.25s,
		padding 0.6s ease 0.25s,
		border-color 0.4s ease,
		box-shadow 0.4s ease,
		background-color 0.35s ease;
	max-height: 80px;
}

.flow-list .task.entering {
	opacity: 0;
	transform: translateY(-10px);
}

.flow-list .task.leaving {
	max-height: 0;
	min-height: 0;
	margin-top: -8px;
	padding-top: 0;
	padding-bottom: 0;
	border-width: 0;
	opacity: 0;
	transform: translateX(60px);
}

.flow-list .task.hovered {
	border-color: var(--line-strong);
	background: var(--raised);
	box-shadow: 0 6px 16px -10px var(--shot-shadow);
}

.flow-cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / 0.3));
	pointer-events: none;
	transition:
		transform 0.8s cubic-bezier(0.22, 0.8, 0.25, 1),
		opacity 0.4s ease;
}

.flow-cursor.away {
	opacity: 0;
}

.flow-list .task.found {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-soft);
}

.flow-list .task .timer {
	opacity: 0;
	transition: opacity 0.4s ease;
}

.flow-list .task.running .timer {
	opacity: 1;
}

.flow-toast {
	position: absolute;
	left: 50%;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--raised);
	color: var(--secondary);
	font-size: 13px;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 8px);
	transition:
		opacity 0.5s ease,
		transform 0.6s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.flow-toast.visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.flow-menu {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 44px;
	background: color-mix(in srgb, var(--card) 55%, transparent);
	backdrop-filter: blur(3px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s ease;
}

.flow-menu.open {
	opacity: 1;
}

.flow-menu > * {
	width: min(360px, calc(100% - 32px));
	transform: translateY(-6px) scale(0.98);
	transition: transform 0.5s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.flow-menu.open > * {
	transform: none;
}

.flow-search {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: 12px 12px 0 0;
	background: var(--raised);
	color: var(--tertiary);
	font-size: 15px;
}

.flow-search #flow-query {
	color: var(--ink);
}

.flow-search .flow-caret {
	margin-left: -9px;
}

.flow-results {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 6px;
	border: 1px solid var(--line-strong);
	border-top: none;
	border-radius: 0 0 12px 12px;
	background: var(--raised);
	box-shadow: 0 20px 40px -20px var(--shot-shadow);
}

.flow-result {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 36px;
	padding: 0 10px;
	border-radius: 8px;
	font-size: 13.5px;
	transition: background-color 0.3s ease;
}

.flow-result.selected {
	background: var(--accent-soft);
}

.flow-keycast {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px 7px 7px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: color-mix(in srgb, var(--raised) 92%, transparent);
	backdrop-filter: blur(6px);
	box-shadow: 0 14px 30px -16px var(--shot-shadow);
	color: var(--secondary);
	font-size: 13px;
	font-weight: 500;
	opacity: 0;
	transform: translateY(8px) scale(0.94);
	transition:
		opacity 0.35s ease,
		transform 0.45s cubic-bezier(0.22, 0.8, 0.25, 1);
}

.flow-keycast.visible {
	opacity: 1;
	transform: none;
}

.flow-keycast .caps {
	display: flex;
	gap: 4px;
}

.flow-keycast.pressed kbd {
	border-color: var(--accent);
	border-bottom-width: 1px;
	color: var(--accent-text);
	transform: translateY(2px);
}

.flow-replay {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 7;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--raised);
	color: var(--secondary);
	font: 500 13px var(--sans);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.flow-replay.visible {
	opacity: 1;
	pointer-events: auto;
}

.flow-replay:hover {
	color: var(--ink);
}

.keys {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.keys li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
	color: var(--secondary);
	font-size: 14px;
}

.keycaps {
	display: flex;
	flex: none;
	gap: 4px;
	min-width: 52px;
}

.keys li.wide {
	grid-column: span 2;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
}

.keys li.wide kbd {
	border-color: var(--accent);
	color: var(--accent-text);
}

.privacy {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
}

.privacy div {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--card);
}

.privacy svg {
	color: var(--accent-text);
}

.privacy h3 {
	margin: 16px 0 6px;
	font-size: 17px;
	font-weight: 600;
}

.privacy p {
	margin: 0;
	color: var(--secondary);
	font-size: 15px;
	line-height: 1.55;
}

.text-link {
	color: var(--accent-text);
	font-weight: 500;
}

.faq {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 64px;
}

.faq-list {
	border-top: 1px solid var(--line);
}

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font-size: 17px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	flex-shrink: 0;
	width: 9px;
	height: 9px;
	border: solid var(--tertiary);
	border-width: 0 1.6px 1.6px 0;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.25s ease;
	content: '';
}

.faq details[open] summary::after {
	transform: translateY(2px) rotate(225deg);
}

.faq details p {
	max-width: 620px;
	margin: -6px 0 22px;
	color: var(--secondary);
	font-size: 16px;
	line-height: 1.6;
}

.closing {
	padding: 120px 0 96px;
	text-align: center;
}

.closing h2 {
	margin: 0 0 30px;
	font-size: clamp(38px, 6vw, 68px);
	font-weight: 600;
	letter-spacing: -0.035em;
}

.footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	padding: 28px 0 40px;
	border-top: 1px solid var(--line);
	color: var(--tertiary);
	font-size: 14px;
}

.footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer a:hover {
	color: var(--ink);
}

.legal {
	max-width: 720px;
	padding: 48px 0 96px;
}

.legal h1 {
	margin: 0 0 6px;
	font-size: clamp(34px, 5vw, 44px);
	font-weight: 600;
	letter-spacing: -0.03em;
}

.legal h2 {
	margin: 40px 0 8px;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.legal p,
.legal li {
	color: var(--secondary);
	font-size: 16px;
	line-height: 1.6;
}

.legal a {
	color: var(--accent-text);
}

.legal .updated {
	margin: 0;
	color: var(--tertiary);
	font-size: 14px;
}

.missing {
	padding: 1px 6px;
	border-radius: 5px;
	background: rgb(255 170 0 / 0.25);
	color: var(--ink);
}

@media (max-width: 900px) {
	.nav-links,
	.nav .button {
		display: none;
	}

	.nav {
		justify-content: space-between;
	}

	.section {
		padding-top: 80px;
	}

	.compare-intro {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.moment b {
		font-size: 14px;
	}

	.moment span {
		display: none;
	}

	.focus-view {
		min-height: 320px;
	}

	.slot.half .tag {
		position: static;
		align-self: flex-start;
	}

	.slot.half:has(.tag) .time {
		display: none;
	}

	.focus-scene {
		height: 300px;
		margin-top: 8px;
	}

	.ghost-task.g1,
	.ghost-task.g4 {
		display: none;
	}

	.ghost-task.g2 {
		right: 4%;
	}

	.ghost-task.g3 {
		left: 4%;
	}

	.hero-task {
		gap: 14px;
		padding: 18px;
	}

	.hero-task .name {
		font-size: 17px;
	}

	.hero-task .timer {
		font-size: 21px;
	}

	.facts,
	.privacy {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.split,
	.split.reverse,
	.faq {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.split.reverse > :first-child {
		order: 0;
	}

	.flow .split {
		gap: 0;
	}

	.compare {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.flow .split > :first-child {
		display: contents;
	}

	.flow-demo {
		margin-top: 32px;
	}

	.flow .keys {
		order: 1;
	}


	.tour-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tour-tab .text {
		display: none;
	}

	.tour-caption {
		display: block;
	}

	.tour-stage {
		padding: 0 0 12px;
	}

	.kind {
		grid-template-columns: minmax(0, 1fr);
	}

	.devices-stage {
		padding: 28px 18px 0;
	}

	.devices {
		padding-right: 56px;
	}

	.devices .phone-screen {
		bottom: -30px;
		width: 34%;
		padding: 4px;
		border-radius: 22px;
	}

	.devices .phone-screen img {
		border-radius: 18px;
	}

	.devices .phone-screen::after {
		top: 8px;
		height: 9px;
	}

	.facts {
		margin-top: 28px;
	}

	.keys {
		grid-template-columns: minmax(0, 1fr);
	}

	.keys li.wide {
		grid-column: auto;
	}
}


body::after {
	position: fixed;
	inset: -50%;
	z-index: 100;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.6' intercept='-0.3'/%3E%3CfeFuncG type='linear' slope='1.6' intercept='-0.3'/%3E%3CfeFuncB type='linear' slope='1.6' intercept='-0.3'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
	mix-blend-mode: multiply;
	opacity: 0.25;
	content: '';
	pointer-events: none;
	animation: film-grain 3s steps(6) infinite;
}

@media (prefers-color-scheme: dark) {
	body::after {
		mix-blend-mode: screen;
		opacity: 0.11;
	}
}

@keyframes film-grain {
	0% {
		transform: translate(0, 0);
	}
	20% {
		transform: translate(-3%, 2%);
	}
	40% {
		transform: translate(2%, -4%);
	}
	60% {
		transform: translate(-4%, -1%);
	}
	80% {
		transform: translate(3%, 3%);
	}
	100% {
		transform: translate(-1%, 4%);
	}
}

@media (prefers-reduced-motion: reduce) {
	body::after,
	.ghost-task,
	.task.arriving {
		animation: none;
	}
}
