/* hummin brand styling on top of Material.
   Palette taken from the hummin-dark TUI theme
   (packages/coding-agent/src/modes/interactive/theme/hummin-dark.json). */

:root > * {
	--md-primary-fg-color: #0f1719;
	--md-primary-bg-color: #2dd4bf;
	--md-accent-fg-color: #2dd4bf;
	--md-typeset-a-color: #5eead4;
	--md-default-bg-color: #0f1719;
	--md-code-bg-color: #152125;
	--md-footer-bg-color: #152125;
}

[data-md-color-scheme="default"] {
	--md-primary-fg-color: #0f1719;
	--md-default-bg-color: #ffffff;
	--md-accent-fg-color: #0d9488;
	--md-typeset-a-color: #0d9488;
}

[data-md-color-scheme="slate"] {
	--md-primary-fg-color: #0f1719;
	--md-default-bg-color: #0f1719;
	--md-accent-fg-color: #2dd4bf;
	--md-typeset-a-color: #5eead4;
}

/* Slightly denser header with the wordmark */
.md-header__title {
	font-weight: 700;
}

/* Tab bar contrast on the dark header */
.md-tabs__link {
	color: rgba(255, 255, 255, 0.55);
}

.md-tabs__link:hover,
.md-tabs__link--active,
.md-tabs__link[data-md-state="active"] {
	color: #5eead4;
}

/* Landing hero */
.tx-hero {
	padding: 3.5rem 0 2.5rem;
	text-align: center;
}

.tx-hero h1 {
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}

.tx-hero .tx-tagline {
	font-size: 1.15rem;
	color: var(--md-default-fg-color--light);
	max-width: 44rem;
	margin: 0 auto 2rem;
}

.tx-hero__buttons {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.md-button {
	border-radius: 6px !important;
	font-weight: 600 !important;
	padding: 0.55rem 1.4rem !important;
}

.md-button--primary {
	background-color: var(--md-accent-fg-color) !important;
	border-color: var(--md-accent-fg-color) !important;
	color: #0f1719 !important;
}

.md-button--primary:hover,
.md-button--primary:focus {
	background-color: #5eead4 !important;
	border-color: #5eead4 !important;
}

/* Terminal snippet in the hero */
.tx-hero__term {
	background: #0b1214;
	border: 1px solid #22333a;
	border-radius: 8px;
	max-width: 42rem;
	margin: 0 auto 2.5rem;
	text-align: left;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.tx-hero__term .term-bar {
	background: #152125;
	padding: 0.45rem 0.9rem;
	display: flex;
	gap: 6px;
	align-items: center;
	border-bottom: 1px solid #22333a;
}

.tx-hero__term .term-bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	display: inline-block;
}

.tx-hero__term .term-bar .r { background: #cc6666; }
.tx-hero__term .term-bar .y { background: #e6c07b; }
.tx-hero__term .term-bar .g { background: #2dd4bf; }

.tx-hero__term pre {
	margin: 0;
	border: none;
	box-shadow: none;
	background: transparent;
	padding: 1rem 1.2rem;
}

/* Card grids */
.md-typeset .grid.cards > ul > li {
	border: 1px solid var(--md-default-fg-color--lightest);
	border-radius: 8px;
	transition: border-color 0.2s, transform 0.2s;
}

.md-typeset .grid.cards > ul > li:hover {
	border-color: var(--md-accent-fg-color);
	transform: translateY(-2px);
}

/* Logo header sizing */
.md-header__button.md-logo img,
.md-header__button.md-logo {
	height: 1.5rem;
	width: auto;
}
