/* Starflight — Spacing, radius, borders, shadow, layout
   The brand is a clean, print-derived, document-like system: modest radii,
   hairline rules, restrained shadows. Spacing on a 4px base grid. */

:root {
  /* ---- Spacing scale (4px base) ---- */
  --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;
  --space-20: 80px;
  --space-24: 96px;

  /* ---- Radii (restrained — this is a document-led brand) ---- */
  --radius-none: 0;
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-pill: 999px;

  /* ---- Border widths ---- */
  --border-hairline: 1px; /* @kind spacing */
  --border-thick:    2px; /* @kind spacing */
  --border-rule:     3px; /* @kind spacing */ /* accent rule under headings */

  /* ---- Shadows (soft, cool-navy tint, low spread) ---- */
  --shadow-xs: 0 1px 2px rgba(13, 34, 49, 0.08);
  --shadow-sm: 0 1px 3px rgba(13, 34, 49, 0.10), 0 1px 2px rgba(13, 34, 49, 0.06);
  --shadow-md: 0 4px 12px rgba(13, 34, 49, 0.10), 0 2px 4px rgba(13, 34, 49, 0.06);
  --shadow-lg: 0 12px 28px rgba(13, 34, 49, 0.14), 0 4px 8px rgba(13, 34, 49, 0.07);

  /* ---- Layout ---- */
  --container-narrow: 720px;
  --container:        1080px;
  --container-wide:   1280px;
  --gutter:           var(--space-6);

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