/* public/css/article.css
   A simple, readable stylesheet for pages of prose (articles, posts,
   documentation). Shares the same palette and type choices as
   style.css so article pages feel like part of the same site. */

:root {
    --bg: #111215;
    --text: #d8dee9;
    --muted: #7e889b;
    --link: #88c0d0;
    --border: #2e3440;
    --error: #bf616a;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "SF Mono", "Fira Code", "Roboto Mono", Consolas, monospace;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    min-height: 100vh;
    padding: 3rem 1.25rem 4rem;
}

article {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
}

header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

h1 {
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.byline {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--muted);
}

h2 {
    font-family: var(--mono);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.2px;
}

h3 {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 2rem 0 0.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

p.intro,
p.lede {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

a {
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px solid rgba(136, 192, 208, 0.35);
    transition: border-color 0.15s ease;
}

a:hover {
    border-bottom-color: var(--link);
}

strong {
    color: #ffffff;
    font-weight: 600;
}

ul,
ol {
    margin: 0 0 1.25rem 1.25rem;
}

li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

blockquote {
    border-left: 2px solid var(--border);
    color: var(--muted);
    padding: 0.25rem 0 0.25rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
}

code {
    font-family: var(--mono);
    font-size: 0.9em;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.1rem 0.35rem;
}

pre {
    font-family: var(--mono);
    font-size: 0.85rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

pre code {
    background: none;
    border: none;
    padding: 0;
}

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

footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
}
