:root {
  /* Radii — rounder than BaiBai; echoes the device's soft corners */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --radius-card: 3.18mm;   /* CR80 card corner, used on story cards */

  /* Borders */
  --border-width: 1px;
  --border-width-strong: 2px;

  /* Shadows — soft, warm, rarely used. Prefer ivory-2 / ivory-3 planes. */
  --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 6px 20px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.12);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* Motion — calm. No bounces. */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 220ms; /* @kind other */
  --duration-slow: 420ms; /* @kind other */
  --pixel-step: 160ms;     /* @kind other */ /* display frame step */
}
