/* Layout primitives — spacing / radius / shadow.
   The Figma file defines no explicit spacing or radius variables; these values are
   derived from geometry observed in the file (2px section radius, hairline strokes)
   and sized to the type scale. Documented as intentional additions in readme.md. */

:root {
  --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;

  --radius-xs: 2px;   /* section frames in the source file */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-hairline: inset 0 0 0 1px rgba(0,0,0,0.1); /* used on source frames */
  --shadow-card: 0 1px 2px rgba(25,25,25,0.06), 0 2px 8px rgba(25,25,25,0.06);
  --shadow-overlay: 0 8px 30px rgba(25,25,25,0.16);

  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --duration-fast: 120ms; /* @kind other */
  --duration-base: 200ms; /* @kind other */
}

/* Base resets */
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-body-base);
  line-height: 1.5;
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-deep); text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--text-body); }
