/**
 * Alygio reklama — design tokens.
 *
 * Values measured from the approved reference (the7.io/fse-company) on
 * 2026-11-25. See docs/DESIGN-SPECIFICATION.md for sources and context.
 * Change a value here only with approval — every component reads from these.
 *
 * Breakpoints (CSS custom properties cannot be used in media queries):
 *   > 1200px  full navigation
 *   ≤ 1200px  hamburger navigation
 *   ≤ 1100px  two-column rows stack, grids reflow
 *   ≤  600px  mobile
 */

:root {
	/* Neutral palette */
	--ar-neutral-000: #ffffff;
	--ar-neutral-050: #f4f9fa;
	--ar-neutral-100: #e7f1f3;
	--ar-neutral-200: #cedfe3;
	--ar-neutral-300: #bcd1d7;
	--ar-neutral-400: #98b3bd;
	--ar-neutral-500: #7b9ca7;
	--ar-neutral-600: #5a7b87;
	--ar-neutral-700: #44606a;
	--ar-neutral-800: #344851;
	--ar-neutral-900: #233238;
	--ar-neutral-950: #151f23;

	/* Primary (teal) palette */
	--ar-primary-050: #e8fdfc;
	--ar-primary-100: #cff7f5;
	--ar-primary-200: #a4efec;
	--ar-primary-300: #77dfdc;
	--ar-primary-400: #3bc9c5;
	--ar-primary-500: #00b3b0;
	--ar-primary-600: #008f8f;
	--ar-primary-700: #00696b;
	--ar-primary-800: #00494d;
	--ar-primary-900: #002a2e;
	--ar-primary-950: #001c1f;

	/* Semantic colors */
	--ar-color-bg: var(--ar-neutral-050);
	--ar-color-bg-alt: var(--ar-neutral-100);
	--ar-color-text: var(--ar-neutral-700);
	--ar-color-heading: var(--ar-neutral-900);
	--ar-color-eyebrow: var(--ar-primary-600);
	--ar-color-accent: var(--ar-primary-500);
	--ar-color-border: var(--ar-neutral-200);
	--ar-color-border-dark: var(--ar-primary-800);
	--ar-color-card-dark: var(--ar-primary-900);

	/* Gradients used by the reference homepage and Services 2 page (no others
	   permitted). The inner-page title banner reuses --ar-gradient-footer
	   (gradient-13); the inner-page contact CTA reuses --ar-gradient-cta-card
	   (gradient-14). */
	--ar-gradient-header: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
	--ar-gradient-eyebrow: linear-gradient(90deg, #00494d 10%, rgba(255, 255, 255, 0) 100%);
	--ar-gradient-cta-card: linear-gradient(180deg, #00494d 0%, #001c1f 72%);
	--ar-gradient-footer: linear-gradient(180deg, #001c1f 23%, #00494d 99%);
	/* Hero H1 accent words (reference preset bbe-gradient-2, measured Task 03):
	   white → primary-400, clipped to the text, 200% wide and shifted 0 → 100% → 0. */
	--ar-gradient-text-accent: linear-gradient(105deg, #ffffff 50%, #3bc9c5 100%);
	/* Hero and final CTA: dark fade over the photo (reference preset gradient-12,
	   found in Task 04: transparent → primary-950, full height of the cover). */
	--ar-gradient-cover-fade: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #001c1f 100%);
	/* Testimonial photo: bottom scrim behind the rating (reference, Task 04). */
	--ar-gradient-photo-scrim: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.63) 70%);
	/* Light label on the white service cards (Services 2 reference, measured
	   Task 05): primary-100 at 8% → transparent.
	   Accessibility deviation A6 (approved Task 05, DESIGN-SPECIFICATION §10):
	   the reference text primary-600 #008f8f is 3.43–3.94:1 on this background
	   (16px / 400 needs 4.5:1); primary-700 #00696b reaches 5.65–6.5:1. */
	--ar-gradient-tag-light: linear-gradient(90deg, #cff7f5 8%, rgba(255, 255, 255, 0) 100%);
	--ar-tag-light-text: var(--ar-primary-700);
	/* Numbered process step (service detail reference, measured Task 06):
	   primary-100 → transparent, top to bottom, behind the step number. */
	--ar-gradient-step-number: linear-gradient(180deg, #cff7f5 0%, rgba(255, 255, 255, 0) 100%);
	--ar-overlay-cover: rgba(0, 0, 0, 0.4);
	--ar-header-scrolled-bg: rgba(0, 28, 31, 0.8);

	/* Typography */
	--ar-font-family: "Instrument Sans", sans-serif;
	--ar-font-size-display-2: clamp(42px, 2.625rem + ((1vw - 3.2px) * 3.878), 80px);
	/* Service hero H1 (reference preset display-3, measured Task 06:
	   68 / 68 / 60.11 / 52.80 / 42px at 1920 / 1440 / 1024 / 768 / 390). */
	--ar-font-size-display-3: clamp(42px, 2.5rem + ((1vw - 3.2px) * 2.857), 68px);
	--ar-font-size-title-1: clamp(36px, 2.25rem + ((1vw - 3.2px) * 2.449), 60px);
	--ar-font-size-title-2: clamp(36px, 2.25rem + ((1vw - 3.2px) * 1.224), 48px);
	--ar-font-size-title-3: clamp(32px, 2rem + ((1vw - 3.2px) * 0.408), 36px);
	--ar-font-size-title-4: 28px;
	--ar-font-size-title-5: 24px;
	--ar-font-size-title-6: 21px;
	--ar-font-size-stat: 68px;
	/* Numbered process step number (service detail reference, Task 06). */
	--ar-font-size-step-number: 44px;
	--ar-font-size-2xl: clamp(17px, 1.063rem + ((1vw - 3.2px) * 0.306), 20px);
	--ar-font-size-xl: clamp(17px, 1.063rem + ((1vw - 3.2px) * 0.204), 19px);
	--ar-font-size-body: 17px;
	--ar-font-size-md: 16px;
	--ar-font-size-sm: 15px;
	--ar-font-size-xs: 14px;
	--ar-line-height-body: 1.7;
	--ar-letter-spacing-tight: -0.01em;

	/* Spacing */
	--ar-space-10: 4px;
	--ar-space-20: 8px;
	--ar-space-30: 12px;
	--ar-space-40: 16px;
	--ar-space-50: 20px;
	--ar-space-60: 24px;
	--ar-space-70: 28px;
	--ar-space-80: 32px;
	--ar-space-90: clamp(36px, 34.6087px + 0.4348vw, 40px);
	--ar-space-100: clamp(40px, 37.2174px + 0.8696vw, 48px);
	--ar-space-110: clamp(48px, 45.2174px + 0.8696vw, 56px);
	--ar-space-120: clamp(56px, 53.2174px + 0.8696vw, 64px);
	--ar-space-130: clamp(64px, 58.4348px + 1.7391vw, 80px);
	--ar-space-140: clamp(72px, 63.6522px + 2.6087vw, 96px);
	--ar-space-150: clamp(80px, 68.8696px + 3.4783vw, 112px);
	--ar-space-160: clamp(88px, 74.087px + 4.3478vw, 128px);
	--ar-space-170: clamp(96px, 79.3043px + 5.2174vw, 144px);
	--ar-section-padding-y: var(--ar-space-150);

	/* Layout */
	--ar-container-wide: 1300px;
	--ar-container-narrow: 900px;
	--ar-heading-block-width: 700px;
	--ar-gutter: 5vw;
	--ar-header-height: 76px;

	/* Buttons (reference: primary-500 fill, primary-600 hover fill)
	 * Accessibility deviation (documented in DESIGN-SPECIFICATION §10):
	 * white on #00b3b0 is 2.6:1 and white on #008f8f is 3.9:1, both below WCAG AA
	 * 4.5:1 for 15–17px text. Button text: primary-950 on #00b3b0 (6.8:1);
	 * on the #008f8f hover fill primary-950 reaches only 4.49:1, so #000 (5.3:1).
	 */
	--ar-btn-primary-bg: var(--ar-primary-500);
	--ar-btn-primary-bg-hover: var(--ar-primary-600);
	--ar-btn-primary-text: var(--ar-primary-950);
	--ar-btn-primary-text-hover: #000;
	--ar-btn-outline-border: var(--ar-primary-600);
	--ar-btn-outline-text: var(--ar-neutral-000);
	--ar-btn-outline-bg-hover: var(--ar-primary-600);
	--ar-btn-outline-text-hover: #000;
	--ar-link-underline: var(--ar-primary-400);

	/* Focus indicator (addition for WCAG 2.4.7 / 2.4.11) */
	--ar-focus-ring-dark: var(--ar-primary-300);
	--ar-focus-ring-light: var(--ar-primary-700);

	/* Easing measured from the reference entrance animation */
	--ar-ease-out: cubic-bezier(0, 0, 0.58, 1);

	/* Shape and motion */
	--ar-radius: 0;
	--ar-border-width: 1px;
	--ar-transition-fast: 0.1s;
	--ar-transition-header: 0.2s;
}
