/* The web funnel (/start, /account; docs/product/10-web-funnel.md) in the
   app's Blush register (DESIGN.md: Figtree, light, rose for every action
   and every choice, plum ink). Values are copied from
   Afterbloom/DesignSystem/Blush.swift — the web cannot import Swift, so a
   change there is a change here. No script on any page; everything here
   works without one. The old pages keep site.css. */

/* Figtree, the four weights Blush uses (800 headlines and numbers, 700
   buttons, 600 labels, 500 reading), subset to Latin and typographic
   punctuation and compressed to WOFF2 from the app's own TTFs
   (Afterbloom/Resources/Fonts/; fontTools, see web/README.md). */
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/Figtree-Medium.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Figtree-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/Figtree-Bold.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/Figtree-ExtraBold.woff2") format("woff2"); }

:root {
	/* Theme.Blush.Colors */
	--paper-top: #FFFAF8;
	--paper: #FDF4F4;
	--paper-bottom: #FBECF0;
	--surface: #FFFFFF;
	--surface-raised: #FBEAF0;
	--line: rgba(74, 31, 55, 0.12);
	--ink: #4A1F37;
	--ink-secondary: #7B4863;
	--rose: #C94277;
	--on-rose: #FFFFFF;
	--rose-text: #B72C62;
	--tint-rose: #FCE0EA;
	--tint-peach: #FFDFD0;
	--peach: #F5B3A0;
	--hers-bar: #F4BCD0;
	--his-bar: #D9D3DC;
	--his: #ADA5B2;
	--his-soft: #EDE8EF;
	--axis: #CDB5C1;
	--track: #EBD9E1;
	--rose-shadow: rgba(201, 66, 119, 0.24);
	--answer-edge: rgba(74, 31, 55, 0.2);
	--answer-shadow: rgba(74, 31, 55, 0.05);
	--note-shadow: rgba(74, 31, 55, 0.10);
	/* Theme.Blush.Radius / Layout */
	--radius-card: 28px;
	--radius-answer: 22px;
	--pill: 56px;
	--pill-gap: 10px;
	--row-gap: 8px;
	--reply-gap: 11px;
	--column: 480px;
	--gutter: 16px;
	--font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	color-scheme: light; /* Blush is light always */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	background: var(--paper) linear-gradient(180deg, var(--paper-top) 0%, var(--paper) 45%, var(--paper-bottom) 100%) fixed;
	color: var(--ink);
	font-family: var(--font);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

.screen {
	display: flex;
	flex-direction: column;
	max-width: var(--column);
	min-height: 100vh;
	min-height: 100svh;
	margin: 0 auto;
	padding:
		calc(env(safe-area-inset-top, 0px) + 4px)
		calc(env(safe-area-inset-right, 0px) + var(--gutter))
		calc(env(safe-area-inset-bottom, 0px) + 16px)
		calc(env(safe-area-inset-left, 0px) + var(--gutter));
}

/* The bar: Back, or the wordmark on a page with nowhere to go back to. */
.bar { position: relative; display: flex; align-items: center; min-height: 44px; }

/* Where she is (the app's chapter marks): a dot a step, the bloom on this one. */
.marks { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.marks li { width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }
.marks li.done { background: var(--rose); }
.marks li.now { width: 14px; height: 14px; background: none; }
.bloom-mark { display: block; width: 100%; height: 100%; }
.fill-heart { fill: var(--peach); }
.mark { font-weight: 800; font-size: 17px; letter-spacing: -0.3px; color: var(--ink); }
.back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	min-width: 44px;
	padding-right: 12px;
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.back::before {
	content: "";
	width: 9px;
	height: 9px;
	margin-left: 4px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

/* The words: centred, the question on top, the controls at the foot. */
.words {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding: 24px 0 32px;
}

h1 {
	margin: 0;
	font-weight: 800;
	font-size: 32px; /* Typography.display */
	line-height: 1.1;
	letter-spacing: -0.6px;
	color: var(--ink);
	text-wrap: balance;
}

.overline { margin: 0 0 12px; font-weight: 700; font-size: 13px; line-height: 1.35; color: var(--ink-secondary); }
.echo { margin: 0 0 12px; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--ink-secondary); }
.lead { margin: 14px 0 0; font-weight: 500; font-size: 17px; line-height: 1.4; color: var(--ink-secondary); text-wrap: balance; }
.quiet { margin: 12px 0 0; font-weight: 600; font-size: 13px; line-height: 1.4; color: var(--ink-secondary); text-align: center; }

a { color: var(--ink); text-underline-offset: 2px; }

/* Every focusable thing shows where the keyboard is. */
a:focus-visible, button:focus-visible, input:focus-visible + span, label:focus-within {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}
input:focus-visible { outline: none; }

/* The main button (RoseButtonStyle): rose, a capsule, 56 tall. */
.button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--pill);
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--rose);
	color: var(--on-rose);
	font: 700 17px/1.2 var(--font);
	text-align: center;
	text-decoration: none;
	box-shadow: 0 8px 18px var(--rose-shadow);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}
.button:active { transform: scale(0.98); box-shadow: 0 3px 8px var(--rose-shadow); }

.dock { padding-top: 8px; }
/* A long page keeps its button on screen while she reads (in-app browsers
   have tall bottom bars), over a short fade of the paper; the dock settles
   in place when she reaches it. */
.dock.pinned {
	position: sticky;
	bottom: 0;
	z-index: 1;
	margin: 0 calc(-1 * var(--gutter));
	padding: 28px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 8px);
	background: linear-gradient(180deg, rgba(251, 236, 240, 0) 0, var(--paper-bottom) 24px);
}
.slot { display: flex; align-items: center; justify-content: center; min-height: 36px; margin: 0; font-weight: 600; font-size: 13px; line-height: 1.35; color: var(--ink-secondary); text-align: center; }
.trust { margin: 0 0 10px; font-weight: 600; font-size: 13px; line-height: 1.35; color: var(--ink-secondary); text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One-tap answers: 56 tall, 10 apart, white with a hairline; chosen is rose. */
.answers { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--pill-gap); }
.answer {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--pill);
	padding: 12px 20px;
	border: 1.5px solid var(--answer-edge);
	border-radius: var(--radius-answer);
	background: var(--surface);
	box-shadow: 0 2px 6px var(--answer-shadow);
	color: var(--ink);
	font-weight: 500;
	font-size: 17px;
	line-height: 1.3;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: transform 120ms ease-out, background-color 120ms ease-out;
}
.answer:active { transform: scale(0.98); }
.answer.chosen { background: var(--rose); border-color: var(--rose); color: var(--on-rose); font-weight: 600; }

/* Her answers, as chips (90 days to bloom again). */
.chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--tint-rose); color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.4; }

/* Pick up to two: a form of checkboxes. */
.picks fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.picks .hint { display: block; width: 100%; padding: 0; margin: 0 0 var(--reply-gap); text-align: center; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--ink-secondary); }
.picks ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: var(--row-gap); }
.pick {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: var(--pill);
	padding: 10px 18px;
	border: 1.5px solid var(--answer-edge);
	border-radius: var(--radius-answer);
	background: var(--surface);
	box-shadow: 0 2px 6px var(--answer-shadow);
	font-size: 17px;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.pick input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--rose); }
.pick:has(input:checked) { border-color: var(--rose); background: var(--tint-rose); font-weight: 600; }

/* The plan: the trial said before the button, at body size (D-132). */
.terms { margin: 0 0 12px; font-weight: 500; font-size: 16px; line-height: 1.4; color: var(--ink); text-align: center; }
.quiet-link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }

.foot { padding-top: 24px; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.foot .note { margin: 0 0 4px; font-weight: 600; font-size: 13px; line-height: 1.4; color: var(--ink-secondary); }
.foot a { display: inline-block; padding: 10px 0; color: var(--ink-secondary); font-weight: 600; font-size: 13px; }

/* Long pages (W1, W9, W10, W11): read from the top, not centred. */
.long .words { justify-content: flex-start; padding-top: 12px; padding-bottom: 8px; }
.tag {
	align-self: center;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--tint-rose);
	color: var(--ink);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
}

/* Her room: the soft light behind her, then her (web/art). She is a film of
   the app's own flower — breathing, swaying, opening — drawn on white and
   laid over the paper with multiply, so white is nothing and she keeps her
   soft edge. Multiply needs the paper behind her: nothing between her and the
   page may make a stacking context (no opacity, transform, filter or z-index
   on `.stage`, `.words` or `.screen`), or she arrives in a white box. Her own
   opacity is hers to animate. Nothing else on a page loops. */
.stage { position: relative; flex: 1 1 0; min-height: 132px; margin: 10px 0 0; pointer-events: none; }
.flower { mix-blend-mode: multiply; }
.stage .flower { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; animation: appear 420ms ease-out both; }
/* A page with much to hold gives her less room, and gives it up first when the window is short. */
.stage.small { flex: none; height: clamp(96px, 100svh - 610px, 172px); }
.halo { position: absolute; left: 50%; top: 40%; width: min(86%, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 66, 119, 0.13), rgba(201, 66, 119, 0)); }
.halo.warm, .bloomed .halo { background: radial-gradient(closest-side, rgba(255, 150, 120, 0.34), rgba(255, 170, 150, 0)); }
/* Her answer landing: one ring of light leaves her, once. */
.pulse { position: absolute; left: 50%; top: 38%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(201, 66, 119, 0.4); opacity: 0; animation: ring 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms both; }

/* W1: the questions she replays stand around her (D-100); under the words,
   what a card says for each, for a sample chat (D-122). */
.intro .overline { font-size: 15px; font-weight: 600; margin-bottom: 0; }
.stage.hero { flex: none; height: 214px; margin: 6px 0 14px; pointer-events: auto; }
.says { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.says li {
	position: absolute;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: 0 8px 18px var(--note-shadow);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	white-space: nowrap;
	animation: say 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.says li:nth-child(1) { left: 0; top: 14px; animation-delay: 260ms; }
.says li:nth-child(2) { right: 0; top: 92px; animation-delay: 520ms; }
.says li:nth-child(3) { left: 4px; bottom: 14px; animation-delay: 780ms; }
.intro .tag { margin: 22px 0 10px; }
.examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.example {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	padding: 8px 16px 8px 10px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--surface);
	box-shadow: 0 6px 16px var(--note-shadow);
	animation: arrive 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.example:nth-child(1) { animation-delay: 900ms; }
.example:nth-child(2) { animation-delay: 1000ms; }
.example:nth-child(3) { animation-delay: 1100ms; }
.example-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint-rose); }
.example-name { font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--ink-secondary); }
.example-value { font-weight: 800; font-size: 19px; line-height: 1.15; letter-spacing: -0.3px; color: var(--ink); white-space: nowrap; }
.glyph { flex: none; width: 24px; height: 10px; }

/* A question: the words on top, her in the room between, the answers at the foot. */
.ask-page .words { justify-content: flex-start; padding: 8px 0 12px; }
.ask-page .lead { margin-top: 10px; }

/* The answers' shapes (the app's `AnswerShapes`): a grid of tiles, three
   tiles, bars that grow, a timeline. Each is still one tap. */
.answer-label { display: block; }
.answers.grid { grid-template-columns: 1fr 1fr; }
.grid .answer { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; min-height: 96px; padding: 12px 14px 13px; text-align: left; font-weight: 600; font-size: 15px; }
.answer-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint-rose); }
.answer-icon svg { width: 18px; height: 18px; }
.line-icon { fill: none; stroke: var(--rose); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chosen .answer-icon { background: rgba(255, 255, 255, 0.22); }
.chosen .line-icon { stroke: var(--on-rose); }
.chosen .answer-icon .fill-rose { fill: var(--on-rose); }

.answers.trio { grid-template-columns: repeat(3, 1fr); }
.trio .answer { flex-direction: column; gap: 14px; min-height: 124px; padding: 14px 6px; text-align: center; font-weight: 700; font-size: 16px; }
.pair { width: 56px; height: 20px; }
.arrow { fill: none; stroke: var(--his); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow.hers { stroke: var(--rose); }
.trio .chosen .fill-rose { fill: var(--on-rose); }
.trio .chosen .fill-grey { fill: rgba(255, 255, 255, 0.55); }
.trio .chosen .arrow { stroke: var(--on-rose); }

.answers.bars { grid-template-columns: repeat(4, 1fr); align-items: end; gap: 10px; }
.bars .answer { flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-weight: 600; font-size: 14px; text-align: center; }
.bars .bar { display: block; width: 100%; border: 1.5px solid var(--answer-edge); border-radius: 16px; background: var(--surface); box-shadow: 0 2px 6px var(--answer-shadow); transform-origin: 50% 100%; animation: grow 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.bars .n1 .bar { height: 38px; animation-delay: 80ms; }
.bars .n2 .bar { height: 64px; animation-delay: 150ms; }
.bars .n3 .bar { height: 92px; animation-delay: 220ms; }
.bars .n4 .bar { height: 122px; animation-delay: 290ms; }
.bars .answer-label { display: flex; align-items: flex-start; justify-content: center; min-height: 38px; }
.bars .chosen { color: var(--rose-text); font-weight: 700; }
.bars .chosen .bar { background: var(--rose); border-color: var(--rose); }

.insight { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 24px var(--note-shadow); text-align: left; }
.insight-over { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; font-weight: 700; font-size: 13px; color: var(--rose-text); }
.insight-over .bloom-mark { width: 13px; height: 13px; }
.insight-finding { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--ink); }
.insight-source { margin: 4px 0 0; font-weight: 600; font-size: 12px; color: var(--ink-secondary); }
.ends { display: flex; justify-content: space-between; margin: 0 0 6px; font-weight: 600; font-size: 12px; color: var(--ink-secondary); }
.when-row { position: relative; }
.answers.nodes { position: relative; grid-template-columns: repeat(4, 1fr); gap: 0; }
/* The line the four moments stand on, an arrowhead where today is. */
.answers.nodes::before { content: ""; position: absolute; left: 0; right: 4px; top: 21px; height: 1.5px; background: var(--axis); }
.answers.nodes::after { content: ""; position: absolute; right: 2px; top: 17px; width: 8px; height: 8px; border-top: 1.5px solid var(--axis); border-right: 1.5px solid var(--axis); transform: rotate(45deg); }
.nodes .answer { position: relative; flex-direction: column; justify-content: flex-start; gap: 8px; min-height: 76px; padding: 12px 2px 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-weight: 600; font-size: 14px; text-align: center; }
.knot { display: block; width: 20px; height: 20px; border: 2px solid var(--ink-secondary); border-radius: 50%; background: var(--paper); transition: transform 120ms ease-out; }
.nodes .chosen { color: var(--rose-text); font-weight: 700; }
.nodes .chosen .knot { border-color: var(--rose); background: var(--rose); transform: scale(1.35); box-shadow: 0 4px 10px var(--rose-shadow); }

/* 90 days to bloom again: her flower from today to day 90, once (the app's
   `NinetyDayPath`). Four stills, one over the other, each taking its turn. */
.side-page .chips { margin: 4px 0 0; }
.side-page h1 { margin-top: 18px; }
.path-stage { min-height: 170px; }
.path-stage .halo { opacity: 0; animation: appear 900ms ease-out 2500ms both; }
/* The film of the way plays through once (4.4 s) and breathes on; the bloom's
   own loop dissolves in over it and stays. The two dissolve as pictures on
   white inside `.swap`, and the pair is multiplied onto the paper as one:
   two multiplied layers fading across each other would pale in the middle. */
.swap { position: absolute; inset: 0; mix-blend-mode: multiply; animation: appear 420ms ease-out both; }
.swap .flower { mix-blend-mode: normal; animation: none; }
/* Never quite gone: a picture that is not drawn may not run, and the loop has
   to be a turn along with the film when it comes in. */
.swap .rest { animation: come 450ms ease-in-out 4700ms both; }
.path { margin: 6px 14px 0; }
.path-line { position: relative; height: 20px; }
.path-line::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 1px; background: var(--track); }
.path-fill { position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 1px; background: var(--rose); transform-origin: 0 50%; animation: run 2400ms linear 500ms both; }
.path .knot { position: absolute; top: 4px; width: 12px; height: 12px; margin-left: -6px; border: 1.5px solid var(--ink-secondary); background: var(--paper); animation: reach 300ms ease-out both; }
.path .k0 { left: 0; animation-delay: 500ms; }
.path .k1 { left: 33.33%; animation-delay: 1300ms; }
.path .k2 { left: 66.67%; animation-delay: 2100ms; }
.path .k3 { left: 100%; animation: none; }
.path .k3 .bloom-mark { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--paper); opacity: 0; animation: pop 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 2900ms both; }
.path-ends { display: flex; justify-content: space-between; margin: 6px -14px 0; font-weight: 500; font-size: 13px; line-height: 1.35; color: var(--ink-secondary); }
.path-ends span { display: flex; flex-direction: column; }
.path-ends span + span { text-align: right; }
.path-ends b { font-weight: 700; font-size: 15px; color: var(--ink); }

/* Pick up to two: the mark is the app's, not the system's tick. */
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick > span:first-of-type { flex: 1; }
.tick { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 1.5px solid var(--ink-secondary); border-radius: 50%; }
.tick .bloom-mark { width: 20px; height: 20px; opacity: 0; transform: scale(0.4); transition: opacity 160ms ease-out, transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.pick:has(input:checked) .tick { border-color: transparent; }
.pick:has(input:checked) .tick .bloom-mark { opacity: 1; transform: none; }

/* Your chat can answer that: her time together, not read yet (`UnreadRows`). */
.shows-page .words { justify-content: flex-start; }
.unread { margin: 20px 0 0; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 12px 26px var(--note-shadow); text-align: left; }
.unread-head { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-size: 13px; color: var(--ink-secondary); }
.unread-head span:first-child { font-weight: 700; }
.unread-head span + span { font-weight: 600; font-size: 12px; }
.unread-rows { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); margin: 16px 0 0; height: 136px; }
.who { position: absolute; left: 0; font-weight: 600; font-size: 12px; }
.who.you { top: 38px; color: var(--rose-text); }
.who.him { top: 76px; color: var(--ink-secondary); }
.unread-chart { position: relative; grid-column: 2; }
.unread-bars { display: block; width: 100%; height: 136px; }
.unread-bars .hers { fill: var(--hers-bar); }
.unread-bars .his { fill: var(--his-bar); }
.unread-bars rect { transform-box: fill-box; animation: grow 500ms cubic-bezier(0.2, 0.8, 0.2, 1) 200ms both; }
.unread-bars .hers { transform-origin: 50% 100%; }
.unread-bars .his { transform-origin: 50% 0; }
.pin { position: absolute; top: 6px; left: 62%; width: 2px; height: 124px; margin-left: -1px; border-radius: 1px; background: var(--rose); animation: look 3200ms cubic-bezier(0.45, 0, 0.25, 1) 700ms both; }
.pin-head { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 3px solid var(--surface); border-radius: 50%; background: var(--rose); box-shadow: 0 4px 8px var(--rose-shadow); box-sizing: content-box; color: var(--on-rose); font-weight: 800; font-size: 14px; line-height: 1; }
.unread-ends { display: flex; justify-content: space-between; margin: 8px 0 0 42px; font-weight: 600; font-size: 12px; color: var(--ink-secondary); }
.unread-finding { margin: 18px 0 0; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--ink); }
.unread-source { margin: 4px 0 0; font-weight: 600; font-size: 12px; color: var(--ink-secondary); }

/* The drawings. */
.spark { fill: none; stroke: var(--rose); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.glyph .spark { stroke-width: 2; }
.dot { fill: var(--rose); stroke: var(--surface); stroke-width: 2; }
.area { fill: var(--tint-rose); }
.turn-rule { stroke: var(--axis); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.fill-rose { fill: var(--rose); }
.fill-grey { fill: var(--his); }

/* W9: the sample, as cards in the deck's voice (D-109). */
.sample-page .lead { margin: 8px 0 0; font-size: 15px; }
.exhibits { display: grid; gap: 14px; margin: 22px 0 0; }
.exhibit {
	padding: 16px 18px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	background: var(--surface);
	box-shadow: 0 10px 28px var(--note-shadow);
	text-align: center;
}
.exhibit-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.label { margin: 0; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--ink-secondary); }
.sample { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--surface-raised); color: var(--ink); font-weight: 700; font-size: 12px; line-height: 1.3; }
.figure { margin: 0; font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.8px; color: var(--ink); }
.claim { margin: 0 0 12px; font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -0.3px; color: var(--ink); }
.line { margin: 8px 0 0; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--ink-secondary); }
.drawing { display: block; width: 100%; height: auto; margin: 12px 0 0; }
.axis { display: flex; justify-content: space-between; margin: 4px 0 0; font-weight: 600; font-size: 12px; color: var(--ink-secondary); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.stat { display: flex; flex-direction: column; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 20px; }
.stat-value { font-weight: 800; font-size: 36px; line-height: 1.05; letter-spacing: -0.8px; color: var(--ink); }
.stat-value.rose { color: var(--rose-text); }
.stat-label { margin-top: 4px; font-weight: 500; font-size: 13px; line-height: 1.3; color: var(--ink-secondary); }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.bubble { display: inline-block; margin: 0; padding: 9px 14px; border-radius: 18px; background: var(--his-soft); font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--ink); }
.meta { margin: 6px 0 0; font-weight: 500; font-size: 13px; color: var(--ink-secondary); }
.flag { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: var(--tint-peach); color: var(--ink); font-weight: 700; font-size: 12px; }
.also { margin: 18px 0 0; font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--ink); }
.bridge { width: 100%; margin: 18px 0 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: left; font-size: 14px; line-height: 1.35; overflow: hidden; }
.bridge th { padding: 12px 14px 6px; font-weight: 600; font-size: 13px; color: var(--ink-secondary); }
.bridge td { padding: 9px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.bridge td:first-child { width: 38%; font-weight: 800; color: var(--ink); white-space: nowrap; }
.bridge td + td { color: var(--ink-secondary); font-weight: 500; }
.method { margin: 16px 0 0; font-weight: 500; font-size: 15px; line-height: 1.45; color: var(--ink-secondary); }

.exhibit .drawing { animation: wipe 1100ms cubic-bezier(0.3, 0.6, 0.2, 1) 350ms both; }
.exhibit .dot { transform-box: fill-box; transform-origin: 50% 50%; animation: pop 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 1300ms both; }
.exhibit .bubble { animation: say 480ms cubic-bezier(0.2, 0.8, 0.2, 1) 300ms both; }
.quotes li + li .bubble { animation-delay: 520ms; }
/* Nothing here is tied to the scroll. A block whose fade follows its place in
   the window changes when its own height does: opening a question on the plan
   dimmed the whole list (Nov 28). Cards arrive once, on the page's clock. */
.exhibit { animation: arrive 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.exhibit:nth-child(1) { animation-delay: 120ms; }
.exhibit:nth-child(2) { animation-delay: 220ms; }
.exhibit:nth-child(3) { animation-delay: 320ms; }

/* W10: the plan. */
/* Today and day 90, side by side: the same flower, as on the path. */
.duo { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 6px; margin: 16px 6px 0; }
.duo-side { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-weight: 700; font-size: 13px; color: var(--ink-secondary); }
.duo-side .flower { position: relative; display: block; width: auto; height: 112px; }
.duo-side.bloomed { color: var(--rose-text); }
.duo-side.bloomed .flower { height: 132px; }
.duo-side .halo { top: 34%; width: 150px; }
.duo-way { align-self: center; width: 54px; height: 2px; margin-bottom: 26px; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--rose) 0 4px, transparent 4px 10px); transform-origin: 0 50%; animation: run 900ms ease-out 300ms both; }
.returned { margin: 0 0 14px; font-weight: 600; font-size: 15px; color: var(--ink-secondary); }
.plan-page h1 { font-size: 30px; }
.plan-page .chips { margin: 16px 0 0; }
.gets { list-style: none; margin: 20px 0 0; padding: 6px 18px; border: 1px solid var(--line); border-radius: var(--radius-answer); background: var(--surface); text-align: left; }
.gets li { position: relative; padding: 10px 0 10px 20px; font-weight: 500; font-size: 15px; line-height: 1.4; }
.gets li + li { border-top: 1px solid var(--line); }
.gets li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.price { display: flex; flex-direction: column; align-items: center; margin: 22px 0 0; }
.price-free { font-weight: 600; font-size: 15px; color: var(--rose-text); }
.price-amount { font-weight: 800; font-size: 32px; line-height: 1.15; letter-spacing: -0.6px; }
.price-period { font-weight: 600; font-size: 17px; letter-spacing: 0; color: var(--ink-secondary); }
.timeline { list-style: none; margin: 18px 0 0; padding: 0 0 0 4px; text-align: left; }
.timeline li { position: relative; display: flex; flex-direction: column; padding: 0 0 14px 26px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--rose); }
.timeline li + li::before { background: var(--surface); border: 2px solid var(--rose); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: -2px; width: 2px; background: var(--track); }
.when { font-weight: 700; font-size: 15px; }
.what { font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--ink-secondary); }
.faq { margin: 20px 0 0; 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: 12px; min-height: 52px; padding: 8px 2px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 6px 0 0; border-right: 2px solid var(--ink-secondary); border-bottom: 2px solid var(--ink-secondary); transform: rotate(45deg); transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), margin-top 280ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq details[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
/* An answer opens and closes at one pace whatever its length: its box is a
   grid row that goes from none of its height to all of it (0fr → 1fr), which
   every browser can run between, where `height: auto` it cannot. The space
   under the answer is inside the row, so nothing is left over when it shuts.
   Where `::details-content` is not read, the answer opens at once, as before. */
.faq details::details-content { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 280ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease-out, content-visibility 280ms allow-discrete; }
.faq details[open]::details-content { grid-template-rows: 1fr; opacity: 1; }
.faq details p { min-height: 0; overflow: hidden; margin: 0; font-weight: 500; font-size: 15px; line-height: 1.45; color: var(--ink-secondary); }
.faq details p::after { content: ""; display: block; height: 14px; }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* W11: three steps, and where Sign in is. */
.done-page .lead { margin-top: 8px; }
.steps { list-style: none; margin: 24px 0 8px; padding: 0; display: grid; gap: 20px; text-align: left; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tint-rose); color: var(--ink); font-weight: 700; font-size: 14px; }
.steps div { flex: 1; min-width: 0; }
.step-title { margin: 3px 0 12px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.steps em { font-style: normal; font-weight: 700; }
.where { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.where-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; border-radius: 999px; background: var(--rose); color: var(--on-rose); font-weight: 700; font-size: 14px; opacity: 0.45; }
.where-line { font-weight: 500; font-size: 13px; color: var(--ink-secondary); text-align: center; }
.ring { display: inline-block; padding: 1px 5px; border-radius: 8px; box-shadow: 0 0 0 2px var(--rose); color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.callout { margin: 16px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--tint-rose); font-weight: 600; font-size: 15px; line-height: 1.4; text-align: left; }
.done-page .quiet { margin-top: 14px; }

/* The device gate (R11). */
.address { margin: 18px 0 0; font-weight: 800; font-size: 22px; letter-spacing: -0.3px; color: var(--ink); }

/* Motion. Everything arrives once and rests; only she goes on moving, as she
   does in the app. Reduce Motion stills all of it and shows the last frame. */
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes say { from { opacity: 0; transform: translateY(10px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes ring { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(2.4); } }
@keyframes grow { from { transform: scaleY(0.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes come { from { opacity: 0.004; } to { opacity: 1; } }
@keyframes leave { from { opacity: 1; } to { opacity: 0; } }
@keyframes run { from { transform: scaleX(0); } to { transform: none; } }
@keyframes reach { from { border-color: var(--ink-secondary); background: var(--paper); } to { border-color: var(--rose); background: var(--rose); } }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes look { 0% { left: 10%; } 34% { left: 38%; } 66% { left: 24%; } 100% { left: 62%; } }
.words > :not(.stage, .duo), .dock:not(.pinned) { animation: arrive 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.dock { animation-delay: 60ms; }
.answers li { animation: arrive 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.answers li:nth-child(1) { animation-delay: 80ms; }
.answers li:nth-child(2) { animation-delay: 140ms; }
.answers li:nth-child(3) { animation-delay: 200ms; }
.answers li:nth-child(4) { animation-delay: 260ms; }
.picks li { animation: arrive 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.picks li:nth-child(1) { animation-delay: 60ms; }
.picks li:nth-child(2) { animation-delay: 110ms; }
.picks li:nth-child(3) { animation-delay: 160ms; }
.picks li:nth-child(4) { animation-delay: 210ms; }
.picks li:nth-child(5) { animation-delay: 260ms; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.button:active, .answer:active { transform: none; }
	/* The path stands at day 90; the ring never leaves. */
	.swap .way { display: none; }
	.path-stage .halo, .path .k3 .bloom-mark { opacity: 1; }
	.path .knot { border-color: var(--rose); background: var(--rose); }
	.pulse { display: none; }
}

/* From one page to the next (cross-document view transitions; no script):
   the bar holds still, the words and the answers change, and she dissolves
   into her next pose with the paper. Her film is never named here — a named
   element is captured alone, off the paper, and multiply would show its white. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	.bar { view-transition-name: bar; }
	.words > h1 { view-transition-name: title; }
	.dock { view-transition-name: dock; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: 320ms; }
	::view-transition-old(title), ::view-transition-old(dock) { animation: push-out 200ms cubic-bezier(0.4, 0, 1, 1) both; }
	::view-transition-new(title), ::view-transition-new(dock) { animation: push-in 380ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both; }
	::view-transition-group(title), ::view-transition-group(dock) { animation-duration: 0s; }
}
@keyframes push-out { to { opacity: 0; transform: translateX(-28px); } }
@keyframes push-in { from { opacity: 0; transform: translateX(28px); } }

@media (max-width: 340px) {
	h1 { font-size: 28px; }
	.says li { font-size: 13px; padding: 7px 11px; }
	.example-value { font-size: 17px; }
}

/* A short window (an in-app browser with its bars): she takes less room. */
@media (max-height: 640px) {
	.stage.hero { height: 176px; }
	.grid .answer { min-height: 84px; }
	.trio .answer { min-height: 104px; }
}
