@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=JetBrains+Mono:wght@300;400&display=swap');

/* Auto-generated palette: xAI — do not edit manually */

:root {
    --border: #dfe0e3;
    --code-bg: #ecedef;
    --code-block-bg: #1f2228;
    --content: #1f2228;
    --entry: #ffffff;
    --primary: #1f2228;
    --secondary: rgb(128,125,117);
    --tertiary: #6b6e75;
    --theme: #ffffff;
    --brand: #ffffff;
    --brand-hover: #cccccc;
    --brand-rgb: 255, 255, 255;
    --brand-text: #1f2228;
    --dropdown-bg: #ffffff;
    --dropdown-hover-bg: rgba(255, 255, 255, 0.06);
    --header-bg: rgba(255,255,255,0.92);
    --header-border: rgba(255, 255, 255, 0.15);
    --header-hover: #ffffff;
    --header-text: #1f2228;
    --footer-bg: rgba(255, 255, 255, 0.07);
    --footer-border: rgba(255, 255, 255, 0.15);
    --footer-hover: #ffffff;
    --footer-link: rgb(128,125,117);
    --footer-muted: rgb(128,125,117);
    --footer-text: #1f2228;
    --banner-bg: rgba(255, 255, 255, 0.07);
    --banner-border: rgba(255, 255, 255, 0.12);
    --banner-text: rgb(128,125,117);
    --font-family: 'Inter', system-ui, Helvetica Neue, sans-serif;
    --font-size: 16px;
    --font-weight: 400;
    --h1-size: 3rem;
    --h2-size: 1.875rem;
    --h3-size: 1.375rem;
    --h4-size: 1rem;
    --h5-size: 0.875rem;
    --h6-size: 0.75rem;
    --heading-font: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --heading-letter-spacing: normal;
    --heading-line-height: 1.2;
    --heading-weight: 300;
    --line-height: 1.5;
    --site-font: 'Inter', system-ui, Helvetica Neue, sans-serif;
    --border-radius: 4px;
    --card-shadow: none;
    --content-max-width: 1200px;
    --content-padding: 1.5rem;
    --header-font-size: 0.875rem;
    --header-font-weight: 400;
    --header-height: 64px;
    --nav-gap: 1.5rem;
    --post-max-width: 720px;
    --section-gap: 3rem;
    --table-border-radius: 0px;
    --table-border-style: solid;
    --table-border-width: 1px;
    --table-cell-padding: 0.75rem 1rem;
    --table-header-weight: 400;
}

:root[data-theme="dark"] {
    --border: #3a3d45;
    --code-bg: #2d3038;
    --code-block-bg: #181b22;
    --content: #ffffff;
    --entry: #262930;
    --primary: #ffffff;
    --secondary: rgb(150,149,147);
    --tertiary: #8a8d95;
    --theme: #1f2228;
    --brand: #ffffff;
    --brand-hover: #e0e0e0;
    --brand-rgb: 255, 255, 255;
    --brand-text: #1f2228;
    --dropdown-bg: #303339;
    --dropdown-hover-bg: #404348;
    --header-bg: #1f2228;
    --header-border: #393c41;
    --header-hover: #ffffff;
    --header-text: #ffffff;
    --footer-bg: #1f2228;
    --footer-border: #393c41;
    --footer-hover: #ffffff;
    --footer-link: #8a8d95;
    --footer-muted: #5a5c60;
    --footer-text: #ffffff;
    --banner-bg: #626468;
    --banner-border: #1f2228;
    --banner-text: #f5f7f3;
}

/* Link colors */
.post-content a { color: var(--brand); }
.post-content a:hover { color: var(--brand-hover); }
.post-content a code { color: var(--brand); }
.toc a { color: var(--primary); }
.toc a:hover { color: var(--brand); }

/* Markdown content styling */
.post-content table { border-collapse: collapse; width: 100%; }
.post-content table th { background: var(--code-bg); font-weight: 600; }
.post-content table th,
.post-content table td { padding: 0.5rem 0.75rem; border: 1px solid var(--border); }
.post-content code { background: var(--code-bg); color: var(--content); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
.post-content pre { background: var(--code-block-bg); border-radius: 8px; padding: 1rem; overflow-x: auto; }
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-content blockquote { border-left: 3px solid var(--brand); padding: 0.5rem 1rem; margin: 1rem 0; background: var(--code-bg); color: var(--secondary); }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.post-content img { border-radius: 8px; max-width: 100%; }
