/* ShowUp design tokens: "calm glass". The ONLY place colors, type, spacing, radii, shadows and motion are defined.
   Unisex palette: stone, sand, mist, slate + one refined accent (deep sage-teal). All text/surface pairs meet WCAG AA. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  /* palette */
  --stone-50: #faf9f7; --stone-100: #f4f2ee; --sand-200: #e9e4da; --sand-300: #d9d1c3; --mist-100: #eef2f4; --mist-200: #e1e8ec;
  --slate-400: #8796a5; --slate-500: #5f6f7f; --slate-600: #475569; --slate-700: #334155; --ink-900: #16202a; --ink-950: #0f1519;
  --accent-600: #2f6f68; --accent-700: #245a54; --accent-100: #dcebe8; --accent-50: #eef6f4;
  --success: #2f7a52; --warning: #8a5f10; --danger: #a33a3a; --danger-50: #fbeceb; --warning-50: #fbf3e2; --success-50: #e8f4ed;
  /* semantic */
  --bg: var(--stone-100); --text: var(--ink-900); --text-muted: #4b5866; --text-soft: #5b6774; --border: rgba(22, 32, 42, .12); --hairline: rgba(255, 255, 255, .65);
  --accent: var(--accent-600); --accent-hover: var(--accent-700); --accent-soft: var(--accent-100); --on-accent: #ffffff; --focus: #2f6f68;
  --surface: rgba(255, 255, 255, .68); --surface-strong: rgba(255, 255, 255, .86); --surface-solid: #ffffff; --surface-sunk: rgba(22, 32, 42, .04);
  --mesh-1: rgba(47, 111, 104, .20); --mesh-2: rgba(135, 150, 165, .22); --mesh-3: rgba(217, 209, 195, .55);
  /* provider colors (calendar) */
  --pc-sage: #dcebe8; --pc-sage-ink: #1f4f49; --pc-slate: #e1e7ef; --pc-slate-ink: #2c3a4b; --pc-sand: #f0e8da; --pc-sand-ink: #5a4626;
  --pc-mist: #e3eef2; --pc-mist-ink: #24485a; --pc-clay: #f1e2dc; --pc-clay-ink: #6a3a2b; --pc-graphite: #e4e4e2; --pc-graphite-ink: #2f2f2c;
  /* type */
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --fs-12: .75rem; --fs-14: .875rem; --fs-16: 1rem; --fs-18: 1.125rem; --fs-22: 1.375rem; --fs-28: 1.75rem; --fs-36: 2.25rem; --fs-48: 3rem;
  --lh-body: 1.55; --lh-tight: 1.15;
  /* spacing (4-pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  /* radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;
  /* elevation */
  --shadow-1: 0 1px 2px rgba(22, 32, 42, .06), 0 1px 1px rgba(22, 32, 42, .04);
  --shadow-2: 0 8px 24px -8px rgba(22, 32, 42, .14), 0 2px 6px rgba(22, 32, 42, .05);
  --shadow-3: 0 24px 60px -18px rgba(22, 32, 42, .25), 0 6px 18px rgba(22, 32, 42, .06);
  /* glass */
  --blur: blur(18px) saturate(140%);
  /* motion */
  --ease: cubic-bezier(.2, .8, .2, 1); --dur-1: 160ms; --dur-2: 220ms; --dur-3: 300ms;
  --maxw: 1160px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--ink-950); --text: #e9eef2; --text-muted: #b4c0cb; --text-soft: #a3b0bc; --border: rgba(255, 255, 255, .12); --hairline: rgba(255, 255, 255, .10);
  --accent: #6fb3a9; --accent-hover: #8cc7be; --accent-soft: rgba(111, 179, 169, .18); --on-accent: #0b1714; --focus: #8cc7be;
  --surface: rgba(28, 38, 46, .62); --surface-strong: rgba(30, 41, 50, .86); --surface-solid: #18222a; --surface-sunk: rgba(255, 255, 255, .05);
  --mesh-1: rgba(47, 111, 104, .30); --mesh-2: rgba(71, 85, 105, .35); --mesh-3: rgba(30, 41, 59, .6);
  --danger: #f19b9b; --danger-50: rgba(163, 58, 58, .22); --warning: #e8c27a; --warning-50: rgba(138, 95, 16, .25); --success: #8fd3ad; --success-50: rgba(47, 122, 82, .25);
  --pc-sage: rgba(111, 179, 169, .22); --pc-sage-ink: #cfeae5; --pc-slate: rgba(148, 163, 184, .2); --pc-slate-ink: #dde5ee; --pc-sand: rgba(217, 209, 195, .18); --pc-sand-ink: #efe4cf;
  --pc-mist: rgba(125, 175, 196, .2); --pc-mist-ink: #d6ecf4; --pc-clay: rgba(200, 140, 120, .2); --pc-clay-ink: #f3d8ce; --pc-graphite: rgba(200, 200, 196, .16); --pc-graphite-ink: #ececea;
  --shadow-2: 0 8px 24px -8px rgba(0, 0, 0, .5); --shadow-3: 0 24px 60px -18px rgba(0, 0, 0, .6);
}
@media (prefers-reduced-motion: reduce) { :root { --dur-1: 1ms; --dur-2: 1ms; --dur-3: 1ms; } }
