/* 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/peterpaul — the app's palette: cream page, navy ink, Peter's blue, Paul's red. */

:root {
	--bg: #faf5ea;
	--card: #fffdf8;
	--sand: #f2e9d7;
	--line: #e6dcc8;
	--divider: #efe6d4;
	--tint: #e8ebf6;
	--on-tint: #1b2559;
	--accent: #1b2559;
	--accent-strong: #2c3c86;
	--on-accent: #ffffff;
	--text: #1b2559;
	--muted: #55607f;
	--peter: #1a56b0;
	--peter-soft: #e4edfb;
	--paul: #b4323a;
	--paul-soft: #fbe7e6;
	--gold: #b8862f;
	--highlight: #fff1b8;
	--navy: #1b2559;
	--ink-on-navy: #f5efe3;
	--shadow: 0 1px 2px rgb(27 37 89 / 0.05), 0 12px 32px -12px rgb(27 37 89 / 0.2);
	--shadow-lg: 0 2px 4px rgb(27 37 89 / 0.05), 0 40px 80px -30px rgb(27 37 89 / 0.38);
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0e1330;
		--card: #161c40;
		--sand: #1c2447;
		--line: #2c3458;
		--divider: #222a52;
		--tint: #1f2850;
		--on-tint: #c9d1ee;
		--accent: #e8ebf8;
		--accent-strong: #ffffff;
		--on-accent: #0e1330;
		--text: #e8ebf8;
		--muted: #a3accb;
		--peter: #86b4ff;
		--peter-soft: #1b2a55;
		--paul: #ff9096;
		--paul-soft: #3a1f36;
		--gold: #e0b866;
		--highlight: #4a4220;
		--navy: #0a0e26;
		--ink-on-navy: #e8ebf8;
		--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.85);
	}
}

.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); }
.t-peter { color: var(--peter); }
.t-paul { color: var(--paul); }
.section-head { max-width: 780px; 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 { color: var(--gold); }
.eyebrow .ic { width: 16px; height: 16px; }
.fine { font-size: 14.5px; color: var(--muted); margin-top: 28px; }
.caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 14px; }
.btn-primary:hover { color: var(--on-accent); }

/* ---------- Guides: figure + blink patch, a calm breath and sway ---------- */
.g {
	position: relative;
	margin: 0;
	transform-origin: 50% 100%;
}
.g-body { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgb(27 37 89 / 0.16)); }
.g-lids {
	position: absolute;
	max-width: none;
	opacity: 0;
	pointer-events: none;
}
.g:not(.is-still) { animation: g-breathe 5.2s ease-in-out infinite; }
.g:not(.is-still) .g-lids { animation: g-blink 6.4s infinite; }
.g:nth-child(2):not(.is-still) { animation-duration: 5.8s; animation-delay: -1.7s; }
.g:nth-child(2):not(.is-still) .g-lids { animation-duration: 7.3s; animation-delay: -2.9s; }
.g.is-nod { animation: g-nod 0.7s cubic-bezier(0.34, 1.4, 0.64, 1); }
.g.is-nod .g-lids { animation: g-blink-now 0.32s; }
@keyframes g-breathe {
	0%, 100% { transform: scale(1, 1) rotate(0deg); }
	50% { transform: scale(1.004, 1.012) rotate(0.5deg); }
}
@keyframes g-blink {
	0%, 95.4%, 98%, 100% { opacity: 0; }
	95.8%, 97.6% { opacity: 1; }
}
@keyframes g-blink-now {
	0%, 100% { opacity: 0; }
	20%, 70% { opacity: 1; }
}
@keyframes g-nod {
	0% { transform: none; }
	35% { transform: translateY(1.8%) scale(1.01, 0.985); }
	70% { transform: translateY(-0.6%); }
	100% { transform: none; }
}
[data-guides] .g { cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (prefers-color-scheme: dark) {
	.g-body { filter: drop-shadow(0 14px 20px rgb(0 0 0 / 0.45)); }
}

/* ---------- Nav ---------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 80%, 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, background-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: 9px; box-shadow: 0 0 0 1px var(--line); }
.nav nav { display: flex; gap: 24px; 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: 920px) { .nav nav { display: none; } }

/* ---------- Hero: the lake at sunrise, the two guides, a verse with both notes ---------- */
.hero {
	overflow: hidden;
	padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
	isolation: isolate;
}
.hero-scene { position: absolute; inset: 0; z-index: -2; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 34%, color-mix(in srgb, var(--bg) 25%, transparent) 62%, transparent 80%),
		linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hero-in {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
}
.hero-pill { margin-bottom: 22px; color: var(--on-tint); background: color-mix(in srgb, var(--card) 80%, transparent); }
.hero-pill .ic { width: 16px; height: 16px; color: var(--gold); }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); 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 { 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: #fffdf8; border: 1px solid var(--line); }
@media (max-width: 900px), (hover: none) { .qr { display: none; } }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.assure li { display: flex; align-items: center; gap: 7px; }
.assure .ic { width: 17px; height: 17px; color: var(--gold); }
.android-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

.hero-stage { position: relative; display: grid; justify-items: center; padding-top: 12px; }
.hero-guides {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0;
	width: min(100%, 470px);
}
.hero-peter { width: 50%; margin-right: -4%; z-index: 1; }
.hero-paul { width: 46%; }
.hero-guides::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	width: min(80%, 380px);
	height: 34px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgb(27 37 89 / 0.22), transparent);
	z-index: -1;
}
.hero-card {
	position: absolute;
	left: max(-10%, -60px);
	bottom: 10%;
	width: min(300px, 70%);
	margin: 0;
	padding: 16px 18px;
	border-radius: 20px;
	background: color-mix(in srgb, var(--card) 94%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	z-index: 2;
	animation: card-float 7s ease-in-out infinite;
}
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hc-ref { font: 600 12px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.hc-verse {
	margin: 6px 0 12px;
	padding: 4px 6px;
	border-radius: 6px;
	background: var(--highlight);
	font: 400 17px/1.45 var(--serif);
}
.hc-take { position: relative; padding-left: 12px; font-size: 14px; line-height: 1.45; color: var(--text); }
.hc-take + .hc-take { margin-top: 8px; }
.hc-take::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 3px; }
.hc-take b { display: block; font-size: 12.5px; }
.hc-peter::before { background: var(--peter); }
.hc-peter b { color: var(--peter); }
.hc-paul::before { background: var(--paul); }
.hc-paul b { color: var(--paul); }
@media (prefers-color-scheme: dark) {
	.hero-scene img { filter: brightness(0.5) saturate(0.85); }
	.hero::before {
		background:
			linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 90%, transparent) 36%, color-mix(in srgb, var(--bg) 35%, transparent) 64%, color-mix(in srgb, var(--bg) 10%, transparent) 82%),
			linear-gradient(0deg, var(--bg) 0%, transparent 24%);
	}
}
@media (max-width: 900px) {
	.hero-in { grid-template-columns: 1fr; }
	.hero::before {
		background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 44%, color-mix(in srgb, var(--bg) 20%, transparent) 70%, var(--bg) 100%);
	}
	.hero-scene img { object-position: 70% 50%; }
	.hero-stage { margin-top: 8px; }
	.hero-guides { width: min(88%, 400px); }
	.hero-card { position: relative; left: auto; bottom: auto; width: min(100%, 420px); margin-top: -18px; animation: none; }
}

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--card); padding: 34px 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; }
.facts div { display: grid; gap: 4px; text-align: center; }
.facts dt { font: 500 clamp(32px, 4vw, 44px)/1 var(--serif); color: var(--text); }
.facts dd { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* Section rhythm */
.guides, .study, .ask, .traditions, .books, .daily, .inside, .privacy, .pricing, .faq {
	padding: clamp(80px, 10vw, 128px) 0;
}
.study, .books, .privacy { background: var(--card); border-block: 1px solid var(--line); }

/* ---------- Meet the guides ---------- */
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.guide-card {
	position: relative;
	border-radius: var(--r-xl);
	background: var(--card);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.gc-scene { aspect-ratio: 16 / 9; overflow: hidden; }
.gc-scene img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.guide-card:hover .gc-scene img { transform: scale(1.04); }
.gc-figure {
	position: absolute;
	right: 6%;
	top: clamp(40px, 7vw, 70px);
	width: clamp(120px, 15vw, 180px);
}
.is-paul .gc-figure { width: clamp(118px, 14.5vw, 176px); }
.gc-body { padding: 26px clamp(22px, 3vw, 34px) 32px; max-width: 70%; }
.gc-body h3 { font-size: clamp(34px, 4vw, 44px); }
.is-peter h3 { color: var(--peter); }
.is-paul h3 { color: var(--paul); }
.gc-tag { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); margin: 2px 0 14px; }
.gc-body > p:not(.gc-tag) { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.is-peter .ticks .ic { color: var(--peter); }
.is-paul .ticks .ic { color: var(--paul); }
@media (prefers-color-scheme: dark) { .gc-scene img { filter: brightness(0.72) saturate(0.9); } }
@media (max-width: 860px) {
	.guide-cards { grid-template-columns: 1fr; }
	.gc-body { max-width: 66%; }
}
@media (max-width: 520px) {
	.gc-figure { top: auto; bottom: 22px; width: 34vw; right: 2%; }
	.is-paul .gc-figure { width: 33vw; }
	.gc-body { max-width: 72%; }
}

/* ---------- Tap a verse ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--card);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.18s, border-color 0.18s, transform 0.18s var(--ease);
}
.chip:active { transform: scale(0.97); }
.chip[aria-selected="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; }
@media (hover: hover) { .chip:hover:not([aria-selected="true"]) { border-color: var(--muted); } }

.study-stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.study-demo .chips { margin-bottom: 18px; }
.study-device {
	border-radius: 28px;
	background: var(--bg);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.study-panel { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reader-verse { padding: 26px clamp(20px, 3vw, 32px) 30px; }
.reader-ref { font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.reader-text { font: 400 clamp(20px, 2.3vw, 24px)/1.55 var(--serif); background: var(--highlight); padding: 4px 8px; margin: 0 -8px; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline; }
.reader-text sup { font: 600 0.55em var(--sans); color: var(--muted); margin-right: 3px; }
.sheet-card {
	background: var(--card);
	border-top: 1px solid var(--line);
	border-radius: 24px 24px 0 0;
	padding: 12px clamp(18px, 3vw, 30px) 26px;
	position: relative;
}
.sheet-card::before { content: ""; display: block; width: 38px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.take { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: start; padding: 14px 0; }
.take + .take { border-top: 1px solid var(--divider); }
.take .g { width: 54px; }
.take-name { font-weight: 700; font-size: 14px; margin-bottom: 2px; display: flex; gap: 6px; align-items: center; }
.take-peter .take-name { color: var(--peter); }
.take-paul .take-name { color: var(--paul); }
.take p:not(.take-name):not(.word) { font-size: 16px; line-height: 1.55; }
.cite-n {
	display: inline-grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	margin-left: 2px;
	border-radius: 9px;
	background: var(--tint);
	color: var(--on-tint);
	font: 700 11px/1 var(--sans);
	text-decoration: none;
	vertical-align: 2px;
}
.cite-n:hover { background: var(--accent); color: var(--on-accent); }
.word { margin-top: 10px; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 12px; background: var(--paul-soft); }
.word b { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--paul); margin-right: 4px; }
.contested { margin: 6px 0 4px; padding: 14px 16px; border-radius: 16px; background: var(--tint); }
.contested .take-name { color: var(--on-tint); }
.contested .ic { width: 16px; height: 16px; }
.contested p:not(.take-name) { font-size: 15px; }
.sources { list-style: none; counter-reset: src; padding: 14px 0 0; margin: 10px 0 0; border-top: 1px solid var(--divider); display: grid; gap: 8px; }
.sources li { counter-increment: src; position: relative; padding: 8px 10px 8px 34px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: background-color 0.4s; }
.sources li::before {
	content: counter(src);
	position: absolute;
	left: 8px;
	top: 9px;
	width: 18px;
	height: 18px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: var(--tint);
	color: var(--on-tint);
	font: 700 11px/1 var(--sans);
}
.sources li b { color: var(--text); font-weight: 600; }
.sources li sup { font-size: 0.7em; margin-right: 2px; }
.sources li:target, .sources li.is-lit { background: var(--highlight); }
.study-side { display: grid; gap: 28px; justify-items: center; }
.study-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.study-points li { display: flex; gap: 12px; color: var(--muted); font-size: 15.5px; }
.study-points b { color: var(--text); }
.study-points .ic { color: var(--gold); margin-top: 2px; }
@media (max-width: 900px) {
	.study-stage { grid-template-columns: 1fr; }
	.study-demo .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
	.study-demo .chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
}

/* Phones */
.phone {
	position: relative;
	border-radius: 46px;
	padding: 9px;
	background: linear-gradient(145deg, #2a3050, #0e1330);
	box-shadow: var(--shadow-lg);
	width: min(320px, 72vw);
}
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.14); pointer-events: none; }
.phone img { border-radius: 38px; width: 100%; background: var(--bg); }

/* ---------- Ask ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split-copy h2 { margin: 14px 0 18px; }
.split-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.askers { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 6px; }
.ask-chip { padding: 9px 15px; border-radius: 18px 18px 18px 6px; background: var(--card); border: 1px solid var(--line); font-size: 15px; box-shadow: var(--shadow); }
.ask-chip:nth-child(even) { border-radius: 18px 18px 6px 18px; }
.ask-art { display: grid; justify-items: center; position: relative; }
.ask-art::before {
	content: "";
	position: absolute;
	inset: 8% 4%;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--peter) 14%, transparent), transparent), radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--paul) 12%, transparent), transparent);
	z-index: -1;
}
.ask-pair { display: flex; align-items: flex-end; }
.ask-pair .g { width: 190px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Traditions and Bibles ---------- */
.trad-grid { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trad-grid li {
	display: grid;
	gap: 6px;
	justify-items: center;
	text-align: center;
	padding: 28px 18px 24px;
	border-radius: var(--r-lg);
	background: var(--card);
	border: 1px solid var(--line);
	transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.trad-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trad-grid .ic { width: 40px; height: 40px; stroke-width: 1.5; color: var(--gold); margin-bottom: 8px; }
.trad-grid b { font: 500 22px/1.2 var(--serif); }
.trad-grid span { font-size: 14.5px; color: var(--muted); }
.bibles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bible {
	position: relative;
	padding: 26px 24px 26px 46px;
	border-radius: 10px 20px 20px 10px;
	color: #f5efe3;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.bible h3 { font-size: 24px; margin-bottom: 8px; color: #fbf3df; }
.bible p { font-size: 15px; color: rgb(245 239 227 / 0.82); }
.bible-spine { position: absolute; left: 14px; top: 0; bottom: 0; width: 14px; border-inline: 2px solid rgb(224 184 102 / 0.75); }
.bible::after { content: ""; position: absolute; inset: 10px 10px 10px 36px; border: 1px solid rgb(224 184 102 / 0.35); border-radius: 6px 14px 14px 6px; pointer-events: none; }
.bible.is-asketes { background: linear-gradient(135deg, #24306e, #1b2559); }
.bible.is-kjv { background: linear-gradient(135deg, #4a2a22, #2f1a15); }
.bible.is-drc { background: linear-gradient(135deg, #6e1f27, #4b1218); }
.bible.is-de { background: linear-gradient(135deg, #2e4a3a, #1d3327); }
.bible.is-fr { background: linear-gradient(135deg, #3d2f5c, #281e40); }
.bible.is-es { background: linear-gradient(135deg, #6b4a1c, #4a3112); }
@media (max-width: 900px) {
	.trad-grid { grid-template-columns: repeat(2, 1fr); }
	.bibles { grid-template-columns: 1fr; }
}

/* ---------- Book notes ---------- */
.book-stage { max-width: 980px; margin: 0 auto; }
.book-stage .chips { justify-content: center; margin-bottom: 22px; }
.book-card { border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.book-panel { display: grid; grid-template-columns: 1fr 1fr; animation: panel-in 0.45s var(--ease); }
.book-about { padding: clamp(24px, 3.5vw, 40px); }
.book-lede { font: 400 clamp(19px, 2vw, 22px)/1.5 var(--serif); margin: 12px 0 22px; }
.book-facts { margin: 0; display: grid; gap: 14px; }
.book-facts dt { font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.book-facts dd { margin: 2px 0 0; font-size: 15.5px; }
.book-takes { background: var(--card); border-left: 1px solid var(--line); padding: clamp(14px, 2.5vw, 28px) clamp(20px, 3vw, 34px); }
@media (max-width: 820px) {
	.book-panel { grid-template-columns: 1fr; }
	.book-takes { border-left: 0; border-top: 1px solid var(--line); }
	.book-stage .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
	.book-stage .chips::-webkit-scrollbar { display: none; }
}

/* ---------- Every day ---------- */
.day-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.day-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--card);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.day-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dc-scene { aspect-ratio: 4 / 3; overflow: hidden; }
.dc-scene img { width: 100%; height: 100%; object-fit: cover; }
.dc-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; flex: 1; }
.dc-time { font: 600 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.dc-body h3 { font-size: 23px; }
.dc-body > p:not(.dc-time):not(.dc-quote) { font-size: 15px; color: var(--muted); }
.dc-quote { margin-top: 6px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font: italic 400 16px/1.45 var(--serif); }
.dc-quote span { display: block; font: 600 11.5px/1.4 var(--sans); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.is-night { background: #141a3d; border-color: #222a52; color: #e8ebf8; }
.is-night .dc-body > p:not(.dc-time):not(.dc-quote) { color: #a3accb; }
.is-night .dc-quote { background: rgb(255 255 255 / 0.06); }
.is-night .dc-quote span { color: #a3accb; }
.is-night .dc-time { color: #e0b866; }
.readings { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.readings li { font: 500 15px/1.35 var(--serif); }
.readings small { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (prefers-color-scheme: dark) { .dc-scene img { filter: brightness(0.78) saturate(0.9); } }
@media (max-width: 1040px) { .day-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .day-grid { grid-template-columns: 1fr; } }

.habit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.habit-copy { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.habit-copy h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 8px; }
.habit-copy h3:not(:first-child) { margin-top: 26px; }
.habit-copy h3 .ic { width: 22px; height: 22px; color: var(--gold); }
.habit-copy p { color: var(--muted); font-size: 15.5px; }
.seasons { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.seasons li { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.2; }
.seasons img { width: 100%; max-width: 72px; }
@media (max-width: 860px) {
	.habit { grid-template-columns: 1fr; }
	.seasons { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- A look inside (sideways reel) ---------- */
.inside .section-head { margin-bottom: 36px; }
.reel {
	display: flex;
	gap: clamp(16px, 2.4vw, 28px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 20px max(var(--gutter), calc((100vw - var(--max)) / 2)) 48px;
	scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel .phone { flex: none; width: min(280px, 64vw); scroll-snap-align: center; }
.reel .phone:nth-child(odd) { transform: translateY(18px); }

/* ---------- Privacy ---------- */
.privacy-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.privacy-grid li { display: grid; gap: 8px; align-content: start; padding: 24px 22px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.privacy-grid .ic { width: 26px; height: 26px; color: var(--gold); }
.privacy-grid b { font: 500 21px/1.2 var(--serif); }
.privacy-grid span { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; padding: 32px clamp(24px, 3vw, 36px); }
.plan h3 { font-size: 32px; }
.plan-sub { color: var(--muted); margin: 6px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 16px; }
.plan li .ic { width: 18px; height: 18px; margin-top: 4px; color: var(--gold); }
.plan-premium { background: var(--navy); color: var(--ink-on-navy); border-color: transparent; box-shadow: var(--shadow-lg); overflow: visible; }
.plan-premium .plan-sub { color: color-mix(in srgb, var(--ink-on-navy) 72%, transparent); }
.plan-premium li .ic { color: #e0b866; }
.plan-guides { position: absolute; right: 18px; top: -66px; width: 104px; }
.trial { display: flex; gap: 10px; align-items: center; margin-top: 24px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 0.08); font-weight: 600; }
.trial .ic { color: #e0b866; }
.pricing .cta-row { justify-content: center; margin-top: 30px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan-premium { margin-top: 56px; } }

/* ---------- 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: breakfast fire on the beach ---------- */
.final { overflow: hidden; isolation: isolate; color: #fbf3df; text-align: center; padding: clamp(64px, 9vw, 120px) 0; }
.final-scene { position: absolute; inset: 0; z-index: -2; }
.final-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(14 19 48 / 0.55), rgb(14 19 48 / 0.82) 60%, rgb(14 19 48 / 0.92)); }
.final-in { display: grid; justify-items: center; gap: 18px; }
.final-guides { display: flex; align-items: flex-end; gap: 0; width: min(420px, 82vw); }
.final-guides .g { width: 50%; }
.final h2 { font-size: clamp(46px, 7vw, 88px); color: #fbf3df; }
.final p { font-size: 19px; color: rgb(251 243 223 / 0.84); max-width: 600px; }
.final .cta-row { justify-content: center; margin-top: 8px; }
.final .btn-store { background: #fff; color: #0c0d0b; }
.final .qr { color: rgb(251 243 223 / 0.75); }
.final .qr svg { 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; }
	.foot-links { gap: 0 22px; }
	.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- 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 12px;
	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: 10px; }
.sticky-cta .btn { min-height: 46px; padding: 0 20px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* Store badge before the App Store link exists */
.btn-store.is-soon { cursor: default; opacity: 0.92; }
.btn-store.is-soon:active { transform: none; }

/* Scroll reveal (only with JS; the page reads fully without it) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Prose pages (support, privacy, terms) */
.prose a { color: var(--peter); word-break: break-word; }
.prose blockquote { background: var(--tint); color: var(--on-tint); }
.prose dt { font-weight: 600; margin-top: 0.9em; }
.prose dd { margin: 0.15em 0 0; }
.doc.faq { padding-top: 56px; }

@media (prefers-reduced-motion: reduce) {
	.g, .g .g-lids, .hero-card { animation: none !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
.take-name small { font-weight: 500; font-size: 12.5px; opacity: 0.85; }
.doc .lede a, .doc .prose a { color: var(--peter); }
[hidden] { display: none !important; }

/* Fixes after the first look */
.pricing .section-head { margin-bottom: 80px; }
.plan-guides { top: -54px; right: 16px; width: 92px; }
.plan-premium h3, .plan-premium .plan-sub { padding-right: 96px; }
.final-guides { position: relative; }
.final-guides::after {
	content: "";
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: -10px;
	height: 30px;
	background: radial-gradient(closest-side, rgb(0 0 0 / 0.45), transparent);
	z-index: -1;
}
@media (max-width: 520px) {
	.gc-figure { top: 36px; bottom: auto; right: 3%; width: 31vw; }
	.is-paul .gc-figure { width: 30vw; }
	.gc-body { max-width: none; }
	.gc-body h3, .gc-tag { padding-right: 30%; }
}

.g-peter-heart .g-lids{left:40.71%;top:5.42%;width:28.85%;height:10.61%}
.g-peter-joy .g-lids{left:43.05%;top:4.42%;width:15.04%;height:10.50%}
.g-peter-keys .g-lids{left:41.65%;top:6.01%;width:18.14%;height:9.42%}
.g-peter-lamp .g-lids{left:34.64%;top:5.68%;width:23.18%;height:9.82%}
.g-peter-net .g-lids{left:47.25%;top:5.56%;width:19.04%;height:9.59%}
.g-peter-ponder .g-lids{left:37.67%;top:5.21%;width:32.00%;height:10.31%}
.g-peter-pray .g-lids{left:35.48%;top:8.93%;width:25.48%;height:4.00%}
.g-peter-sit .g-lids{left:45.09%;top:6.23%;width:20.30%;height:11.91%}
.g-peter-speak .g-lids{left:53.12%;top:5.46%;width:19.20%;height:9.37%}
.g-peter-think .g-lids{left:41.01%;top:5.09%;width:28.39%;height:10.31%}
.g-peter-walk .g-lids{left:47.98%;top:5.65%;width:19.71%;height:10.37%}
.g-peter-write .g-lids{left:45.15%;top:9.97%;width:23.30%;height:9.70%}
.g-paul-heart .g-lids{left:27.18%;top:2.44%;width:26.21%;height:10.48%}
.g-paul-joy .g-lids{left:39.71%;top:1.97%;width:14.08%;height:9.84%}
.g-paul-lamp .g-lids{left:44.44%;top:2.81%;width:23.12%;height:9.65%}
.g-paul-ponder .g-lids{left:31.72%;top:2.80%;width:29.48%;height:9.88%}
.g-paul-pray .g-lids{left:32.58%;top:6.41%;width:28.09%;height:3.99%}
.g-paul-read .g-lids{left:26.80%;top:5.62%;width:25.82%;height:7.65%}
.g-paul-sit .g-lids{left:38.90%;top:3.05%;width:17.85%;height:11.36%}
.g-paul-speak .g-lids{left:47.24%;top:3.28%;width:17.97%;height:9.83%}
.g-paul-teach .g-lids{left:32.76%;top:3.29%;width:22.41%;height:9.01%}
.g-paul-think .g-lids{left:27.17%;top:2.69%;width:28.74%;height:9.89%}
.g-paul-walk .g-lids{left:36.00%;top:3.65%;width:18.82%;height:9.36%}
.g-paul-write .g-lids{left:34.52%;top:6.79%;width:21.32%;height:10.53%}