/* GreetMe web: the app's design system (CLAUDE.md) in CSS. */
:root {
	--surface: #f5f5f7;
	--raised: #ffffff;
	--ink: #1d1d1f;
	--muted: #6e6e73;
	--line: #d2d2d7;
	--coral: #ff5a4e;
	--coral-strong: #cc3a2f;
	--on-coral: #ffffff;
	--sunset: #ff9f43;
	--online: #17784f;
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root {
		--surface: #000000;
		--raised: #1c1c1e;
		--ink: #f5f5f7;
		--muted: #98989d;
		--line: #38383a;
		--coral: #ff6b5e;
		--coral-strong: #ff6b5e;
		--on-coral: #000000;
		--online: #30d158;
	}
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font: 17px/1.47 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--coral-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.lockup:hover { text-decoration: none; }
.lockup img { width: 32px; height: 32px; border-radius: 22.37%; }
.wordmark {
	font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 22px;
}
.wordmark span { color: var(--coral-strong); }

/* Hero */
.hero { text-align: center; padding: 56px 0 32px; }
.hero .icon {
	width: 128px;
	height: 128px;
	border-radius: 22.37%;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 12px 32px rgb(204 58 47 / 0.18);
}
.eyebrow {
	margin: 28px 0 8px;
	color: var(--coral-strong);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
}
h1 {
	margin: 0 auto;
	max-width: 14ch;
	font-size: clamp(40px, 7vw, 64px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	font-weight: 700;
}
.lede { margin: 20px auto 0; max-width: 34em; color: var(--muted); font-size: 19px; }

/* Waitlist card */
.card {
	margin: 36px auto 0;
	max-width: 480px;
	padding: 24px;
	background: var(--raised);
	border-radius: 22px;
	text-align: left;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field small { color: var(--muted); font-weight: 400; }
input[type="email"], select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	appearance: none;
}
select {
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}
input[type="email"]:focus, select:focus { outline: 3px solid color-mix(in srgb, var(--coral-strong) 35%, transparent); border-color: var(--coral-strong); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--coral-strong); flex: none; }
button {
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 999px;
	background: var(--coral-strong);
	color: var(--on-coral);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.5; cursor: default; }
.fine { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.cf-turnstile { margin-bottom: 12px; }
.cf-turnstile:empty { margin: 0; }
.status { min-height: 1.4em; margin: 12px 0 0; font-size: 15px; }
.status.error { color: var(--coral-strong); }
.done { text-align: center; padding: 12px 0; }
.done h2 { margin: 8px 0 6px; font-size: 24px; letter-spacing: -0.02em; }
.done p { margin: 0; color: var(--muted); }
.tick {
	width: 56px;
	height: 56px;
	margin: 0 auto;
	border-radius: 50%;
	background: color-mix(in srgb, var(--online) 15%, transparent);
	color: var(--online);
	display: grid;
	place-items: center;
	font-size: 28px;
	font-weight: 700;
}

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 64px 0 24px; }
.feature { background: var(--raised); border-radius: 16px; padding: 24px; }
.feature .glyph {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--coral) 14%, transparent);
	color: var(--coral-strong);
	font-size: 20px;
}
.feature h3 { margin: 16px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Footer */
footer { padding: 40px 0 56px; color: var(--muted); font-size: 13px; text-align: center; }
footer p { margin: 6px 0; }

/* Privacy page */
.doc { padding: 24px 0 16px; }
.doc h1 { max-width: none; font-size: clamp(32px, 5vw, 44px); }
.doc h2 { margin: 36px 0 8px; font-size: 21px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink); }
.doc .updated { color: var(--muted); font-size: 15px; margin-top: 8px; }
.doc .card { margin: 16px 0 0; max-width: none; }

@media (prefers-reduced-motion: reduce) { button { transition: none; } }
