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

:root {
    --accent: #0071e3;
    --accent-dark: #0060c7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    color: #f5f5f7;
    line-height: 1.6;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 52px;
}

.nav-logo {
    font-size: 17px;
    font-weight: 600;
    color: #f5f5f7;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent-dark); }

/* Breadcrumb */
.breadcrumb {
    max-width: 720px;
    margin: 32px auto 0;
    padding: 0 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }

/* Article */
.article-header {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 24px 40px;
}

.article-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.article-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}

article.post-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
    font-size: 17px;
    color: rgba(255,255,255,0.8);
}

article.post-body h2 {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #f5f5f7;
    margin: 48px 0 16px;
}

article.post-body h3 {
    font-size: 19px;
    font-weight: 600;
    color: #f5f5f7;
    margin: 32px 0 12px;
}

article.post-body p { margin-bottom: 18px; }

article.post-body ul, article.post-body ol {
    margin: 0 0 18px 22px;
}

article.post-body li { margin-bottom: 8px; }

article.post-body a { color: #6eb3ff; }

article.post-body strong { color: #f5f5f7; }

article.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

article.post-body th, article.post-body td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

article.post-body th { color: #f5f5f7; font-weight: 600; }

/* Inline CTA box */
.inline-cta {
    background: #1c1c1e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 32px;
    margin: 40px 0;
    text-align: center;
}

.inline-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 980px;
    transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.88; transform: scale(0.98); }

/* Blog index */
.blog-hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px 32px;
    text-align: center;
}

.blog-hero h1 {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.blog-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
}

.post-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 24px 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.post-card {
    display: block;
    background: #1c1c1e;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: border-color 0.2s;
}

.post-card:hover { border-color: rgba(255,255,255,0.18); }

.post-card .tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.post-card h2 {
    font-size: 19px;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.post-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 32px 24px;
    text-align: center;
}

footer p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
}

footer a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 13px;
    margin: 0 12px;
    transition: color 0.2s;
}

footer a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 600px) {
    nav { padding: 0 20px; }
    .nav-links a:not(.nav-cta) { display: none; }
}
