/* Wirecraft Studio holding page: one screen, dark slate with the mint accent the
   product docs use. No framework, no build step. */

:root {
	--bg: #0d1014;
	--panel: #151a21;
	--line: #232b36;
	--text: #e9ecf2;
	--muted: #a6afbd;
	--accent: #35c4a3;
	--accent-soft: rgba(53, 196, 163, 0.12);
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

/* A faint wash behind everything so the page is not a flat rectangle. */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		radial-gradient(60rem 30rem at 50% -10%, rgba(53, 196, 163, 0.10), transparent 70%),
		radial-gradient(40rem 24rem at 90% 110%, rgba(53, 196, 163, 0.06), transparent 70%);
	pointer-events: none;
}

main {
	position: relative;
	max-width: 46rem;
	margin: 0 auto;
	padding: clamp(3rem, 12vh, 8rem) 1.25rem 3rem;
}

/* ---- Intro ---- */

.intro { text-align: center; }

.mark svg {
	width: 6.5rem;
	height: auto;
	margin-bottom: 1.25rem;
}
.mark .wire {
	fill: none;
	stroke: var(--accent);
	stroke-width: 2.5;
	stroke-linecap: round;
	opacity: 0.9;
}
.mark .wire-2 { opacity: 0.45; }
.mark .node { fill: var(--accent); }
.mark .node-2 { fill: var(--accent); opacity: 0.45; }

h1 {
	margin: 0;
	font-size: clamp(2.1rem, 6vw, 3.1rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.tagline {
	margin: 0.6rem 0 0;
	color: var(--muted);
	font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--text);
	font-size: 0.85rem;
}
.status .dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--accent);
}

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

.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1rem;
	margin-top: clamp(2.5rem, 8vh, 4rem);
}

.card {
	padding: 1.4rem 1.4rem 1.2rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--panel);
}

.card h2 {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}

.card p {
	margin: 0 0 1rem;
	color: var(--muted);
	font-size: 0.95rem;
}

.link {
	color: var(--accent);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
}
.link:hover, .link:focus-visible { text-decoration: underline; }

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

footer {
	margin-top: clamp(2.5rem, 8vh, 4rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	text-align: center;
	color: var(--muted);
	font-size: 0.9rem;
}
footer p { margin: 0.35rem 0; }
footer a { color: var(--accent); }
.fine { font-size: 0.8rem; opacity: 0.75; }

@media (prefers-reduced-motion: no-preference) {
	.intro, .products, footer { animation: rise 0.5s ease-out both; }
	.products { animation-delay: 0.08s; }
	footer { animation-delay: 0.16s; }
}
@keyframes rise {
	from { opacity: 0; transform: translateY(0.5rem); }
	to { opacity: 1; transform: none; }
}

/* The little heartbeat trace after the output node. */
.mark .pulse {
	fill: none;
	stroke: var(--accent);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
