/* tokens.css - company-registration-cyprus.com. The source of truth for styling (DESIGN.md section 2).
   Three layers: primitive (raw values, never used by components directly) -> semantic (roles) -> component (one
   component's knobs). Hex is what the browser gets; the oklch value of each colour is in the comment beside it.
   Contrast pairs are listed in DESIGN.md section 2.3. */

:root {
  /* ---------- 1. primitive ---------- */
  /* olive: the brand ground (replaces the reference's purple) */
  --olive-900: #1f2810;   /* oklch(26.1% 0.043 126) */
  --olive-700: #3a4a24;   /* oklch(38.5% 0.063 128) - brand */
  --olive-200: #cfd6b8;   /* oklch(86.3% 0.041 118) - sage */
  --olive-100: #e6eadb;   /* oklch(93.0% 0.020 119) */
  /* copper: the action colour (replaces the reference's red) */
  --copper-700: #8a460c;  /* oklch(47.1% 0.112 54) - hover */
  --copper-600: #a4540f;  /* oklch(53.3% 0.128 54) - CTA */
  /* sand: the accent circles and pills (replaces the reference's violet) */
  --sand-400: #e2c9a3;    /* oklch(84.7% 0.058 78) */
  --sand-200: #efe2cc;    /* oklch(91.7% 0.033 81) */
  --sand-100: #f3ede2;    /* oklch(94.8% 0.016 83) */
  /* neutrals, warm */
  --stone-50: #f4f1ec;    /* oklch(95.9% 0.007 81) - off-white */
  --stone-0: #ffffff;
  --stone-300: #cdc6b8;   /* oklch(82.8% 0.021 85) - border */
  --stone-200: #e4dfd5;   /* oklch(90.5% 0.015 85) - hairline */
  --stone-600: #55594d;   /* oklch(45.7% 0.020 122) - muted */
  --stone-900: #1b1f14;   /* oklch(23.1% 0.021 124) - ink */

  --font-sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 90px; --space-10: 120px;

  --radius-xs: 4px; --radius-sm: 8px; --radius-md: 24px; --radius-lg: 32px; --radius-xl: 40px; --radius-2xl: 48px; --radius-pill: 999px;

  --shadow-1: 0 4px 16px rgb(27 31 20 / 0.08);
  --shadow-2: 0 8px 24px rgb(27 31 20 / 0.12);

  --bp-sm: 600px; --bp-md: 900px; --bp-lg: 1240px;   /* documentation only: media queries cannot read custom properties */

  /* ---------- 2. semantic ---------- */
  --color-ink: var(--stone-900);
  --color-muted: var(--stone-600);
  --color-bg: var(--stone-0);
  --color-surface: var(--stone-50);
  --color-surface-warm: var(--sand-100);
  --color-border: var(--stone-300);
  --color-hairline: var(--stone-200);
  --color-brand: var(--olive-700);
  --color-brand-deep: var(--olive-900);
  --color-brand-soft: var(--olive-200);
  --color-brand-tint: var(--olive-100);
  --color-on-brand: var(--stone-0);
  --color-on-brand-muted: var(--olive-200);
  --color-action: var(--copper-600);
  --color-action-hover: var(--copper-700);
  --color-on-action: var(--stone-0);
  --color-accent: var(--sand-400);
  --color-accent-soft: var(--sand-200);
  --color-focus: var(--copper-600);
  --color-error: #a3261b;  /* oklch(47.2% 0.163 30) */

  --text-xs: 13px; --text-sm: 14px; --text-base: 17px; --text-lg: 20px; --text-xl: 24px;
  --h1-home: clamp(34px, 4.8vw, 68px);
  --h1-page: clamp(36px, 4.6vw, 64px);
  --h2: clamp(30px, 3.4vw, 48px);
  --h3: clamp(20px, 1.6vw, 22px);
  --leading-tight: 1.08; --leading-head: 1.15; --leading-body: 1.6;
  --weight-light: 300; --weight-body: 400; --weight-medium: 500; --weight-bold: 700; --weight-black: 800;
  --tracking-kicker: 0.1em;

  --container: 1140px;
  --container-wide: 1268px;
  --gutter: 16px;
  --section-y: clamp(64px, 8vw, 110px);

  /* ---------- 3. component ---------- */
  --header-h: 72px;
  --btn-h: 56px; --btn-h-sm: 36px; --btn-radius: var(--radius-xs); --btn-pad-x: 40px;
  --card-radius: var(--radius-lg); --card-bg: var(--color-bg); --card-shadow: var(--shadow-1);
  --banner-radius: var(--radius-2xl); --banner-bg: var(--color-brand); --banner-h: 350px;
  --intro-radius: var(--radius-xl); --intro-bg: var(--color-surface);
  --hero-h: 600px; --hero-arrow: 48px;
  --field-h: 56px; --field-radius: var(--radius-xs); --field-border: var(--color-border);
  --table-head-bg: var(--color-brand); --table-head-ink: var(--color-on-brand); --table-row-bg: var(--color-surface);
  --faq-icon: 44px;
  --footer-bg: var(--color-brand); --footer-rule: rgb(255 255 255 / 0.28);
}
