/* Design tokens: direction B, editorial commerce. Change brand values here. */
:root {
  /* Color: matches the original rearrangeproducts.com purple theme */
  --paper: #ffffff;
  --paper-deep: #f3f4f6;
  --surface: #f9fafb;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #4b5563;
  --line: #e5e7eb;
  --line-strong: #d1d5db;

  --sand: #f3f4f6;
  --clay: #d1d5db;

  --brand: #7b2fbf;
  --brand-dark: #5a1e8f;
  --brand-light: #9b4fdf;
  --brand-soft: #e5d4f5;
  --brand-tint: #f3eafb;
  --brand-gradient: linear-gradient(135deg, #7b2fbf 0%, #9b4fdf 100%);
  --brand-gradient-deep: linear-gradient(135deg, #7b2fbf 0%, #5a1e8f 100%);
  --on-brand: #ffffff;
  --on-brand-muted: #e5d4f5;

  --teal: #06b6d4;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --amber-deep: #b45309;

  --accent: var(--brand);
  --accent-ink: #ffffff;
  --success: #047857;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  --text-3xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --text-4xl: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-body: 1.65;
  --tracking-label: 0.12em;

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  /* Shape */
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-lift: 0 18px 36px rgba(17, 24, 39, 0.16);

  /* Layout */
  --container: 1160px;
  --container-narrow: 760px;
  --gutter: 16px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 420ms;
  --dur-slow: 650ms;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}
