/* Meetmarket links. Based on LittleLink (MIT, Seth Cottle), restyled to match meetmarket.io. */

@font-face {
	font-family: 'Matter';
	src: url('../fonts/Matter-Regular.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'Matter';
	src: url('../fonts/Matter-Medium.woff2') format('woff2');
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: 'Matter Mono';
	src: url('../fonts/MatterMono-Regular.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}

:root {
	--void: #141312;
	--surface: #232323;
	--line: #3a3a38;
	--ink-max: #edebe6;
	--ink: #d3d3d3;
	--ink-2: #aaaaaa;
	--ink-3: #7a7a78;
	--accent: #ff5500;
	--radius-btn: 16px;
	--shadow-btn:
		inset 0 1px 0.5px rgba(255, 255, 255, 0.2), inset 0 -1.5px 3px rgba(0, 0, 0, 0.16), 0 1px 1px rgba(0, 0, 0, 0.1),
		0 4px 12px rgba(0, 0, 0, 0.16);
	color-scheme: dark;
}

html,
body {
	background: var(--void);
	color: var(--ink);
	font-family: 'Matter', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--accent);
	color: var(--void);
}

.container {
	min-height: 100svh;
	display: flex;
	justify-content: center;
	padding: clamp(48px, 10vh, 96px) 20px 40px;
}

.column {
	width: 100%;
	max-width: 440px;
	display: flex;
	flex-direction: column;
}

.brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.brand .logo {
	width: 64px;
	height: 64px;
}

.brand h1 {
	margin: 0;
	line-height: 0;
}

.brand .wordmark {
	height: 26px;
	width: auto;
}


.eyebrow {
	margin: 0;
	font-family: 'Matter Mono', ui-monospace, monospace;
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--accent);
}

.button-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 40px;
}

.button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 52px;
	border-radius: var(--radius-btn);
	background: var(--surface);
	color: var(--ink-max);
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 140ms ease-out,
		box-shadow 140ms ease-out,
		transform 140ms ease-out;
	-webkit-tap-highlight-color: transparent;
}

.button:hover {
	box-shadow: inset 0 0 0 1px var(--accent);
}

.button:active {
	transform: scale(0.98);
	transition-duration: 80ms;
}

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

.button .icon {
	position: absolute;
	left: 18px;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

.button-primary {
	background: var(--accent);
	color: var(--void);
	box-shadow: var(--shadow-btn);
}

.button-primary:hover {
	background: var(--accent) linear-gradient(rgba(237, 235, 230, 0.08), rgba(237, 235, 230, 0.08));
	box-shadow: var(--shadow-btn);
}

.section-label {
	margin: 20px 0 -2px;
	text-align: center;
	color: var(--ink-3);
}

footer {
	margin-top: auto;
	padding-top: 48px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ink-3);
}

footer a {
	color: var(--ink-2);
	text-decoration: none;
}

footer a:hover {
	color: var(--ink-max);
}

@media (prefers-reduced-motion: reduce) {
	.button {
		transition: none;
	}
}
