/* PNOĒ — Spacing, radii & layout tokens
   Calm, generous editorial rhythm on an 8px base. Marketing surfaces breathe;
   app/data surfaces stay tighter and tabular. */

:root {
  /* ---- spacing scale (8px base, with 4px half-steps) ---- */
  --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;
  --space-32: 128px;
  --space-40: 160px;

  /* ---- semantic spacing ---- */
  --gap-inline: var(--space-3);   /* between inline controls */
  --gap-stack: var(--space-4);    /* default vertical rhythm */
  --pad-card: var(--space-6);     /* card interior */
  --pad-section: var(--space-24); /* marketing section vertical pad */
  --pad-control-x: var(--space-5);
  --pad-control-y: var(--space-3);

  /* ---- container widths ---- */
  --container-prose: 680px;
  --container-content: 1080px;
  --container-wide: 1280px;
  --gutter: var(--space-6);

  /* ---- radii ----
     The brand favors the *pill* (fully-rounded capsule) for buttons & chips,
     and soft-but-modest rounding on cards. No sharp corners on interactive UI. */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;   /* default card */
  --radius-lg: 20px;   /* large surface / app sheet */
  --radius-xl: 28px;
  --radius-pill: 999px; /* buttons, chips, tags — the signature shape */
  --radius-circle: 50%;

  /* ---- borders ---- */
  --border-width: 1px; /* @kind other */
  --border-width-strong: 1.5px; /* @kind other */

  /* ---- control heights ---- */
  --control-sm: 36px; /* @kind other */
  --control-md: 44px; /* @kind other */  /* default / min touch target */
  --control-lg: 56px; /* @kind other */

  /* ---- z-index ---- */
  --z-base: 0; /* @kind other */
  --z-raised: 10; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal: 1100; /* @kind other */
  --z-toast: 1200; /* @kind other */
}
