:root {
  --brand-50: #fff7ea;
  --brand-100: #f3e7d3;
  --brand-200: #e7d4bc;
  --brand-300: #dcb28a;
  --brand-400: #c98955;
  --brand-500: #b75f3b;
  --brand-600: #965032;
  --brand-700: #5b3927;
  --brand-800: #3a2418;
  --brand-900: #1c120d;
  --brand: var(--brand-500);
  --bg: var(--brand-900);
  --surface: color-mix(in oklab, var(--brand-900) 88%, var(--brand-800));
  --surface-2: color-mix(in oklab, var(--brand-900) 74%, var(--brand-700));
  --surface-3: color-mix(in oklab, var(--brand-900) 60%, var(--brand-600));
  --border: color-mix(in oklab, var(--brand-200) 18%, transparent);
  --border-strong: color-mix(in oklab, var(--brand-200) 34%, transparent);
  --border-focus: var(--brand-400);
  --ink: var(--brand-50);
  --ink-2: var(--brand-100);
  --ink-muted: color-mix(in oklab, var(--brand-100) 62%, var(--brand-400));
  --ink-inverse: var(--brand-900);
  --success: #8f9c68;
  --success-ink: var(--brand-50);
  --warning: #c98955;
  --warning-ink: var(--brand-900);
  --danger: #c56b58;
  --danger-ink: var(--brand-50);
  --info: #8f8367;
  --info-ink: var(--brand-50);
  --r-xs: 6px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 28px; --s-8: 32px;
  --s-10: 40px; --s-12: 48px; --s-14: 56px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-28: 112px; --s-32: 128px;
  --font-display: "Fraunces", serif;
  --font-sans: "Manrope", system-ui;
  --font-mono: "JetBrains Mono", monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: clamp(2.5rem, 5vw, 4rem);
  --fs-5xl: clamp(3.25rem, 7vw, 6rem);
  --fs-6xl: clamp(4rem, 11vw, 11rem);
  --lh-tight: 1;
  --lh-snug: 1.15;
  --lh-normal: 1.65;
  --lh-relaxed: 1.8;
  --tracking-tight: -0.04em;
  --tracking-base: 0em;
  --tracking-wide: 0.12em;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --shadow-xs: 0 1px 2px color-mix(in oklab, var(--brand-900) 25%, transparent);
  --shadow-sm: 0 8px 20px color-mix(in oklab, var(--brand-900) 24%, transparent);
  --shadow-md: 0 18px 44px color-mix(in oklab, var(--brand-900) 28%, transparent);
  --shadow-lg: 0 24px 64px color-mix(in oklab, var(--brand-900) 34%, transparent);
  --shadow-xl: 0 36px 84px color-mix(in oklab, var(--brand-900) 42%, transparent);
  --shadow-brand: 0 18px 44px color-mix(in oklab, var(--brand-500) 28%, transparent);
  --ease-out: cubic-bezier(0.22,1,0.36,1);
  --ease-in-out: cubic-bezier(0.4,0,0.2,1);
  --dur-fast: 150ms;
  --dur: 220ms;
  --dur-slow: 380ms;
  --ring: 0 0 0 3px color-mix(in oklab, var(--brand) 35%, transparent);
}

[data-theme="light"] {
  --bg: var(--brand-100);
  --surface: var(--brand-50);
  --surface-2: color-mix(in oklab, var(--brand-100) 86%, white);
  --surface-3: color-mix(in oklab, var(--brand-200) 72%, white);
  --border: color-mix(in oklab, var(--brand-800) 12%, transparent);
  --border-strong: color-mix(in oklab, var(--brand-800) 24%, transparent);
  --border-focus: var(--brand-500);
  --ink: var(--brand-900);
  --ink-2: var(--brand-800);
  --ink-muted: color-mix(in oklab, var(--brand-800) 64%, var(--brand-500));
  --ink-inverse: var(--brand-50);
}