/* Clovace design tokens. Light theme only. No blue, no gold. */
:root {
  /* Cream scale: 1-2 backgrounds, 3-5 components, 6-7 lines */
  --cream-1: #f7f3ea;
  --cream-2: #fbf8f1;
  --cream-3: #f1ebde;
  --cream-4: #e9e1d0;
  --cream-6: #e2d9c5;
  --cream-7: #cfc3a9;
  --card-face: #fffdf7;

  /* Forest scale: felt, fills, text */
  --forest-7: #3b7259;
  --forest-8: #2f6149;
  --forest-9: #24533e;
  --forest-10: #1d4532;
  --forest-12: #14251c;

  /* Ink */
  --ink: #18201b;
  --ink-2: #545d55;
  --suit-red: #d42a2e;
  --suit-black: #18201b;

  /* Chips */
  --chip-forest: #2f6149;
  --chip-cream: #efe6d2;
  --chip-brick: #a9473b;

  /* Radius: concentric, inner = outer - padding */
  --r-tile: 28px;
  --tile-pad: 8px;
  --r-felt: calc(var(--r-tile) - var(--tile-pad));
  --r-pill: 999px;

  /* Spacing on a 4px grid */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;

  /* Type: four sizes */
  --t-display: clamp(32px, 4.2vw, 46px);
  --t-title: 24px;
  --t-body: 16px;
  --t-label: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;

  /* Motion by role */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .75, .2);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-open: cubic-bezier(.32, .72, 0, 1);
  --d-press: 120ms;
  --d-hover: 240ms;
  --d-deal: 460ms;
  --d-flip: 420ms;

  /* Shadows: one soft, one lifted */
  --shadow-card: 0 1px 1px rgba(20, 37, 28, .16), 0 8px 16px -8px rgba(20, 37, 28, .42);
  --shadow-lift: 0 2px 2px rgba(20, 37, 28, .14), 0 16px 28px -12px rgba(20, 37, 28, .5);
  --hairline: 0.5px solid rgba(24, 32, 27, .14);
  --focus: 0 0 0 3px var(--cream-2), 0 0 0 6px var(--forest-8);
}
