/* ai.com — Spacing, radius, shadow & layout tokens
   ----------------------------------------------------------------
   4px base grid. Soft, low-contrast shadows — most surfaces are
   defined by a 1px border, not a shadow. Generous corner radii. */

:root {
  /* ---- Spacing (4px grid) ---- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* ---- Corner radii ---- */
  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  8px;    /* buttons, inputs */
  --radius-lg:  10px;   /* avatars, small cards */
  --radius-xl:  12px;   /* cards, list rows */
  --radius-2xl: 16px;   /* large cards / modals */
  --radius-3xl: 20px;
  --radius-pill: 999px; /* badges, segmented toggles, chips */

  /* ---- Shadows (low contrast, neutral) ---- */
  --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-sm: 0 1px 3px rgba(10, 10, 10, 0.06), 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 4px 14px rgba(10, 10, 10, 0.07);
  --shadow-lg: 0 12px 32px rgba(10, 10, 10, 0.12);
  --shadow-focus: 0 0 0 3px rgba(10, 10, 10, 0.08);   /* black ring */
  --shadow-focus-ai: 0 0 0 3px rgba(124, 92, 255, 0.18);

  /* ---- Layout ---- */
  --sidebar-width: 264px;
  --rightrail-width: 360px;
  --topbar-height: 56px;
  --content-max: 920px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);   /* @kind other */
  --dur-fast: 120ms;                            /* @kind other */
  --dur-base: 180ms;                            /* @kind other */
  --dur-slow: 260ms;                            /* @kind other */
}
