@import 'tailwindcss'; @import 'tw-animate-css'; @custom-variant dark (&:is(.dark *)); :root { /* Light mode - warm paper tones */ --background: oklch(0.98 0.005 90); --foreground: oklch(0.18 0.01 270); --card: oklch(0.96 0.005 90); --card-foreground: oklch(0.18 0.01 270); --popover: oklch(0.98 0.005 90); --popover-foreground: oklch(0.18 0.01 270); --primary: oklch(0.18 0.01 270); --primary-foreground: oklch(0.98 0.005 90); --secondary: oklch(0.94 0.005 90); --secondary-foreground: oklch(0.25 0.01 270); --muted: oklch(0.92 0.005 90); --muted-foreground: oklch(0.45 0.01 270); --accent: oklch(0.65 0.15 145); --accent-foreground: oklch(0.15 0.02 145); --destructive: oklch(0.577 0.245 27.325); --destructive-foreground: oklch(0.577 0.245 27.325); --border: oklch(0.88 0.005 90); --input: oklch(0.92 0.005 90); --ring: oklch(0.65 0.15 145); --radius: 0.5rem; } .dark { /* Dark mode - deep charcoal with warmth */ --background: oklch(0.13 0.01 270); --foreground: oklch(0.92 0.01 90); --card: oklch(0.16 0.01 270); --card-foreground: oklch(0.92 0.01 90); --popover: oklch(0.16 0.01 270); --popover-foreground: oklch(0.92 0.01 90); --primary: oklch(0.92 0.01 90); --primary-foreground: oklch(0.13 0.01 270); --secondary: oklch(0.22 0.01 270); --secondary-foreground: oklch(0.85 0.01 90); --muted: oklch(0.20 0.01 270); --muted-foreground: oklch(0.60 0.01 90); --accent: oklch(0.72 0.14 140); --accent-foreground: oklch(0.13 0.01 270); --destructive: oklch(0.396 0.141 25.723); --destructive-foreground: oklch(0.637 0.237 25.331); --border: oklch(0.25 0.01 270); --input: oklch(0.22 0.01 270); --ring: oklch(0.72 0.14 140); } @theme inline { --font-sans: 'Inter', 'Inter Fallback', system-ui, sans-serif; --font-serif: 'Instrument Serif', 'Georgia', serif; --font-mono: 'JetBrains Mono', 'Fira Code', monospace; --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground); --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); --color-destructive: var(--destructive); --color-destructive-foreground: var(--destructive-foreground); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); --radius-sm: calc(var(--radius) - 4px); --radius-md: calc(var(--radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); } @layer base { * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground; } html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } } /* Selection colors */ ::selection { background: oklch(0.72 0.14 140 / 0.3); } .dark ::selection { background: oklch(0.72 0.14 140 / 0.4); }