@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

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

:root {
    --border: rgb(226,232,240);
    --code-bg: rgb(241,245,249);
    --code-block-bg: rgb(15,23,42);
    --content: rgb(30,41,59);
    --entry: rgb(255,255,255);
    --primary: rgb(30,41,59);
    --secondary: rgb(100,116,139);
    --tertiary: rgb(226,232,240);
    --theme: rgb(248,250,252);
    --brand: #3B82F6;
    --brand-hover: #2563EB;
    --brand-rgb: 59, 130, 246;
    --brand-text: #fff;
    --dropdown-bg: #ffffff;
    --dropdown-hover-bg: rgba(59, 130, 246, 0.06);
    --header-bg: rgba(255,255,255,0.92);
    --header-border: rgba(59, 130, 246, 0.15);
    --header-hover: #3B82F6;
    --header-text: rgb(30,41,59);
    --footer-bg: rgba(59, 130, 246, 0.07);
    --footer-border: rgba(59, 130, 246, 0.15);
    --footer-hover: #3B82F6;
    --footer-link: rgb(100,116,139);
    --footer-muted: rgb(100,116,139);
    --footer-text: rgb(30,41,59);
    --banner-bg: rgba(59, 130, 246, 0.07);
    --banner-border: rgba(59, 130, 246, 0.12);
    --banner-text: rgb(100,116,139);
    --font-family: 'Source Sans 3', -apple-system, system-ui, sans-serif;
    --font-size: 16px;
    --font-weight: 400;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;
    --h5-size: 1rem;
    --h6-size: 0.875rem;
    --heading-font: 'Source Sans 3', -apple-system, system-ui, sans-serif;
    --heading-letter-spacing: -0.01em;
    --heading-line-height: 1.2;
    --heading-weight: 600;
    --line-height: 1.6;
    --site-font: 'Source Sans 3', -apple-system, system-ui, sans-serif;
}

:root[data-theme="dark"] {
    --border: rgb(51,65,85);
    --code-bg: rgb(51,65,85);
    --code-block-bg: rgb(30,41,59);
    --content: rgb(203,213,225);
    --entry: rgb(30,41,59);
    --primary: rgb(203,213,225);
    --secondary: rgb(148,163,184);
    --tertiary: rgb(51,65,85);
    --theme: rgb(15,23,42);
    --brand: #3B82F6;
    --brand-hover: #2563EB;
    --brand-rgb: 59, 130, 246;
    --brand-text: #fff;
    --dropdown-bg: #1d2430;
    --dropdown-hover-bg: #2e353f;
    --header-bg: #0a121e;
    --header-border: #272e39;
    --header-hover: #60a5fa;
    --header-text: #e2e8f0;
    --footer-bg: #0a121e;
    --footer-border: #272e39;
    --footer-hover: #60a5fa;
    --footer-link: #94a3b8;
    --footer-muted: #4e525a;
    --footer-text: #e2e8f0;
    --banner-bg: #18335e;
    --banner-border: #0a121e;
    --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%; }
