:root {
	--bg: #0b0c0f;
	--bg-card: #14161b;
	--fg: #f4f4f5;
	--fg-muted: #9ca3af;
	--accent: #facc15;
	--accent-soft: #fde68a;
	--warn: #f97316;
	--ok: #4ade80;
	--line: #27272a;
	--radius: 10px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--fg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

main { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 72px; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 18px; }
.brand img { border-radius: 6px; }

h1 {
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.05;
	margin: 0 0 18px;
	letter-spacing: -0.02em;
	font-weight: 700;
}
h1 em { font-style: normal; color: var(--accent); font-weight: 700; }
h2 {
	font-size: 22px; margin: 0 0 16px;
	letter-spacing: -0.01em; font-weight: 600;
}
h3 { font-size: 17px; margin: 0 0 6px; font-weight: 600; }

.lede { font-size: 19px; color: var(--fg-muted); margin: 0 0 28px; max-width: 60ch; }
.micro { color: var(--fg-muted); font-size: 14px; margin: 12px 0 0; }

code {
	font-family: var(--font-mono);
	font-size: 0.92em;
	background: #1c1f26;
	padding: 1px 6px;
	border-radius: 5px;
	color: var(--fg);
}

/* ---- waitlist form ---- */
.waitlist {
	display: flex; gap: 8px; flex-wrap: wrap;
	margin-bottom: 4px;
}
.waitlist input[type=email] {
	flex: 1 1 260px;
	padding: 14px 16px;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--fg);
	font: inherit;
}
.waitlist input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.waitlist button {
	padding: 14px 22px;
	background: var(--accent);
	color: #111;
	border: 0;
	border-radius: var(--radius);
	font-weight: 600;
	cursor: pointer;
	font: inherit;
	transition: background 120ms ease;
}
.waitlist button:hover { background: var(--accent-soft); }
.waitlist button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.wl-msg { color: var(--fg-muted); min-height: 1.4em; margin: 0; font-size: 15px; }

/* ---- mailto CTA (fallback until API waitlist is RW) ---- */
.mailto-card { margin: 0 0 4px 0; }
.mailto-btn {
	display: inline-flex;
	align-items: baseline;
	gap: 14px;
	padding: 14px 22px;
	background: var(--accent);
	color: #111;
	border-radius: var(--radius);
	font-weight: 600;
	text-decoration: none;
	transition: background 120ms ease, transform 120ms ease;
}
.mailto-btn:hover { background: var(--accent-soft); }
.mailto-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.mailto-btn-label { font-size: 16px; }
.mailto-btn-addr {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
	font-weight: 500;
	color: #111;
	opacity: 0.78;
}
@media (max-width: 480px) {
	.mailto-btn { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---- preview card (dashboard mock) ---- */
.preview { margin-top: 64px; }
.preview-frame {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.preview-url {
	padding: 10px 16px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--fg-muted);
	border-bottom: 1px solid var(--line);
	background: #0f1116;
}
.preview-body { padding: 24px 24px 20px; }
.preview-title { font-weight: 600; color: var(--fg-muted); font-size: 14px; margin-bottom: 12px; }
.preview-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.big-num {
	font-family: var(--font-mono);
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
	color: var(--fg);
}
.big-of { font-size: 18px; color: var(--fg-muted); }
.preview-sub { color: var(--fg-muted); font-size: 14px; margin: 4px 0 16px; }
.bar { height: 14px; background: var(--line); border-radius: 7px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 7px; }
.log {
	list-style: none; padding: 0; margin: 20px 0 0;
	font-size: 14px; display: grid; gap: 8px;
}
.log li {
	display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: baseline;
	color: var(--fg-muted);
	padding-top: 8px; border-top: 1px solid var(--line);
}
.log li:first-child { border-top: 0; padding-top: 0; }
.log-task { color: var(--fg); }
.log-hrs { font-family: var(--font-mono); }
.preview-caption { color: var(--fg-muted); font-size: 14px; margin: 14px 2px 0; }

/* ---- why / benefits ---- */
.why { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
.why ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.why li { padding-left: 28px; position: relative; }
.why li::before {
	content: "›"; position: absolute; left: 4px; top: -2px;
	color: var(--accent); font-weight: 700; font-size: 22px;
}
.why p { color: var(--fg-muted); margin: 0; }

/* ---- how (ordered list) ---- */
.how { margin-top: 64px; }
.how ol {
	padding: 0; margin: 0; counter-reset: how;
	list-style: none; display: grid; gap: 12px;
}
.how li {
	counter-increment: how;
	padding-left: 38px; position: relative;
	color: var(--fg-muted);
}
.how li::before {
	content: counter(how);
	position: absolute; left: 0; top: 0;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--accent); color: #111;
	display: grid; place-items: center;
	font-size: 14px; font-weight: 700;
	font-family: var(--font-mono);
}
.how li strong { color: var(--fg); }

/* ---- pricing ---- */
.pricing { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
.plans {
	display: grid; gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	margin: 0 0 14px;
}
.plan {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 20px 22px;
}
.plan-featured { border-color: var(--accent); }
.plan-name { font-weight: 600; font-size: 14px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.plan-price { font-size: 36px; font-weight: 700; margin: 6px 0 14px; font-family: var(--font-mono); letter-spacing: -0.02em; }
.plan-per { font-size: 15px; font-weight: 500; color: var(--fg-muted); font-family: var(--font); margin-left: 3px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--fg-muted); }
.plan ul li { padding-left: 16px; position: relative; }
.plan ul li::before { content: "·"; position: absolute; left: 4px; top: 0; color: var(--accent); font-weight: 700; }
.plan ul li strong { color: var(--fg); }
.plans-footnote { color: var(--fg-muted); font-size: 14px; margin: 6px 2px 0; }

/* ---- quote ---- */
.quote { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
blockquote {
	margin: 0; padding: 0 0 0 18px;
	border-left: 3px solid var(--accent);
}
blockquote p { font-size: 18px; color: var(--fg); margin: 0 0 8px; font-style: italic; }
blockquote cite { color: var(--fg-muted); font-size: 14px; font-style: normal; }
.quote-reply { margin: 16px 0 0; font-weight: 600; }

/* ---- FAQ ---- */
.faq { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
.faq dl { margin: 0; display: grid; gap: 18px; }
.faq dt { font-weight: 600; margin: 0; }
.faq dd { margin: 6px 0 0; color: var(--fg-muted); }
.faq a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ---- bottom CTA ---- */
.cta-bottom { margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--line); }
.cta-bottom h2 { font-size: 26px; margin-bottom: 18px; }

/* ---- footer ---- */
footer { margin-top: 96px; color: var(--fg-muted); font-size: 14px; text-align: center; }
footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

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

/* ---- motion ---- */
@media (prefers-reduced-motion: no-preference) {
	h1 { animation: fadeUp .6s ease-out both; }
	.lede { animation: fadeUp .7s ease-out both; animation-delay: .08s; }
	.mailto-card { animation: fadeUp .8s ease-out both; animation-delay: .14s; }
	.preview-frame { animation: fadeUp .9s ease-out both; animation-delay: .22s; }
	.bar-fill { animation: barFill 1s .4s ease-out both; }
}
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes barFill {
	from { width: 0 !important; }
}
