/* The landing page: the three products side by side, then how they fit together. */

.intro { display: grid; gap: var(--s-4); justify-items: center; text-align: center; padding-block: var(--s-8) var(--s-7); }
.intro__title { font-size: var(--t-hero); line-height: 1; }
.intro__sub { font-size: var(--t-xl); line-height: 1.3; color: var(--violet-deep); }
.intro__lead { text-align: center; margin-inline: auto; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.product {
	--tone: var(--violet);
	display: flex;
	flex-direction: column;
	gap: var(--s-4);
	min-height: 560px;
	padding: var(--s-6);
	border-radius: var(--r-lg);
	background: linear-gradient(170deg, color-mix(in srgb, var(--tone) 18%, var(--card)), var(--card) 62%);
	box-shadow: var(--shadow-2);
}
.product--launcher { --tone: #ff7ab4; }
.product--client { --tone: #b9a2ff; }
.product--server { --tone: #6fe3c8; }
.product .display { font-size: var(--t-xl); }
.product__art { position: relative; flex: 1; min-height: 220px; border-radius: var(--r-md); background: color-mix(in srgb, var(--paper) 55%, transparent); overflow: hidden; }
.product__cta { margin-block-start: auto; }

/* Launcher: the things the launcher picks from, as they look in it. */
.product__art--launcher { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: var(--s-3); padding: var(--s-5); }
.vchip { padding: 0.3em 1em; border-radius: var(--r-pill); background: var(--mist-2); color: var(--ink-2); font: 600 var(--t-sm) var(--font-mono); direction: ltr; }
.vchip--on { background: color-mix(in srgb, var(--tone) 22%, var(--mist-1)); color: var(--tone); }
.playbtn { cursor: default; flex-basis: 100%; display: grid; place-items: center; min-height: 54px; margin-block-start: var(--s-3); border-radius: var(--r-pill); background: var(--pink); color: #fff; font-weight: 700; font-size: var(--t-md); }

/* Client: the live player. */
.product__art--client { min-height: 300px; }
.product__art--client canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Server: the address, the live count, the modes. */
.product__art--server { display: grid; align-content: center; justify-items: start; gap: var(--s-4); padding: var(--s-5); }
.ip { font: 700 var(--t-lg) var(--font-mono); color: var(--ink); letter-spacing: 0.02em; user-select: all; }
.live { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--t-sm); color: var(--ink-2); }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.live.is-up .live__dot { background: var(--ok); }
.modes-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.modes-list li { padding: 0.2em 0.9em; border-radius: var(--r-pill); background: color-mix(in srgb, var(--tone) 18%, var(--mist-1)); color: var(--tone); font-weight: 600; font-size: var(--t-sm); }

/* How they fit together --------------------------------------------------- */
.flow__steps { max-width: 48em; }
.flow__steps .step h3 { font-size: var(--t-md); }

@media (max-width: 1100px) {
	.products { grid-template-columns: 1fr; }
	.product { min-height: 0; }
	.product__art--client { min-height: 320px; }
}
