/* Live layer for the marketing pages: animated ambient background, smooth scroll, floating pill nav,
   page transitions, glass + neon cards (integrations), glass pricing, the "Introducing" stage and the
   quest-style cards. Driven by assets/js/fx.js; every page still reads correctly without it. */

/* ------------------------------------------------------------ smooth scroll (Lenis) */
html.lenis,
html.lenis body {
	height: auto;
}

html.lenis {
	scroll-behavior: auto;
}

.lenis.lenis-stopped {
	overflow: clip;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

/* ------------------------------------------------------------ page enter / exit */
html.fx-enter main {
	opacity: 0;
	animation: fx-failsafe 0.01s 2.4s forwards;
}

@keyframes fx-failsafe {
	to {
		opacity: 1;
	}
}

.veil {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: #050505;
	opacity: 0;
	pointer-events: none;
}

/* ------------------------------------------------------------ ambient background */
.ambient {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	--c1: rgba(150, 150, 160, 0.3);
	--c2: rgba(90, 90, 100, 0.26);
	--c3: rgba(255, 255, 255, 0.1);
	--streak: rgba(255, 255, 255, 0.045);
}

.ambient .blob {
	position: absolute;
	width: 72vmax;
	height: 72vmax;
	border-radius: 50%;
	will-change: transform;
}

.ambient .b1 {
	left: -26vmax;
	top: -34vmax;
	background: radial-gradient(closest-side, var(--c1), transparent);
}

.ambient .b2 {
	right: -30vmax;
	top: 4vh;
	background: radial-gradient(closest-side, var(--c2), transparent);
}

.ambient .b3 {
	left: 18vw;
	bottom: -52vmax;
	background: radial-gradient(closest-side, var(--c3), transparent);
}

.ambient .streaks {
	position: absolute;
	inset: -40% -20%;
	transform: rotate(-34deg);
}

.ambient .streaks i {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 8vw;
	background: linear-gradient(90deg, transparent, var(--streak), transparent);
	-webkit-mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
	mask-image: linear-gradient(transparent, #000 32%, #000 68%, transparent);
	will-change: transform;
}

.ambient .streaks i:nth-child(1) {
	left: 34%;
}

.ambient .streaks i:nth-child(2) {
	left: 41%;
	width: 4vw;
}

.ambient .streaks i:nth-child(3) {
	left: 50%;
	width: 11vw;
}

.ambient .streaks i:nth-child(4) {
	left: 63%;
	width: 5vw;
}

.ambient .streaks i:nth-child(5) {
	left: 70%;
}

.ambient .spot {
	position: absolute;
	left: 0;
	top: 0;
	width: 760px;
	height: 760px;
	margin: -380px 0 0 -380px;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.045), transparent);
	opacity: 0;
	transition: opacity 0.6s;
}

.ambient.pointer .spot {
	opacity: 1;
}

.ambient .grain {
	position: absolute;
	inset: -60%;
	background: url('../img/grain.png');
	opacity: 0.035;
}

.ambient .vig {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 120% 95% at 50% 35%, transparent 50%, rgba(0, 0, 0, 0.55));
}

/* Studio (light) sections keep their own surface above the ambient layer. */
.section.studio {
	z-index: 1;
}

/* A beam of light sweeps across each section's top hairline as it enters. */
.sec-beam {
	position: absolute;
	top: -1px;
	left: 0;
	width: 34%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
	opacity: 0;
	pointer-events: none;
}

/* ------------------------------------------------------------ floating pill nav */
.nav {
	background: none;
	border-bottom: 0;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	padding: 14px 16px 0;
	pointer-events: none;
}

.nav .wrap {
	position: relative;
	pointer-events: auto;
	width: max-content;
	max-width: 100%;
	height: 58px;
	gap: 14px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(16, 16, 16, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(18px) saturate(1.3);
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 50px rgba(0, 0, 0, 0.45);
	transition: background 0.4s, box-shadow 0.4s;
}

.nav .wrap::before {
	content: '';
	position: absolute;
	left: 18%;
	right: 18%;
	top: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	pointer-events: none;
}

.nav.scrolled .wrap {
	background: rgba(10, 10, 10, 0.82);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 60px rgba(0, 0, 0, 0.7);
}

.nav .brand {
	gap: 10px;
	padding-right: 6px;
}

.nav .brand .n-mark {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #1c1c1c;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	-webkit-mask: none;
	mask: none;
}

.nav .brand .n-mark::after {
	content: '';
	position: absolute;
	inset: 10px 15px;
	background: var(--text);
	-webkit-mask: url('../img/n-mark.svg') center / contain no-repeat;
	mask: url('../img/n-mark.svg') center / contain no-repeat;
}

.nav .brand .wordmark {
	height: 15px;
}

.nav .links {
	position: relative;
	gap: 2px;
	margin-left: 0;
}

.nav .links a {
	position: relative;
	z-index: 1;
	padding: 8px 12px;
	border-radius: 999px;
	transition: color 0.25s;
}

.nav .links a[aria-current='page'] {
	font-weight: 600;
}

.nav .links a[aria-current='page']::after {
	content: '';
	position: absolute;
	left: 30%;
	right: 30%;
	bottom: -6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	filter: blur(5px);
}

.nav .links .ind {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	height: 100%;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.075);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	opacity: 0;
	pointer-events: none;
}

.nav .actions {
	margin-left: 4px;
}

.nav .actions .btn.sm {
	height: 40px;
	padding: 0 18px;
}

@media (max-width: 1280px) {
	.nav .brand .wordmark {
		display: none;
	}
}

@media (max-width: 1080px) {
	.nav {
		padding: 10px 12px 0;
	}
	.nav .wrap {
		width: 100%;
		height: 56px;
		padding: 0 8px 0 6px;
	}
	.nav .brand .wordmark {
		display: block;
	}
	.nav .menu {
		margin-left: 0;
		border-radius: 999px;
		width: 42px;
		height: 40px;
	}
	.nav .actions {
		margin-left: auto;
	}
	.nav.open .links {
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		border: 1px solid var(--line);
		border-radius: 22px;
		background: rgba(10, 10, 10, 0.96);
		padding: 6px 20px 12px;
	}
	.nav.open .links a {
		border-radius: 0;
		padding: 14px 0;
	}
	.nav.open .links a:last-child {
		border-bottom: 0;
	}
	.nav .links .ind,
	.nav .links a[aria-current='page']::after {
		display: none;
	}
}

@media (max-width: 420px) {
	.nav .brand .wordmark {
		display: none;
	}
}

/* ------------------------------------------------------------ pointer spotlight on surfaces */
.spot-card {
	position: relative;
}

.spot-card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.07), transparent 45%);
	opacity: 0;
	transition: opacity 0.35s;
	pointer-events: none;
}

.spot-card:hover::after {
	opacity: 1;
}

/* ------------------------------------------------------------ neon logos */
.neon {
	--s: 84px;
	--c: #ffffff;
	display: block;
	width: var(--s);
	height: var(--s);
	filter: drop-shadow(0 0 1.5px var(--c)) drop-shadow(0 0 9px var(--c)) drop-shadow(0 0 26px color-mix(in srgb, var(--c) 70%, transparent));
}

.neon i {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(170deg, #fff 10%, color-mix(in srgb, var(--c) 45%, #fff) 55%, var(--c));
	-webkit-mask: var(--logo) center / contain no-repeat;
	mask: var(--logo) center / contain no-repeat;
}

/* flat brand-coloured logo (tiles, beams) */
.lg {
	--c: #f4f4f2;
	display: block;
	width: 22px;
	height: 22px;
	background: var(--g, var(--c));
	-webkit-mask: var(--logo) center / contain no-repeat;
	mask: var(--logo) center / contain no-repeat;
	flex: none;
}

/* ------------------------------------------------------------ glass card with a neon logo (integrations) */
.ncard {
	--c: #ffffff;
	position: relative;
	width: 270px;
	height: 362px;
	padding: 22px 22px 24px;
	border-radius: 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 9px;
	overflow: hidden;
	background:
		radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 62%),
		rgba(12, 12, 14, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 80px rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.ncard::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(155deg, color-mix(in srgb, var(--c) 75%, transparent), transparent 34%, transparent 72%, rgba(255, 255, 255, 0.16));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.ncard .logo {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 56%;
	display: grid;
	place-items: center;
}

.ncard h3 {
	position: relative;
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.ncard h3 span {
	color: var(--muted);
	font-weight: 500;
}

.ncard p {
	position: relative;
	margin: 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.55;
}

.ncard .st {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
}

.st {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.35);
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.st::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dim);
}

.st.live {
	color: var(--text);
}

.st.live::before {
	background: var(--green);
	box-shadow: 0 0 8px var(--green);
}

.st.soon::before {
	background: var(--amber);
}

/* the fanned deck (hero) */
.fan {
	position: relative;
	height: 480px;
	margin-top: 30px;
}

.fan .ncard {
	position: absolute;
	left: 50%;
	top: 46px;
	margin-left: -135px;
	transform-origin: 50% 130%;
	cursor: default;
}

.fan-hero {
	padding: 80px 0 40px;
	overflow: hidden;
	text-align: center;
}

.fan-hero .wrap {
	display: grid;
	gap: 22px;
	justify-items: center;
}

.fan-hero .lead {
	margin: 0 auto;
}

@media (max-width: 720px) {
	.fan {
		height: 380px;
	}
	.fan .ncard {
		width: 200px;
		height: 286px;
		margin-left: -100px;
		padding: 16px;
		border-radius: 22px;
		background:
			radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%),
			linear-gradient(180deg, #1a1a1c, #0c0c0e 62%);
	}
	.fan .ncard .neon {
		--s: 60px;
	}
	.fan .ncard h3 {
		font-size: 16px;
	}
	.fan .ncard p {
		font-size: 12px;
	}
}

/* ------------------------------------------------------------ the store (icon tiles over streaks) */
.store {
	position: relative;
	overflow: hidden;
	padding: 110px 0 120px;
	text-align: center;
	border-top: 1px solid var(--line);
}

.store .streaks {
	position: absolute;
	inset: -30% -10% 10%;
	transform: rotate(-35deg);
	pointer-events: none;
	opacity: 0.9;
}

.store .streaks i {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 9%;
	background: linear-gradient(90deg, transparent, rgba(255, 45, 60, 0.36), rgba(255, 120, 120, 0.12) 70%, transparent);
	-webkit-mask-image: linear-gradient(transparent, #000 30%, #000 55%, transparent 85%);
	mask-image: linear-gradient(transparent, #000 30%, #000 55%, transparent 85%);
}

.store .streaks i:nth-child(1) { left: 30%; }
.store .streaks i:nth-child(2) { left: 39%; width: 5%; background: linear-gradient(90deg, transparent, rgba(80, 140, 255, 0.22), transparent); }
.store .streaks i:nth-child(3) { left: 46%; width: 12%; }
.store .streaks i:nth-child(4) { left: 60%; width: 6%; }
.store .streaks i:nth-child(5) { left: 69%; }

.store::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 50% 70%, rgba(6, 6, 6, 0.85), transparent 75%);
	pointer-events: none;
}

.store .wrap {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 22px;
	justify-items: center;
}

.store-grid {
	display: grid;
	gap: 14px;
	margin-bottom: 26px;
	perspective: 900px;
}

.store-grid .srow {
	display: flex;
	gap: 14px;
	justify-content: center;
}

.stile {
	--c: #f4f4f2;
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	border-radius: 24px;
	background: linear-gradient(160deg, #232323, #0e0e0e 72%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 40px rgba(0, 0, 0, 0.55);
}

.stile .lg {
	width: 42px;
	height: 42px;
}

.stile.far {
	opacity: 0.28;
	filter: blur(1.6px);
}

.stile.mid {
	opacity: 0.7;
}

.stile.big {
	width: 104px;
	height: 104px;
	border-radius: 26px;
	margin-top: -6px;
}

.stile.white {
	background: linear-gradient(160deg, #fbfbfa, #d9d9d6);
	border-color: rgba(255, 255, 255, 0.6);
}

.stile.white .lg {
	--c: #0a0a0a;
}

.store-title {
	font-size: clamp(44px, 11vw, 124px);
	font-weight: 600;
	letter-spacing: -0.055em;
	line-height: 0.95;
	margin: 0;
}

.search {
	width: min(540px, 100%);
	height: 54px;
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 10px 0 18px;
	border-radius: 14px;
	background: rgba(16, 16, 16, 0.82);
	border: 1px solid var(--line);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: border-color 0.25s, box-shadow 0.25s;
}

.search:focus-within {
	border-color: rgba(255, 255, 255, 0.35);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	background: none;
	border: 0;
	outline: none;
	font-size: 15px;
}

.search input::placeholder {
	color: var(--dim);
}

@media (max-width: 720px) {
	.stile {
		width: 54px;
		height: 54px;
		border-radius: 15px;
	}
	.stile.big {
		width: 62px;
		height: 62px;
		border-radius: 17px;
	}
	.stile .lg {
		width: 26px;
		height: 26px;
	}
	.store-grid .srow {
		gap: 10px;
	}
	.store-grid .srow > :first-child,
	.store-grid .srow > :last-child {
		display: none;
	}
}

/* ------------------------------------------------------------ fan-in beams */
.beams {
	position: relative;
	overflow: hidden;
	padding: 120px 0 130px;
	border-top: 1px solid var(--line);
}

.beams::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 45% 65% at 72% -5%, rgba(88, 64, 220, 0.5), transparent 70%);
	pointer-events: none;
}

.beams .stage {
	position: relative;
	display: grid;
	grid-template-columns: minmax(150px, 230px) 1fr auto;
	align-items: center;
	min-height: 470px;
	margin-top: 40px;
}

.beams svg.lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.beams .srcs {
	display: grid;
	gap: 24px;
	justify-items: end;
	position: relative;
	z-index: 1;
}

.beams .src {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.beams .src::after {
	content: '';
	width: 7px;
	height: 7px;
	margin-left: 6px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 10px var(--green);
}

.beams .src.ghost {
	width: 72px;
	height: 14px;
	border-radius: 5px;
	background: #26262c;
	margin-right: 13px;
}

.beams .src.ghost::after {
	display: none;
}

.beams .sink {
	grid-column: 3;
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	padding-left: 18px;
}

.beams .sink .name {
	font-size: clamp(30px, 4.6vw, 62px);
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
	background: linear-gradient(180deg, #fff 30%, #a3a3b5);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.beams .sink .bar {
	height: 5px;
	border-radius: 3px;
	background: linear-gradient(90deg, #4fdc8b, #f5e663 25%, #ef6bd0 50%, #8b5cf6 70%, #22b8ee);
	box-shadow: 0 0 18px rgba(139, 92, 246, 0.55);
	transform-origin: left;
}

.beams .sink .pill {
	position: absolute;
	right: -10px;
	top: -30px;
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 13px;
	color: #d8d8e8;
	background: rgba(10, 10, 20, 0.5);
}

@media (max-width: 760px) {
	.beams .stage {
		grid-template-columns: auto 1fr auto;
		min-height: 380px;
	}
	.beams .src {
		font-size: 12.5px;
		gap: 7px;
	}
	.beams .src .lg {
		width: 16px;
		height: 16px;
	}
	.beams .srcs {
		gap: 18px;
	}
	.beams .sink {
		padding-left: 8px;
	}
	.beams .sink .name {
		font-size: 22px;
	}
	.beams .sink .pill {
		top: -28px;
		right: 0;
		font-size: 11px;
	}
}

/* ------------------------------------------------------------ directory */
.dir-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
}

.dir {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
	gap: 16px;
}

.dir .ncard {
	width: auto;
	height: 316px;
}

.dir .ncard .logo {
	height: 52%;
}

.dir .ncard .neon {
	--s: 66px;
}

.dir .ncard.planned {
	opacity: 0.62;
}

.dir-empty {
	padding: 50px 0;
	text-align: center;
	color: var(--muted);
}

/* ------------------------------------------------------------ pricing (glass cards over the giant title) */
.pr {
	position: relative;
	padding: 34px 0 40px;
	overflow: hidden;
}

.pr::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: min(1100px, 100%);
	height: 760px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(255, 255, 255, 0.07), transparent 70%);
	pointer-events: none;
}

.pr-title {
	position: relative;
	z-index: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	font-size: clamp(76px, 21vw, 320px);
	font-weight: 600;
	letter-spacing: -0.055em;
	line-height: 0.82;
	user-select: none;
	white-space: nowrap;
}

.pr-title span {
	display: inline-block;
	background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, 0.8) 62%, rgba(255, 255, 255, 0.35));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.pr-cards {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: calc(-1 * clamp(44px, 8.6vw, 132px));
}

.pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 520px;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(34, 34, 34, 0.5), rgba(14, 14, 14, 0.86) 45%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(22px) saturate(1.1);
	-webkit-backdrop-filter: blur(22px) saturate(1.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 70px rgba(255, 255, 255, 0.045), 0 40px 90px rgba(0, 0, 0, 0.55);
}

.pcard.featured {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 120px rgba(255, 255, 255, 0.09), 0 40px 90px rgba(0, 0, 0, 0.55);
	border-color: rgba(255, 255, 255, 0.16);
}

.pcard .ph {
	padding: 34px 32px 38px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pcard .pname {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	color: #e8e8e6;
}

.pcard .pamt {
	display: inline-block;
	margin-top: 26px;
	font-size: clamp(40px, 4.2vw, 56px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
	background: linear-gradient(90deg, #fff 45%, #5f5f5f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}

.pcard .pnote {
	margin: 12px 0 0;
	font-size: 13.5px;
	color: var(--muted);
}

.pcard ul {
	list-style: none;
	margin: 0;
	padding: 32px;
	display: grid;
	gap: 18px;
	font-size: 14px;
	color: #9b9b98;
}

.pcard li {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pcard li b {
	color: var(--text);
	font-weight: 600;
}

.pcard li::before {
	content: '';
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1c1c1c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.pcard .pbtn {
	margin: auto 32px 32px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-weight: 600;
	font-size: 14px;
	transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.pcard .pbtn:hover {
	border-color: rgba(255, 255, 255, 0.35);
}

.pcard.featured .pbtn {
	background: #fff;
	color: #050505;
	border-color: #fff;
}

.pr-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 36px;
	font-size: 14px;
	color: #cfcfcc;
}

.switch {
	position: relative;
	width: 34px;
	height: 20px;
	flex: none;
	border: 0;
	border-radius: 999px;
	background: #2a2a2a;
	cursor: pointer;
	transition: background 0.3s;
}

.switch::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 4px #fff;
	transition: transform 0.35s var(--ease), background 0.3s, box-shadow 0.3s;
}

.switch[aria-checked='true'] {
	background: #fff;
}

.switch[aria-checked='true']::after {
	transform: translateX(14px);
	background: #fff;
	box-shadow: inset 0 0 0 3.5px #0a0a0a;
}

/* "Models" pill with connector lines down into the panel */
.pr-link {
	position: relative;
	height: 130px;
	margin-top: 10px;
}

.pr-link .vl,
.pr-link .hl {
	position: absolute;
	background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28));
	overflow: hidden;
}

.pr-link .vl {
	bottom: 0;
	width: 1px;
	height: 100%;
}

.pr-link .vl.a {
	left: 22%;
}

.pr-link .vl.b {
	right: 22%;
}

.pr-link .hl {
	left: 22%;
	right: 22%;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.28));
}

.pr-link .vl i,
.pr-link .hl i {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 40px;
	background: linear-gradient(180deg, transparent, #fff);
	opacity: 0;
}

.pr-link .hl i {
	width: 60px;
	height: 1px;
	background: linear-gradient(90deg, transparent, #fff, transparent);
}

.pr-link .nd {
	position: absolute;
	bottom: -2px;
	width: 5px;
	height: 5px;
	margin-left: -2px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 10px #fff;
}

.pr-link .pill {
	position: absolute;
	left: 50%;
	top: 26px;
	transform: translateX(-50%);
	padding: 7px 16px;
	border-radius: 999px;
	background: linear-gradient(180deg, #222, #111);
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 4px rgba(255, 255, 255, 0.03);
	font-size: 12.5px;
	white-space: nowrap;
}

.pr-panel {
	position: relative;
	border-radius: 30px;
	padding: 28px 22px 14px;
	background: linear-gradient(180deg, rgba(44, 44, 44, 0.5), rgba(14, 14, 14, 0.86) 30%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 7px rgba(255, 255, 255, 0.018), 0 40px 90px rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.pr-panel .table-wrap {
	border: 0;
	background: none;
	padding: 6px 0 0;
}

@media (max-width: 900px) {
	.pr-title {
		padding-top: 12px;
	}
	.pr-cards {
		margin-top: -22px;
		grid-template-columns: 1fr;
		max-width: 480px;
		margin-left: auto;
		margin-right: auto;
	}
	.pcard {
		min-height: 0;
	}
	.pcard .pbtn {
		margin-top: 0;
	}
	.pr-toggle {
		justify-content: center;
	}
	.pr-link .vl.a,
	.pr-link .vl.b {
		display: none;
	}
	.pr-link .hl {
		display: none;
	}
	.pr-link .nd {
		display: none;
	}
}

/* ------------------------------------------------------------ "Introducing" stage (home) */
.intro {
	position: relative;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
	border-top: 1px solid var(--line);
}

.intro canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.intro .itile {
	position: absolute;
	display: grid;
	place-items: center;
	width: var(--w, 64px);
	aspect-ratio: 1;
	border-radius: 12px;
	overflow: hidden;
	background:
		radial-gradient(70% 60% at 30% 25%, var(--a, #ff7aa8), transparent 70%),
		radial-gradient(80% 70% at 75% 80%, var(--b, #5a6bff), transparent 70%),
		linear-gradient(140deg, var(--b, #5a6bff), var(--a, #ff7aa8));
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	will-change: transform, filter;
}

.intro .itile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('../img/grain.png');
	opacity: 0.22;
	mix-blend-mode: overlay;
}

.intro .itile .lg {
	width: 42%;
	height: 42%;
	--c: rgba(255, 255, 255, 0.92);
	position: relative;
}

.intro .itile::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='1.3'%3E%3Ccircle cx='10' cy='10' r='3.2'/%3E%3Cpath d='M10 0v5M10 15v5M0 10h5M15 10h5'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.85;
}

.intro .copy {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	justify-items: center;
	gap: 26px;
	text-align: center;
	width: calc(100% - 32px);
}

.intro .sel {
	position: relative;
	display: grid;
	justify-items: center;
	padding: 6px 18px 10px;
}

.intro .sel > span {
	grid-area: 1 / 1;
	font-size: clamp(46px, 8.4vw, 116px);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1;
	white-space: nowrap;
}

.intro .sel .w2 {
	font-weight: 600;
	letter-spacing: -0.03em;
	opacity: 0;
}

.intro .sub {
	max-width: 520px;
	color: var(--muted);
	font-size: clamp(16px, 1.5vw, 19px);
	margin: 0;
}

/* ------------------------------------------------------------ quest cards (usage / deploys) */
.qcard {
	position: relative;
	padding: 34px;
	display: grid;
	gap: 16px;
	align-content: start;
	min-height: 400px;
	border-radius: 26px;
	background: linear-gradient(180deg, #0f0f0f, #080808);
	border: 1px solid var(--line);
	overflow: hidden;
}

.qcard .ticks {
	display: flex;
	gap: 5px;
}

.qcard .ticks i {
	width: 22px;
	height: 2px;
	background: var(--text);
}

.qcard .ticks i + i {
	width: 8px;
	background: var(--dim);
}

.qcard .qh {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.qcard h3 {
	margin: 0;
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 500;
	letter-spacing: -0.03em;
}

.qcard p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	max-width: 280px;
}

.qcard .glyphs {
	display: flex;
	gap: 0;
}

.qcard .glyphs span {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-left: -8px;
	border-radius: 50%;
	border: 1.4px solid #6a6a6a;
	background: #0b0b0b;
}

.qcard .glyphs span .lg {
	width: 14px;
	height: 14px;
	--c: #8d8d8a;
}

.qcard .glyphs span.on {
	width: 36px;
	height: 36px;
	background: #f4f4f2;
	border-color: #f4f4f2;
}

.qcard .glyphs span.on .lg {
	--c: #0a0a0a;
	width: 18px;
	height: 18px;
}

.steps-chart {
	width: 100%;
	height: auto;
	margin-top: 12px;
	overflow: visible;
}

.qcard .foot {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	font-size: 15px;
	color: var(--muted);
	margin-top: auto;
}

.qcard .foot b {
	color: var(--text);
	font-weight: 500;
	font-family: var(--mono);
	font-size: 14px;
}

.qcard .foot .ok {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--muted);
}

.deploy-graph {
	width: 100%;
	height: auto;
	overflow: visible;
	margin-top: 8px;
}

.deploy-graph .ln {
	fill: none;
	stroke: rgba(255, 255, 255, 0.16);
	stroke-width: 1.2;
}

.deploy-graph text {
	font-family: var(--font);
	font-size: 13px;
	fill: #8d8d8a;
}
.st[data-pay]::before {
	display: none;
}

.st .dot {
	width: 6px;
	height: 6px;
}

/* ------------------------------------------------------------ compositor-only motion
   Endless motion runs as CSS animations of the individual `translate` / `scale` properties, so it stays on
   the compositor: no per-frame style writes for Lenis' scrollTo to flush, and it composes with the
   `transform` GSAP sets for entrances and tilt. */
@media (prefers-reduced-motion: no-preference) {
	.ambient.live .b1 { animation: amb-wander-a 26s ease-in-out infinite alternate; }
	.ambient.live .b2 { animation: amb-wander-b 31s ease-in-out -9s infinite alternate; }
	.ambient.live .b3 { animation: amb-wander-c 23s ease-in-out -4s infinite alternate; }
	.ambient.live .streaks i,
	.store.live .streaks i {
		animation: streak-drift var(--sd, 7s) ease-in-out infinite alternate;
	}
	.store.live .stile {
		animation: stile-float var(--fd, 2.6s) ease-in-out var(--fdl, 0s) infinite alternate;
	}
	.store.off .stile,
	.store.off .streaks i {
		animation-play-state: paused;
	}
}

@keyframes amb-wander-a {
	0% { translate: 0 0; scale: 1; }
	30% { translate: 13vw -9vh; scale: 1.16; }
	65% { translate: -11vw 8vh; scale: 0.88; }
	100% { translate: 7vw 11vh; scale: 1.08; }
}

@keyframes amb-wander-b {
	0% { translate: 0 0; scale: 1.05; }
	35% { translate: -14vw 7vh; scale: 0.9; }
	70% { translate: 9vw -11vh; scale: 1.18; }
	100% { translate: -5vw 4vh; scale: 0.95; }
}

@keyframes amb-wander-c {
	0% { translate: 0 0; scale: 0.92; }
	40% { translate: 15vw -6vh; scale: 1.15; }
	75% { translate: -8vw -12vh; scale: 1; }
	100% { translate: 10vw 5vh; scale: 1.2; }
}

@keyframes streak-drift {
	to { translate: 0 var(--sy, 7%); }
}

@keyframes stile-float {
	to { translate: 0 -9px; }
}

/* Layers for the integrations set pieces: cards and tiles move (fan scrub, reveal, float, tilt) and the
   neon logos flicker, so each is rasterised once and then only composited, instead of re-painting the
   neon drop-shadows on every frame. */
.ncard,
.stile {
	will-change: transform;
}

.neon {
	will-change: opacity;
}

/* Directory cards already sit on a near-opaque fill; a live backdrop blur under 22 of them re-runs on
   every frame of the animated background, so they get the same look from a slightly denser fill. */
.dir .ncard {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	background:
		radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 62%),
		rgba(12, 12, 14, 0.9);
}

/* ------------------------------------------------------------ deploy routing board (home, 04) */
.route {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px) minmax(0, 1fr);
	column-gap: clamp(56px, 8vw, 120px);
	align-items: center;
	margin-top: 8px;
}

.route-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.route-col {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
}

.route-label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim);
	padding: 0 4px 4px;
}

.rrow {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 14px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
	border: 1px solid var(--line);
	transition: border-color 0.5s, background 0.5s, box-shadow 0.5s;
}

.rrow > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.rrow b {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.rrow span:not(.rtile):not(.n-mark) {
	font-size: 13px;
	line-height: 1.4;
	color: var(--muted);
}

.rrow.dashed {
	border-style: dashed;
	background: none;
}

.rrow.on {
	border-color: rgba(255, 255, 255, 0.26);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.025), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.rtile {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: linear-gradient(160deg, #1d1d1d, #0b0b0b 70%);
	border: 1px solid var(--line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
	color: var(--text);
}

.rtile svg {
	width: 19px;
	height: 19px;
}

.rtile .lg {
	width: 19px;
	height: 19px;
}

.rtile .n-mark {
	font-size: 19px;
}

.rtile.mono {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
}

.rchip {
	margin-left: auto;
	flex: none;
	padding: 4px 9px;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-family: var(--mono);
	font-size: 10.5px;
	font-style: normal;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.4s, border-color 0.4s, background 0.4s;
}

.rchip.go {
	color: var(--green);
	border-color: rgba(79, 220, 139, 0.3);
}

.rrow.hit .rchip {
	color: #0a0a0a;
	background: var(--green);
	border-color: var(--green);
}

/* the hub: a small deploy console */
.route-hub {
	position: relative;
	z-index: 1;
	border-radius: 22px;
	padding: 18px;
	background: linear-gradient(180deg, #131313, #0a0a0a);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 6px rgba(255, 255, 255, 0.018), 0 40px 90px rgba(0, 0, 0, 0.55);
}

.route-hub::before {
	content: '';
	position: absolute;
	left: 20%;
	right: 20%;
	top: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.rh-top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.rh-top > div {
	display: grid;
	gap: 2px;
}

.rh-top b {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.rh-top > div span {
	font-size: 12.5px;
	color: var(--muted);
}

.rh-mark {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #1c1c1c;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	font-size: 22px;
	color: var(--text);
}

.rh-live {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
}

.rh-live i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 10px var(--green);
}

.rh-log {
	list-style: none;
	margin: 0;
	padding: 12px 0;
	display: grid;
	gap: 2px;
	height: 128px;
	overflow: hidden;
	align-content: end;
	font-family: var(--mono);
	font-size: 12px;
	-webkit-mask-image: linear-gradient(transparent, #000 34%);
	mask-image: linear-gradient(transparent, #000 34%);
}

.rh-log li {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 7px 10px;
	border-radius: 9px;
	color: var(--muted);
}

.rh-log li:last-child {
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
}

.rh-log .v {
	color: var(--dim);
}

.rh-log li:last-child .v {
	color: var(--text);
}

.rh-log .m {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rh-log .ok {
	color: var(--green);
}

.rh-log .run {
	color: var(--amber);
}

.rh-foot {
	display: flex;
	gap: 6px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.rh-foot span {
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-size: 12px;
	color: var(--muted);
}

@media (max-width: 1100px) {
	.route {
		grid-template-columns: 1fr;
		row-gap: 44px;
		max-width: 560px;
	}
	/* Vertical spine instead of the curves. */
	.route-lines {
		display: none;
	}
	.route::before {
		content: '';
		position: absolute;
		left: 50%;
		top: 40px;
		bottom: 40px;
		width: 1px;
		background: linear-gradient(transparent, rgba(255, 255, 255, 0.16) 10%, rgba(255, 255, 255, 0.16) 90%, transparent);
	}
}

@media (max-width: 1100px) {
	/* The spine runs behind the cards, so they get a solid fill. */
	.rrow,
	.rrow.dashed {
		background: linear-gradient(180deg, #121212, #0b0b0b);
	}
	.rrow.on {
		background: linear-gradient(180deg, #181818, #0e0e0e);
	}
	.route-label {
		justify-self: start;
		background: var(--bg);
		padding-right: 10px;
	}
}

@media (max-width: 520px) {
	.rh-foot span:nth-child(3) {
		display: none;
	}
}

/* ------------------------------------------------------------ product showcase (home) */
.showcase {
	position: relative;
	padding: 0 0 120px;
	perspective: 1600px;
}

.sc-stage {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
}

.sc-glow {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 12%;
	bottom: -6%;
	background: radial-gradient(60% 55% at 50% 45%, rgba(196, 188, 255, 0.22), transparent 70%);
	filter: blur(40px);
	pointer-events: none;
}

.sc-window {
	position: relative;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 50px 140px rgba(0, 0, 0, 0.7);
	transform-origin: 50% 0;
	will-change: transform;
}

.sc-window .bar {
	height: 38px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	border-bottom: 1px solid var(--line);
	background: #0d0d0d;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.sc-window .bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2a2a2a;
}

.sc-window .bar span {
	margin-left: 10px;
}

.sc-window img {
	display: block;
	width: 100%;
	height: auto;
}

.sc-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	border-radius: 16px;
	background: rgba(14, 14, 14, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	white-space: nowrap;
}

.sc-card b {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}

.sc-card span:not(.ok):not(.ico) {
	display: block;
	margin-top: 2px;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.sc-card .ok,
.sc-card .ico {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: linear-gradient(160deg, #1f1f1f, #0c0c0c);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--text);
	font-size: 15px;
}

.sc-card .ok {
	color: var(--green);
}

.sc-card .ico .lg {
	width: 18px;
	height: 18px;
	--c: #fff;
}

.sc-card.c1 {
	left: -36px;
	top: 28%;
}

.sc-card.c2 {
	right: -40px;
	top: 46%;
}

.sc-card.c3 {
	right: 9%;
	bottom: -26px;
}

.hero-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 26px;
}

.hero-status {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
}

.hero-status b {
	color: var(--text);
	font-weight: 600;
}

.hero-status .on {
	color: var(--green);
}

.marquee .mq-label {
	display: block;
	margin-bottom: 18px;
	text-align: center;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dim);
}

/* The hero hands over to the showcase window, so it needs less room below the copy. */
.hero:has(+ .showcase) .wrap {
	padding-bottom: 40px;
}

.hero:has(+ .showcase) {
	min-height: min(760px, calc(100svh - 68px));
}

@media (max-width: 900px) {
	.showcase {
		padding-bottom: 80px;
	}

	/* The dot N sits behind the copy on narrow screens; keep it as a faint texture there. */
	.hero canvas {
		opacity: 0.3;
	}

	.sc-card {
		padding: 9px 12px 9px 9px;
	}

	.sc-card.c1 {
		left: -6px;
		top: auto;
		bottom: -22px;
	}

	.sc-card.c2,
	.sc-card.c3 {
		display: none;
	}
}
