:root {
	--bg: #f8faf9;
	--surface: #ffffff;
	--text: #1a2e28;
	--muted: #5c6f66;
	--accent: #0d9488;
	--accent-dark: #0f766e;
	--border: #e2e8e6;
	--danger: #b91c1c;
	--radius: 12px;
	--shadow: 0 8px 30px rgba(13, 148, 136, 0.08);
	font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	font-size: 16px;
}

a {
	color: var(--accent-dark);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.container {
	width: min(100% - 2rem, 720px);
	margin: 0 auto;
	padding: 1rem 0 3rem;
}

header.site-header {
	padding: 1rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.logo {
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
}

.logo span {
	color: var(--accent);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	border: none;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
	transform: scale(0.98);
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-dark));
	color: #fff;
	box-shadow: var(--shadow);
}

.btn-primary:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.btn-secondary {
	background: var(--surface);
	color: var(--accent-dark);
	border: 1px solid var(--border);
}

.hero {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 4px);
	padding: 1.75rem 1.25rem;
	box-shadow: var(--shadow);
	margin-bottom: 1.5rem;
}

.hero h1 {
	font-size: clamp(1.5rem, 5vw, 1.85rem);
	line-height: 1.25;
	margin: 0 0 0.75rem;
}

.hero .subtitle {
	color: var(--muted);
	margin: 0 0 1.25rem;
	font-size: 0.98rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.section {
	margin: 2rem 0;
}

.section h2 {
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
}

.card-grid {
	display: grid;
	gap: 0.75rem;
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.1rem;
}

.card strong {
	display: block;
	margin-bottom: 0.35rem;
}

.steps {
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.steps li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1rem 1rem 3rem;
	position: relative;
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 1rem;
	top: 1rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.demo-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.demo-table th,
.demo-table td {
	border: 1px solid var(--border);
	padding: 0.5rem 0.6rem;
	text-align: left;
}

.demo-table th {
	background: #f0fdfa;
}

blockquote.demo-chat {
	margin: 0;
	padding: 0.75rem 1rem;
	background: #f1f5f4;
	border-left: 3px solid var(--accent);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 0.92rem;
	color: var(--muted);
}

.privacy-banner {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	font-size: 0.9rem;
}

.waitlist-form {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 0.75rem;
}

.waitlist-form input {
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	font-size: 1rem;
}

.form-hint {
	font-size: 0.85rem;
	color: var(--muted);
	margin: 0;
}

.form-message {
	font-size: 0.9rem;
	margin-top: 0.5rem;
	min-height: 1.25rem;
}

.form-message.ok {
	color: var(--accent-dark);
}

.form-message.err {
	color: var(--danger);
}

.faq details {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	margin-bottom: 0.5rem;
}

.faq summary {
	cursor: pointer;
	font-weight: 600;
}

footer.site-footer {
	border-top: 1px solid var(--border);
	padding: 1.5rem 0 2rem;
	font-size: 0.82rem;
	color: var(--muted);
}

/* Try page */
textarea.chat-input {
	width: 100%;
	min-height: 200px;
	padding: 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	font-size: 0.95rem;
	font-family: inherit;
	resize: vertical;
}

.toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0 1rem;
}

.results-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin: 1rem 0;
}

.results-table th,
.results-table td {
	border: 1px solid var(--border);
	padding: 0.55rem;
	vertical-align: top;
}

.results-table th {
	background: #f0fdfa;
}

.draft-box {
	width: 100%;
	min-height: 180px;
	padding: 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	font-size: 0.95rem;
	line-height: 1.65;
	font-family: inherit;
}

.hidden {
	display: none !important;
}

.badge-soft {
	display: inline-block;
	font-size: 0.75rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: #fef3c7;
	color: #92400e;
}

.usage-hint {
	font-size: 0.85rem;
	color: var(--muted);
}
