/* TekDek Base Styles — Icarus: customize these */

:root {
    --color-bg: #0f0f0f;
    --color-surface: #1a1a2e;
    --color-primary: #00d4ff;
    --color-secondary: #7b2ff7;
    --color-text: #e0e0e0;
    --color-text-muted: #888;
    --color-border: #2a2a3e;
    --color-accent: #ff6b6b;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Cascadia Code', monospace;
    --max-width: 1100px;
    --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; width: 100%; }

a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin-bottom: 0.75rem; color: #fff; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: 0.35rem; }

code { font-family: var(--font-mono); background: var(--color-surface); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
pre { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; overflow-x: auto; margin-bottom: 1.5rem; }
pre code { background: none; padding: 0; }

blockquote { border-left: 3px solid var(--color-primary); padding-left: 1rem; color: var(--color-text-muted); margin-bottom: 1rem; }

hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }

table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
th { color: #fff; font-weight: 600; }

img { max-width: 100%; height: auto; border-radius: var(--radius); }
