/* STIQ24 – global.css: Tokens (Atelier Precision / DESIGN.md), Schriften, Reset, Typografie, Buttons. */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--s24-primary: #111111;
	--s24-primary-hover: #262626;
	--s24-secondary: #4b5563;
	--s24-tertiary: #2563eb;
	--s24-surface: #ffffff;
	--s24-surface-bright: #f9f9fb;
	--s24-surface-low: #f5f5f7;
	--s24-surface-container: #eeedf7;
	--s24-border: #e5e7eb;
	--s24-border-soft: #f3f4f6;
	--s24-outline: #747878;
	--s24-outline-variant: #c4c7c7;
	--s24-on-surface: #1a1b22;
	--s24-on-variant: #444748;
	--s24-error: #ba1a1a;
	--s24-ok: #047857;

	--s24-r-sm: 4px;
	--s24-r: 8px;
	--s24-r-md: 12px;
	--s24-r-lg: 16px;
	--s24-r-full: 9999px;

	--s24-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
	--s24-shadow-2: 0 4px 12px 0 rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
	--s24-shadow-3: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

	--s24-font-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
	--s24-font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

	--s24-gutter: 1.5rem;
	--s24-max: 1280px;
	--s24-header-h: 80px;
}

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

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

body {
	margin: 0;
	background: var(--s24-surface);
	color: var(--s24-on-surface);
	font-family: var(--s24-font-body);
	font-size: 14px;
	line-height: 22px;
	-webkit-font-smoothing: antialiased;
}

body ::selection { background: var(--s24-primary); color: #fff; }

img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--s24-font-head);
	color: var(--s24-primary);
	margin: 0 0 0.5em;
}
h1 { font-size: 36px; line-height: 42px; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

@media (min-width: 768px) {
	h1 { font-size: 52px; line-height: 58px; letter-spacing: -0.03em; }
	h2 { font-size: 32px; line-height: 38px; letter-spacing: -0.02em; }
}

:focus-visible { outline: 2px solid var(--s24-tertiary); outline-offset: 2px; }

.s24-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--s24-primary); color: #fff; padding: 12px 16px;
}
.s24-skip:focus { left: 0; }

.s24-container { width: 100%; max-width: var(--s24-max); margin: 0 auto; padding: 0 var(--s24-gutter); }
@media (min-width: 1024px) { .s24-container { padding: 0 3rem; } }

.s24-section { padding: 4rem 0; border-bottom: 1px solid var(--s24-border); }
@media (min-width: 1024px) { .s24-section { padding: 6rem 0; } }

.s24-eyebrow {
	display: block; margin-bottom: 8px;
	font-size: 11px; line-height: 14px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--s24-secondary);
}
.s24-lead { font-size: 16px; line-height: 26px; color: var(--s24-on-variant); max-width: 40rem; }
.s24-hint { font-size: 12px; line-height: 18px; color: var(--s24-secondary); }

/* Buttons (DESIGN.md: 48px, 8px Radius) */
.s24-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 28px;
	border: 1px solid transparent; border-radius: var(--s24-r);
	font-size: 14px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none;
	cursor: pointer; transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.s24-btn:active { transform: scale(0.98); }
.s24-btn--primary { background: var(--s24-primary); color: #fff; }
.s24-btn--primary:hover { background: var(--s24-primary-hover); }
.s24-btn--secondary { background: var(--s24-surface); color: var(--s24-primary); border-color: var(--s24-border); }
.s24-btn--secondary:hover { border-color: var(--s24-primary); }
.s24-btn--block { width: 100%; }
.s24-btn--sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.s24-btn[disabled], .s24-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.s24-icon { flex-shrink: 0; vertical-align: middle; }

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

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
