/* Hatix public website (hat/www). Style follows neritan.tech: light slate, Geist Sans, bold
   headings, white bordered cards, dark icon tiles, indigo → purple pill buttons. */

@font-face {
	font-family: "Geist";
	src: url("/assets/hat/fonts/geist/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--hx-bg: #f8fafc; /* slate-50 */
	--hx-surface: #ffffff;
	--hx-soft: #f1f5f9; /* slate-100 */
	--hx-line: #e2e8f0; /* slate-200 */
	--hx-line-strong: #cbd5e1; /* slate-300 */
	--hx-ink: #0f172a; /* slate-900 */
	--hx-text: #334155; /* slate-700 */
	--hx-muted: #64748b; /* slate-500 */
	--hx-indigo: #4f46e5; /* indigo-600 */
	--hx-purple: #9333ea; /* purple-600 */
	--hx-purple-soft: #faf5ff; /* purple-50 */
	--hx-purple-line: #e9d5ff; /* purple-200 */
	--hx-gradient: linear-gradient(to right, var(--hx-indigo), var(--hx-purple));
	--hx-rainbow: linear-gradient(to right, #60a5fa, #a855f7, #f472b6);
	--hx-radius: 12px;
	--hx-radius-sm: 8px;
	--hx-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.06);
	--hx-shadow-lg: 0 20px 40px -12px rgb(15 23 42 / 0.18);
	--hx-max: 1200px;
	--hx-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body.hx {
	margin: 0;
	background: var(--hx-bg);
	color: var(--hx-text);
	font-family: var(--hx-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.hx img {
	max-width: 100%;
	height: auto;
}

.hx a {
	color: var(--hx-indigo);
	text-decoration: none;
}

.hx a:hover {
	text-decoration: underline;
}

.hx h1,
.hx h2,
.hx h3 {
	color: var(--hx-ink);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0;
}

.hx p {
	margin: 0;
}

.hx-icon {
	flex: none;
	display: block;
}

.hx-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hx-skip {
	position: absolute;
	left: -999px;
	top: 8px;
	z-index: 100;
	background: var(--hx-ink);
	color: #fff !important;
	padding: 8px 16px;
	border-radius: var(--hx-radius-sm);
}

.hx-skip:focus {
	left: 8px;
}

.hx :focus-visible {
	outline: 2px solid var(--hx-indigo);
	outline-offset: 2px;
}

.hx-container {
	width: 100%;
	max-width: var(--hx-max);
	margin: 0 auto;
	padding: 0 24px;
}

.hx-muted {
	color: var(--hx-muted);
}

/* Navigation ------------------------------------------------------------------------------------ */

.hx-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(248 250 252 / 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.hx-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 72px;
}

.hx-logo {
	display: flex;
	align-items: center;
}

.hx-logo img {
	height: 36px;
	width: auto;
}

.hx-rainbow {
	height: 2px;
	background: var(--hx-rainbow);
	opacity: 0.8;
}

.hx-menu {
	display: flex;
	align-items: center;
	gap: 24px;
}

.hx-links {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hx-links a {
	display: block;
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--hx-text);
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.15s;
}

.hx-links a:hover,
.hx-links a.active {
	background: var(--hx-line);
	color: var(--hx-ink);
	text-decoration: none;
}

.hx-nav-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hx-nav-toggle {
	display: none;
	border: 1px solid var(--hx-line);
	background: var(--hx-surface);
	color: var(--hx-ink);
	border-radius: var(--hx-radius-sm);
	padding: 8px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.hx-nav-toggle {
		display: block;
	}

	.hx-menu {
		display: none;
		position: absolute;
		top: 74px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px 24px 24px;
		background: var(--hx-surface);
		border-bottom: 1px solid var(--hx-line);
		box-shadow: var(--hx-shadow);
	}

	.hx-nav.open .hx-menu {
		display: flex;
	}

	.hx-links {
		flex-direction: column;
	}

	.hx-links a {
		border-radius: var(--hx-radius-sm);
		font-size: 16px;
	}

	.hx-nav-actions .hx-btn {
		flex: 1;
	}
}

/* Buttons --------------------------------------------------------------------------------------- */

.hx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	cursor: pointer;
	transition:
		transform 0.15s,
		box-shadow 0.15s,
		background-color 0.15s;
}

.hx .hx-btn:hover {
	text-decoration: none;
}

.hx .hx-btn-primary {
	background: var(--hx-ink) var(--hx-gradient);
	color: #fff;
	box-shadow: var(--hx-shadow);
}

.hx .hx-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: var(--hx-shadow-lg);
}

.hx .hx-btn-dark {
	background: var(--hx-ink);
	color: #fff;
}

.hx .hx-btn-dark:hover {
	background: #1e293b;
}

.hx .hx-btn-ghost {
	color: var(--hx-ink);
	background: transparent;
}

.hx .hx-btn-ghost:hover {
	background: var(--hx-line);
}

.hx .hx-btn-outline {
	color: var(--hx-ink);
	background: var(--hx-surface);
	border-color: var(--hx-line-strong);
}

.hx .hx-btn-outline:hover {
	border-color: var(--hx-ink);
}

.hx-btn-lg {
	padding: 14px 32px;
	font-size: 15px;
}

.hx-btn[disabled] {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}

/* Sections -------------------------------------------------------------------------------------- */

.hx-section {
	padding: 96px 0;
	position: relative;
}

.hx-section-white {
	background: var(--hx-surface);
	border-top: 1px solid var(--hx-line);
	border-bottom: 1px solid var(--hx-line);
}

.hx-section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 56px;
}

.hx-section-head h2 {
	font-size: clamp(32px, 4.5vw, 48px);
	font-weight: 700;
}

.hx-section-head h2::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	border-radius: 2px;
	background: var(--hx-ink);
	margin: 20px auto 0;
}

.hx-section-head p {
	margin-top: 20px;
	font-size: 18px;
	color: var(--hx-muted);
}

.hx-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--hx-purple-soft);
	border: 1px solid var(--hx-purple-line);
	color: #7e22ce;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 24px;
}

.hx-kicker::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hx-gradient);
}

.hx-gradient-text {
	background: var(--hx-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Soft pastel circles, as on neritan.tech */
.hx-blob {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.hx-blob-blue {
	background: #eff6ff;
}

.hx-blob-purple {
	background: #f5f3ff;
}

.hx-blob-pink {
	background: #fdf2f8;
}

/* Hero ------------------------------------------------------------------------------------------ */

.hx-hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 104px;
}

.hx-hero .hx-container {
	position: relative;
	z-index: 1;
}

.hx-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 64px;
	align-items: center;
}

.hx-hero h1 {
	font-size: clamp(40px, 6.5vw, 76px);
	font-weight: 700;
	letter-spacing: -0.035em;
}

.hx-hero-intro {
	margin-top: 24px;
	font-size: 19px;
	color: var(--hx-muted);
	max-width: 560px;
}

.hx-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.hx-page-hero {
	padding: 80px 0 64px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hx-page-hero .hx-container {
	position: relative;
	z-index: 1;
	max-width: 820px;
}

.hx-page-hero h1 {
	font-size: clamp(36px, 5.5vw, 64px);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.hx-page-hero p {
	margin: 24px auto 0;
	font-size: 19px;
	color: var(--hx-muted);
	max-width: 640px;
}

.hx-page-hero .hx-hero-actions {
	justify-content: center;
}

/* Illustration: offers for one product, side by side */
.hx-visual {
	position: relative;
	display: grid;
	place-items: center;
	padding: 24px;
}

.hx-ring {
	position: absolute;
	width: 420px;
	height: 420px;
	max-width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(from 200deg, #60a5fa, var(--hx-indigo), var(--hx-purple), #f472b6, #60a5fa);
	opacity: 0.16;
	filter: blur(2px);
}

.hx-mock {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: var(--hx-surface);
	border: 1px solid var(--hx-line);
	border-radius: 16px;
	box-shadow: var(--hx-shadow-lg);
	padding: 20px;
}

.hx-mock-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--hx-line);
}

.hx-mock-title {
	font-weight: 600;
	color: var(--hx-ink);
}

.hx-mock-sub {
	font-size: 13px;
	color: var(--hx-muted);
}

.hx-mock-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px dashed var(--hx-line);
	font-size: 14px;
}

.hx-mock-row:last-of-type {
	border-bottom: 0;
}

.hx-mock-bar {
	height: 8px;
	border-radius: 4px;
	background: var(--hx-soft);
}

.hx-mock-best {
	font-size: 12px;
	font-weight: 600;
	color: #15803d;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 999px;
	padding: 2px 10px;
}

.hx-mock-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.hx-mock-cart {
	margin-top: 16px;
	display: flex;
	justify-content: flex-end;
}

.hx-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: var(--hx-surface);
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius);
	box-shadow: var(--hx-shadow);
	font-size: 13px;
	font-weight: 500;
	color: var(--hx-ink);
	animation: hx-float 6s ease-in-out infinite;
}

.hx-float-1 {
	top: 6%;
	right: -4%;
}

.hx-float-2 {
	bottom: 8%;
	left: -6%;
	animation-delay: -3s;
}

@keyframes hx-float {
	50% {
		transform: translateY(-8px);
	}
}

/* Cards and tiles ------------------------------------------------------------------------------- */

.hx-grid {
	display: grid;
	gap: 24px;
}

.hx-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.hx-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.hx-card {
	background: var(--hx-surface);
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius);
	padding: 28px;
	transition:
		box-shadow 0.2s,
		transform 0.2s;
}

.hx-card:hover {
	box-shadow: var(--hx-shadow);
	transform: translateY(-2px);
}

.hx-card h3 {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.hx-card p {
	margin-top: 10px;
	color: var(--hx-muted);
}

.hx-card-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hx-tile {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--hx-ink);
	color: #fff;
	flex: none;
}

.hx-tile-gradient {
	background: var(--hx-gradient);
}

.hx-chip {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--hx-soft);
	border: 1px solid var(--hx-line);
	color: var(--hx-text);
	font-size: 12px;
	font-weight: 500;
}

/* Steps */
.hx-steps {
	counter-reset: step;
}

.hx-step {
	position: relative;
	padding-top: 84px;
}

.hx-step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	position: absolute;
	left: 28px;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.04em;
	background: var(--hx-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1;
	top: 28px;
}

/* Audience split */
.hx-audience {
	padding: 40px;
	border-radius: 20px;
	border: 1px solid var(--hx-line);
	background: var(--hx-surface);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hx-audience-dark {
	background: var(--hx-ink);
	border-color: var(--hx-ink);
	color: #cbd5e1;
}

.hx-audience-dark h3 {
	color: #fff;
}

.hx-audience h3 {
	font-size: 28px;
	font-weight: 700;
}

.hx-checks {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}

.hx-checks li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.hx-checks .hx-icon {
	margin-top: 3px;
	color: var(--hx-purple);
}

.hx-audience-dark .hx-checks .hx-icon {
	color: #c4b5fd;
}

.hx-audience .hx-btn {
	align-self: flex-start;
	margin-top: auto;
}

.hx-audience-dark .hx-btn-outline {
	background: transparent;
	color: #fff;
	border-color: #475569;
}

.hx-audience-dark .hx-btn-outline:hover {
	border-color: #fff;
}

/* Call to action band */
.hx-cta {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	padding: 64px 40px;
	text-align: center;
	background: var(--hx-ink);
	color: #cbd5e1;
}

.hx-cta::before {
	content: "";
	position: absolute;
	inset: -40% -10% auto auto;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: var(--hx-gradient);
	opacity: 0.35;
	filter: blur(60px);
}

.hx-cta > * {
	position: relative;
}

.hx-cta h2 {
	color: #fff;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 700;
}

.hx-cta p {
	margin: 16px auto 0;
	max-width: 520px;
	font-size: 18px;
}

.hx-cta .hx-hero-actions {
	justify-content: center;
}

.hx-cta .hx-btn-outline {
	background: transparent;
	color: #fff;
	border-color: #475569;
}

/* FAQ */
.hx-faq {
	max-width: 820px;
	margin: 0 auto;
	display: grid;
	gap: 12px;
}

.hx-faq details {
	background: var(--hx-surface);
	border: 1px solid var(--hx-line);
	border-radius: var(--hx-radius);
	padding: 0 24px;
}

.hx-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 0;
	font-weight: 600;
	color: var(--hx-ink);
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.hx-faq summary::-webkit-details-marker {
	display: none;
}

.hx-faq summary::after {
	content: "+";
	font-size: 22px;
	line-height: 1;
	color: var(--hx-muted);
	transition: transform 0.2s;
}

.hx-faq details[open] summary::after {
	transform: rotate(45deg);
}

.hx-faq details p {
	padding-bottom: 20px;
	color: var(--hx-muted);
}

/* Prose (about, legal) */
.hx-prose {
	max-width: 760px;
	margin: 0 auto;
}

.hx-prose h2 {
	font-size: 22px;
	font-weight: 600;
	margin: 40px 0 12px;
}

.hx-prose p + p {
	margin-top: 12px;
}

.hx-draft {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 12px 16px;
	border-radius: var(--hx-radius-sm);
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
	font-size: 14px;
	margin-bottom: 8px;
}

/* Forms ----------------------------------------------------------------------------------------- */

.hx-form-card {
	background: var(--hx-surface);
	border: 1px solid var(--hx-line);
	border-radius: 16px;
	padding: 32px;
	box-shadow: var(--hx-shadow);
}

.hx-form-card > h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 24px;
}

.hx-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.hx-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hx-field-full {
	grid-column: 1 / -1;
}

.hx-field label,
.hx-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--hx-ink);
}

.hx-field label .hx-req {
	color: var(--hx-purple);
}

.hx-field input,
.hx-field select,
.hx-field textarea {
	font: inherit;
	font-size: 15px;
	color: var(--hx-ink);
	background: var(--hx-surface);
	border: 1px solid var(--hx-line-strong);
	border-radius: var(--hx-radius-sm);
	padding: 10px 12px;
	width: 100%;
	transition:
		border-color 0.15s,
		box-shadow 0.15s;
}

.hx-field textarea {
	min-height: 120px;
	resize: vertical;
}

.hx-field input:focus,
.hx-field select:focus,
.hx-field textarea:focus {
	outline: none;
	border-color: var(--hx-indigo);
	box-shadow: 0 0 0 3px rgb(79 70 229 / 0.15);
}

.hx-field input:user-invalid,
.hx-field textarea:user-invalid {
	border-color: #dc2626;
}

.hx-hint {
	font-size: 13px;
	color: var(--hx-muted);
}

.hx-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hx-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
}

.hx-check input {
	margin-top: 4px;
	width: 16px;
	height: 16px;
	accent-color: var(--hx-indigo);
}

.hx-segment {
	position: relative;
	display: inline-grid;
	grid-auto-flow: column;
	gap: 4px;
	padding: 4px;
	background: var(--hx-soft);
	border: 1px solid var(--hx-line);
	border-radius: 999px;
}

.hx-segment input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.hx-segment label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 500;
	color: var(--hx-text);
}

.hx-segment input:checked + label {
	background: var(--hx-surface);
	color: var(--hx-ink);
	box-shadow: 0 1px 3px rgb(15 23 42 / 0.12);
}

.hx-segment input:focus-visible + label {
	outline: 2px solid var(--hx-indigo);
}

.hx-form [data-for] {
	display: contents;
}

.hx-form [data-for][hidden] {
	display: none;
}

.hx-form-error {
	grid-column: 1 / -1;
	padding: 12px 16px;
	border-radius: var(--hx-radius-sm);
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-size: 14px;
}

.hx-form-actions {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.hx-done {
	text-align: center;
	padding: 24px 8px;
}

.hx-done .hx-tile {
	margin: 0 auto 20px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

.hx-done h2 {
	font-size: 28px;
	font-weight: 700;
}

.hx-done p {
	margin-top: 12px;
	color: var(--hx-muted);
}

.hx-side {
	display: grid;
	gap: 16px;
	align-content: start;
}

.hx-side .hx-card:hover {
	transform: none;
}

.hx-contact-line {
	display: flex;
	gap: 14px;
	align-items: center;
}

.hx-contact-line + .hx-contact-line {
	margin-top: 16px;
}

.hx-contact-line small {
	display: block;
	color: var(--hx-muted);
	font-size: 13px;
}

.hx-contact-line a,
.hx-contact-line span {
	color: var(--hx-ink);
	font-weight: 500;
	white-space: pre-line;
}

.hx-next {
	list-style: none;
	counter-reset: next;
	padding: 0;
	margin: 16px 0 0;
	display: grid;
	gap: 14px;
}

.hx-next li {
	counter-increment: next;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--hx-text);
}

.hx-next li::before {
	content: counter(next);
	flex: none;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--hx-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.hx-layout-form {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 32px;
	align-items: start;
}

/* Footer and language toggle -------------------------------------------------------------------- */

.hx-footer {
	border-top: 1px solid var(--hx-line);
	background: var(--hx-surface);
	padding: 56px 0 24px;
	margin-top: 96px;
	font-size: 14px;
}

.hx-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 32px;
}

.hx-footer-grid img {
	height: 32px;
	width: auto;
	margin-bottom: 16px;
}

.hx-footer-title {
	font-size: 13px !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em !important;
	color: var(--hx-ink);
	margin-bottom: 14px !important;
}

.hx-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

.hx-footer ul a {
	color: var(--hx-text);
}

.hx-footer-bottom {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--hx-line);
	color: var(--hx-muted);
}

.hx-lang {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 60;
	display: flex;
	box-shadow: var(--hx-shadow);
	border-radius: var(--hx-radius-sm);
	overflow: hidden;
	border: 1px solid var(--hx-line);
}

.hx-lang button {
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border: 0;
	background: var(--hx-surface);
	color: var(--hx-ink);
	cursor: pointer;
}

.hx-lang button.active {
	background: var(--hx-ink);
	color: #fff;
}

/* Reveal: elements fade up the first time they scroll into view. Only with JS (.hx-js on <html>),
   so search engines and visitors without JS see everything. */
.hx-js .hx-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}

.hx-js .hx-reveal.in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.hx-js .hx-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.hx-float {
		animation: none;
	}
}

/* Responsive ------------------------------------------------------------------------------------ */

@media (max-width: 1000px) {
	.hx-hero-grid,
	.hx-layout-form {
		grid-template-columns: 1fr;
	}

	.hx-visual {
		max-width: 460px;
		margin: 0 auto;
	}

	.hx-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.hx-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 680px) {
	.hx-container {
		padding: 0 18px;
	}

	.hx-section {
		padding: 64px 0;
	}

	.hx-hero {
		padding: 48px 0 64px;
	}

	.hx-page-hero {
		padding: 56px 0 40px;
	}

	.hx-grid-3,
	.hx-grid-2,
	.hx-form {
		grid-template-columns: 1fr;
	}

	.hx-form-card,
	.hx-audience {
		padding: 24px;
	}

	.hx-cta {
		padding: 48px 24px;
	}

	.hx-float {
		display: none;
	}

	.hx-footer-grid {
		grid-template-columns: 1fr;
	}

	.hx-lang {
		right: 12px;
		bottom: 12px;
	}

	.hx-hero-actions .hx-btn {
		flex: 1 1 100%;
	}
}
