/* Trend Tube — site styles */

:root {
	--bg: #07070b;
	--bg-2: #0c0c13;
	--surface: #111119;
	--surface-2: #181823;
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.18);
	--text: #f3f3f7;
	--muted: #a2a2b8;
	--faint: #6c6c84;
	--cyan: #22e4f5;
	--pink: #ff2e6e;
	--violet: #8b5cf6;
	--amber: #ffb02e;
	--grad: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--pink));
	--grad-warm: linear-gradient(135deg, #d62976, #fa7e1e);

	--font-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
	--font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--radius-lg: 28px;
	--radius: 20px;
	--radius-sm: 12px;
	--container: 1240px;
	--gutter: clamp(18px, 5vw, 48px);
	--header-h: 76px;
}

/* ---------- Base ---------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
	background: var(--bg);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

/* Film grain over everything, like a screen up close. */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 100;
	pointer-events: none;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img {
	height: auto;
}

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

button,
input {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

h1,
h2,
h3,
p,
figure {
	margin: 0;
}

::selection {
	background: var(--pink);
	color: #fff;
}

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

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 200;
	padding: 10px 16px;
	background: var(--cyan);
	color: var(--bg);
	border-radius: 8px;
	font-weight: 800;
}

.skip-link:focus {
	top: 12px;
}

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

/* ---------- Type & shared pieces ---------- */

.mono {
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.live {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.live::before {
	content: '';
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--pink);
	box-shadow: 0 0 0 0 rgba(255, 46, 110, 0.6);
	animation: live 1.8s ease-out infinite;
}

.display {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.005em;
	line-height: 0.92;
}

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

.glitch {
	position: relative;
	display: inline-block;
	text-shadow:
		-0.035em -0.015em 0 rgba(34, 228, 245, 0.85),
		0.035em 0.015em 0 rgba(255, 46, 110, 0.85);
}

.sec-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
	align-items: end;
	gap: 24px 56px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.sec-head h2 {
	margin-top: 18px;
	font-size: clamp(48px, 7vw, 108px);
}

.sec-head p {
	color: var(--muted);
	font-size: clamp(16px, 1.4vw, 18px);
	line-height: 1.7;
}

.section {
	position: relative;
	padding: clamp(80px, 11vw, 140px) 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 12px 24px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: transparent;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.01em;
	transition:
		transform 0.2s ease,
		box-shadow 0.25s ease,
		border-color 0.2s ease,
		background-color 0.2s ease;
}

.btn svg {
	width: 19px;
	height: 19px;
	flex: none;
}

.btn:hover {
	transform: translateY(-2px);
	border-color: var(--text);
}

.btn-grad {
	border: 0;
	background: var(--grad);
	color: var(--bg);
	box-shadow: 0 10px 30px -12px rgba(139, 92, 246, 0.8);
}

.btn-grad:hover {
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.4) inset,
		0 16px 40px -12px rgba(255, 46, 110, 0.8);
}

.btn-warm {
	border: 0;
	background: var(--grad-warm);
	color: #fff;
	box-shadow: 0 10px 30px -12px rgba(250, 126, 30, 0.8);
}

.btn-sm {
	min-height: 44px;
	padding: 8px 16px;
	font-size: 14.5px;
}

/* Card with a hairline border that lights up in the brand gradient on hover. */
.glass {
	border: 1px solid transparent;
	border-radius: var(--radius);
	background:
		linear-gradient(var(--surface), var(--surface)) padding-box,
		linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)) border-box;
}

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease;
	border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.legal-page .site-header,
.lost-page .site-header {
	background: rgba(7, 7, 11, 0.86);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom-color: var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.brand img {
	width: 44px;
	height: 44px;
	transition: transform 0.3s ease;
}

.brand:hover img {
	transform: rotate(-6deg) scale(1.06);
}

.wordmark {
	font-family: var(--font-display);
	font-size: 27px;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
}

.wordmark span {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.site-nav > a:not(.btn) {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--muted);
	transition: color 0.2s ease;
}

.site-nav > a:not(.btn) small {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--faint);
}

.site-nav > a:not(.btn):hover {
	color: var(--text);
}

.site-nav .btn {
	margin-left: 10px;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: transparent;
}

.menu-toggle svg {
	width: 22px;
	height: 22px;
}

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

.hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-h) + clamp(30px, 5vw, 70px)) 0 clamp(50px, 6vw, 80px);
	isolation: isolate;
}

.hero::before,
.hero::after {
	content: '';
	position: absolute;
	z-index: -1;
	width: 60vw;
	height: 60vw;
	max-width: 900px;
	max-height: 900px;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.32;
	pointer-events: none;
}

.hero::before {
	top: -30%;
	left: -18%;
	background: var(--cyan);
}

.hero::after {
	bottom: -40%;
	right: -14%;
	background: var(--pink);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
}

.hero h1 {
	margin: 24px 0 26px;
	font-size: clamp(68px, 10.5vw, 168px);
}

.hero h1 span {
	display: block;
}

.hero-lead {
	max-width: 540px;
	color: var(--muted);
	font-size: clamp(17px, 1.5vw, 19px);
	line-height: 1.7;
}

.hero-lead strong {
	color: var(--text);
	font-weight: 700;
}

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

/* Vertical "shorts" feed: three columns of reels drifting past. */
.feed {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	height: min(680px, 78vh);
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

.feed-col {
	overflow: hidden;
}

.feed-col:nth-child(2) {
	margin-top: -60px;
}

.feed-track {
	display: grid;
	gap: 14px;
	animation: feed-up var(--speed, 38s) linear infinite;
}

.feed-col:nth-child(2) .feed-track {
	animation-direction: reverse;
}

.feed:hover .feed-track {
	animation-play-state: paused;
}

.reel {
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: 18px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}

.reel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reel::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 7, 11, 0.85), transparent 45%);
}

.reel-tag {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 1;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.reel-tag b {
	display: block;
	margin-top: 4px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--muted);
}

.reel-side {
	position: absolute;
	right: 10px;
	bottom: 14px;
	z-index: 1;
	display: grid;
	gap: 12px;
}

.reel-side svg {
	width: 20px;
	height: 20px;
	color: #fff;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.reel-side svg:first-child {
	color: var(--pink);
	fill: var(--pink);
}

.reel--type {
	display: grid;
	place-items: center;
	background: var(--tone, var(--grad));
}

.reel--type::after {
	background: linear-gradient(to top, rgba(7, 7, 11, 0.45), transparent 50%);
}

.reel--type > span {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--bg);
}

.reel--type > span svg {
	width: 40px;
	height: 40px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(48px, 6vw, 80px) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.stats li {
	padding: 26px 24px 0;
	border-left: 1px solid var(--line);
}

.stats li:first-child {
	padding-left: 0;
	border-left: 0;
}

.stats strong {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(40px, 4.6vw, 68px);
	font-weight: 400;
	line-height: 1;
}

.stats span {
	display: block;
	margin-top: 10px;
}

/* ---------- Ticker ---------- */

.ticker {
	overflow: hidden;
	padding: 20px 0;
	border-block: 1px solid var(--line);
	background: var(--bg-2);
}

.ticker-track {
	display: flex;
	width: max-content;
	animation: marquee 40s linear infinite;
}

.ticker-group {
	display: flex;
	flex: none;
	align-items: center;
}

.ticker-group span {
	padding: 0 22px;
	font-family: var(--font-display);
	font-size: clamp(34px, 4.6vw, 64px);
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.ticker-group span:nth-child(odd) {
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
}

.ticker-group span:nth-child(4n + 2) {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- What we make: expanding panels ---------- */

.panels {
	display: flex;
	gap: 14px;
	height: 560px;
}

.panel {
	position: relative;
	display: flex;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	transition: flex-grow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--tone);
	opacity: 0.16;
	transition: opacity 0.5s ease;
}

.panel.is-active {
	flex-grow: 4.2;
}

.panel.is-active::before {
	opacity: 1;
}

.panel-head {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	flex: none;
	width: 92px;
	padding: 26px 0;
	border: 0;
	background: none;
	text-align: left;
}

.panel-num {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.panel-title {
	font-family: var(--font-display);
	font-size: 34px;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.panel-head svg {
	width: 26px;
	height: 26px;
}

.panel.is-active .panel-head {
	color: var(--bg);
}

.panel-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 360px;
	padding: 34px 40px 38px 6px;
	color: var(--bg);
	opacity: 0;
	transform: translateX(20px);
	transition:
		opacity 0.35s ease,
		transform 0.5s ease;
	pointer-events: none;
}

.panel.is-active .panel-body {
	opacity: 1;
	transform: none;
	transition-delay: 0.18s;
	pointer-events: auto;
}

.panel-icon {
	position: absolute;
	top: 30px;
	right: 34px;
	width: 140px;
	height: 140px;
	opacity: 0.22;
}

.panel-body h3 {
	font-family: var(--font-display);
	font-size: clamp(44px, 4.6vw, 72px);
	font-weight: 400;
	line-height: 0.95;
	text-transform: uppercase;
}

.panel-body p {
	max-width: 460px;
	margin-top: 14px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.6;
}

.panel-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.panel-tags li {
	padding: 6px 12px;
	border: 1.5px solid rgba(7, 7, 11, 0.35);
	border-radius: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.panel-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin-top: 24px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tone-shorts {
	--tone: linear-gradient(160deg, var(--cyan), #6fd8ff 40%, var(--violet));
}

.tone-gaming {
	--tone: linear-gradient(160deg, #b6ff3b, #2ef2a0 50%, var(--cyan));
}

.tone-kids {
	--tone: linear-gradient(160deg, #ffd23f, var(--amber) 50%, #ff8a5c);
}

.tone-ent {
	--tone: linear-gradient(160deg, #ff7ab8, var(--pink) 50%, var(--violet));
}

/* ---------- Products ---------- */

.product {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	align-items: center;
	gap: clamp(36px, 5vw, 72px);
	padding: clamp(28px, 4vw, 48px);
	border-radius: 34px;
	background:
		radial-gradient(120% 120% at 0% 0%, var(--glow), transparent 55%),
		var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}

.product + .product {
	margin-top: 32px;
}

.product--reverse {
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.product--reverse .product-media {
	order: 2;
}

.product--insta {
	--glow: rgba(250, 126, 30, 0.22);
	--accent: #fa7e1e;
	--accent-2: #d62976;
}

.product--trend {
	--glow: rgba(34, 228, 245, 0.18);
	--accent: var(--cyan);
	--accent-2: var(--pink);
}

.product-media {
	position: relative;
}

.story-bars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin-bottom: 14px;
}

.story-bar {
	position: relative;
	height: 6px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.16);
}

.story-bar::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--accent-2), var(--accent));
	transform: scaleX(0);
	transform-origin: left center;
}

.story-bar.is-done::after {
	transform: scaleX(1);
}

.story-bar.is-active::after {
	animation: story var(--story-ms, 4500ms) linear forwards;
}

.product-media.is-paused .story-bar.is-active::after {
	animation-play-state: paused;
}

.screen {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 18px;
	background: #000;
	box-shadow:
		0 0 0 1px var(--line-strong),
		0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.screen img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.03);
	transition:
		opacity 0.6s ease,
		transform 1.2s ease;
}

.screen img.is-active {
	opacity: 1;
	transform: none;
}

.screen-badge {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 1;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(7, 7, 11, 0.7);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--text);
}

.thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.thumb {
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 10px;
	background: none;
	box-shadow: 0 0 0 1px var(--line);
	opacity: 0.55;
	transition:
		opacity 0.2s ease,
		box-shadow 0.2s ease;
}

.thumb img {
	aspect-ratio: 16 / 9;
	width: 100%;
	object-fit: cover;
}

.thumb:hover,
.thumb[aria-current='true'] {
	opacity: 1;
}

.thumb[aria-current='true'] {
	box-shadow: 0 0 0 2px var(--accent);
}

.product-tile {
	width: 150px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
	box-shadow:
		0 0 0 1px var(--line-strong),
		0 18px 40px -18px var(--accent);
}

.product-info .mono {
	display: flex;
	margin-top: 22px;
}

.product-info h3 {
	margin-top: 10px;
	font-family: var(--font-display);
	font-size: clamp(48px, 5vw, 76px);
	font-weight: 400;
	line-height: 0.95;
	text-transform: uppercase;
}

.product-tagline {
	margin-top: 10px;
	font-size: 19px;
	font-weight: 700;
}

.rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 15px;
	font-weight: 600;
}

.stars {
	display: inline-flex;
	gap: 2px;
}

.stars svg {
	width: 17px;
	height: 17px;
	color: var(--amber);
	fill: var(--amber);
}

.stars svg.half {
	fill: none;
}

.rating strong {
	color: var(--text);
	font-weight: 800;
}

.points {
	display: grid;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.points li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.5;
}

.points svg {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--accent);
}

.product-info .btn {
	margin-top: 26px;
}

.product-note {
	margin-top: 14px;
	color: var(--faint);
	font-size: 13px;
	line-height: 1.5;
}

/* ---------- Approach ---------- */

.approach {
	background: var(--bg-2);
	border-block: 1px solid var(--line);
}

.approach-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.approach-item {
	position: relative;
	padding: 34px 32px 10px 0;
}

.approach-item + .approach-item {
	padding-left: 32px;
	border-left: 1px solid var(--line);
}

.approach-item .num {
	font-family: var(--font-display);
	font-size: 96px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--line-strong);
	transition: -webkit-text-stroke-color 0.3s ease;
}

.approach-item:hover .num {
	-webkit-text-stroke-color: var(--cyan);
}

.approach-item h3 {
	margin-top: 18px;
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}

.approach-item p {
	margin-top: 14px;
	color: var(--muted);
	font-size: 16.5px;
}

.platform-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: clamp(48px, 6vw, 72px);
	padding: 22px 26px;
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
}

.platform-line svg {
	width: 26px;
	height: 26px;
	color: var(--cyan);
}

.platform-line p {
	font-size: 17px;
	font-weight: 700;
}

.platform-line p span {
	color: var(--muted);
	font-weight: 500;
}

/* ---------- Contact ---------- */

.contact {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.contact::before {
	content: '';
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 30%;
	width: 900px;
	height: 500px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--grad);
	filter: blur(120px);
	opacity: 0.22;
}

.contact-inner {
	text-align: center;
}

.contact h2 {
	margin-top: 22px;
	font-size: clamp(56px, 9.5vw, 156px);
}

.contact-lead {
	max-width: 560px;
	margin: 22px auto 0;
	color: var(--muted);
	font-size: clamp(16px, 1.4vw, 18px);
}

.email-big {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 36px;
	padding-bottom: 8px;
	border-bottom: 3px solid transparent;
	border-image: var(--grad) 1;
	font-size: clamp(24px, 3.4vw, 46px);
	font-weight: 800;
	letter-spacing: -0.02em;
	transition: gap 0.25s ease;
}

.email-big svg {
	width: 0.8em;
	height: 0.8em;
	color: var(--cyan);
}

.email-big:hover {
	gap: 22px;
}

.contact-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

.btn-copy.is-copied {
	border-color: var(--cyan);
	color: var(--cyan);
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: clamp(48px, 6vw, 72px);
	text-align: left;
}

.contact-card {
	display: grid;
	gap: 10px;
	padding: 24px;
	transition: transform 0.25s ease;
}

.contact-card:hover {
	transform: translateY(-4px);
	background:
		linear-gradient(var(--surface), var(--surface)) padding-box,
		var(--grad) border-box;
}

.contact-card svg {
	width: 26px;
	height: 26px;
	color: var(--cyan);
}

.contact-card strong {
	font-size: 18px;
	font-weight: 800;
}

.contact-card span {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
}

/* ---------- Footer ---------- */

.site-footer {
	position: relative;
	overflow: hidden;
	border-top: 1px solid var(--line);
	background: var(--bg-2);
}

.footer-marquee {
	overflow: hidden;
	padding: 26px 0;
	border-bottom: 1px solid var(--line);
}

.footer-marquee .ticker-track {
	animation-duration: 30s;
}

.footer-marquee span {
	padding: 0 26px;
	font-family: var(--font-display);
	font-size: clamp(54px, 9vw, 130px);
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
}

.footer-marquee span:nth-child(even) {
	-webkit-text-stroke: 0;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1fr);
	gap: 40px 28px;
	padding: 56px 0 0;
}

.footer-brand p {
	max-width: 300px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 15.5px;
}

.footer-col h3 {
	margin-bottom: 16px;
}

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

.footer-col a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text);
	font-size: 15px;
	font-weight: 600;
	opacity: 0.82;
	transition:
		opacity 0.2s ease,
		color 0.2s ease;
	overflow-wrap: anywhere;
}

.footer-col a svg {
	width: 14px;
	height: 14px;
}

.footer-col a:hover {
	opacity: 1;
	color: var(--cyan);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	margin-top: 56px;
	padding: 24px 0 30px;
	border-top: 1px solid var(--line);
	color: var(--faint);
	font-size: 13.5px;
}

.footer-bottom p {
	max-width: 640px;
}

.footer-bottom strong {
	color: var(--text);
	font-weight: 700;
}

.footer-bottom a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	font-weight: 700;
}

.footer-bottom a svg {
	width: 16px;
	height: 16px;
}

/* ---------- Legal pages: searchable, collapsible clauses ---------- */

.legal-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(36px, 5vw, 56px);
	isolation: isolate;
}

.legal-hero::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: -40%;
	right: -10%;
	width: 700px;
	height: 700px;
	border-radius: 50%;
	background: var(--violet);
	filter: blur(110px);
	opacity: 0.25;
}

.legal-hero h1 {
	margin-top: 22px;
	font-size: clamp(64px, 11vw, 170px);
	color: transparent;
	-webkit-text-stroke: 2px var(--text);
}

.legal-hero h1 span {
	color: var(--text);
	-webkit-text-stroke: 0;
}

.legal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.legal-meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 8px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.legal-meta li svg {
	width: 15px;
	height: 15px;
	color: var(--cyan);
}

.legal-meta a {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.legal-switch {
	display: inline-flex;
	gap: 0;
	margin-top: 26px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	overflow: hidden;
}

.legal-switch a {
	padding: 11px 20px;
	font-size: 15px;
	font-weight: 700;
	color: var(--muted);
}

.legal-switch a + a {
	border-left: 1px solid var(--line-strong);
}

.legal-switch a.is-active {
	background: var(--text);
	color: var(--bg);
}

.legal-tools {
	position: sticky;
	top: var(--header-h);
	z-index: 30;
	padding: 14px 0;
	background: rgba(7, 7, 11, 0.9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-block: 1px solid var(--line);
}

.tools-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.search {
	position: relative;
	flex: 1 1 320px;
	max-width: 520px;
}

.search svg {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	color: var(--faint);
	transform: translateY(-50%);
	pointer-events: none;
}

.search input {
	width: 100%;
	height: 46px;
	padding: 0 14px 0 42px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--surface);
	font-size: 15px;
	font-weight: 600;
	outline: none;
	transition: border-color 0.2s ease;
}

.search input:focus {
	border-color: var(--cyan);
}

.search input::placeholder {
	color: var(--faint);
}

.search-count {
	min-width: 150px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.04em;
}

.tools-buttons {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.tools-buttons .btn {
	min-height: 42px;
	padding: 6px 14px;
	font-size: 13.5px;
}

.chips {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
	mask-image: linear-gradient(to right, #000 92%, transparent);
}

.chips::-webkit-scrollbar {
	display: none;
}

.chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 8px;
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	color: var(--muted);
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.chip b {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	color: var(--faint);
}

.chip:hover {
	color: var(--text);
}

.chip.is-active {
	background: var(--text);
	color: var(--bg);
}

.chip.is-active b {
	color: var(--bg);
}

.legal-body {
	padding: clamp(36px, 5vw, 56px) 0 clamp(80px, 10vw, 120px);
}

.clauses {
	display: grid;
	gap: 14px;
	max-width: 900px;
	margin: 0 auto;
}

.clause {
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--line);
	transition:
		opacity 0.25s ease,
		box-shadow 0.25s ease;
	scroll-margin-top: calc(var(--header-h) + 150px);
}

.clause[open] {
	box-shadow: 0 0 0 1px var(--line-strong);
}

.clause.is-dim {
	opacity: 0.35;
}

.clause.has-match {
	box-shadow: 0 0 0 1px var(--cyan);
}

.clause summary {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	cursor: pointer;
	list-style: none;
}

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

.clause-num {
	font-family: var(--font-display);
	font-size: 40px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.2px var(--muted);
}

.clause[open] .clause-num {
	color: transparent;
	-webkit-text-stroke: 0;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
}

.clause-title {
	font-size: clamp(15px, 1.5vw, 18px);
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.35;
}

.clause-toggle {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--line-strong);
	transition: transform 0.3s ease;
}

.clause-toggle svg {
	width: 18px;
	height: 18px;
}

.clause[open] .clause-toggle {
	transform: rotate(180deg);
}

.clause-body {
	padding: 0 32px 28px 102px;
	color: #c9c9da;
	font-size: 16.5px;
	line-height: 1.8;
	overflow-wrap: break-word;
}

.clause-body p + p,
.clause-body p + ul,
.clause-body ul + p {
	margin-top: 16px;
}

.clause-body ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.clause-body li {
	position: relative;
	padding-left: 24px;
}

.clause-body li + li {
	margin-top: 10px;
}

.clause-body li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 0.72em;
	width: 10px;
	height: 2px;
	background: var(--cyan);
}

.clause-body a {
	color: var(--cyan);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.clause-body mark {
	padding: 0 2px;
	border-radius: 3px;
	background: var(--pink);
	color: #fff;
}

.clause-body mark.is-current {
	background: var(--cyan);
	color: var(--bg);
}

.clause--overview summary .clause-num {
	font-size: 26px;
}

.legal-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	max-width: 900px;
	margin: 36px auto 0;
	padding: 26px 28px;
	border-radius: var(--radius);
	background:
		linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
		var(--grad) border-box;
	border: 1px solid transparent;
}

.legal-contact strong {
	display: block;
	font-size: 19px;
	font-weight: 800;
}

.legal-contact span {
	color: var(--muted);
	font-size: 15px;
}

.to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--grad);
	color: var(--bg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition:
		opacity 0.2s ease,
		transform 0.2s ease,
		visibility 0.2s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top svg {
	width: 22px;
	height: 22px;
}

/* ---------- 404 ---------- */

.lost {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 86vh;
	padding: calc(var(--header-h) + 40px) 0 80px;
	overflow: hidden;
	text-align: center;
	isolation: isolate;
}

.lost::before {
	content: '';
	position: absolute;
	inset: -50%;
	z-index: -1;
	opacity: 0.12;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='turbulence' baseFrequency='.95' numOctaves='1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
	animation: static 0.35s steps(3) infinite;
}

.lost-code {
	font-size: clamp(140px, 26vw, 360px);
	line-height: 0.85;
	animation: jitter 2.4s steps(1) infinite;
}

.lost h1 {
	margin-top: 16px;
	font-size: clamp(40px, 6vw, 84px);
}

.lost p {
	max-width: 520px;
	margin: 18px auto 0;
	color: var(--muted);
}

.lost .hero-actions {
	justify-content: center;
}

/* ---------- Motion ---------- */

@keyframes live {
	70% {
		box-shadow: 0 0 0 10px rgba(255, 46, 110, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 46, 110, 0);
	}
}

@keyframes feed-up {
	to {
		transform: translateY(-50%);
	}
}

@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

@keyframes story {
	to {
		transform: scaleX(1);
	}
}

@keyframes static {
	33% {
		transform: translate(-3%, 2%);
	}
	66% {
		transform: translate(2%, -3%);
	}
}

@keyframes jitter {
	0%,
	90% {
		transform: none;
	}
	92% {
		transform: translate(-6px, 2px) skewX(-6deg);
	}
	96% {
		transform: translate(5px, -2px);
	}
}

@keyframes rise {
	from {
		transform: translateY(30px);
	}
}

.hero-copy {
	animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.js [data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.8s ease,
		transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
	transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

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

@media (max-width: 1140px) {
	.site-nav > a:not(.btn) {
		padding: 10px 10px;
	}

	.site-nav > a:not(.btn) small {
		display: none;
	}

	.footer-top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-brand,
	.footer-col--email {
		grid-column: 1 / -1;
	}
}

@media (max-width: 960px) {
	.menu-toggle {
		display: grid;
	}

	.site-header {
		background: rgba(7, 7, 11, 0.9);
		-webkit-backdrop-filter: blur(14px);
		backdrop-filter: blur(14px);
		border-bottom-color: var(--line);
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 12px var(--gutter) 22px;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav > a:not(.btn) {
		padding: 14px 6px;
		font-size: 20px;
		color: var(--text);
	}

	.site-nav > a:not(.btn) small {
		display: inline;
	}

	.site-nav .btn {
		margin: 10px 0 0;
	}

	.hero-grid,
	.sec-head,
	.product,
	.product--reverse {
		grid-template-columns: minmax(0, 1fr);
	}

	.product--reverse .product-media {
		order: 0;
	}

	.feed {
		height: 460px;
	}

	.panels {
		flex-direction: column;
		height: auto;
	}

	.panel {
		flex-direction: column;
	}

	.panel-head {
		flex-direction: row;
		width: 100%;
		padding: 20px 22px;
		gap: 16px;
		justify-content: flex-start;
	}

	.panel-title {
		writing-mode: horizontal-tb;
		transform: none;
		font-size: 30px;
	}

	.panel-head svg {
		margin-left: auto;
	}

	.panel-body {
		display: none;
		min-width: 0;
		padding: 0 24px 28px;
		opacity: 1;
		transform: none;
	}

	.panel.is-active .panel-body {
		display: flex;
	}

	.panel-icon,
	.panel-body h3 {
		display: none;
	}

	.approach-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.approach-item,
	.approach-item + .approach-item {
		padding: 30px 0 26px;
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.approach-grid {
		border-top: 0;
	}

	.contact-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 66px;
	}

	body {
		font-size: 16px;
	}

	.brand img {
		width: 38px;
		height: 38px;
	}

	.wordmark {
		font-size: 23px;
	}

	.hero h1 {
		font-size: clamp(62px, 19vw, 92px);
	}

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

	.feed {
		height: 400px;
		gap: 10px;
	}

	.feed-track {
		gap: 10px;
	}

	.reel-side,
	.screen-badge {
		display: none;
	}

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

	.stats li:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}

	.stats li:nth-child(n + 3) {
		margin-top: 22px;
		border-top: 1px solid var(--line);
	}

	.product {
		padding: 20px;
		border-radius: 26px;
	}

	.footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.tools-buttons {
		margin-left: 0;
	}

	.search-count {
		min-width: 0;
	}

	.clause summary {
		grid-template-columns: 46px minmax(0, 1fr) auto;
		gap: 12px;
		padding: 18px 16px;
	}

	.clause-num {
		font-size: 30px;
	}

	.clause-body {
		padding: 0 18px 22px;
		font-size: 15.5px;
	}

	.to-top {
		right: 14px;
		bottom: 14px;
	}
}

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

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.story-bar.is-active::after {
		transform: scaleX(1);
	}
}
