/*
 * Reset + base element styles. Square corners throughout, no drop
 * shadows — elevation is a 1px rule plus a 2px accent edge, per the
 * approved design reference.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased;
	background: var(--bg);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
	transition: background-color .45s ease, color .45s ease;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--accent);
	text-decoration: none;
}

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

button {
	font: inherit;
	border-radius: 0;
}

button,
input,
textarea,
select {
	box-sizing: border-box;
	font-family: inherit;
}

h1, h2, h3, h4 {
	font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
	font-weight: 800;
	margin: 0;
	color: var(--ink);
}

p {
	margin: 0;
}

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

/* Visible focus state on every interactive element — the design's own
   prototype uses `all:unset` on buttons for a bare canvas look, which
   also strips the native focus ring. Production restores it explicitly. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.fb-container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-gutter);
}

.fb-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes fb-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .2; }
}

@keyframes fb-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
