/* Hallmark · v2.0.0 · custom · kota-desk · surface: absolute · posture: committed · nav: edge wordmark+one action · footer: mast links · hero: dial-stage · signature: the deck re-skin on the swatch wall */
/* critique: trading-desk grammar on the brand's own triad; the product's real tiles carry every screen */
/* Hallmark · waive 26b · guard: no form controls on this page and no aria-disabled anywhere · nothing to render disabled */
/* Hallmark · waive 38iii · guard: the tinted line appears once on the page, in the hero, as the brand's signature · it is the brand's own signature tint word */
:root {
	--bg: #0b0c0f;
	--bg-2: #0f1013;
	--graphite: #17181a;
	--panel: rgba(255, 255, 255, 0.032);
	--panel-2: rgba(255, 255, 255, 0.056);
	--line: rgba(255, 255, 255, 0.085);
	--line-2: rgba(255, 255, 255, 0.16);
	--line-3: rgba(255, 255, 255, 0.28);
	--ink: #edeeef;
	--ink-2: #b9bcc1;
	--muted: #8e9299;
	--faint: #71757d;
	--sky: #63ccff;
	--mint: #23c892;
	--ember: #fa520f;
	--warn: #e5a12e;
	--danger: #f2564f;
	--track: #26282c;
	--accent: #63ccff;
	--btn-ink: #101216;
	--btn-glow: rgba(237, 238, 239, 0.35);
	--device-face-1: #232529;
	--device-face-2: #17181b;
	--device-edge: rgba(255, 255, 255, 0.07);
	--device-edge-2: rgba(255, 255, 255, 0.045);
	--knob-face-1: #3a3d43;
	--knob-face-2: #202226;
	--knob-edge: rgba(255, 255, 255, 0.12);
	--knob-ink: rgba(255, 255, 255, 0.35);
	--knob-shade-1: rgba(0, 0, 0, 0.55);
	--knob-shade-2: rgba(0, 0, 0, 0.4);
	--key-off: #101114;
	--device-inset: rgba(255, 255, 255, 0.06);
	--swatch-ring: rgba(99, 204, 255, 0.35);
	--radius-lg: 20px;
	--radius: 14px;
	--radius-sm: 10px;
	--wrap: 1180px;
	--gap: 16px;
	--col-gap: 48px;
	--font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-num: "Inter Tight", ui-monospace, "SF Mono", "Cascadia Mono", monospace;
	--ease: cubic-bezier(0.22, 0.61, 0.21, 1);
	--shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
	--glow-sky: rgba(99, 204, 255, 0.13);
	--glow-mint: rgba(35, 200, 146, 0.1);
	--glow-ember: rgba(250, 82, 15, 0.09);
}

@font-face {
	font-family: "Inter Tight";
	src: url("fonts/inter-tight-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter Tight";
	src: url("fonts/inter-tight-500.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter Tight";
	src: url("fonts/inter-tight-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter Tight";
	src: url("fonts/inter-tight-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter Tight";
	src: url("fonts/inter-tight-800.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

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

html {
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	overflow-x: clip;
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16.5px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
}

:focus-visible {
	outline: 2px solid var(--sky);
	outline-offset: 3px;
	border-radius: 4px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.skip {
	position: fixed;
	top: -48px;
	left: 16px;
	z-index: 100;
	padding: 8px 16px;
	background: var(--graphite);
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	transition: top 0.18s var(--ease);
}
.skip:focus-visible {
	top: 16px;
}

.wrap {
	width: min(var(--wrap), calc(100% - 48px));
	margin-inline: auto;
}

h1,
h2,
h3 {
	line-height: 1.08;
	letter-spacing: -0.022em;
	font-weight: 800;
	overflow-wrap: break-word;
	min-width: 0;
	margin: 0;
	text-wrap: balance;
}

h2 {
	font-size: clamp(30px, 4.2vw, 46px);
}

p {
	margin: 0;
}

.mono {
	font-family: var(--font-num);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------- nav */
#site-nav {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 72%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
#site-nav.is-scrolled {
	border-bottom-color: var(--line);
	background: color-mix(in srgb, var(--bg) 88%, transparent);
}
#site-nav .wrap {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 64px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-size: 19px;
	letter-spacing: 0.01em;
}
.brand img {
	width: 32px;
	height: 32px;
	border-radius: 8px;
}
.nav-links {
	display: flex;
	gap: 24px;
	margin-inline-start: auto;
}
.nav-links a {
	color: var(--muted);
	font-size: 15px;
	font-weight: 500;
	padding: 8px 2px;
	transition: color 0.16s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="true"] {
	color: var(--ink);
}
.nav-cta {
	display: flex;
	gap: 12px;
	align-items: center;
}
.nav-github {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink-2);
	transition: border-color 0.16s var(--ease), color 0.16s var(--ease), transform 0.16s var(--ease);
}
.nav-github:hover {
	border-color: var(--line-2);
	color: var(--ink);
	transform: translateY(-1px);
}
.nav-github svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ----------------------------------------------------------------- buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	font-weight: 600;
	font-size: 16px;
	border-radius: 12px;
	transition: transform 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease),
		box-shadow 0.16s var(--ease);
}
.btn:active {
	transform: translateY(1px) scale(0.99);
}
.btn-solid {
	background: var(--ink);
	color: var(--btn-ink);
	border: 1px solid transparent;
}
.btn-solid:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -16px var(--btn-glow);
}
.btn-ghost {
	border: 1px solid var(--line-2);
	color: var(--ink);
	background: var(--panel);
}
.btn-ghost:hover {
	transform: translateY(-2px);
	border-color: var(--line-3);
	background: var(--panel-2);
}

.btn-text {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 8px;
	font-weight: 600;
	font-size: 16px;
	color: var(--ink-2);
	border-bottom: 1px solid var(--line-2);
	transition: color 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.btn-text:hover {
	color: var(--ink);
	border-bottom-color: var(--sky);
	transform: translateY(-2px);
}
.btn-text:active {
	transform: translateY(1px);
}

/* ------------------------------------------------------------------- hero */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	padding-top: 136px;
	background:
		radial-gradient(58% 46% at 74% 30%, var(--glow-sky), transparent 70%),
		radial-gradient(40% 34% at 20% 76%, var(--glow-mint), transparent 72%),
		radial-gradient(32% 28% at 88% 84%, var(--glow-ember), transparent 74%),
		var(--bg);
}
.hero .wrap {
	display: grid;
	grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.4fr);
	gap: 24px;
	align-items: center;
	flex: 1;
}
.hero-copy {
	max-width: 560px;
}
.hero h1 {
	font-size: clamp(40px, 5.6vw, 68px);
	margin-bottom: 20px;
}
.hero h1 .tint {
	color: var(--sky);
}
.hero-sub {
	font-size: 19px;
	color: var(--ink-2);
	max-width: 470px;
	margin-bottom: 32px;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 44px;
}
.hero-stats {
	display: flex;
	gap: 36px;
	border-top: 1px solid var(--line);
	padding-top: 24px;
	max-width: 470px;
}
.stat .num {
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.stat .lbl {
	font-size: 14px;
	color: var(--muted);
	margin-top: 8px;
}
.hero-visual {
	position: relative;
	aspect-ratio: 1;
	max-height: 600px;
	margin-inline: auto;
	width: 100%;
	max-width: 620px;
}
#hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	.hero-copy > * {
		animation: rise 0.7s var(--ease) backwards;
	}
	.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
	.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
	.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
	@keyframes rise {
		from {
			opacity: 0;
			transform: translateY(16px);
		}
	}
}

/* ------------------------------------------------------------------ ticker */
.ticker {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--graphite) 55%, transparent);
	padding: 12px 0;
	margin-top: 24px;
}
.ticker-track {
	display: flex;
	gap: 48px;
	width: max-content;
	padding-inline: 24px;
}
.ticker-item {
	margin-right: 48px;
	display: inline-flex;
	align-items: baseline;
	gap: 12px;
	white-space: nowrap;
	font-size: 14.5px;
	color: var(--ink-2);
}
.ticker-item .sym {
	font-weight: 700;
	color: var(--ink);
	letter-spacing: 0.02em;
}
.ticker-item .pct {
	font-weight: 600;
}
.ticker-item .up {
	color: var(--mint);
}
.ticker-item .down {
	color: var(--ember);
}
.ticker-item .win {
	color: var(--faint);
}
@media (prefers-reduced-motion: no-preference) {
	.ticker-track {
		animation: ticker-slide 44s linear infinite;
	}
	.ticker:hover .ticker-track,
	.ticker:focus-within .ticker-track,
	.ticker[data-paused="true"] .ticker-track {
		animation-play-state: paused;
	}
	@keyframes ticker-slide {
		to {
			transform: translateX(-50%);
		}
	}
}
.ticker-pause {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 12px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 999px;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.ticker-pause:hover {
	color: var(--ink);
	border-color: var(--line-2);
}
.ticker::after {
	content: "";
	position: absolute;
	inset-block: 0;
	left: 0;
	width: 72px;
	background: linear-gradient(90deg, var(--bg), transparent);
	pointer-events: none;
}
.ticker::before {
	content: "";
	position: absolute;
	inset-block: 0;
	right: 0;
	width: 72px;
	background: linear-gradient(-90deg, var(--bg), transparent);
	pointer-events: none;
	z-index: 1;
}

/* ---------------------------------------------------------------- sections */
section {
	padding: 112px 0;
	border-top: 1px solid var(--line);
	background: var(--bg);
	color: var(--ink);
}
.section-head {
	max-width: 640px;
	margin-bottom: 48px;
}
.section-head h2 {
	margin-bottom: 16px;
}
.section-sub {
	font-size: 18px;
	color: var(--ink-2);
}

/* ------------------------------------------------------------------- deck */
#desk {
	background:
		radial-gradient(46% 38% at 78% 22%, var(--glow-mint), transparent 72%),
		var(--bg-2);
}
.desk-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: var(--col-gap);
	align-items: center;
}
.desk-points {
	display: grid;
	gap: 24px;
	margin-top: 32px;
}
.point {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 4px;
	padding-left: 20px;
	border-left: 2px solid var(--track);
}
.point strong {
	font-size: 17px;
	font-weight: 700;
}
.point span {
	color: var(--muted);
	font-size: 15.5px;
}

/* the Stream Deck+ slab */
.device {
	background: linear-gradient(180deg, var(--device-face-1), var(--device-face-2));
	border-radius: 28px;
	padding: 24px;
	box-shadow: var(--shadow), inset 0 1px 0 var(--device-inset);
	max-width: 560px;
	margin-inline: auto;
	width: 100%;
}
.device-strip {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--device-edge);
	margin-bottom: 16px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.device-strip img {
	width: 100%;
	height: auto;
}
.device-dials {
	display: flex;
	justify-content: space-between;
	padding: 4px 32px 20px;
}
.device-dials span {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: radial-gradient(circle at 38% 32%, var(--knob-face-1), var(--knob-face-2) 70%);
	border: 1px solid var(--knob-edge);
	box-shadow: inset 0 2px 6px var(--knob-shade-1), 0 4px 8px var(--knob-shade-2);
}
.device-dials span::after {
	content: "";
	display: block;
	width: 4px;
	height: 12px;
	margin: 8px auto 0;
	border-radius: 2px;
	background: var(--knob-ink);
}
.device-keys {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.device-keys img {
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--radius-sm);
	border: 1px solid var(--device-edge);
}
.device-keys img.off {
	background: var(--key-off);
	border-color: var(--device-edge-2);
}

/* ----------------------------------------------------------------- gauges */
#gauges .section-head {
	margin-bottom: 32px;
}
.rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(184px, 1fr);
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 8px 4px 24px;
	margin-inline: calc(50% - 50vw);
	padding-inline: max(24px, calc(50vw - var(--wrap) / 2));
	scrollbar-width: thin;
	scrollbar-color: var(--track) transparent;
}
.tile-card {
	scroll-snap-align: start;
	display: grid;
	gap: 12px;
	border-radius: var(--radius);
	transition: transform 0.18s var(--ease);
}
.tile-card:hover,
.tile-card:focus-visible {
	transform: translateY(-4px);
}
.tile-card img {
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	transition: border-color 0.18s var(--ease);
}
.tile-card:hover img {
	border-color: var(--line-2);
}
.tile-card .tile-name {
	white-space: nowrap;
	font-size: 14px;
	color: var(--ink-2);
	font-weight: 500;
	padding-inline: 2px;
}

/* ------------------------------------------------------------------ decks */
#decks {
	background:
		radial-gradient(40% 30% at 18% 24%, var(--glow-sky), transparent 70%),
		var(--bg-2);
}
.decks-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.4fr);
	gap: var(--col-gap);
	align-items: start;
}
.deck-preview-box {
	position: relative;
	background: var(--graphite);
	border-radius: var(--radius-lg);
	padding: 32px;
	box-shadow: var(--shadow);
}
#deck-preview {
	width: 100%;
	max-width: 328px;
	margin-inline: auto;
	border-radius: 12px;
	transition: opacity 0.28s var(--ease);
}
#deck-preview[data-fading="true"] {
	opacity: 0;
}
.deck-caption {
	text-align: center;
	margin-top: 20px;
}
#deck-name {
	font-size: 18px;
	font-weight: 700;
}
#deck-sub {
	font-size: 13px;
	color: var(--faint);
	margin-top: 4px;
}
.deck-wall {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	gap: 12px;
}
.deck-swatch {
	position: relative;
	aspect-ratio: 1;
	border-radius: 12px;
	background: var(--deck-bg, var(--graphite));
	border: 1px solid var(--line);
	transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.deck-swatch:hover {
	transform: translateY(-2px);
	border-color: var(--line-2);
}
.deck-swatch[aria-checked="true"] {
	border-color: var(--sky);
	box-shadow: 0 0 0 2px var(--swatch-ring);
}

/* --------------------------------------------------------------- security */
.sec-grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr 1fr;
	gap: var(--gap);
}
.sec-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px 28px;
	display: grid;
	gap: 16px;
	align-content: start;
	transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.sec-card:hover {
	border-color: var(--line-2);
	transform: translateY(-2px);
}
.sec-card h3 {
	font-size: 19px;
	letter-spacing: -0.01em;
}
.sec-card p {
	color: var(--muted);
	font-size: 15.5px;
}
.sec-mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--mark, var(--sky)) 12%, transparent);
	color: var(--mark, var(--sky));
}
.sec-mark svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ----------------------------------------------------------------- install */
#install {
	background:
		radial-gradient(36% 30% at 82% 78%, var(--glow-ember), transparent 72%),
		var(--bg-2);
}
.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
	margin-bottom: 48px;
}
.step {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
}
.step h3 {
	font-size: 18.5px;
	margin-bottom: 8px;
}
.step h3::before {
	content: attr(data-n) " ";
	color: var(--sky);
}
.step p {
	color: var(--muted);
	font-size: 15px;
}
.install-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}
.install-note {
	font-size: 14.5px;
	color: var(--faint);
	margin-left: 8px;
}

/* ------------------------------------------------------------------ footer */
footer {
	border-top: 1px solid var(--line);
	padding: 56px 0 44px;
	background: var(--bg);
	color: var(--ink);
}
.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}
.foot-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-weight: 800;
	font-size: 20px;
}
.foot-brand img {
	width: 36px;
	height: 36px;
	border-radius: 8px;
}
.foot-note {
	color: var(--muted);
	font-size: 15px;
	max-width: 480px;
}
.foot-links {
	display: grid;
	gap: 12px;
	justify-items: start;
	font-size: 15px;
	color: var(--ink-2);
}
.foot-links a:hover {
	color: var(--ink);
}
.credits {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--faint);
	font-size: 13px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
	.hero .wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	.hero-visual {
		max-width: 460px;
	}
	.desk-grid,
	.decks-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--col-gap);
	}
	.deck-preview-box {
		order: -1;
	}
	.sec-grid,
	.steps {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.nav-links {
		display: none;
	}
}
@media (max-width: 700px) {
	body {
		font-size: 16px;
	}
	.hero {
		padding-top: 112px;
	}
	.hero-stats {
		gap: 24px;
	}
	.sec-grid,
	.steps {
		grid-template-columns: minmax(0, 1fr);
	}
	.device {
		padding: 16px;
		border-radius: 24px;
	}
	.device-dials {
		padding: 0 24px 16px;
	}
	.device-dials span {
		width: 36px;
		height: 36px;
	}
	.device-dials span::after {
		height: 10px;
		margin-top: 8px;
	}
	.foot-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.ticker-pause {
		display: none;
	}
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.ticker-pause {
		display: none;
	}
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
