/* 5moments.ai. Light only: white, cool gray bands, black ink, one bright blue. Tokens first; everything else reads from them.
   Palette (JP, 2026-11-21): Black #14171A, Dark Gray #657786, Light Gray #AAB8C2, Extra Light Gray #E1E8ED,
   Extra Extra Light Gray #F5F8FA. The blues stay the site's own (JP the same day: "revert back to the original blue").
   Warn, ok and danger stay: they carry meaning the palette has no color for.
   One web font, Inter (variable, Latin subset, self-hosted in /fonts under the OFL); no images. */

@font-face {
	font-family: "Inter";
	src: url("/fonts/InterVariable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	color-scheme: light;
	--white: #ffffff;
	--black: #14171a;
	--dark-gray: #657786;
	--light-gray: #aab8c2;
	--xlight-gray: #e1e8ed;
	--xxlight-gray: #f5f8fa;
	--bg: var(--white);
	--surface: var(--white);
	--surface-2: var(--xxlight-gray);
	--tint: var(--xxlight-gray);
	--ink: var(--black);
	--text: var(--black);
	--muted: var(--dark-gray);
	--line: var(--xlight-gray);
	--control-line: var(--light-gray);
	--accent: oklch(0.53 0.18 258);
	--accent-ink: var(--white);
	--accent-soft: oklch(0.95 0.024 250);
	--sky: oklch(0.76 0.13 228);
	--warn: oklch(0.53 0.125 52);
	--warn-soft: oklch(0.965 0.026 75);
	--ok: oklch(0.52 0.105 158);
	--danger: oklch(0.53 0.19 25);
	--shadow: 0 1px 2px rgb(20 23 26 / 0.06), 0 12px 28px -14px rgb(20 23 26 / 0.22);
	--radius: 16px;
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
	--gutter: 16px;
	--max: 72rem;
}

@media (min-width: 48rem) {
	:root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Links inside the page jump; they don't glide. A long animated scroll past eight sections is
   harder to follow than landing there. The padding keeps a target clear of the fixed header. */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 4.75rem;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	margin: 0;
	background:
		radial-gradient(44rem 28rem at 88% -4rem, oklch(0.9 0.07 228 / 0.6), transparent 70%),
		linear-gradient(180deg, var(--tint), var(--bg) 40rem);
	background-color: var(--bg);
	color: var(--text);
	font: 400 1.0625rem/1.6 var(--font);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.35rem, 1.4rem + 3.8vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.35rem); font-weight: 760; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
kbd {
	font: 500 0.78em/1 var(--mono);
	padding: 0.18em 0.4em;
	border: 1px solid var(--line);
	border-bottom-width: 2px;
	border-radius: 5px;
	background: var(--surface);
	color: var(--text);
	white-space: nowrap;
}

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

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; top: 0.5rem; }
.skip:focus { left: 0.5rem; z-index: 10; background: var(--surface); padding: 0.5rem 0.75rem; border-radius: 6px; }
.muted { color: var(--muted); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 40rem); }
.section { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.section > h2 { margin-bottom: 1.75rem; }

/* Buttons */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 48px; padding: 0.7rem 1.45rem;
	font: 650 1rem/1.2 var(--font);
	color: var(--accent-ink); background: var(--accent);
	border: 1px solid var(--accent); border-radius: 999px;
	box-shadow: 0 1px 2px rgb(20 23 26 / 0.15), 0 8px 18px -10px oklch(0.45 0.2 258 / 0.5);
	text-decoration: none; cursor: pointer;
	transition: background-color 0.15s, transform 0.05s;
}
.button:hover { background: color-mix(in oklch, var(--accent), black 12%); }
.button:active { transform: translateY(1px); }
.button.ghost { color: var(--ink); background: var(--surface); border-color: var(--light-gray); box-shadow: none; }
.button.ghost:hover { background: var(--accent-soft); border-color: var(--accent); }
.button.small { min-height: 40px; padding: 0.45rem 1.05rem; font-size: 0.95rem; }
.chip {
	font: 500 0.85rem/1.2 var(--font);
	color: var(--text); background: var(--surface);
	border: 1px solid var(--line); border-radius: 999px;
	padding: 0.4rem 0.75rem; min-height: 32px; cursor: pointer;
}
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* Header. With scripts on it stays at the top and turns to frosted white once the page moves;
   without them it is an ordinary header and the section links sit in a row under it. */
.site-header { position: relative; z-index: 30; border-bottom: 1px solid transparent; }
.js .site-header { position: sticky; top: 0; transition: background-color 0.2s, border-color 0.2s; }
.site-header[data-stuck] {
	background: oklch(1 0 0 / 0.88); border-bottom-color: var(--line);
	-webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
}
.site-header > .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; padding-block: 0.75rem; }
.wordmark {
	display: inline-flex; align-items: center; gap: 0.15rem;
	font-weight: 760; font-size: 1.15rem; letter-spacing: -0.025em;
	color: var(--ink); text-decoration: none;
}
.mark {
	display: inline-grid; place-items: center;
	width: 1.5em; height: 1.5em; margin-right: 0.2em;
	border-radius: 8px; background: var(--accent); color: var(--accent-ink);
	font: 700 0.85em/1 var(--font);
}
.wordmark.small { font-size: 0.95rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; order: 3; width: 100%; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding-block: 0.35rem; }
.site-nav a:hover, .site-nav a[data-here], .site-nav a[aria-current] { color: var(--accent); }
.menu-toggle { display: none; }
.site-header .wrap > a.button { margin-left: auto; }
@media (max-width: 47.99rem) {
	/* Phones: the section links fold into a Menu button. */
	.js .menu-toggle { display: inline-flex; margin-left: auto; }
	.js .site-header .wrap > a.button { margin-left: 0; }
	.js .site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
		padding: 0.25rem var(--gutter) 0.75rem; background: var(--surface);
		border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
	}
	.js .site-nav[data-open] { display: flex; }
	.js .site-nav a { padding-block: 0.85rem; font-size: 1.05rem; border-top: 1px solid var(--line); }
	.js .site-nav a:first-child { border-top: 0; }
}
@media (min-width: 48rem) {
	.site-nav { order: 0; width: auto; margin-left: auto; margin-right: 0.65rem; }
	.site-header .wrap > a.button { margin-left: 0; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(2rem, 1rem + 3vw, 3.5rem); max-width: var(--max); }
.hero h1 { max-width: 16ch; margin-block: 0.75rem 1.25rem; }
.eyebrow { color: var(--accent); font-size: 0.95rem; font-weight: 650; }
.lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--text); max-width: 38rem; }
.lede.small { font-size: 1.05rem; color: var(--muted); }
.lede.strong { margin-top: 0.6rem; color: var(--ink); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* The five moments: an index under the hero, then one section each */
.five { padding-bottom: clamp(0.5rem, 0.25rem + 1vw, 1.25rem); }
.five ol { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.five li + li { border-top: 1px solid var(--line); }
.five a { display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.7rem 1rem; color: var(--ink); font-weight: 650; line-height: 1.25; text-decoration: none; }
.five a:hover { background: var(--accent-soft); color: var(--accent); }
.five b { flex: none; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: 700 0.9rem/1 var(--font); }
.five-note { margin-top: 0.75rem; font-size: 0.875rem; }
@media (min-width: 46rem) {
	.five ol { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.five li + li { border-top: 0; border-left: 1px solid var(--line); }
	.five a { flex-direction: column; align-items: flex-start; gap: 0.6rem; height: 100%; padding: 1rem 1.1rem 1.1rem; text-wrap: balance; }
}
.moment { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 60rem) {
	.moment { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 3rem; }
}
.moment-copy p:not(.m-no) { color: var(--muted); }
.moment-copy p + p { margin-top: 0.75rem; }
.m-no { font: 500 0.82rem var(--mono); color: var(--accent); }

/* Demo frames: they look like the product, dense and calm */
.demo {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	font-size: 0.875rem;
	line-height: 1.45;
	min-width: 0;
	overflow: hidden;
}
.app-bar {
	display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
	padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line);
}
.demo-controls { display: flex; gap: 0.5rem; padding: 0 0.9rem 0.9rem; }
.demo-note { padding: 0 0.9rem 0.9rem; font-size: 0.8rem; }
.tag {
	display: inline-block; margin-left: 0.25rem; padding: 0.05rem 0.45rem;
	border-radius: 999px; background: var(--accent-soft); color: var(--accent);
	font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}

/* Tables inside demos */
table.dense { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dense th, .dense td { padding: 0.5rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.dense thead th { font-size: 0.78rem; color: var(--muted); font-weight: 500; background: var(--surface-2); }
.dense tbody th { font-weight: 500; }
.dense tbody tr:last-child > * { border-bottom: 0; }
.num { text-align: right !important; white-space: nowrap; }

/* 1. Voice of customer: tiles, topics, and a drafted reply */
.tiles { padding: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 34rem) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tiles small { font-size: 0.78rem; }
#voc-table { border-top: 1px solid var(--line); }
#voc-table tbody tr { cursor: pointer; }
#voc-table tbody tr:hover > * { background: var(--surface-2); }
#voc-table tbody tr[aria-selected="true"] > * { background: var(--accent-soft); }
#voc-table .link { color: var(--ink); font-weight: 500; text-decoration: none; }
#voc-table tbody tr:last-child > * { border-bottom: 0; }
.up { color: var(--warn); font-weight: 600; }
.voc .prov dd { text-wrap: pretty; }
.voc .demo-note { padding-top: 0.7rem; border-top: 1px solid var(--line); }
.msg.cust { justify-self: start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.draft { justify-self: end; display: grid; gap: 0.45rem; background: var(--surface); border: 1px dashed var(--accent); border-bottom-right-radius: 4px; }
@media (max-width: 44rem) { .demo .wide { display: none; } }

/* 3. Numbers that explain themselves */
.n {
	font: inherit; color: inherit; background: none; border: 0; padding: 0.1rem 0.15rem; margin: -0.1rem -0.15rem;
	border-bottom: 1px dotted var(--muted); border-radius: 3px; cursor: pointer;
	font-variant-numeric: tabular-nums;
}
.n:hover { background: var(--accent-soft); }
.n[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); border-bottom-color: var(--accent); }
.n.warn { color: var(--warn); font-weight: 600; }
.n.late::after { content: " late"; font-size: 0.72rem; font-weight: 600; color: var(--warn); }
.prov { border-top: 1px solid var(--line); padding: 0.8rem 0.9rem; background: var(--surface-2); min-height: 7.5rem; }
.prov dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1rem; margin: 0; }
.prov dt { color: var(--muted); }
.prov dd { margin: 0; }
.prov code { font: 0.82rem var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0.05rem 0.3rem; }
.prov .flag { color: var(--warn); font-weight: 600; }

/* 2. Search and product page */
.search-trigger {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
	font: inherit; color: var(--muted); text-align: left;
	background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px;
	padding: 0.45rem 0.6rem; min-height: 36px; cursor: pointer;
}
.search-trigger:hover { color: var(--text); }
.product { padding: 0.9rem; display: grid; gap: 0.85rem; }
.product-head { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.product-head strong { font-size: 1rem; }
.status { font-size: 0.75rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--surface-2); color: var(--ok); font-weight: 600; }
.where { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 0.5rem; }
.where div { border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.6rem; }
.where span { display: block; font-size: 0.75rem; color: var(--muted); }
.where b { font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lasts { display: grid; gap: 0.45rem; padding-top: 0.3rem; }
.lasts .track { position: relative; height: 12px; border-radius: 6px; background: var(--surface-2); }
.lasts .bar { position: absolute; inset-block: 0; left: 0; width: 0; border-radius: 6px; background: var(--accent); }
.lasts .bar.short { background: var(--warn); }
.lasts .lead { position: absolute; top: -5px; bottom: -5px; width: 0; border-left: 2px dashed var(--text); }
.lasts-label { font-size: 0.8rem; color: var(--muted); }
.lasts-label b { color: var(--text); font-weight: 600; }
.lasts-label b.short { color: var(--warn); }
.next { padding: 0.6rem 0.75rem; border-radius: 8px; background: var(--accent-soft); }
.next strong { color: var(--accent); }
.next.calm { background: var(--surface-2); }
.part { font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: -0.55rem; }
.product .flag { color: var(--warn); font-weight: 600; }

/* Daily sales and margin: the app's chart and its colors. The plot stretches to the card; labels sit outside it. */
.daily { display: grid; gap: 0.55rem; }
.daily .part { margin-bottom: 0; }
.daily .part span { font-weight: 400; margin-left: 0.3rem; }
.months { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.months .chip { font-size: 0.78rem; padding: 0.25rem 0.6rem; min-height: 28px; }
.legend { display: flex; flex-wrap: wrap; gap: 0.2rem 0.8rem; list-style: none; padding: 0; margin: 0; font-size: 0.72rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.legend i { width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--c); }
.legend i.l-ads, .legend i.l-margin { width: 1.1rem; height: 0; border-radius: 0; background: none; border-top: 2px solid var(--c); }
.legend i.l-ads { border-top-style: dashed; }
.c-shopify { --c: #5da7e5; }
.c-shopify-margin { --c: #1a2b4a; }
.c-amazon { --c: #febd69; }
.c-amazon-margin { --c: #ff8c00; }
.c-tiktok { --c: #888780; }
.c-tiktok-margin { --c: #4a4a45; }
.c-loss { --c: #dc2626; }
.l-ads { --c: #657786; }
.l-margin { --c: #166534; }
.chart { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); grid-template-rows: 9.5rem 1.2rem; column-gap: 0.4rem; margin-top: 0.3rem; }
.chart svg { display: block; width: 100%; height: 100%; background: var(--surface); border-radius: 6px; overflow: visible; }
.chart path { fill: var(--c); }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .grid.zero { stroke: var(--control-line); }
.chart path.l-ads, .chart path.l-margin { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart path.l-ads { stroke-dasharray: 6 4; stroke-linecap: butt; }
.chart path.l-margin.under { stroke: var(--surface); stroke-width: 5; }
.chart-y, .chart-x { position: relative; font-size: 0.68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-y span { position: absolute; right: 0; transform: translateY(-50%); line-height: 1; }
.chart-x { grid-column: 2; }
.chart-x span { position: absolute; top: 0.3rem; transform: translateX(-50%); line-height: 1; white-space: nowrap; }
.chart-x span:first-child { transform: none; }

.palette {
	width: min(100% - 2rem, 34rem); padding: 0; margin-top: 12vh;
	border: 1px solid var(--line); border-radius: 12px;
	background: var(--surface); color: var(--text);
	box-shadow: 0 20px 50px oklch(0 0 0 / 0.25);
}
.palette::backdrop { background: rgb(20 23 26 / 0.35); }
.palette input {
	width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text);
	font: 1rem var(--font); padding: 0.9rem 1rem; outline: none;
}
.palette ul { list-style: none; margin: 0; padding: 0.4rem; max-height: 18rem; overflow: auto; }
.palette li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.65rem; border-radius: 7px; cursor: pointer; font-size: 0.925rem; }
.palette li .kind { color: var(--muted); font-size: 0.8rem; }
.palette li[aria-selected="true"] { background: var(--accent-soft); }
.palette li.empty { cursor: default; color: var(--muted); }
.palette-hint { padding: 0.5rem 1rem 0.7rem; font-size: 0.78rem; border-top: 1px solid var(--line); }

/* 3. Ask from Claude or ChatGPT */
.chat-qs { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.9rem 0.9rem 0; }
.chat-log { display: grid; gap: 0.75rem; padding: 0.9rem; }
.msg { max-width: 44rem; border-radius: 12px; padding: 0.65rem 0.85rem; }
.msg.user { justify-self: end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.msg.ai { background: var(--surface-2); border-bottom-left-radius: 4px; display: grid; gap: 0.45rem; }
.cite { font-size: 0.78rem; color: var(--muted); font-family: var(--mono); }

/* 2. Approve a drafted order */
.why { margin: 0; padding: 0.8rem 0.9rem; display: grid; gap: 0.45rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.why div { display: grid; grid-template-columns: 10.5rem 1fr; gap: 0.75rem; }
.why dt { color: var(--muted); }
.why dd { margin: 0; }
@media (max-width: 30rem) { .why div { grid-template-columns: 1fr; gap: 0; } }
.approve-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 0.9rem 0.9rem 0.4rem; }
.approve-actions .button { min-height: 38px; padding: 0.45rem 1rem; font-size: 0.925rem; }
.approve-result { padding: 0 0.9rem 0.9rem; min-height: 2.2rem; }
.approve-result .ok { color: var(--ok); font-weight: 600; }

/* Bands and lists */
.band { background: var(--tint); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.band h2 { margin-bottom: 1.75rem; }
.band h2:has(+ .lede), .section > h2:has(+ .lede) { margin-bottom: 0.5rem; }
.band .lede.small, .section > .lede.small { margin-bottom: 1.75rem; }
.moment-copy h2, .band .moment-copy h2 { margin-block: 0.4rem 0.9rem; }
/* Two across even on a phone: six short facts read as a grid, not as a page of scrolling. */
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
@media (max-width: 21rem) { .facts { grid-template-columns: 1fr; } }
@media (min-width: 48rem) { .facts { gap: 1.1rem 2.5rem; } }
@media (min-width: 68rem) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts li { color: var(--muted); }
.facts strong { display: block; color: var(--ink); margin-bottom: 0.15rem; }
.facts.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; }
@media (max-width: 30rem) { .facts li { font-size: 0.95rem; line-height: 1.5; } }
.connects { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; font-size: 0.95rem; }
.connects strong { color: var(--text); }
.sources { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sources li { padding: 0.28rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 0.9rem; }

.access { margin-top: 2.25rem; }
.access h3 { margin-bottom: 0.75rem; }
.access .demo { font-size: 0.9rem; }
.access td:nth-child(2), .access td:nth-child(3) { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li { border-top: 3px solid var(--sky); padding-top: 0.9rem; counter-increment: step; }
/* Phones: the step and its day share a line, so four steps take a line less each. */
@media (max-width: 47.99rem) {
	.steps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; align-items: baseline; border-top-width: 2px; padding-top: 0.7rem; }
	.steps .step-when { grid-area: 1 / 2; }
	.steps li > h3 { grid-area: 1 / 1; margin-block: 0 0.3rem; }
	.steps li > p:not(.step-when) { grid-column: 1 / -1; }
}
.steps h3 { margin-block: 0.2rem 0.45rem; }
.steps h3::before { content: counter(step) ". "; color: var(--muted); font-weight: 500; }
.steps p:not(.step-when) { color: var(--muted); }
.step-when { font: 500 0.82rem var(--mono); color: var(--accent); }
.after { margin-top: 2rem; color: var(--muted); max-width: 46rem; }
.band .steps li { border-top-color: var(--accent); }

.split { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 48rem) { .split { grid-template-columns: 1fr 1fr; } .split > h2 { grid-column: 1 / -1; margin-bottom: 0; } }
.split h3 { margin-bottom: 0.6rem; }
.split > h2 { margin-bottom: 0; }
.split > .lede { grid-column: 1 / -1; margin-top: -0.75rem; }
.ticks, .crosses { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.ticks li, .crosses li { padding-left: 1.6rem; position: relative; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; font-weight: 700; }
.ticks li::before { content: "✓"; color: var(--ok); }
.crosses li::before { content: "–"; color: var(--muted); }

/* The price leads; the two things paid to others sit beside each other under it on a phone. */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.price-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 48rem) {
	.price-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 1rem; }
	.price-grid > div:first-child { grid-column: auto; }
}
.price-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.price-grid h3 { margin-bottom: 0.4rem; }
.price-grid .amount { font-size: 1.85rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 0.3rem; font-variant-numeric: tabular-nums; }
.price-grid p:not(.amount) { color: var(--muted); }
@media (max-width: 47.99rem) {
	.price-grid > div:not(:first-child) { padding: 1rem 1.05rem; }
	.price-grid > div:not(:first-child) .amount { font-size: 1.2rem; letter-spacing: -0.02em; }
	.price-grid > div:not(:first-child) p:not(.amount) { font-size: 0.925rem; line-height: 1.5; }
}

/* What you'd stop paying: the visitor's own stack, and what year one looks like. */
.save { margin-top: 2.5rem; }
.save h3 { margin-bottom: 0.4rem; }
.save-lede { color: var(--muted); max-width: 44rem; margin-bottom: 1rem; }
.save-card { display: none; font-size: 0.95rem; }
.js .save-card { display: grid; }
@media (min-width: 56rem) { .js .save-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.save-form { padding: clamp(0.9rem, 0.6rem + 1.2vw, 1.4rem); display: grid; gap: 0.9rem; align-content: start; }
.save-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.save-row { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem 6.6rem; gap: 0.5rem; align-items: center; }
.save-row label { font-weight: 550; color: var(--ink); }
.save-name { display: flex; align-items: center; gap: 0.3rem; min-width: 0; }
.save-name input { min-height: 44px; padding-block: 0.5rem; }
.save-row .x { flex: none; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: 400 1.25rem/1 var(--font); cursor: pointer; }
.save-row .x:hover { background: var(--surface-2); color: var(--ink); }
.money { position: relative; display: block; }
.money::before { content: "$"; position: absolute; left: 0.75rem; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.money input { min-height: 44px; padding: 0.5rem 0.75rem 0.5rem 1.6rem; text-align: right; font-variant-numeric: tabular-nums; }
.save-row select {
	width: 100%; min-height: 44px; padding: 0 0.5rem; font: 1rem/1.2 var(--font); color: var(--text);
	background: var(--surface); border: 1px solid var(--control-line); border-radius: 10px; cursor: pointer;
}
.save-row select:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
@media (max-width: 34rem) {
	.save-row { grid-template-columns: minmax(0, 1fr) 6.6rem; row-gap: 0.3rem; }
	.save-row > label, .save-row > .save-name { grid-column: 1 / -1; }
	.save-rows { gap: 0.8rem; }
}
.save-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.save-actions .chip { min-height: 40px; padding-inline: 0.95rem; font-size: 0.9rem; }
.save-result { padding: clamp(1rem, 0.7rem + 1.2vw, 1.5rem); display: grid; gap: 0.75rem; align-content: start; background: var(--surface-2); border-top: 1px solid var(--line); }
@media (min-width: 56rem) { .save-result { border-top: 0; border-left: 1px solid var(--line); } }
.save-result .a-big.quiet { color: var(--muted); }
.save-bars { margin-block: 0.25rem; }
.save-bars div { grid-template-columns: minmax(0, 11.5rem) 5rem minmax(0, 1fr); }
.save-bars .track { background: var(--surface); border: 1px solid var(--line); height: 10px; border-radius: 5px; }
.save-bars .fill { background: var(--accent); transition: width 0.25s ease; }
.save-bars .fill.now { background: var(--control-line); }
@media (max-width: 30rem) { .save-bars div { grid-template-columns: minmax(0, 1fr) 5rem; } }
.save-note { margin-top: 0.85rem; font-size: 0.9rem; max-width: 46rem; }

/* Founder */
.founder { display: grid; gap: 1.25rem 3rem; }
@media (min-width: 60rem) { .founder { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); align-items: start; } }
.band .founder .lede.small { margin-bottom: 0; }
.story { list-style: none; margin: 0; padding: 0; max-width: 44rem; }
.story li { display: grid; grid-template-columns: 6.75rem minmax(0, 1fr); gap: 1rem; padding-block: 0.9rem; border-top: 1px solid var(--xlight-gray); }
.story li:first-child { border-top: 0; padding-top: 0.2rem; }
.story .step-when { padding-top: 0.2rem; }
@media (max-width: 30rem) { .story li { grid-template-columns: 1fr; gap: 0.15rem; } }

.compare { margin-top: 2.25rem; }
.compare h3 { margin-bottom: 0.75rem; }
.compare .demo { font-size: 0.9rem; }
.compare td:nth-of-type(2) { color: var(--muted); }
.compare > p { margin-top: 0.9rem; color: var(--muted); max-width: 46rem; }
@media (max-width: 30rem) { .compare .dense th, .compare .dense td { padding-inline: 0.6rem; } }

/* Wide screens: the heading stays beside the list as it scrolls past. */
@media (min-width: 60rem) {
	.faq-section { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 3rem; align-items: start; }
	.faq-section > h2 { position: sticky; top: 5.5rem; margin-bottom: 0; }
}
.faq { display: grid; max-width: 48rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 650; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; color: var(--muted); font-weight: 400; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); max-width: 42rem; }

/* Form */
.start h2 { margin-bottom: 0.5rem; }
.start .lede.small { margin-bottom: 1.75rem; }
.inquiry { display: grid; gap: 1.35rem; }
.field-pair { display: grid; gap: 1.35rem 1rem; align-items: start; }
@media (min-width: 40rem) { .field-pair { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; padding: 0; }
.optional { font-weight: 400; color: var(--muted); font-size: 0.875rem; margin-left: 0.25rem; }
input[type="text"], input[type="email"], textarea {
	width: 100%; font: 1rem/1.4 var(--font); color: var(--text);
	background: var(--surface); border: 1px solid var(--control-line); border-radius: 10px;
	padding: 0.7rem 0.85rem; min-height: 48px;
}
textarea { resize: vertical; field-sizing: content; min-height: 5.5rem; max-height: 16rem; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: 0.9rem; }
.options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.35rem; }
.options label {
	display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
	border: 1px solid var(--control-line); border-radius: 999px; padding: 0.5rem 0.95rem; min-height: 44px;
	background: var(--surface);
}
.options label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.options label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.options input { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.submit-row .button { min-width: 8rem; }
.submit-row .button[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.privacy-note { font-size: 0.875rem; color: var(--muted); }
.form-errors { border: 1px solid var(--danger); border-radius: var(--radius); padding: 0.8rem 1rem; }
.form-errors ul { margin: 0.35rem 0 0; padding-left: 1.2rem; }
.form-errors:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.sent { display: grid; gap: 0.85rem; padding: 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.sent h3 { font-size: 1.3rem; }
.sent:focus { outline: none; }
.errors { color: var(--danger); padding-left: 1.2rem; }
.page { padding-block: 3rem 5rem; display: grid; gap: 1rem; }
.page h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); }
.page h2 { font-size: 1.25rem; margin-top: 1rem; }
.page p, .page li { color: var(--muted); }
.page ul { padding-left: 1.2rem; margin: 0; display: grid; gap: 0.35rem; }

/* Footer */
.site-footer {
	display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center;
	padding-block: 2rem 3rem; font-size: 0.9rem; color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer p:last-child { margin-left: auto; }

/* Demo state changes cross-fade where supported (site.js); instant where not. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.18s; }

/* The five questions: the product's answers, with a made-up brand */
/* Three layouts, none of them a sideways scroller: a list beside the answer on wide screens,
   a three-across grid above it on tablets, and on phones each answer opens under its own question. */
.ask { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.answers { display: grid; font-size: 0.925rem; }
@media (min-width: 56rem) { .answers { grid-template-columns: minmax(0, 17.5rem) minmax(0, 1fr); } }
.qs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; padding: 0.75rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
@media (min-width: 56rem) {
	.qs { display: flex; flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); padding: 0.9rem; }
	/* The card keeps one height for the shorter answers, so the page below doesn't jump as you switch. */
	.js .panels { min-height: 38rem; }
}
.q {
	flex: none; text-align: left; font: 600 0.95rem/1.3 var(--font); color: var(--ink);
	background: transparent; border: 1px solid transparent; border-radius: 10px;
	padding: 0.7rem 0.85rem; min-height: 44px; cursor: pointer;
}
.q:hover { background: var(--surface); }
.q[aria-selected="true"] { background: var(--surface); border-color: var(--accent); color: var(--accent); box-shadow: 0 1px 2px rgb(20 23 26 / 0.08); }
.panels { min-width: 0; }
.answer { padding: clamp(1.1rem, 0.8rem + 1.5vw, 1.75rem); display: grid; gap: 0.9rem; align-content: start; }
.answer + .answer { border-top: 1px solid var(--line); }
.js .answer + .answer { border-top: 0; }
.a-q { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.a-big { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; text-wrap: balance; }
.a-line { font-size: 1.02rem; color: var(--text); max-width: 40rem; }
.a-next { padding: 0.65rem 0.8rem; border-radius: 8px; background: var(--accent-soft); max-width: 44rem; }
.ask-own, .ask-own-sent { display: grid; gap: 0.75rem; max-width: 40rem; }
.ask-own .a-q { font-size: 1.05rem; }
.ask-own-sent:focus { outline: none; }
.a-next strong { color: var(--accent); margin-right: 0.35rem; }
.answer .dense { border: 1px solid var(--line); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.dense caption { caption-side: top; text-align: left; padding: 0 0 0.45rem; font-size: 0.8rem; color: var(--muted); }
.answer .prov { border: 1px solid var(--line); border-radius: 10px; min-height: 0; }
.ask-foot { margin-top: 1rem; font-size: 0.925rem; color: var(--muted); }
.link { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; text-align: left; }
.link:hover { text-decoration-thickness: 2px; }

/* 2. Profit: pick a product, see where its sales went */
#profit-table tbody tr { cursor: pointer; }
#profit-table tbody tr:hover > * { background: var(--surface-2); }
#profit-table tbody tr[aria-selected="true"] > * { background: var(--accent-soft); }
#profit-table .link { color: var(--ink); font-weight: 500; text-decoration: none; }
#profit-table tr.neg td { color: var(--danger); }
.where-went { display: grid; gap: 0.5rem; }
.went { margin: 0; display: grid; gap: 0.3rem; }
.went div { display: grid; grid-template-columns: minmax(0, 12rem) 5.5rem minmax(0, 1fr); gap: 0.75rem; align-items: center; }
.went dt { color: var(--muted); }
.went dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.went .track { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.went .fill { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--sky); }
.went .sum dt, .went .sum dd { color: var(--ink); font-weight: 700; }
.went .sum .fill { background: var(--ok); }
.went .sum.loss dd { color: var(--danger); }
.went .sum.loss .fill { background: var(--danger); }
@media (max-width: 30rem) { .went div { grid-template-columns: minmax(0, 1fr) 5.5rem; } .went .track { display: none; } }
/* Wide screens: the table and where the money went sit side by side, so this answer is no
   taller than the others and the page doesn't grow when it opens. */
@media (min-width: 72rem) {
	#a-profit { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 1.75rem; }
	#a-profit > * { grid-column: 1 / -1; }
	#a-profit > #profit-table { grid-column: 1; align-self: start; }
	#a-profit > .where-went { grid-column: 2; align-self: start; }
	#a-profit .dense th, #a-profit .dense td { padding-inline: 0.6rem; }
	#profit-table tbody th { white-space: nowrap; }
	#a-profit .went div { grid-template-columns: minmax(0, 10rem) 4.75rem minmax(1.5rem, 1fr); gap: 0.6rem; }
}

/* 3. Growth: drag the rate */
.grow-control { display: flex; align-items: center; gap: 0.75rem; max-width: 30rem; }
.grow-control input[type="range"] { flex: 1; min-width: 0; height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
#g-label { font: inherit; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 7rem; padding-top: 0.25rem; max-width: 34rem; }
.bars span { display: block; min-height: 3px; border-radius: 4px 4px 0 0; background: var(--accent); }
.bars span.low { background: var(--warn); }
.bars span.out { background: var(--danger); }
.bars-key { font-size: 0.8rem; color: var(--muted); }
.bars-key i { display: inline-block; width: 0.65rem; height: 0.65rem; border-radius: 2px; margin-right: 0.3rem; background: var(--accent); }
.bars-key i.low { background: var(--warn); margin-left: 0.75rem; }
.bars-key i.out { background: var(--danger); margin-left: 0.75rem; }
#g-cash.short { color: var(--danger); font-weight: 600; }

/* 4. Capital */
.pill { display: inline-block; margin-right: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.pill.in { background: oklch(0.95 0.04 158); color: var(--ok); }
.pill.out { background: var(--warn-soft); color: var(--warn); }

/* Upkeep: a ticket the app wrote */
.ticket-title { padding: 0.8rem 0.9rem; font-size: 1.02rem; font-weight: 650; color: var(--ink); }
.why .flag { color: var(--warn); font-weight: 600; }
.why .flag .link { font-weight: 400; }
.timeline { list-style: none; margin: 0; padding: 0.9rem; display: grid; gap: 0.6rem; }
.timeline li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.75rem; align-items: center; }
.timeline time { font: 500 0.8rem var(--mono); color: var(--muted); }
.timeline li.done { color: var(--text); }
.timeline li.done::after { content: none; }
.timeline li.wait time { color: var(--accent); font-weight: 600; }
.timeline .button { min-height: 38px; padding: 0.45rem 1rem; font-size: 0.925rem; justify-self: start; }
.timeline li.closed { color: var(--ok); font-weight: 600; }

/* The plan page */
.plan { padding-block: 2.5rem 5rem; display: grid; gap: 2.5rem; }
.plan h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.plan-intro { display: grid; gap: 0.75rem; max-width: 42rem; }
.plan-day { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .plan-day { grid-template-columns: 11rem minmax(0, 1fr); gap: 2.5rem; } }
.plan-when { font: 500 0.85rem var(--mono); color: var(--accent); }
.plan-when b { display: block; font: 700 1.25rem/1.2 var(--font); color: var(--ink); letter-spacing: -0.02em; margin-top: 0.2rem; }
.plan-body { display: grid; gap: 0.9rem; min-width: 0; }
.plan-body h2 { font-size: 1.35rem; }
.plan-body > p { color: var(--muted); max-width: 42rem; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; max-width: 44rem; }
.todo li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.75rem; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.todo .who { font-size: 0.78rem; font-weight: 700; color: var(--accent); padding-top: 0.15rem; }
.todo .who.us { color: var(--muted); }
.todo span.min { color: var(--muted); font-size: 0.875rem; white-space: nowrap; margin-left: 0.35rem; }
.todo p { color: var(--text); }
.todo p small { display: block; color: var(--muted); font-size: 0.875rem; }
.plan .demo { font-size: 0.9rem; max-width: 44rem; }
.plan .dense code { font: 0.8rem var(--mono); overflow-wrap: anywhere; }
@media (max-width: 30rem) { .plan .dense th, .plan .dense td { padding-inline: 0.6rem; } .plan .dense .num { white-space: normal; } }
.plan-foot { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* With scripts on, tabs show one panel at a time (flag.js sets .js before first paint). */
.js .panels > .answer:not([data-on]) { display: none; }

/* Answer tables on small screens: the label and its number on one line, the note under them. */
.small-only { display: none; }
.pill + .what { white-space: nowrap; }
@media (max-width: 44rem) {
	.small-only { display: inline; }
	.answer .wide { display: none; }
	.answer .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.answer .stack, .answer .stack tbody { display: block; }
	.answer .stack caption { display: block; padding: 0.45rem 0.8rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
	.answer .stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 0.75rem; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
	.answer .stack tr:last-child { border-bottom: 0; }
	.answer .stack th, .answer .stack td { padding: 0; border: 0; }
	.answer .stack .note { grid-column: 1 / -1; color: var(--muted); font-size: 0.875rem; }
	.answer .dense th, .answer .dense td { padding-inline: 0.7rem; }
	.a-line { font-size: 0.975rem; }

	/* Phones: the questions and answers interleave (question, its answer, next question), so the
	   answer opens right under the question that was tapped. */
	.qs, .panels { display: contents; }
	.q:nth-child(1) { order: 1; } .answer:nth-child(1) { order: 2; }
	.q:nth-child(2) { order: 3; } .answer:nth-child(2) { order: 4; }
	.q:nth-child(3) { order: 5; } .answer:nth-child(3) { order: 6; }
	.q:nth-child(4) { order: 7; } .answer:nth-child(4) { order: 8; }
	.q:nth-child(5) { order: 9; } .answer:nth-child(5) { order: 10; }
	.q:nth-child(6) { order: 11; } .answer:nth-child(6) { order: 12; }
	.q {
		position: relative; min-height: 52px; padding: 0.9rem 2.75rem 0.9rem 1rem;
		border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--surface-2);
	}
	.q:first-child { border-top: 0; }
	.js .q::after { content: "+"; position: absolute; right: 1rem; top: 50%; translate: 0 -50%; font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--muted); }
	.q[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: none; }
	.js .q[aria-selected="true"]::after { content: "–"; color: var(--accent); }
	.q:focus-visible { outline-offset: -2px; border-radius: 0; }
	.answer { padding: 0.35rem 1rem 1.35rem; }
	.answer + .answer, .js .answer + .answer { border-top: 0; }
	/* The question is already on the button above; the one that carries the live rate stays. */
	.answer > .a-q:not(:has(output)) { display: none; }
	.ask-own .a-q { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 44rem) { .answer .stack th:has(.pill) { white-space: nowrap; } }
