/*
Theme Name: NoSleep512
Description: Child theme of Twenty Twenty-Five with the NoSleep512 design tokens (design/brand/tokens.json), dark by default, fonts served locally.
Template: twentytwentyfive
Version: 1.0.0
Text Domain: nosleep512
*/

/* Details theme.json cannot express (front page and footer). */

.ns-prompt {
	font-family: var(--wp--preset--font-family--fira-code, monospace);
	color: var(--wp--preset--color--accent-1);
}

.ns-display {
	font-size: clamp(2.6rem, 8vw, 5.5rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 800;
}

.ns-cursor::after {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.9em;
	margin-left: 0.12em;
	vertical-align: -0.05em;
	background: var(--wp--preset--color--accent-1);
	animation: ns-blink 1.1s steps(1) infinite;
}

@keyframes ns-blink {
	50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ns-cursor::after { animation: none; }
}

.ns-terminal {
	font-family: var(--wp--preset--font-family--fira-code, monospace);
	background: var(--wp--preset--color--base-2);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	white-space: pre;
	overflow-x: auto;
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--wp--preset--color--contrast-2);
}

.ns-terminal b {
	color: var(--wp--preset--color--ok);
	font-weight: 400;
}

.ns-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	padding: 1.5rem;
	background: var(--wp--preset--color--base-2);
}

.ns-card:hover {
	border-color: var(--wp--preset--color--accent-1);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--contrast);
}
