/* ChairHold — brand tokens + Layout A landing
 * Palette: Clay (#C6553B) primary, Cream (#FAF4EC) surface, Soot (#1F201C) ink.
 * Type: DM Serif Display (headlines), Inter (UI + body).
 */

:root {
	--clay: #C6553B;
	--clay-tint: #E9C9B4;
	--cream: #FAF4EC;
	--cream-dim: #F2E9DD;
	--soot: #1F201C;
	--soot-mute: #4B4D47;
	--sage: #7A8A6B;
	--line: #E4DACB;

	--radius: 14px;
	--radius-sm: 8px;
	--max: 1040px;

	--f-display: "DM Serif Display", "Iowan Old Style", Georgia, serif;
	--f-ui: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
	font-family: var(--f-ui);
	background: var(--cream);
	color: var(--soot);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 17px;
	text-rendering: optimizeLegibility;
}

a { color: var(--soot); text-decoration-color: var(--clay-tint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--clay); }

hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	background: var(--cream);
	position: sticky; top: 0; z-index: 10;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
	font-family: var(--f-display);
	font-size: 26px;
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--soot);
	text-decoration: none;
	font-weight: 400;
}
.wordmark .ch-mark { color: var(--clay); }
.site-nav { display: flex; gap: 22px; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--soot-mute); }
.site-nav a:hover { color: var(--soot); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
	padding: 72px 0 64px;
	text-align: left;
}
.hero .pill {
	display: inline-block;
	font-size: 13px;
	background: var(--cream-dim);
	color: var(--soot-mute);
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--line);
	margin-bottom: 24px;
	letter-spacing: 0.01em;
}
.hero h1 {
	font-family: var(--f-display);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 68px);
	line-height: 1.05;
	margin: 0 0 20px;
	letter-spacing: -0.015em;
	color: var(--soot);
	max-width: 18ch;
}
.hero h1 .accent { color: var(--clay); }
.hero .lede {
	font-size: clamp(17px, 2vw, 20px);
	color: var(--soot-mute);
	max-width: 58ch;
	margin: 0 0 36px;
}

/* ── Waitlist form ─────────────────────────────────────────── */
.waitlist {
	display: flex; gap: 10px; flex-wrap: wrap;
	max-width: 520px;
	margin-bottom: 14px;
}
.waitlist input[type=email] {
	flex: 1 1 280px;
	padding: 15px 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--soot);
	font: inherit;
}
.waitlist input[type=email]:focus {
	outline: 2px solid var(--clay);
	outline-offset: 1px;
	border-color: var(--clay);
}
.waitlist button {
	padding: 15px 24px;
	background: var(--clay);
	color: var(--cream);
	border: 0;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	font-family: var(--f-ui);
	transition: filter .12s, transform .12s;
}
.waitlist button:hover { filter: brightness(1.05); }
.waitlist button:active { transform: translateY(1px); }

.wl-msg { color: var(--soot-mute); min-height: 1.4em; margin: 0; font-size: 14px; }
.wl-msg.success { color: var(--sage); }
.wl-msg.error   { color: var(--clay); }

.hero .sub-cta {
	font-size: 14px;
	color: var(--soot-mute);
	margin-top: 10px;
}

/* ── Section headers ──────────────────────────────────────── */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section h2 {
	font-family: var(--f-display);
	font-weight: 400;
	font-size: clamp(28px, 3.6vw, 40px);
	letter-spacing: -0.01em;
	margin: 0 0 8px;
	color: var(--soot);
}
.section .eyebrow {
	display: inline-block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--clay);
	margin-bottom: 8px;
}
.section .section-lede {
	color: var(--soot-mute);
	max-width: 60ch;
	margin: 0 0 40px;
	font-size: 17px;
}

/* ── How it works ─────────────────────────────────────────── */
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	counter-reset: step;
}
.step {
	padding: 28px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	position: relative;
}
.step::before {
	counter-increment: step;
	content: "0" counter(step);
	display: block;
	font-family: var(--f-display);
	color: var(--clay);
	font-size: 26px;
	margin-bottom: 10px;
}
.step h3 {
	font-family: var(--f-display);
	font-weight: 400;
	margin: 0 0 8px;
	font-size: 22px;
	letter-spacing: -0.005em;
}
.step p { margin: 0; color: var(--soot-mute); font-size: 15.5px; }

/* ── Who it's for ─────────────────────────────────────────── */
.icp-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.icp-pill {
	background: var(--cream-dim);
	border: 1px solid var(--line);
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	color: var(--soot);
}
.icp-note { color: var(--soot-mute); max-width: 60ch; }

/* ── Comparison ───────────────────────────────────────────── */
.compare {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare thead th {
	text-align: left;
	padding: 16px 14px;
	background: var(--cream-dim);
	font-weight: 600;
	color: var(--soot);
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
}
.compare thead th.us { color: var(--clay); }
.compare tbody td {
	padding: 14px;
	border-top: 1px solid var(--line);
	color: var(--soot);
	white-space: nowrap;
}
.compare tbody td:first-child { white-space: normal; color: var(--soot-mute); font-weight: 500; }
.compare td.yes { color: var(--sage); font-weight: 600; }
.compare td.no  { color: #B54A33; font-weight: 600; }
.compare td.us-col { background: #FFF7F1; }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.plan {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.plan.primary { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(198,85,59,0.08); }
.plan h3 {
	font-family: var(--f-display);
	font-weight: 400;
	font-size: 22px;
	margin: 0 0 4px;
}
.plan .price {
	font-family: var(--f-display);
	font-size: 44px;
	color: var(--soot);
	margin: 8px 0 4px;
	line-height: 1;
}
.plan .price small {
	font-family: var(--f-ui);
	font-size: 15px;
	color: var(--soot-mute);
	font-weight: 400;
}
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li {
	padding-left: 24px;
	position: relative;
	color: var(--soot);
	font-size: 15px;
}
.plan li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	color: var(--clay);
	font-weight: 700;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details {
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	cursor: pointer;
}
.faq summary {
	font-weight: 600;
	color: var(--soot);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	color: var(--clay);
	font-size: 22px;
	line-height: 1;
	transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { background: var(--cream-dim); }
.faq p { margin: 12px 0 0; color: var(--soot-mute); font-size: 15.5px; }

/* ── Waitlist CTA block ───────────────────────────────────── */
.cta-block {
	background: var(--clay);
	color: var(--cream);
	padding: 64px 28px;
	border-radius: var(--radius);
	text-align: center;
}
.cta-block h2 {
	color: var(--cream);
	margin: 0 0 10px;
}
.cta-block p { color: var(--clay-tint); max-width: 52ch; margin: 0 auto 28px; font-size: 17px; }
.cta-block .waitlist { justify-content: center; margin: 0 auto; }
.cta-block .waitlist input[type=email] { border-color: transparent; }
.cta-block .waitlist button {
	background: var(--soot);
	color: var(--cream);
}
.cta-block .wl-msg { color: var(--clay-tint); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
	padding: 48px 0 40px;
	border-top: 1px solid var(--line);
	color: var(--soot-mute);
	font-size: 14px;
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--soot-mute); }
.site-footer .built-by-robot { font-style: italic; }

/* ── Utilities ────────────────────────────────────────────── */
.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;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 820px) {
	.steps { grid-template-columns: 1fr; }
	.pricing { grid-template-columns: 1fr; }
	.hero { padding: 56px 0 44px; }
	.section { padding: 56px 0; }
	.cta-block { padding: 48px 20px; }
	.site-nav { display: none; }
}

/* ── Motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
	.hero .pill, .hero h1, .hero .lede, .hero .waitlist {
		animation: fadeUp .6s ease-out both;
	}
	.hero h1       { animation-delay: .04s; }
	.hero .lede    { animation-delay: .10s; }
	.hero .waitlist{ animation-delay: .16s; }
}
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}
