/* ============================================================
   SPACING, RADII, ELEVATION, MOTION — slajob.dev
   Generous whitespace. 4px base step.
   ============================================================ */

:root {
  /* spacing scale (4px base) */
  --space-1:  0.25rem;  /*  4 */
  --space-2:  0.5rem;   /*  8 */
  --space-3:  0.75rem;  /* 12 */
  --space-4:  1rem;     /* 16 */
  --space-5:  1.5rem;   /* 24 */
  --space-6:  2rem;     /* 32 */
  --space-7:  3rem;     /* 48 */
  --space-8:  4rem;     /* 64 */
  --space-9:  6rem;     /* 96 */
  --space-10: 8rem;     /* 128 */

  /* layout */
  --container:     72rem;   /* 1152px max content width */
  --container-narrow: 44rem; /* prose column */
  --gutter:        var(--space-5);

  /* radii — rounder, liquid-glass leaning; capsule-friendly */
  --radius-xs:  8px;
  --radius-sm:  12px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill: 999px;

  /* borders */
  --border-width: 1px;

  /* elevation — cool, low-contrast, blue-tinted shadows */
  --shadow-xs: 0 1px 2px rgba(19, 25, 34, 0.05);
  --shadow-sm: 0 1px 3px rgba(19, 25, 34, 0.06), 0 1px 2px rgba(19, 25, 34, 0.04);
  --shadow-md: 0 4px 12px rgba(19, 25, 34, 0.07), 0 2px 4px rgba(19, 25, 34, 0.04);
  --shadow-lg: 0 12px 32px rgba(19, 25, 34, 0.10), 0 4px 8px rgba(19, 25, 34, 0.04);
  --shadow-focus: 0 0 0 3px var(--action-ring);

  /* liquid-glass elevation — softer, floatier */
  --shadow-glass: 0 8px 30px rgba(19, 25, 34, 0.12), 0 2px 8px rgba(19, 25, 34, 0.06);

  /* motion — calm, precise; no bounce */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   360ms; /* @kind other */
}

[data-theme="dark"] {
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.55), 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.5);
}
