/* Radius tokens — NOT from Figma. tokens.css has no radius scale at all
   (every component hardcodes its own px value), and the rule there is
   "1:1 mirror, don't add to it" — so this lives in its own file instead of
   touching tokens.css. Explicitly authorized as an addition: the kit's
   radii are being consolidated onto a fixed 2/4/6/8/12/16/24 scale,
   nothing in between.

   These used to pair with a --corner-N superellipse() value each — retired
   along with the rest of the native corner-shape property, see base.css.
   Plain border-radius is the whole story now; CornerKit (ui/squircle.tsx)
   is the only place that still does squircle-style curves.

   2px and 12px and 24px aren't used by any real component yet — see
   /kit/corners for what they'd look like if something needed them.
   Tag's real Figma radius is 3px, which doesn't land on this scale at all
   (equidistant between 2 and 4) — left as its own hardcoded value rather
   than silently snapped either direction; flagged on /kit/corners. */

:root {
  --radius-2: 2px;
  --radius-4: 4px;
  --radius-6: 6px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;

  /* Same two layers as --shadow-0 (tokens.css) (spread is 0 in both, so
     nothing is lost), rewritten as drop-shadow() functions. box-shadow is
     clipped away on any element using clip-path (which is how CornerKit
     renders squircles) — drop-shadow instead shadows the actual rendered,
     clipped shape, so it can't mismatch the curve the way a shadow on a
     separate plain-radius wrapper did. */
  --shadow-0-filter: drop-shadow(0px 0px 1px rgb(0 0 0 / 32%)) drop-shadow(0px 1.5px 2px rgb(0 0 0 / 8%));
}
