/* Sthenos design tokens. Values from the Figma page-builder kit (design-refs/kit),
   the states sheet (307:29934) and 03-MOTION-SPEC.md section 3. */
:root {
	/* Colour: kit constants BG, INK, BLUE, A2, LAV, LAVS, NIGHT, W */
	--c-mist: #F6F8FC;
	--c-ink: #0A0D31;
	--c-blue: #010ED0;
	--c-lavender: #838AEC;
	--c-lav-glow: #DEE0FF;
	--c-lav-soft: #ECEEFF;
	--c-night: #070A24;
	--c-white: #FFFFFF;
	--c-night-chip: #12164A;
	--c-logo: #0A0A0C;
	/* State colours (states sheet) */
	--c-blue-hover: #0009B0;
	--c-blue-pressed: #000894;
	--c-error: #C62828;
	--c-success: #1E7B4E;
	/* Ink alphas used across the kit */
	--ink-72: rgba(10, 13, 49, .72);
	--ink-68: rgba(10, 13, 49, .68);
	--ink-62: rgba(10, 13, 49, .62);
	--ink-60: rgba(10, 13, 49, .60);
	/* --ink-55 and --ink-50 colour small text only (labels, crumbs, meta lines), so both are raised to
	   the --ink-62 value for WCAG 1.4.3 (2026-11-26 audit): .55 gave 4.16:1 on mist and .50 gave 3.54:1;
	   .62 gives 5.26:1 on mist, 5.38:1 on white, 4.88:1 on lav-glow. The names stay so no rule moves.
	   No decorative (non-text) rule uses them. */
	--ink-55: rgba(10, 13, 49, .62);
	--ink-50: rgba(10, 13, 49, .62);
	--ink-18: rgba(10, 13, 49, .18);
	--ink-14: rgba(10, 13, 49, .14);
	--ink-12: rgba(10, 13, 49, .12);
	--ink-10: rgba(10, 13, 49, .10);
	--ink-08: rgba(10, 13, 49, .08);
	--ink-07: rgba(10, 13, 49, .07);
	--grad-brand: linear-gradient(180deg, var(--c-blue), var(--c-lavender));
	--grad-well: linear-gradient(135deg, var(--c-lav-soft), var(--c-lav-glow));

	/* Type */
	--f-head: "Geist", "Geist Fallback", system-ui, sans-serif;
	--f-body: "Inter", "Inter Fallback", system-ui, sans-serif;
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;

	/* Layout */
	--content: 1200px;
	--content-wide: 1312px;
	--gutter: 20px;
	--sec-pad: 52px;      /* kit z(96,52) */
	--sec-gap: 22px;      /* kit z(40,22) */
	--nav-h: 76px;

	/* Radii */
	--r-btn: 10px;
	--r-chip: 60px;
	--r-pill: 30px;
	--r-card-s: 14px;
	--r-card: 20px;
	--r-card-l: 24px;
	--r-card-xl: 28px;

	/* Shadows: kit SOFT, BIG, BSH, INSET */
	--sh-soft:
		0 .7px .7px -.6px rgba(10, 13, 49, .08),
		0 1.8px 1.8px -1.3px rgba(10, 13, 49, .08),
		0 3.6px 3.6px -2px rgba(10, 13, 49, .07),
		0 6.9px 6.9px -2.7px rgba(10, 13, 49, .07),
		0 13.6px 13.6px -3.3px rgba(10, 13, 49, .05),
		0 30px 30px -4px rgba(10, 13, 49, .03);
	--sh-big: var(--sh-soft), 0 40px 60px -24px rgba(10, 13, 49, .16);
	--sh-blue:
		0 1px 1px -.5px rgba(1, 14, 208, .24),
		0 3px 3px -1px rgba(1, 14, 208, .22),
		0 8px 8px -2px rgba(1, 14, 208, .20),
		0 18px 18px -4px rgba(1, 14, 208, .16);
	--sh-blue-hover:
		0 2px 2px -.5px rgba(1, 14, 208, .26),
		0 5px 5px -1px rgba(1, 14, 208, .24),
		0 12px 12px -2px rgba(1, 14, 208, .22),
		0 26px 26px -4px rgba(1, 14, 208, .18);
	--sh-inset: inset 0 2px 6px rgba(10, 13, 49, .08);
	--sh-pressed: inset 0 1px 2px rgba(10, 13, 49, .3);
	--ring-card: inset 0 0 0 2px var(--c-white);   /* kit card(): 2px white inside stroke */
	--ring-card-1: inset 0 0 0 1px var(--c-white);
	--sh-float: var(--sh-big), 0 28px 48px -20px rgba(10, 13, 49, .18);
	--focus: 0 0 0 3px var(--c-mist), 0 0 0 5px var(--c-blue);

	/* Motion: 03-MOTION-SPEC.md section 3 */
	--dur-press: 120ms;
	--dur-fast: 200ms;
	--dur-hover: 300ms;
	--dur-mega-in: 280ms;
	--dur-mega-out: 200ms;
	--dur-panel: 550ms;
	--dur-panel-out: 350ms;
	--dur-reveal: 1000ms;
	--dur-reveal-m: 800ms;
	--dur-hero: 1000ms;
	--dur-words: 1400ms;
	--dur-settle: 1200ms;
	--dur-count: 1300ms;
	--dur-crossfade: 500ms;
	--dur-line: 1200ms;
	--dur-cycle: 6000ms;
	--ease-spring: linear(0, 0.032, 0.111, 0.216, 0.33, 0.444, 0.552, 0.648, 0.731, 0.801,
		0.858, 0.904, 0.939, 0.965, 0.984, 0.998, 1.006, 1.012, 1.014, 1.015, 1.015, 1.014,
		1.012, 1.01, 1);
	--ease-spring-ui: linear(0, 0.046, 0.154, 0.289, 0.428, 0.559, 0.673, 0.768, 0.843,
		0.901, 0.943, 0.973, 0.992, 1.005, 1.012, 1.015, 1.015, 1.014, 1.012, 1.01, 1.008,
		1.006, 1.005, 1.003, 1);
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--ease-in: cubic-bezier(0.5, 0, 0.75, 0);
	--dist-reveal: 24px;
	--dist-side: 24px;
	--dist-hero-h1: 12px;
	--dist-hero-item: 16px;
	--dist-word: 8px;
	--dist-small: 6px;
	--lift-button: 0px;
	--lift-card: 0px;
	--stagger-pair: 200ms;
	--stagger-grid: 100ms;
	--stagger-list: 80ms;
	--stagger-chip: 40ms;
	--stagger-word: 30ms;
	--lead-gap: 150ms;
	--stagger-cap: 300ms;

	/* Z-index scale */
	--z-content: 1;
	--z-sticky: 20;
	--z-blurband: 40;
	--z-backdrop: 50;
	--z-mega: 55;
	--z-nav: 60;
	--z-menu: 70;
	--z-progress: 80;
	--z-skip: 100;
}
@supports not (transition-timing-function: linear(0, 1)) {
	:root {
		--ease-spring: cubic-bezier(0.25, 0.2, 0.2, 1.2);
		--ease-spring-ui: cubic-bezier(0.3, 0.5, 0.1, 1.15);
	}
}
@media (min-width: 768px) {
	:root {
		--gutter: 32px;
		--sec-pad: 96px;
		--sec-gap: 40px;
		--dist-reveal: 32px;
		--dist-side: 32px;
		--dist-hero-h1: 16px;
		--dist-hero-item: 20px;
		--dist-word: 10px;
		--dist-small: 8px;
		--lift-button: -1px;
		--lift-card: -4px;
		--stagger-cap: 450ms;
		--stagger-word: 40ms;
	}
}
@media (min-width: 1024px) {
	:root {
		--gutter: 40px;
		--dist-reveal: 40px;
		--dist-side: 48px;
		--dist-hero-item: 24px;
		--stagger-cap: 600ms;
		--stagger-word: 50ms;
	}
}
