.htx-page {
	--htx-ink: #131a17;
	--htx-muted: #64706a;
	--htx-paper: #f2f4ef;
	--htx-panel: #fff;
	--htx-line: rgba(24, 48, 38, 0.14);
	--htx-green: #087f5b;
	--htx-green-dark: #045c43;
	--htx-lime: #c8f169;
	--htx-amber: #ffb64a;
	--htx-terminal: #101815;
	--htx-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	color: var(--htx-ink);
}

.htx-page *,
.htx-page *::before,
.htx-page *::after {
	box-sizing: border-box;
}

.htx-page [hidden] {
	display: none !important;
}

.htx-hero {
	position: relative;
	display: grid;
	min-height: 22rem;
	overflow: hidden;
	grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.75fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	padding: clamp(2rem, 5vw, 4.6rem);
	border: 1px solid rgba(8, 127, 91, 0.17);
	border-radius: 1.9rem;
	background:
		radial-gradient(circle at 83% 18%, rgba(200, 241, 105, 0.25), transparent 25%),
		linear-gradient(132deg, #f8fbf3 0%, #eef5e9 52%, #e5efe7 100%);
	box-shadow: 0 1.7rem 4.5rem rgba(28, 65, 50, 0.12);
}

.htx-hero::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(8, 127, 91, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(8, 127, 91, 0.04) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(90deg, transparent 25%, #000);
	content: '';
}

.htx-hero__copy,
.htx-hero__terminal {
	position: relative;
	z-index: 1;
}

.htx-hero__copy {
	min-width: 0;
}

.htx-kicker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 1.25rem;
}

.htx-kicker > span {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	padding: 0.43rem 0.68rem;
	border: 1px solid rgba(8, 127, 91, 0.17);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--htx-green-dark);
	font-family: var(--htx-code);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.htx-kicker .material-icons {
	font-size: 1rem;
}

.htx-hero h1 {
	max-width: 48rem;
	margin: 0;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	font-weight: 760;
	letter-spacing: -0.05em;
	line-height: 0.98;
	text-wrap: balance;
}

.htx-hero h1 span {
	display: block;
	margin-top: 0.35rem;
	color: var(--htx-green);
	font-family: var(--htx-code);
	font-size: 0.55em;
	font-weight: 650;
	letter-spacing: -0.04em;
}

.htx-hero__copy > p {
	max-width: 45rem;
	margin: 1.35rem 0 0;
	color: #45574f;
	font-size: clamp(1rem, 1.7vw, 1.2rem);
	line-height: 1.7;
	text-wrap: pretty;
}

.htx-hero code,
.htx-guide code {
	padding: 0.1rem 0.28rem;
	border-radius: 0.3rem;
	background: #e4ede4;
	color: #165840;
	font-family: var(--htx-code);
}

.htx-hero__terminal {
	overflow: hidden;
	transform: rotate(2deg);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 1.1rem;
	background: var(--htx-terminal);
	box-shadow:
		1.1rem 1.1rem 0 rgba(8, 127, 91, 0.13),
		0 1.7rem 3.5rem rgba(17, 34, 27, 0.22);
	color: #e5f4eb;
}

.htx-terminal__bar {
	display: flex;
	align-items: center;
	gap: 0.38rem;
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: #18241f;
}

.htx-terminal__bar i {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #e56562;
}

.htx-terminal__bar i:nth-child(2) {
	background: var(--htx-amber);
}
.htx-terminal__bar i:nth-child(3) {
	background: var(--htx-lime);
}

.htx-terminal__bar span {
	margin-left: auto;
	font-family: var(--htx-code);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	opacity: 0.62;
}

.htx-terminal__body {
	display: grid;
	gap: 1.05rem;
	padding: 1.5rem;
	font-family: var(--htx-code);
	font-size: 0.85rem;
}

.htx-terminal__prompt {
	color: var(--htx-lime);
}

.htx-terminal__body strong {
	overflow: hidden;
	color: #fff;
	font-size: 0.9rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.htx-terminal__body em {
	color: var(--htx-amber);
	font-style: normal;
}
.htx-terminal__body small {
	color: #93a69d;
}

.htx-workspace {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
	align-items: start;
	gap: 1.35rem;
	margin-top: 1.5rem;
}

.htx-panel {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--htx-line);
	border-radius: 1.35rem;
	background: var(--htx-panel);
	box-shadow: 0 0.9rem 2.8rem rgba(28, 65, 50, 0.08);
}

.htx-panel--output {
	position: sticky;
	top: 1.25rem;
	background: var(--htx-terminal);
}

.htx-panel__header {
	display: flex;
	min-height: 5.7rem;
	align-items: center;
	gap: 0.85rem;
	padding: 1.15rem 1.25rem;
	border-bottom: 1px solid var(--htx-line);
	background: #f7f9f5;
}

.htx-panel__header > div {
	min-width: 0;
}
.htx-panel__header h2 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 850;
}
.htx-panel__header p {
	margin: 0.18rem 0 0;
	color: var(--htx-muted);
	font-size: 0.76rem;
	line-height: 1.4;
}

.htx-panel__header--dark {
	border-color: rgba(255, 255, 255, 0.09);
	background: #17231e;
	color: #fff;
}

.htx-panel__header--dark p {
	color: #9cafa5;
}

.htx-step {
	display: grid;
	width: 2.5rem;
	height: 2.5rem;
	flex: 0 0 2.5rem;
	place-items: center;
	border-radius: 0.65rem;
	background: var(--htx-ink);
	box-shadow: 0.28rem 0.28rem 0 var(--htx-lime);
	color: #fff;
	font-family: var(--htx-code);
	font-size: 0.78rem;
	font-weight: 900;
}

.htx-step--light {
	background: var(--htx-green);
}

.htx-live-badge,
.htx-output-state {
	display: inline-flex;
	margin-left: auto;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--htx-code);
	font-size: 0.62rem;
	font-weight: 850;
	letter-spacing: 0.08em;
}

.htx-live-badge {
	color: var(--htx-green);
}
.htx-live-badge i {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--htx-green);
	box-shadow: 0 0 0 0.25rem rgba(8, 127, 91, 0.12);
}
.htx-output-state {
	padding: 0.35rem 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.4rem;
	color: #96aaa0;
}
.htx-output-state.is-ready {
	border-color: rgba(200, 241, 105, 0.33);
	color: var(--htx-lime);
}

#htpasswdForm {
	padding: clamp(1.2rem, 3vw, 1.6rem);
}

.htx-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
}

.htx-field,
.htx-cost {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.42rem;
}

.htx-field--wide {
	grid-column: 1 / -1;
}

.htx-field__label,
.htx-cost__heading label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	color: #30483f;
	font-size: 0.75rem;
	font-weight: 850;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.htx-field__label small {
	color: var(--htx-muted);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.htx-field > small,
.htx-cost > small {
	min-height: 1.1rem;
	color: var(--htx-muted);
	font-size: 0.7rem;
	line-height: 1.45;
}

.htx-field .form-control,
.htx-cost__heading input {
	min-height: 3rem;
	border: 1px solid rgba(31, 71, 55, 0.19);
	border-radius: 0.7rem;
	background: #fbfcf9;
	color: var(--htx-ink);
}

.htx-field .form-control:focus,
.htx-cost__heading input:focus {
	border-color: var(--htx-green);
	box-shadow: 0 0 0 0.22rem rgba(8, 127, 91, 0.11);
}

.htx-field .form-control.is-invalid,
.htx-cost__heading input.is-invalid {
	border-color: #c6404f;
	background-image: none;
	box-shadow: 0 0 0 0.18rem rgba(198, 64, 79, 0.1);
}

.htx-input-group {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 3rem;
}

.htx-input-group .form-control {
	border-radius: 0.7rem 0 0 0.7rem;
}

.htx-input-group button {
	display: grid;
	place-items: center;
	border: 1px solid rgba(31, 71, 55, 0.19);
	border-left: 0;
	border-radius: 0 0.7rem 0.7rem 0;
	background: #eef3ed;
	color: #40544a;
}

.htx-input-group button:hover {
	background: #e0eadf;
	color: var(--htx-green-dark);
}

.htx-input-group button:focus-visible,
.htx-button:focus-visible,
.htx-mode-switch button:focus-visible,
.htx-result-view__heading button:focus-visible,
.htx-snippet button:focus-visible,
.htx-guide a:focus-visible,
.htx-faq summary:focus-visible {
	outline: 3px solid rgba(255, 182, 74, 0.55);
	outline-offset: 2px;
}

.htx-byte-meter {
	overflow: hidden;
	height: 0.28rem;
	border-radius: 999px;
	background: #e7ece7;
}

.htx-byte-meter i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--htx-green);
	transition:
		width 0.18s ease,
		background-color 0.18s ease;
}

.htx-byte-meter.is-warning i {
	background: var(--htx-amber);
}
.htx-byte-meter.is-danger i {
	background: #c6404f;
}

.htx-field__error {
	color: #b72839;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.4;
}

.htx-cost {
	padding: 1rem;
	border: 1px solid var(--htx-line);
	border-radius: 0.9rem;
	background: #f8faf6;
}

.htx-cost__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.htx-cost__heading input {
	width: 4.4rem;
	min-height: 2.35rem;
	padding: 0.3rem 0.5rem;
	text-align: center;
	font-family: var(--htx-code);
	font-weight: 850;
}
.htx-cost__range {
	width: 100%;
	accent-color: var(--htx-green);
}
.htx-cost__scale {
	display: flex;
	justify-content: space-between;
	color: #41584d;
	font-family: var(--htx-code);
	font-size: 0.7rem;
	font-weight: 850;
	text-align: center;
}
.htx-cost__scale small {
	color: var(--htx-muted);
	font-family: inherit;
	font-size: 0.58rem;
	font-weight: 600;
}

.htx-form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--htx-line);
}

.htx-form-actions p {
	display: flex;
	max-width: 16rem;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	color: var(--htx-muted);
	font-size: 0.68rem;
	line-height: 1.45;
}
.htx-form-actions p .material-icons {
	color: var(--htx-green);
	font-size: 1.05rem;
}

.htx-button {
	display: inline-flex;
	min-height: 2.85rem;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.72rem 1rem;
	border: 0;
	border-radius: 0.72rem;
	font-weight: 850;
}

.htx-button .material-icons {
	font-size: 1.1rem;
}
.htx-button--primary {
	background: var(--htx-green);
	box-shadow: 0 0.7rem 1.5rem rgba(8, 127, 91, 0.2);
	color: #fff;
}
.htx-button--primary:hover {
	background: var(--htx-green-dark);
}
.htx-button--primary:disabled {
	box-shadow: none;
	opacity: 0.65;
}

.htx-output-shell {
	min-height: 31rem;
	padding: 1.2rem;
	color: #e6f1eb;
}

.htx-empty-state {
	display: grid;
	min-height: 27rem;
	place-content: center;
	justify-items: center;
	padding: 1rem;
	text-align: center;
}

.htx-empty-state__mark {
	display: grid;
	width: 5rem;
	height: 5rem;
	place-items: center;
	border: 1px solid rgba(200, 241, 105, 0.25);
	border-radius: 1.2rem;
	background: rgba(200, 241, 105, 0.06);
	color: var(--htx-lime);
	transform: rotate(-3deg);
}
.htx-empty-state__mark .material-icons {
	font-size: 2.2rem;
}
.htx-empty-state h3 {
	margin: 1.2rem 0 0.45rem;
	color: #fff;
	font-size: 1.1rem;
}
.htx-empty-state p {
	max-width: 22rem;
	margin: 0;
	color: #94a69d;
	font-size: 0.78rem;
	line-height: 1.55;
}
.htx-output-anatomy {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	margin-top: 1.3rem;
	font-family: var(--htx-code);
	font-size: 0.62rem;
}
.htx-output-anatomy span {
	padding: 0.3rem 0.42rem;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 0.35rem;
	color: #a8bbb1;
}
.htx-output-anatomy b {
	align-self: center;
	color: var(--htx-amber);
}

.htx-result {
	display: grid;
	gap: 1rem;
}
.htx-mode-switch {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.35rem;
	padding: 0.3rem;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 0.8rem;
	background: #17231e;
}
.htx-mode-switch button {
	display: grid;
	gap: 0.15rem;
	padding: 0.65rem;
	border: 1px solid transparent;
	border-radius: 0.58rem;
	background: transparent;
	color: #98aaa1;
	text-align: left;
}
.htx-mode-switch button span {
	font-family: var(--htx-code);
	font-size: 0.74rem;
	font-weight: 850;
}
.htx-mode-switch button small {
	font-size: 0.62rem;
}
.htx-mode-switch button.is-active {
	border-color: rgba(200, 241, 105, 0.22);
	background: rgba(200, 241, 105, 0.09);
	color: var(--htx-lime);
}

.htx-result-view {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.85rem;
	background: #0c1310;
}
.htx-result-view__heading {
	display: flex;
	min-height: 4.2rem;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 0.9rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: #17231e;
}
.htx-result-view__heading strong,
.htx-result-view__heading small {
	display: block;
}
.htx-result-view__heading strong {
	font-size: 0.76rem;
}
.htx-result-view__heading small {
	margin-top: 0.15rem;
	color: #91a49a;
	font-size: 0.63rem;
}
.htx-result-view__heading button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.6rem;
	border: 1px solid rgba(200, 241, 105, 0.2);
	border-radius: 0.48rem;
	background: rgba(200, 241, 105, 0.08);
	color: var(--htx-lime);
	font-size: 0.68rem;
	font-weight: 800;
}
.htx-result-view__heading .material-icons {
	font-size: 0.95rem;
}

.htpasswd-output {
	width: 100%;
	min-height: 10rem;
	resize: vertical;
	padding: 1rem;
	border: 0;
	outline: 0;
	background: #0c1310;
	color: #d7f5e5;
	font-family: var(--htx-code);
	font-size: 0.8rem;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.htx-result-actions {
	display: grid;
	gap: 0.45rem;
}
.htx-button--download {
	width: 100%;
	border: 1px solid rgba(255, 182, 74, 0.25);
	background: rgba(255, 182, 74, 0.09);
	color: var(--htx-amber);
}
.htx-button--download:hover {
	background: rgba(255, 182, 74, 0.15);
}
.htx-result-actions small {
	color: #879990;
	font-size: 0.63rem;
	text-align: center;
}

.htx-guide {
	max-width: 64rem;
	margin: clamp(4.5rem, 9vw, 8rem) auto 4rem;
}

.htx-guide section {
	scroll-margin-top: 6rem;
}
.htx-guide section + section {
	margin-top: 4rem;
	padding-top: 4rem;
	border-top: 1px solid var(--htx-line);
}
.htx-guide__intro {
	max-width: 51rem;
}
.htx-guide__kicker {
	margin: 0 0 0.75rem;
	color: var(--htx-green);
	font-family: var(--htx-code);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.htx-guide h2 {
	margin: 0 0 1.3rem;
	font-size: clamp(1.85rem, 3.8vw, 2.85rem);
	font-weight: 760;
	letter-spacing: -0.045em;
	line-height: 1.08;
	text-wrap: balance;
}
.htx-guide h3 {
	font-size: 1.02rem;
	font-weight: 850;
}
.htx-guide p,
.htx-guide li {
	color: #455a50;
	font-size: 1rem;
	line-height: 1.78;
}

.htx-guide__toc {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.6rem;
	margin: 2rem 0 0;
	padding: 0.7rem;
	border: 1px solid var(--htx-line);
	border-radius: 1rem;
	background: var(--htx-paper);
}
.htx-guide__toc a {
	padding: 0.7rem;
	border-radius: 0.65rem;
	color: #345247;
	font-size: 0.76rem;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}
.htx-guide__toc a:hover {
	background: #fff;
	color: var(--htx-green-dark);
}

.htx-flow {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
	align-items: stretch;
	gap: 0.65rem;
	margin: 2rem 0;
}
.htx-flow > div {
	display: flex;
	min-height: 9rem;
	flex-direction: column;
	padding: 1rem;
	border: 1px solid var(--htx-line);
	border-radius: 0.9rem;
	background: #fafbf8;
}
.htx-flow > div > .material-icons {
	margin-bottom: auto;
	color: var(--htx-green);
	font-size: 1.55rem;
}
.htx-flow > div strong {
	margin-top: 0.8rem;
	font-size: 0.82rem;
}
.htx-flow > div small {
	margin-top: 0.2rem;
	color: var(--htx-muted);
	font-size: 0.66rem;
	line-height: 1.35;
}
.htx-flow > .material-icons {
	align-self: center;
	color: var(--htx-green);
	font-size: 1.2rem;
}
.htx-flow > .htx-flow__accent {
	border-color: transparent;
	background: #e8f5dc;
	box-shadow: inset 0 -4px 0 var(--htx-lime);
}

.htx-target-grid,
.htx-snippet-grid,
.htx-security-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.7rem;
}
.htx-target-card {
	padding: 1.3rem;
	border: 1px solid var(--htx-line);
	border-radius: 1rem;
	background: #fafbf8;
}
.htx-target-card--compose {
	background: #fff6e9;
	border-color: rgba(183, 113, 17, 0.16);
}
.htx-target-card__tag {
	display: inline-flex;
	padding: 0.28rem 0.45rem;
	border-radius: 0.35rem;
	background: var(--htx-ink);
	color: #fff;
	font-family: var(--htx-code);
	font-size: 0.58rem;
	font-weight: 900;
	letter-spacing: 0.1em;
}
.htx-target-card--compose .htx-target-card__tag {
	background: #9a5e0d;
}
.htx-target-card h3 {
	margin: 1rem 0 0.5rem;
}
.htx-target-card p {
	margin-bottom: 1rem;
	font-size: 0.86rem;
}
.htx-target-card > code {
	display: block;
	overflow-x: auto;
	padding: 0.75rem;
	border-radius: 0.6rem;
	background: var(--htx-terminal);
	color: #dff3e8;
	white-space: nowrap;
}

.htx-snippet {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(15, 38, 29, 0.2);
	border-radius: 1rem;
	background: var(--htx-terminal);
}
.htx-snippet header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #9fb0a7;
	font-family: var(--htx-code);
	font-size: 0.65rem;
}
.htx-snippet button {
	display: grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.45rem;
	background: transparent;
	color: var(--htx-lime);
}
.htx-snippet button .material-icons {
	font-size: 0.95rem;
}
.htx-snippet pre {
	min-height: 9rem;
	margin: 0;
	overflow-x: auto;
	padding: 1rem;
	color: #d9eee2;
	font-family: var(--htx-code);
	font-size: 0.72rem;
	line-height: 1.65;
}

.htx-cost-ladder {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.7rem;
	margin-top: 1.8rem;
}
.htx-cost-ladder > div {
	position: relative;
	display: grid;
	align-content: start;
	min-height: 11rem;
	gap: 0.4rem;
	padding: 1rem;
	border: 1px solid var(--htx-line);
	border-radius: 0.9rem;
	background: #fafbf8;
}
.htx-cost-ladder strong {
	color: var(--htx-green);
	font-family: var(--htx-code);
	font-size: 1.5rem;
}
.htx-cost-ladder span {
	font-size: 0.8rem;
	font-weight: 850;
}
.htx-cost-ladder small {
	color: var(--htx-muted);
	font-size: 0.7rem;
	line-height: 1.45;
}
.htx-cost-ladder .is-recommended {
	border-color: rgba(8, 127, 91, 0.24);
	background: #eaf5e1;
	box-shadow: inset 0 -4px 0 var(--htx-lime);
}
.htx-cost-ladder .is-recommended::before {
	position: absolute;
	top: -0.55rem;
	right: 0.65rem;
	padding: 0.22rem 0.4rem;
	border-radius: 999px;
	background: var(--htx-green);
	color: #fff;
	content: 'DEFAULT';
	font-family: var(--htx-code);
	font-size: 0.52rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.htx-security-grid {
	grid-template-columns: repeat(4, 1fr);
}
.htx-security-grid > div {
	padding: 1rem;
	border-top: 3px solid var(--htx-green);
	background: var(--htx-paper);
}
.htx-security-grid .material-icons {
	color: var(--htx-green);
}
.htx-security-grid h3 {
	margin: 0.8rem 0 0.35rem;
}
.htx-security-grid p {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.55;
}

.htx-sources ul {
	display: grid;
	gap: 0.65rem;
	padding: 0;
	list-style: none;
}
.htx-sources a {
	display: block;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--htx-line);
	border-radius: 0.7rem;
	color: var(--htx-green-dark);
	font-weight: 750;
	text-decoration: none;
}
.htx-sources a:hover {
	border-color: rgba(8, 127, 91, 0.35);
	background: #f3f8f0;
}

.htx-faq details {
	border-top: 1px solid var(--htx-line);
}
.htx-faq details:last-child {
	border-bottom: 1px solid var(--htx-line);
}
.htx-faq summary {
	position: relative;
	padding: 1.1rem 2.7rem 1.1rem 0;
	cursor: pointer;
	font-weight: 820;
	list-style: none;
}
.htx-faq summary::-webkit-details-marker {
	display: none;
}
.htx-faq summary::after {
	position: absolute;
	top: 1rem;
	right: 0.25rem;
	color: var(--htx-green);
	content: '+';
	font-family: var(--htx-code);
	font-size: 1.35rem;
}
.htx-faq details[open] summary::after {
	content: '−';
}
.htx-faq details p {
	margin: 0 0 1.1rem;
	font-size: 0.9rem;
}

@media (max-width: 991.98px) {
	.htx-hero {
		grid-template-columns: 1fr;
	}
	.htx-hero__terminal {
		width: min(100%, 34rem);
		transform: none;
	}
	.htx-workspace {
		grid-template-columns: 1fr;
	}
	.htx-panel--output {
		position: static;
	}
	.htx-guide__toc,
	.htx-cost-ladder,
	.htx-security-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.htx-flow {
		grid-template-columns: 1fr;
	}
	.htx-flow > .material-icons {
		transform: rotate(90deg);
	}
}

@media (max-width: 575.98px) {
	.htx-page {
		padding-right: 0.75rem;
		padding-left: 0.75rem;
	}
	.htx-hero {
		padding: 1.45rem;
		border-radius: 1.2rem;
	}
	.htx-hero h1 {
		font-size: 2.1rem;
		overflow-wrap: anywhere;
	}
	.htx-hero__copy > p {
		overflow-wrap: anywhere;
	}
	.htx-hero__terminal {
		display: none;
	}
	.htx-form-grid {
		grid-template-columns: 1fr;
	}
	.htx-field--wide {
		grid-column: auto;
	}
	.htx-form-actions {
		align-items: stretch;
		flex-direction: column;
	}
	.htx-form-actions p {
		max-width: none;
	}
	.htx-target-grid,
	.htx-snippet-grid,
	.htx-security-grid,
	.htx-cost-ladder,
	.htx-guide__toc {
		grid-template-columns: 1fr;
	}
	.htx-mode-switch {
		grid-template-columns: 1fr;
	}
	.htx-panel__header {
		padding: 1rem;
	}
	.htx-live-badge {
		display: none;
	}
	.htx-result-view__heading {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.htx-page *,
	.htx-page *::before,
	.htx-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
