/* Baseshop Design Tokens — the single source of truth for every page */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Gray scale */
  --gray-0:    #ffffff;
  --gray-50:   #f6f6f6;
  --gray-100:  #ebebeb;
  --gray-200:  #d6d6d6;
  --gray-400:  #999999;
  --gray-600:  #555555;
  --gray-900:  #1a1a1a;
  --gray-1000: #000000;

  /* Typography */
  --font-sans: 'Atkinson Hyperlegible', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;

  /* Print Doctrine type scale */
  --text-body:   0.875rem;
  --text-intro:  1rem;
  --text-section: 0.938rem;
  --text-headline: 2rem;
  --text-display:  2.25rem;

  /* Print Doctrine colors */
  --ink-black:  #000000;
  --ink-body:   #222222;
  --ink-muted:  #333333;
  --ink-faint:  #555555;

  /* Spacing */
  --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;

  /* Touch targets */
  --tap-min:    44px;
  --tap-comfort: 48px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Print */
  --print-width:  8.5in;
  --print-height: 11in;
  --print-margin: 0.5in;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-body);
  background: var(--gray-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
