/* ==========================================================================
   V20 — base.css
   Reset + design tokens + typography + layout primitives.
   Mobile-first. Component CSS files build on these tokens.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
	/* Colors — sampled from v20.nl (dark theme, neon accent). */
	--v20-neon: #00ff88;
	--v20-dark: #16181d;
	--v20-card-bg: #212429;
	--v20-text: #e0e0e0;
	--v20-border: rgba(255, 255, 255, .08);

	--color-text: var(--v20-text);
	--color-muted: rgba(255, 255, 255, .6);
	--color-bg: var(--v20-dark);
	--color-surface: var(--v20-card-bg);
	--color-border: var(--v20-border);
	--color-primary: var(--v20-neon);
	--color-primary-dark: #00cc6d;
	--color-link: var(--v20-neon);

	/* Typography */
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-heading: var(--font-body);
	/* Weights matching v20.nl: 400 body, 700 headings/buttons, 800 brand. */
	--fw-normal: 400;
	--fw-medium: 500;
	--fw-bold: 700;
	--fw-black: 800;
	--fs-base: 16px;
	--lh-base: 1.6;

	/* Spacing scale */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;

	/* Layout */
	--container-max: 1400px;   /* matches v20.nl .container override at ≥1400px */
	--container-pad: 16px;
	--radius: 6px;
	--radius-lg: 10px;

	/* Effects */
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
	--shadow-md: 0 4px 14px rgba(0, 0, 0, .08);
	--transition: .2s ease;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-base);
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--space-4);
	font-family: var(--font-heading);
	line-height: 1.25;
	font-weight: 700;
}

p {
	margin: 0 0 var(--space-4);
}

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

a:hover {
	color: var(--color-primary-dark);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

ul,
ol {
	margin: 0 0 var(--space-4);
	padding-left: 1.25em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

/* ---- Layout primitives ---- */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Responsive breakpoints (reference) ----
   Mobile-first. Layer larger screens with min-width:
   --  ≥ 640px   small tablets
   --  ≥ 900px   tablets / small laptops
   --  ≥ 1200px  desktop
   Keep these consistent across every component file. */
@media (min-width: 900px) {
	:root {
		--container-pad: 24px;
	}
}
