@import "tailwindcss"; @import "tw-animate-css"; @custom-variant dark (&:is(.dark *)); :root { --font-display: Charter, "Bitstream Charter", Cambria, Georgia, "Times New Roman", serif; --font-body: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Monaco, "Courier New", monospace; --font-base: var(--font-body); --font-heading: var(--font-display); --bg-primary: #1f1f1f; --bg-secondary: #2a2a2a; --bg-tertiary: #353535; --text-primary: #ececec; --text-secondary: #b8b8b8; --text-muted: #8a8a8a; --accent-primary: #ab7c5f; --accent-soft: #4a3f35; --spacing: 0.25rem; --radius: 0.75rem; --container: var(--breakpoint-2xl); --gutter: 24px; --background: var(--bg-primary); --foreground: var(--text-primary); --card: var(--bg-secondary); --card-foreground: var(--text-primary); --popover: var(--bg-secondary); --popover-foreground: var(--text-primary); --primary: var(--accent-primary); --primary-foreground: #fff; --secondary: var(--bg-tertiary); --secondary-foreground: var(--text-primary); --muted: var(--bg-tertiary); --muted-foreground: var(--text-secondary); --accent: var(--accent-soft); --accent-foreground: var(--text-primary); --destructive: #dc2626; --border: #3a3a3a; --input: #4a4a4a; --ring: var(--accent-primary); } @theme inline { --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-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; } html { @apply bg-background scroll-smooth; font-family: var(--font-base); } body { @apply bg-background text-foreground antialiased; } h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); } code, pre { font-family: var(--font-mono); } } @layer components { .kb-content h2 { @apply text-xl font-semibold tracking-tight text-foreground; } .kb-content h3 { @apply mt-4 text-lg font-semibold tracking-tight text-foreground; } .kb-content h4 { @apply mt-4 text-base font-semibold tracking-tight text-foreground; } .kb-content p { @apply mt-3 text-sm leading-relaxed text-muted-foreground; } .kb-content ul { @apply mt-3 list-disc pl-5 text-sm text-muted-foreground; } .kb-content ol { @apply mt-3 list-decimal pl-5 text-sm text-muted-foreground; } .kb-content li { @apply mt-1; } .kb-content a { @apply text-primary underline decoration-border/60 underline-offset-4 hover:text-primary/80; } .kb-content code { @apply rounded-md border border-border bg-background px-1.5 py-0.5 text-xs text-foreground/90; } .kb-content pre { @apply mt-4 overflow-x-auto rounded-xl border border-border bg-background p-4 text-xs text-foreground/90; } .kb-content pre code { @apply border-none bg-transparent p-0 text-inherit; } }