.section {
	display: grid;
	gap: 1rem;

	@media (min-width: 960px) {
		gap: 1.25rem;
	}
}

.heroCard {
	display: grid;
	gap: 1rem;
	padding: 1.15rem;
	border-radius: 1.5rem;
	background: linear-gradient(135deg, var(--surface-panel), var(--surface-panel-strong));
	border: 1px solid var(--border-strong);
	box-shadow: var(--shadow-soft);

	@media (min-width: 880px) {
		grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.95fr);
		align-items: center;
		padding: 1.35rem;
	}
}

.heroCopy {
	display: grid;
	gap: 0.55rem;

	h1 {
		font-size: clamp(1.8rem, 1.45rem + 1.1vw, 2.8rem);
		line-height: 1;
		letter-spacing: -0.04em;
	}

	p:last-child {
		color: var(--text-muted);
		font-size: 0.96rem;
		max-width: 58ch;
	}
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	color: var(--text-muted);
}

.statGrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;

	@media (min-width: 520px) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	@media (min-width: 880px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.statCard {
	display: grid;
	gap: 0.2rem;
	padding: 0.95rem;
	border-radius: 1.15rem;
	background: var(--surface-soft);
	border: 1px solid var(--border-soft);

	strong {
		font-size: 1.25rem;
		line-height: 1;
	}

	span {
		font-size: 0.84rem;
		color: var(--text-muted);
	}
}

.threadList {
	display: grid;
	gap: 1rem;

	@media (min-width: 900px) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.threadCard {
	display: grid;
	gap: 0.95rem;
	padding: 1rem;
	border-radius: 1.3rem;
	background: var(--surface-panel);
	border: 1px solid var(--border-soft);
	box-shadow: var(--shadow-soft);
}

.threadTop {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.senderWrap {
	display: flex;
	align-items: center;
	gap: 0.8rem;

	h2 {
		font-size: 1rem;
		line-height: 1.1;
	}

	p {
		margin-top: 0.18rem;
		font-size: 0.86rem;
		color: var(--text-muted);
	}
}

.avatar {
	width: 2.5rem;
	height: 2.5rem;
	display: grid;
	place-items: center;
	border-radius: 9999px;
	background: var(--surface-accent-soft);
	color: var(--primary);
	font-weight: 600;
	flex-shrink: 0;
}

.threadMeta {
	display: grid;
	justify-items: end;
	gap: 0.32rem;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.unread {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.32rem 0.62rem;
	border-radius: 9999px;
	background: var(--surface-info-emphasis);
	color: var(--text-info-strong);
	font-size: 0.74rem;
	font-weight: 600;
}

.preview {
	font-size: 0.93rem;
	color: var(--text-muted);
}

.threadActions {
	display: flex;
	justify-content: flex-start;
}

.primaryAction {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1rem;
	border-radius: 9999px;
	font-weight: 500;
	text-decoration: none;
	background: linear-gradient(135deg, var(--action-primary-start), var(--action-primary-end));
	color: var(--action-primary-text);
	box-shadow: var(--action-primary-shadow);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;

	&:hover {
		text-decoration: none;
		transform: translateY(-1px);
	}
}
