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

:root {
    --bg: #0a0a0a;
    --card: #141414;
    --border: #222;
    --text: #e0e0e0;
    --muted: #888;
    --accent: #4f9cf7;
    --accent-hover: #7ab3ff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

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

/* Header */
header {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
}
.header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
nav a {
    color: var(--muted);
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}
nav a:hover { color: var(--text); }

/* Hero */
.hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
}

/* Posts */
.posts {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}
.posts h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.post {
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--border);
}
.post:last-child { border-bottom: none; }
.post-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 1rem;
}
.post-tag {
    background: rgba(79, 156, 247, 0.1);
    color: var(--accent);
    padding: 0.15rem 0.6rem;
    border-radius: 3px;
    font-size: 0.75rem;
}
.post h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}
.post h3 a { color: var(--text); }
.post h3 a:hover { color: var(--accent); }
.post p { color: var(--muted); font-size: 0.95rem; }

/* Tenant cards (main page) */
.tenants {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.tenant-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.2s, transform 0.2s;
}
.tenant-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.tenant-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.tenant-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.tenant-card .subdomain {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}
.tenant-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.tenant-card .link {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    max-width: 900px;
    margin: 0 auto;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 640px) {
    .hero h1 { font-size: 2rem; }
    .header-inner { flex-direction: column; gap: 1rem; }
    nav a { margin-left: 0; margin-right: 1.5rem; }
    .tenants { grid-template-columns: 1fr; }
}
