/* Poise — spacing, radii, elevation, motion. */

:root {
  /* Spacing (4pt base) */
  --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;

  /* Layout */
  --screen-margin: 20px; /* iOS screen edge inset */
  --card-padding: 16px;
  --status-bar-inset: 54px; /* space screens reserve for the status bar/dynamic
    island above them; PhoneShell overrides this to 0 when it renders without
    one, so content doesn't leave a dead gap where the bar would have been */

  /* Radii */
  --radius-sm: 8px;
  --radius-card: 12px;   /* the standard card corner */
  --radius-lg: 20px;
  --radius-pill: 999px;  /* capsule buttons, chips */

  /* Elevation — dark mode: lighter surface = higher; shadows are soft & subtle */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-sheet: 0 -12px 40px rgba(0, 0, 0, 0.6);

  /* Controls */
  --control-h-lg: 54px; /* primary CTA */
  --control-h-md: 44px; /* standard button — min hit target */
  --control-h-sm: 32px; /* chips, compact */

  /* Motion — calm, no bounce */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --duration-fast: 150ms; /* @kind other */
  --duration-base: 250ms; /* @kind other */
  --duration-slow: 450ms; /* @kind other */
}
