/* Spacing — the product uses Tailwind's default 4px scale directly and
   deliberately does NOT define a parallel one. These tokens exist so
   non-Tailwind consumers can hit the same rhythm; the layout constants
   below are the ones actually load-bearing in the product. */
:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout constants observed across the product */
  --layout-max: 80rem;          /* max-w-7xl — home, header, footer */
  --layout-max-narrow: 64rem;   /* max-w-5xl — writer dashboard */
  --layout-max-reading: 42rem;  /* max-w-2xl — chapter reading column */
  --header-height: 5rem;        /* h-20 mobile */
  --header-height-lg: 6rem;     /* h-24 from sm: up */
  --control-height-sm: 2.25rem; /* 36px — compact button (44px hit slop) */
  --control-height: 2.75rem;    /* 44px — input, select, default button */
  --section-gap: 6rem;          /* pb-24 between home sections */
}
