/* Shared base for asketes.app. Tokens mirror StoicApp/docs/contracts/design-tokens.json. */

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("/fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("/fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("/fonts/dm-sans-latin-opsz-normal.woff2") format("woff2-variations");
}

:root {
	color-scheme: light dark;
	--bg: #f5f0e6;
	--card: #fffdf8;
	--sand: #ede4d3;
	--line: #e3d9c6;
	--divider: #efe7d8;
	--tint: #ddebd6;
	--on-tint: #2f4a35;
	--accent: #a9c9a4;
	--accent-strong: #8fb98a;
	--on-accent: #2f4a35;
	--text: #2b2f27;
	--muted: #69665d;
	--forest: #2f4a35;
	--ink-on-forest: #f5f0e6;
	--shadow: 0 1px 2px rgb(43 47 39 / 0.05), 0 12px 32px -12px rgb(43 47 39 / 0.18);
	--shadow-lg: 0 2px 4px rgb(43 47 39 / 0.05), 0 40px 80px -30px rgb(43 47 39 / 0.35);

	--serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
	--sans: "DM Sans", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
	--r-sm: 12px;
	--r: 18px;
	--r-lg: 24px;
	--r-xl: 32px;
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1160px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #1a201b;
		--card: #232b24;
		--sand: #2a332b;
		--line: #334036;
		--divider: #2c352d;
		--tint: #2c3b2e;
		--on-tint: #cfe3c9;
		--accent: #a9c9a4;
		--accent-strong: #bcd6b7;
		--on-accent: #2f4a35;
		--text: #efe9dd;
		--muted: #a8ad9f;
		--forest: #121713;
		--ink-on-forest: #efe9dd;
		--shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -12px rgb(0 0 0 / 0.6);
		--shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 40px 80px -30px rgb(0 0 0 / 0.8);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--sans);
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img,
svg,
canvas {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
a {
	color: inherit;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}
a:hover {
	text-decoration-thickness: 2px;
}
button {
	font: inherit;
	color: inherit;
}
:focus-visible {
	outline: 2.5px solid var(--accent-strong);
	outline-offset: 3px;
	border-radius: 6px;
}
h1,
h2,
h3,
h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: balance;
}
p {
	margin: 0;
	text-wrap: pretty;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--card);
	box-shadow: var(--shadow);
}
.skip:focus {
	top: 12px;
}

.wrap {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
}
.narrow {
	width: min(100% - 2 * var(--gutter), 760px);
	margin-inline: auto;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.18s var(--ease),
		background-color 0.18s,
		box-shadow 0.18s;
	-webkit-tap-highlight-color: transparent;
}
.btn:active {
	transform: scale(0.97);
}
.btn-primary {
	background: var(--accent);
	color: var(--on-accent);
}
.btn-ghost {
	background: var(--card);
	border-color: var(--line);
}
@media (hover: hover) {
	.btn-primary:hover {
		background: var(--accent-strong);
	}
	.btn-ghost:hover {
		border-color: var(--accent);
	}
}
.btn-store {
	background: #0c0d0b;
	color: #fff;
	min-height: 56px;
	padding: 0 22px 0 18px;
	border-radius: 14px;
	gap: 10px;
	text-align: left;
	box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.5);
}
.btn-store svg {
	width: 26px;
	height: 26px;
	flex: none;
}
.btn-store span {
	display: grid;
	line-height: 1.1;
}
.btn-store small {
	font-size: 11px;
	font-weight: 500;
	opacity: 0.85;
}
.btn-store b {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
@media (prefers-color-scheme: dark) {
	.btn-store {
		background: #fff;
		color: #0c0d0b;
	}
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--line);
	font-size: 14px;
	font-weight: 500;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}

/* Prose pages (privacy, terms, credits, support) */
.doc {
	padding: 56px 0 96px;
}
.doc h1 {
	font-size: clamp(36px, 6vw, 56px);
	margin-bottom: 12px;
}
.doc .lede {
	color: var(--muted);
	margin-bottom: 40px;
}
.prose h2 {
	font-size: clamp(24px, 3.4vw, 30px);
	margin: 48px 0 12px;
}
.prose h3 {
	font-size: 21px;
	margin: 32px 0 8px;
}
.prose p,
.prose ul,
.prose ol,
.prose table,
.prose blockquote {
	margin: 0 0 16px;
}
.prose ul,
.prose ol {
	padding-left: 1.3em;
}
.prose li {
	margin: 6px 0;
}
.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	display: block;
	overflow-x: auto;
}
.prose th,
.prose td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
}
.prose blockquote {
	padding: 14px 18px;
	border-radius: var(--r);
	background: var(--tint);
	color: var(--on-tint);
}
.prose code {
	font-size: 0.9em;
	padding: 1px 6px;
	border-radius: 6px;
	background: var(--sand);
}
.prose a {
	color: var(--on-tint);
	word-break: break-word;
}
@media (prefers-color-scheme: dark) {
	.prose a {
		color: var(--accent-strong);
	}
}
.notice {
	padding: 14px 18px;
	border-radius: var(--r);
	background: var(--sand);
	font-size: 15px;
	margin-bottom: 32px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* asketes.app/zeno */

.ic {
	width: 20px;
	height: 20px;
	flex: none;
}
.small {
	font-size: 15px;
}
.muted {
	color: var(--muted);
}
.center {
	text-align: center;
}
section {
	position: relative;
}
h2 {
	font-size: clamp(34px, 5.2vw, 56px);
}
.section-head {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
}
.section-head h2 {
	margin: 14px 0 18px;
}
.section-head p:not(.eyebrow) {
	color: var(--muted);
	font-size: 19px;
}
.eyebrow .ic {
	width: 16px;
	height: 16px;
}

/* Mascot */
.zeno {
	overflow: visible;
}
.zeno .z-head {
	animation: z-bob 3.6s ease-in-out infinite;
}
.zeno .z-beard {
	transform-origin: 60px 66px;
	animation: z-beard 5s ease-in-out infinite;
}
.zeno .z-look {
	animation: z-look 7s ease-in-out infinite;
}
.zeno .z-eye {
	transform-box: fill-box;
	transform-origin: center;
	animation: z-blink 4.6s infinite;
}
.zeno .z-eyes-happy,
.zeno .z-dots {
	opacity: 0;
}
.zeno.is-happy .z-eyes {
	opacity: 0;
}
.zeno.is-happy .z-eyes-happy {
	opacity: 1;
}
.zeno.is-happy .z-mouth {
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(1.35, 1.6);
}
.zeno.is-thinking .z-dots {
	opacity: 1;
}
.zeno.is-thinking .z-dots circle {
	animation: z-dot 1.2s ease-in-out infinite;
}
.zeno.is-thinking .z-dots circle:nth-child(2) {
	animation-delay: 0.15s;
}
.zeno.is-thinking .z-dots circle:nth-child(3) {
	animation-delay: 0.3s;
}
.zeno.is-thinking .z-look {
	animation: none;
	transform: translate(1.5px, -2px);
}
.zeno.is-talking .z-mouth {
	transform-box: fill-box;
	transform-origin: center;
	animation: z-talk 0.32s ease-in-out infinite alternate;
}
@keyframes z-bob {
	50% {
		transform: translateY(-2px);
	}
}
@keyframes z-beard {
	50% {
		transform: rotate(1.5deg);
	}
}
@keyframes z-look {
	0%,
	35%,
	100% {
		transform: translateX(0);
	}
	45%,
	60% {
		transform: translateX(1.5px);
	}
	70%,
	85% {
		transform: translateX(-1.5px);
	}
}
@keyframes z-blink {
	0%,
	93%,
	100% {
		transform: scaleY(1);
	}
	96% {
		transform: scaleY(0.1);
	}
}
@keyframes z-dot {
	50% {
		opacity: 0.35;
	}
}
@keyframes z-talk {
	to {
		transform: scaleY(2.4);
	}
}

/* Nav */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}
.nav.is-scrolled {
	border-bottom-color: var(--line);
}
.nav-in {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 68px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 500;
	margin-right: auto;
}
.brand em {
	font-style: normal;
	color: var(--muted);
}
.brand-mark {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--tint);
	padding: 3px;
}
.nav nav {
	display: flex;
	gap: 26px;
	font-size: 15px;
	font-weight: 500;
}
.nav nav a {
	text-decoration: none;
	color: var(--muted);
}
.nav nav a:hover {
	color: var(--text);
}
.nav-cta {
	min-height: 42px;
	padding: 0 18px;
	font-size: 15px;
}
@media (max-width: 860px) {
	.nav nav {
		display: none;
	}
}
@media (max-width: 420px) {
	.brand em {
		display: none;
	}
}

/* Hero */
.hero {
	padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
	background:
		radial-gradient(60% 50% at 85% 30%, color-mix(in srgb, var(--tint) 85%, transparent), transparent 70%),
		radial-gradient(40% 40% at 10% 90%, color-mix(in srgb, var(--sand) 90%, transparent), transparent 70%);
}
.hero-in {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.hero-pill {
	margin-bottom: 22px;
	color: var(--on-tint);
	background: var(--tint);
	border-color: transparent;
}
.hero-pill .ic {
	width: 16px;
	height: 16px;
}
.hero h1 {
	font-size: clamp(44px, 6.6vw, 80px);
	line-height: 1.02;
	letter-spacing: -0.025em;
}
.hero .lede {
	margin: 24px 0 32px;
	font-size: clamp(18px, 1.9vw, 21px);
	color: var(--muted);
	max-width: 560px;
}
.hero .lede strong {
	color: var(--text);
	font-weight: 600;
}
.cta-row {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}
.qr {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	line-height: 1.35;
	color: var(--muted);
}
.qr svg {
	width: 64px;
	height: 64px;
	padding: 6px;
	border-radius: 12px;
	background: var(--card);
	border: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
	.qr svg {
		background: #f5f0e6;
	}
}
@media (max-width: 900px), (hover: none) {
	.qr {
		display: none;
	}
}
.assure {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
	padding: 0;
	margin: 22px 0 0;
	font-size: 15px;
	color: var(--muted);
}
.assure li {
	display: flex;
	align-items: center;
	gap: 6px;
}
.assure .ic {
	width: 17px;
	height: 17px;
	color: var(--accent-strong);
	stroke-width: 2.4;
}
.android-note {
	margin-top: 12px;
	font-size: 14px;
	color: var(--muted);
}

.hero-art {
	position: relative;
	display: grid;
	place-items: center;
	padding: 20px 0;
}
.phone {
	position: relative;
	border-radius: 46px;
	padding: 9px;
	background: linear-gradient(145deg, #3a3d36, #151713);
	box-shadow: var(--shadow-lg);
	max-width: 330px;
}
.phone::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.12);
	pointer-events: none;
}
.phone img {
	border-radius: 38px;
	width: 100%;
	background: var(--bg);
}
.phone-hero {
	width: min(330px, 64vw);
	transform: rotate(2deg);
}
.float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--card);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	animation: float 6s ease-in-out infinite;
}
.float .ic {
	width: 17px;
	height: 17px;
	color: var(--on-tint);
}
.float .dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--accent);
}
.f1 {
	top: 16%;
	left: -2%;
}
.f2 {
	top: 46%;
	right: -4%;
	animation-delay: -2s;
}
.f3 {
	bottom: 12%;
	left: 2%;
	animation-delay: -4s;
}
@keyframes float {
	50% {
		transform: translateY(-8px);
	}
}
.hero-zeno {
	position: absolute;
	right: 2%;
	bottom: -6%;
	width: clamp(120px, 13vw, 170px);
	filter: drop-shadow(0 18px 24px rgb(43 47 39 / 0.18));
}
@media (max-width: 900px) {
	.hero-in {
		grid-template-columns: 1fr;
	}
	.hero-copy {
		text-align: center;
	}
	.hero .lede {
		margin-inline: auto;
	}
	.cta-row,
	.assure {
		justify-content: center;
	}
	.f1 {
		left: 0;
	}
	.f2 {
		right: 0;
	}
	.hero-zeno {
		right: 0;
		width: 110px;
	}
}

/* Strip */
.strip {
	border-block: 1px solid var(--line);
	background: var(--card);
	padding: 36px 0;
}
.strip-in {
	display: grid;
	gap: 18px;
	text-align: center;
}
.strip-title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.authors {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 28px;
	font-family: var(--serif);
	font-size: clamp(19px, 2.4vw, 26px);
}
.facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 10px 0 0;
}
.facts div {
	display: grid;
	gap: 2px;
}
.facts dt {
	font-family: var(--serif);
	font-size: clamp(26px, 3.4vw, 36px);
	font-weight: 500;
	color: var(--on-tint);
}
.facts dd {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}
@media (max-width: 640px) {
	.facts {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 20px;
	}
}

/* Sections spacing */
.gap,
.today,
.chat,
.sources,
.paths,
.practice,
.weeks,
.create,
.story,
.privacy,
.pricing,
.faq {
	padding: clamp(72px, 10vw, 128px) 0;
}

/* The gap */
.gap-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 6vw, 96px);
}
.gap h2 {
	margin-top: 14px;
	font-size: clamp(34px, 4.6vw, 52px);
}
.gap-body {
	display: grid;
	gap: 18px;
	font-size: 19px;
	color: var(--muted);
	align-content: start;
}
.gap-body em {
	font-family: var(--serif);
	color: var(--text);
}
.rhythm {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.rhythm li {
	display: grid;
	grid-template-columns: 48px 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	padding: 14px 18px;
	border-radius: var(--r);
	background: var(--card);
	border: 1px solid var(--line);
}
.rhythm span {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--on-tint);
}
.rhythm b {
	color: var(--text);
	font-weight: 600;
	font-size: 17px;
}
.rhythm small {
	font-size: 15px;
}
@media (max-width: 860px) {
	.gap-in {
		grid-template-columns: 1fr;
	}
}

/* Split layout */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}
.split-copy {
	display: grid;
	gap: 18px;
	align-content: start;
}
.split-copy h2 {
	margin-bottom: 4px;
}
.split-copy > p:not(.eyebrow) {
	font-size: 18px;
	color: var(--muted);
}
.split-rev .split-copy {
	order: 2;
}
@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
	}
	.split-rev .split-copy {
		order: 0;
	}
}
.duo {
	display: flex;
	justify-content: center;
	gap: 18px;
}
.duo .phone {
	width: min(280px, 44vw);
	border-radius: 38px;
	padding: 7px;
}
.duo .phone img {
	border-radius: 31px;
}
.duo .phone:nth-child(2) {
	margin-top: 64px;
}

/* Today */
.today {
	background: var(--card);
	border-block: 1px solid var(--line);
}
.qcard {
	margin: 0;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: var(--shadow-lg);
	display: grid;
	gap: 18px;
	background: var(--bg);
}
.qcard-date {
	font-size: 15px;
	color: var(--muted);
}
.qcard blockquote {
	margin: 0;
}
.qcard-text {
	font-family: var(--serif);
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.3;
	letter-spacing: -0.01em;
}
.qcard figcaption {
	font-weight: 500;
}
.qcard figcaption small {
	display: block;
	font-weight: 400;
	color: var(--muted);
	font-size: 14px;
	margin-top: 2px;
}
.seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 4px;
	border-radius: 999px;
	background: var(--sand);
}
.seg button {
	border: 0;
	background: transparent;
	min-height: 44px;
	border-radius: 999px;
	font-weight: 500;
	color: var(--muted);
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s;
}
.seg button[aria-pressed="true"] {
	background: var(--card);
	color: var(--text);
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}
.qcard-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.qcard-actions > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	font-size: 15px;
	font-weight: 500;
}
.qcard-actions .ghost-round {
	padding: 0;
	width: 44px;
	justify-content: center;
}
.qcard-actions .green {
	background: var(--accent);
	color: var(--on-accent);
	border-color: transparent;
}
.qcard.is-swapping .qcard-text {
	animation: fadein 0.35s var(--ease);
}
@keyframes fadein {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
}

/* Chat demo */
.chat {
	background:
		radial-gradient(50% 60% at 80% 40%, color-mix(in srgb, var(--tint) 70%, transparent), transparent 70%),
		var(--bg);
}
.chat-stage {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 32px;
}
.chip {
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
	transition:
		background 0.2s,
		border-color 0.2s;
}
.chip[aria-selected="true"] {
	background: var(--accent);
	border-color: transparent;
	color: var(--on-accent);
}
@media (hover: hover) {
	.chip:hover {
		border-color: var(--accent);
	}
}
.chat-points {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 20px;
}
.chat-points li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 14px;
	color: var(--muted);
	font-size: 16px;
}
.chat-points .ic {
	width: 40px;
	height: 40px;
	padding: 10px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--on-tint);
}
.chat-points b {
	color: var(--text);
}
.device {
	border-radius: 36px;
	background: var(--bg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	display: grid;
	grid-template-rows: auto 1fr auto auto;
	height: clamp(560px, 70vh, 680px);
}
.device-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	background: var(--bg);
}
.device-bar b {
	display: block;
	font-size: 17px;
}
.device-bar small {
	color: var(--muted);
	font-size: 14px;
}
.chat-avatar {
	width: 46px;
	height: 46px;
	padding: 4px;
	border-radius: 50%;
	background: var(--tint);
}
.device-body {
	overflow-y: auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	scroll-behavior: smooth;
	overscroll-behavior: contain;
}
.msg {
	font-size: 15.5px;
	line-height: 1.55;
	max-width: 92%;
}
.msg-user {
	align-self: flex-end;
	background: var(--tint);
	color: var(--on-tint);
	padding: 12px 16px;
	border-radius: 20px 20px 6px 20px;
}
.msg-zeno {
	align-self: flex-start;
	background: var(--card);
	border: 1px solid var(--line);
	padding: 16px 18px;
	border-radius: 20px 20px 20px 6px;
	max-width: 100%;
}
.msg-zeno p + p {
	margin-top: 12px;
}
.cite {
	display: inline;
	font: inherit;
	font-family: var(--serif);
	font-size: 16px;
	line-height: 1.5;
	color: var(--on-tint);
	background: var(--tint);
	border: 0;
	padding: 1px 4px;
	border-radius: 6px;
	cursor: pointer;
	text-align: left;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
@media (hover: hover) {
	.cite:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}
.src-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.src-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--bg);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}
.src-chip .ic {
	width: 16px;
	height: 16px;
}
.typing {
	display: inline-flex;
	gap: 5px;
	padding: 16px 18px;
	border-radius: 20px;
	background: var(--card);
	border: 1px solid var(--line);
	align-self: flex-start;
}
.typing i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--muted);
	animation: z-dot 1s infinite;
}
.typing i:nth-child(2) {
	animation-delay: 0.15s;
}
.typing i:nth-child(3) {
	animation-delay: 0.3s;
}
.device-input {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px 16px 0;
}
.device-input span {
	flex: 1;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--muted);
	font-size: 15px;
}
.device-input i {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--on-accent);
	opacity: 0.6;
}
.device-note {
	text-align: center;
	font-size: 12.5px;
	color: var(--muted);
	padding: 8px 0 14px;
}
.caption {
	text-align: center;
	font-size: 14px;
	color: var(--muted);
	margin: 24px 0 36px;
}
.chat > .wrap > .cta-row,
.pricing .cta-row {
	justify-content: center;
}
@media (max-width: 900px) {
	.chat-stage {
		grid-template-columns: 1fr;
	}
	.chat-points {
		display: none;
	}
	.chips {
		margin-bottom: 0;
	}
	.device {
		height: 600px;
		border-radius: 28px;
	}
}

/* Source sheet */
.sheet {
	border: 0;
	padding: 0;
	margin: auto auto 0;
	width: min(640px, 100%);
	max-height: 80vh;
	border-radius: 28px 28px 0 0;
	background: var(--card);
	color: var(--text);
	box-shadow: var(--shadow-lg);
}
.sheet[open] {
	animation: sheet-up 0.35s var(--ease);
}
.sheet::backdrop {
	background: rgb(20 24 20 / 0.45);
}
@keyframes sheet-up {
	from {
		transform: translateY(40px);
		opacity: 0;
	}
}
.sheet-in {
	position: relative;
	padding: 18px clamp(22px, 5vw, 40px) 40px;
	display: grid;
	gap: 12px;
}
.sheet-grab {
	width: 40px;
	height: 5px;
	border-radius: 3px;
	background: var(--line);
	margin: 0 auto 12px;
}
.sheet-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--sand);
	display: grid;
	place-items: center;
	cursor: pointer;
}
.sheet h3 {
	font-size: 30px;
	padding-right: 48px;
}
.sheet-text {
	font-family: var(--serif);
	font-size: 19px;
	line-height: 1.55;
}
@media (min-width: 700px) {
	.sheet {
		margin: auto;
		border-radius: 28px;
	}
}

/* Sources */
.works {
	list-style: none;
	padding: 0;
	margin: 6px 0 0;
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}
.works li {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15.5px;
	color: var(--muted);
}
.works b {
	display: inline-block;
	min-width: 150px;
	color: var(--text);
	font-weight: 600;
}

/* Paths */
.paths {
	background: var(--card);
	border-block: 1px solid var(--line);
}
.path-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.path {
	padding: 26px;
	background: var(--bg);
	display: grid;
	gap: 10px;
	align-content: start;
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.25s;
}
@media (hover: hover) {
	.path:hover {
		transform: translateY(-3px);
		box-shadow: var(--shadow);
	}
}
.path h3 {
	font-size: 24px;
}
.path > p {
	color: var(--muted);
	font-size: 15.5px;
}
.path ol {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: d;
	display: grid;
	gap: 6px;
}
.path li {
	counter-increment: d;
	display: flex;
	gap: 10px;
	align-items: baseline;
	font-size: 15px;
}
.path li::before {
	content: "Day " counter(d);
	flex: none;
	width: 46px;
	font-size: 12px;
	font-weight: 600;
	color: var(--on-tint);
}
@media (max-width: 960px) {
	.path-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 620px) {
	.path-grid {
		grid-template-columns: 1fr;
	}
}

/* Practice */
.practice-list {
	display: grid;
	gap: 22px;
	margin-top: 8px;
}
.practice-list h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	margin-bottom: 6px;
}
.practice-list h3 .ic {
	color: var(--on-tint);
}
.practice-list p {
	color: var(--muted);
}
q {
	font-family: var(--serif);
	color: var(--text);
	quotes: "“" "”";
}
.tag {
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--tint);
	color: var(--on-tint);
}

/* Memento mori */
.weeks {
	background: var(--forest);
	color: var(--ink-on-forest);
}
.weeks .eyebrow,
.weeks p {
	color: color-mix(in srgb, var(--ink-on-forest) 78%, transparent);
}
.weeks q {
	color: var(--ink-on-forest);
}
.weeks-in {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}
.weeks-copy {
	display: grid;
	gap: 18px;
}
.weeks-copy > p:not(.eyebrow):not(.small) {
	font-size: 18px;
}
.weeks-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	margin-top: 8px;
}
.weeks-form label {
	display: grid;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
}
.weeks-form input,
.weeks-form select {
	font: inherit;
	font-size: 16px;
	min-height: 52px;
	padding: 0 16px;
	border-radius: 14px;
	border: 1px solid rgb(255 255 255 / 0.18);
	background: rgb(255 255 255 / 0.08);
	color: inherit;
	width: 130px;
}
.weeks-form select {
	width: 150px;
}
.weeks-form select option {
	color: #2b2f27;
}
.weeks-result {
	font-family: var(--serif);
	font-size: clamp(21px, 2.4vw, 26px) !important;
	line-height: 1.35;
	color: var(--ink-on-forest) !important;
}
.weeks-result b {
	color: #cfe3c9;
	font-weight: 500;
}
.weeks-grid-wrap {
	justify-self: center;
	width: min(100%, 460px);
}
.weeks-grid-wrap canvas {
	width: 100%;
	height: auto;
}
@media (max-width: 900px) {
	.weeks-in {
		grid-template-columns: 1fr;
	}
}

/* Create */
.gallery {
	display: flex;
	justify-content: center;
	gap: clamp(14px, 3vw, 36px);
	align-items: flex-start;
}
.gallery .phone {
	width: min(300px, 30vw);
	border-radius: 40px;
	padding: 8px;
}
.gallery .phone img {
	border-radius: 33px;
}
.gallery .phone:nth-child(2) {
	margin-top: 48px;
}
@media (max-width: 700px) {
	.gallery {
		overflow-x: auto;
		justify-content: flex-start;
		scroll-snap-type: x mandatory;
		padding: 8px 16px 32px;
		margin-inline: calc(-1 * var(--gutter));
	}
	.gallery .phone {
		flex: none;
		width: 66vw;
		scroll-snap-align: center;
	}
	.gallery .phone:nth-child(2) {
		margin-top: 0;
	}
}

/* Story */
.story {
	background: var(--card);
	border-block: 1px solid var(--line);
}
.story-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.story-grid li {
	padding: 28px;
	background: var(--bg);
	display: grid;
	gap: 10px;
	align-content: start;
}
.story-grid .num {
	font-family: var(--serif);
	font-size: 15px;
	color: var(--on-tint);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tint);
	display: grid;
	place-items: center;
}
.story-grid h3 {
	font-size: 24px;
}
.story-grid p {
	color: var(--muted);
}
.story-quote {
	text-align: center;
	margin-top: 48px;
	display: grid;
	gap: 8px;
}
.story-quote span {
	font-family: var(--serif);
	font-size: clamp(26px, 3.4vw, 38px);
	font-style: italic;
}
.story-quote small {
	color: var(--muted);
	font-size: 15px;
}
@media (max-width: 860px) {
	.story-grid {
		grid-template-columns: 1fr;
	}
}

/* Privacy */
.privacy-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.privacy-grid li {
	display: grid;
	gap: 8px;
	align-content: start;
	padding: 24px;
	border-radius: var(--r-lg);
	background: var(--card);
	border: 1px solid var(--line);
}
.privacy-grid .ic {
	width: 44px;
	height: 44px;
	padding: 11px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--on-tint);
	margin-bottom: 6px;
}
.privacy-grid b {
	font-size: 18px;
}
.privacy-grid span {
	color: var(--muted);
	font-size: 15.5px;
}
.fine {
	margin-top: 28px;
	font-size: 14.5px;
	color: var(--muted);
	text-align: center;
}
@media (max-width: 960px) {
	.privacy-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.privacy-grid {
		grid-template-columns: 1fr;
	}
}

/* Pricing */
.pricing {
	background: var(--card);
	border-block: 1px solid var(--line);
}
.plans {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
}
.plan {
	position: relative;
	padding: clamp(24px, 4vw, 36px);
	background: var(--bg);
	display: grid;
	gap: 10px;
	align-content: start;
}
.plan h3 {
	font-size: 32px;
}
.plan-sub {
	color: var(--muted);
}
.plan ul {
	list-style: none;
	padding: 0;
	margin: 12px 0 0;
	display: grid;
	gap: 12px;
}
.plan li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 16px;
}
.plan li .ic {
	color: var(--accent-strong);
	stroke-width: 2.4;
	margin-top: 2px;
}
.plan-premium {
	background: var(--tint);
	border-color: transparent;
	color: var(--on-tint);
}
.plan-premium .plan-sub {
	color: inherit;
	opacity: 0.8;
}
.plan-premium li .ic {
	color: var(--on-tint);
}
.plan-zeno {
	position: absolute;
	top: -34px;
	right: 22px;
	width: 92px;
}
.trial {
	margin-top: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: start;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--card);
	color: var(--text);
	font-size: 14.5px;
	font-weight: 600;
}
.pricing .fine {
	margin-bottom: 32px;
	line-height: 1.7;
}
@media (max-width: 760px) {
	.plans {
		grid-template-columns: 1fr;
	}
	.plan-premium {
		margin-top: 28px;
	}
}

/* FAQ */
.faq h2 {
	text-align: center;
	margin-bottom: 36px;
}
.faq details {
	border-bottom: 1px solid var(--line);
}
.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 22px 40px 22px 0;
	position: relative;
	font-family: var(--serif);
	font-size: 21px;
	font-weight: 500;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
	transform: translateY(-30%) rotate(225deg);
}
.faq details p {
	padding: 0 0 24px;
	color: var(--muted);
}

/* Final */
.final {
	background: var(--forest);
	color: var(--ink-on-forest);
	padding: clamp(80px, 11vw, 140px) 0;
	text-align: center;
}
.final-in {
	display: grid;
	justify-items: center;
	gap: 20px;
}
.final-zeno {
	width: 150px;
}
.final h2 {
	font-size: clamp(44px, 7vw, 84px);
}
.final p {
	font-size: 19px;
	color: color-mix(in srgb, var(--ink-on-forest) 78%, transparent);
	max-width: 620px;
}
.final .cta-row {
	justify-content: center;
	margin-top: 12px;
}
.final .btn-store {
	background: #fff;
	color: #0c0d0b;
}
.final .qr {
	color: color-mix(in srgb, var(--ink-on-forest) 70%, transparent);
}
.final .qr svg {
	background: #f5f0e6;
	border-color: transparent;
}
.assure-line {
	font-size: 15px !important;
}

/* Footer */
.foot {
	padding: 56px 0 120px;
	font-size: 14.5px;
	color: var(--muted);
}
.foot-in {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px;
	align-items: start;
}
.foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}
.foot a {
	text-decoration: none;
}
.foot a:hover {
	color: var(--text);
	text-decoration: underline;
}
.foot .brand {
	font-size: 18px;
	margin-bottom: 10px;
}
.foot .brand-mark {
	width: 32px;
	height: 32px;
}
@media (max-width: 760px) {
	.foot-in {
		grid-template-columns: 1fr;
	}
}

/* Sticky CTA (phones) */
.sticky-cta {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: max(12px, env(safe-area-inset-bottom));
	z-index: 60;
	display: none;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 10px 14px;
	border-radius: 22px;
	background: color-mix(in srgb, var(--card) 92%, transparent);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	transform: translateY(140%);
	transition: transform 0.4s var(--ease);
}
.sticky-cta.is-on {
	transform: none;
}
.sticky-cta span {
	flex: 1;
	display: grid;
	line-height: 1.2;
}
.sticky-cta small {
	color: var(--muted);
	font-size: 13px;
}
.sticky-mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--tint);
	padding: 3px;
}
.sticky-cta .btn {
	min-height: 46px;
	padding: 0 20px;
}
@media (max-width: 760px) {
	.sticky-cta {
		display: flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zeno * {
		animation: none !important;
	}
}

/* Preview ribbon */
.preview-ribbon {
	position: fixed;
	left: 12px;
	top: 78px;
	z-index: 70;
	padding: 6px 12px;
	border-radius: 999px;
	background: #8a4b2f;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	pointer-events: none;
}

.foot-legal {
	margin-top: 28px;
}

/* Holding page, 404 */
.soon {
	min-height: 70vh;
	display: grid;
	align-items: center;
	padding: 64px 0;
	text-align: center;
}
.soon-in {
	display: grid;
	justify-items: center;
	gap: 18px;
}
.soon-zeno {
	width: 140px;
}
.soon h1 {
	font-size: clamp(44px, 7vw, 72px);
}
.soon .lede {
	font-size: 19px;
	color: var(--muted);
	max-width: 560px;
}
.soon-links {
	color: var(--muted);
	font-size: 15px;
}

/* Hub */
.hub {
	min-height: 78vh;
	display: grid;
	align-items: center;
	padding: 72px 0;
	background: radial-gradient(60% 50% at 80% 20%, color-mix(in srgb, var(--tint) 80%, transparent), transparent 70%);
}
.hub-in {
	display: grid;
	gap: 22px;
}
.hub h1 {
	font-size: clamp(42px, 7vw, 76px);
}
.hub .lede {
	font-size: 20px;
	color: var(--muted);
}
.hub .lede em {
	font-family: var(--serif);
	color: var(--text);
}
.app-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px;
	margin-top: 12px;
	text-decoration: none;
	transition:
		transform 0.25s var(--ease),
		box-shadow 0.25s;
}
@media (hover: hover) {
	.app-card:hover {
		transform: translateY(-2px);
		box-shadow: var(--shadow);
	}
}
.app-card img {
	width: 84px;
	height: 84px;
	border-radius: 20px;
}
.app-card span:not(.go) {
	flex: 1;
	display: grid;
	gap: 4px;
}
.app-card b {
	font-family: var(--serif);
	font-size: 24px;
	font-weight: 500;
}
.app-card small {
	color: var(--muted);
	font-size: 15px;
}
.app-card .go {
	font-size: 24px;
	color: var(--muted);
}
