:root {
	font-family:
		system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #232c28;
	background: #f4f3ef;
	font-synthesis: none;
	line-height: 1.6;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
button,
input,
textarea,
select {
	font: inherit;
}
button,
.button {
	border: 1px solid #d2d8d0;
	background: #fff;
	border-radius: 12px;
	padding: 10px 16px;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}
button:hover,
.button:hover {
	background: #e9efe7;
}
button:disabled {
	opacity: 0.45;
	cursor: default;
}
.primary {
	background: #245640;
	color: white;
	border-color: #245640;
}
.primary:hover {
	background: #347451;
}
.danger {
	color: #922d35;
}
main {
	max-width: 1100px;
	margin: auto;
	padding: 28px;
}
header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 26px;
}
header strong {
	font-size: 24px;
	letter-spacing: -1px;
}
header small {
	display: block;
	color: #65736a;
	font-size: 12px;
	letter-spacing: 0.4px;
}
nav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.tabs button[aria-selected="true"] {
	background: #e0eadf;
	border-color: #aac1a7;
}
section {
	background: #fff;
	border: 1px solid #e0e4dc;
	border-radius: 22px;
	padding: 28px;
	margin: 18px 0;
}
.interview {
	min-height: 350px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	background: linear-gradient(140deg, #fff, #eef3ea);
}
h1 {
	font-size: clamp(25px, 4vw, 38px);
	line-height: 1.3;
	letter-spacing: -0.7px;
	font-weight: 550;
	margin: 22px auto;
	max-width: 810px;
}
h2 {
	font-size: 22px;
	line-height: 1.3;
}
h3 {
	font-size: 16px;
}
.eyebrow {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	color: #58715b;
}
.status {
	color: #566b5b;
	min-height: 26px;
}
.orb {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	margin: 0 auto;
	background: radial-gradient(circle at 30% 30%, #adc6a6, #326b4e);
	box-shadow: 0 0 0 10px #dfeadc;
}
.orb.active {
	animation: breathe 1.4s infinite alternate;
}
@keyframes breathe {
	to {
		box-shadow: 0 0 0 18px #dfeadc;
		transform: scale(1.05);
	}
}
.controls {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
textarea,
input {
	width: 100%;
	border: 1px solid #cdd7cd;
	border-radius: 12px;
	padding: 12px;
	background: #fafbf8;
	color: inherit;
}
textarea {
	resize: vertical;
	min-height: 100px;
}
.muted {
	color: #667268;
	font-size: 14px;
}
.notice {
	padding: 12px 18px;
	background: #fff4dc;
	border: 1px solid #e9d7ac;
	border-radius: 12px;
	margin: 12px 0;
}
.row {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}
.row label {
	flex: 1;
}
details {
	border-top: 1px solid #e0e4dc;
	padding: 14px 0;
}
summary {
	cursor: pointer;
	font-weight: 600;
}
.fact {
	padding: 9px 0;
	border-bottom: 1px solid #edf0ea;
}
.source {
	font-size: 12px;
	color: #386d51;
	cursor: pointer;
	text-decoration: underline;
}
.tag {
	font-size: 12px;
	border-radius: 20px;
	background: #eff2eb;
	padding: 4px 10px;
}
.login {
	max-width: 440px;
	margin: 12vh auto;
}
.history-item {
	border-bottom: 1px solid #e3e8df;
	padding: 20px 0;
	white-space: pre-wrap;
}
.history-item p {
	margin: 8px 0;
}
.answer {
	color: #385240;
}
.footer {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 25px;
}
.hidden {
	display: none !important;
}
#transcript {
	white-space: pre-wrap;
	text-align: left;
	margin: 20px auto 0;
	max-width: 750px;
}
.settings {
	max-width: 650px;
}
a {
	color: #245640;
}
button:focus-visible,
a:focus-visible {
	outline: 3px solid #84aa78;
	outline-offset: 3px;
}
@media (max-width: 650px) {
	main {
		padding: 16px;
	}
	header {
		align-items: flex-start;
		flex-direction: column;
	}
	section {
		padding: 20px;
	}
	.controls button {
		flex: 1;
	}
	h1 {
		margin: 26px auto;
	}
	.interview {
		min-height: 360px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.orb.active {
		animation: none;
	}
}
