/* AI for Real Estate Agents — Minimal clean blog */
:root {
    --bg: #fafafa;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --accent: #2563eb;
    --border: #e5e5e5;
    --card-bg: #ffffff;
    --code-bg: #f4f4f5;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 18px;
}

.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 40px 0 20px;
    margin-bottom: 30px;
}

header h1 { font-size: 28px; margin-bottom: 6px; }
.tagline { color: var(--muted); font-size: 16px; margin-bottom: 16px; }

nav { display: flex; gap: 20px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--accent); }

/* Subscribe box */
.subscribe-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 30px;
    font-size: 15px;
    color: var(--muted);
    text-align: center;
}

/* Posts */
.posts { display: flex; flex-direction: column; gap: 24px; }

.post {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    transition: box-shadow 0.15s;
}
.post:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.post-date {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.post h2 { font-size: 22px; margin-bottom: 8px; line-height: 1.3; }
.post h2 a { color: var(--text); text-decoration: none; }
.post h2 a:hover { color: var(--accent); }

.post-excerpt {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 12px;
}

.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    background: var(--code-bg);
    color: var(--muted);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}
.tag:hover { background: var(--accent); color: white; }

/* Single post page */
.post-full { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 32px 28px; }
.post-full h1 { font-size: 30px; margin-bottom: 6px; line-height: 1.3; }
.post-full h2 { font-size: 24px; margin: 28px 0 12px; line-height: 1.3; }
.post-full h3 { font-size: 20px; margin: 22px 0 8px; }
.post-full p { margin-bottom: 16px; }
.post-full ul, .post-full ol { margin: 0 0 16px 24px; }
.post-full li { margin-bottom: 6px; }
.post-full code {
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 15px;
}
.post-full pre {
    background: var(--code-bg);
    padding: 16px 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}
.post-full blockquote {
    border-left: 3px solid var(--accent);
    padding: 4px 0 4px 16px;
    margin: 16px 0;
    color: var(--muted);
    font-style: italic;
}

.post-full a { color: var(--accent); }
.post-navigation { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.post-navigation a { color: var(--accent); text-decoration: none; font-size: 15px; }

/* Footer */
footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.disclaimer { font-size: 12px !important; }

/* About page */
.about { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 28px; }
.about h2 { margin-bottom: 12px; }
.about p { margin-bottom: 16px; }

/* Responsive */
@media (max-width: 600px) {
    body { font-size: 16px; }
    header h1 { font-size: 22px; }
    .post { padding: 20px; }
    .post-full { padding: 20px; }
    .post h2 { font-size: 19px; }
}
