/* Reducing Entropy — developer identity site.
   Static, no build step, no JS. Same family DNA as shootist.app
   (system fonts, custom-property palette, light/dark adaptive) but a
   quieter, more editorial voice: this is the studio, not the product.

   One deliberate motif: entropy decreasing. The hero's ∇S < 0 glyph
   and the .entropy-rule (dashes resolving into a solid line) carry it;
   nothing else decorates. */

:root {
    color-scheme: light dark;
    --max-width: 680px;
    --accent: #0e7c6e;
    --accent-hover: #0a5f55;
    --bg: #ffffff;
    --bg-alt: #f5f6f5;
    --fg: #1b1d1c;
    --fg-muted: #6c7371;
    --border: #d5dad8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --accent: #3fc2ae;
        --accent-hover: #6ad4c4;
        --bg: #101413;
        --bg-alt: #1a201e;
        --fg: #eef2f1;
        --fg-muted: #98a3a0;
        --border: #2a322f;
    }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 1.5rem; margin-top: 0; }
h3 { font-size: 1.2rem; margin-top: 0; }

p { margin: 0 0 1em; }

/* Header */
.site-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 22px 24px;
}

.site-header .brand {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.site-header nav a {
    color: var(--fg-muted);
    margin-left: 20px;
    font-size: 0.95rem;
}

.site-header nav a:hover { color: var(--accent); text-decoration: none; }

/* Sections share the reading column */
main section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 40px;
}

/* Hero */
.hero {
    padding-top: 72px;
    padding-bottom: 48px;
}

.hero .glyph {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.95rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.hero .tagline {
    font-size: 1.35rem;
    color: var(--fg-muted);
    max-width: 34ch;
    text-wrap: balance;
    margin-bottom: 34px;
}

/* Dashes resolving into a solid line — entropy, reduced.
   Top layer: solid accent fading in from 55%; bottom layer: dash
   pattern visible where the top layer is transparent. */
.entropy-rule {
    height: 2px;
    max-width: 380px;
    border-radius: 1px;
    background:
        linear-gradient(90deg, rgba(0,0,0,0) 0 45%, var(--accent) 78% 100%),
        repeating-linear-gradient(90deg, var(--accent) 0 3px, rgba(0,0,0,0) 3px 10px);
}

/* Products */
.product {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-alt);
    padding: 24px 26px 18px;
}

.product .status {
    font-size: 0.92rem;
    color: var(--fg-muted);
    margin-bottom: 0.4em;
}

/* Footer */
footer {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding: 20px 24px 36px;
    border-top: 1px solid var(--border);
    color: var(--fg-muted);
    font-size: 0.9rem;
}

footer p { margin: 0; }
