/* ==========================================================================
   CukaiBisnes.com — design tokens
   Sole source of truth for custom properties and @font-face. Emerald is the
   brand palette; Figtree is the display face, DM Sans the body face.
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Colour ----------------------------------------------------------- */
  --brand-900: #06251c;
  --brand-700: #036249;
  --accent: #047857;
  --accent-700: #036249;
  --surface: #ffffff;
  --surface-2: #f2f7f4;
  --ink: #0f172a;
  --ink-muted: #566173;
  --line: #dfe6e2;

  /* On dark grounds */
  --on-dark: #f2f7f4;
  --on-dark-muted: #9db3aa;
  --line-dark: #174234;

  /* --- Type ------------------------------------------------------------- */
  --font-display: "Figtree", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.875rem, 0.855rem + 0.09vw, 0.9375rem);
  --step-0: clamp(1rem, 0.98rem + 0.09vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.21rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.625rem, 1.32rem + 1.4vw, 2.25rem);
  --step-4: clamp(2rem, 1.5rem + 2.3vw, 3.25rem);

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.65;

  /* --- Space (8px scale) ------------------------------------------------ */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* --- Measure ---------------------------------------------------------- */
  --wrap: 1140px;
  --measure: 68ch;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  /* --- Form ------------------------------------------------------------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --tap: 44px;

  /* --- Motion ----------------------------------------------------------- */
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-slow: 250ms;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);

  /* --- Chrome ----------------------------------------------------------- */
  --header-h: 68px;
  --shadow-sm: 0 1px 2px rgba(28, 20, 22, 0.06), 0 2px 8px rgba(28, 20, 22, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 20, 22, 0.08), 0 12px 32px rgba(28, 20, 22, 0.06);
}

@media (min-width: 768px) {
  :root {
    --header-h: 76px;
  }
}
