/* TekDek Docs — Base Styles | Matched to team.html brand */

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

:root {
    --color-bg: #0d0d0f;
    --color-surface: rgba(232, 228, 217, 0.04);
    --color-surface-hover: rgba(232, 228, 217, 0.07);
    --color-text: #e8e4d9;
    --color-text-muted: rgba(232, 228, 217, 0.6);
    --color-text-body: rgba(232, 228, 217, 0.85);
    --color-border: rgba(196, 162, 78, 0.15);
    --color-gold: #C4A24E;
    --color-steel: #7B8794;
    --color-amber: #E07A2F;
    --color-orange: #E67E22;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1200px;
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

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

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

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

/* Links */
a { color: var(--color-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-text); }

/* Typography — Cinzel for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    letter-spacing: -0.5px;
}
h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 600; margin-top: 2.5rem; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--color-text-body); line-height: 1.8; font-size: 0.95rem; }

ul, ol { margin: 0 0 1rem 1.5rem; color: var(--color-text-body); }
li { margin-bottom: 0.4rem; line-height: 1.8; font-size: 0.95rem; }

/* Code — JetBrains Mono */
code {
    font-family: var(--font-mono);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 0.15em 0.45em;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--color-gold);
}
pre {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius);
    padding: 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
pre code { background: none; border: none; padding: 0; color: var(--color-text-body); }

/* Blockquotes — gold accent border like team.html */
blockquote {
    border-left: 4px solid var(--color-gold);
    padding: 15px 20px;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    background: rgba(196, 162, 78, 0.05);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
}

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

/* Tables */
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); font-size: 0.95rem; }
th { color: var(--color-gold); font-weight: 600; font-family: var(--font-heading); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
td { color: var(--color-text-body); }

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

/* Selection */
::selection { background: rgba(196, 162, 78, 0.3); color: var(--color-text); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: rgba(196, 162, 78, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }
