/* ─── OneLobby Blog ───
   Shared styles for /blog/ (index) and /blog/<slug>.html (posts).
   Tokens mirror index.html so the blog matches the rest of the site. */

:root {
    --purple-900: #3B1F7E;
    --purple-800: #4C2899;
    --purple-700: #6B46C1;
    --purple-600: #7C3AED;
    --purple-500: #9333EA;
    --purple-400: #A855F7;
    --purple-300: #C084FC;
    --purple-200: #DDD6FE;
    --purple-100: #EDE9FE;
    --purple-50: #F5F3FF;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--slate-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* ─── NAVIGATION (always solid: blog pages have no hero) ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 48px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-text {
    font-size: 22px;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s;
    letter-spacing: -0.1px;
}
.nav-links a:hover { color: var(--purple-600); }
.nav-links a.active { color: var(--slate-900); font-weight: 600; }
.nav-links .nav-signin {
    font-weight: 600;
    color: var(--purple-600);
}
.nav-links .nav-signin:hover { color: var(--purple-800); }
.nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-500) 100%);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(107,70,193,0.3);
}
.nav-links .nav-cta:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(107,70,193,0.4);
}

/* ─── SHARED ─── */
.page {
    max-width: 720px;
    margin: 0 auto;
    padding: 136px 48px 96px;
}
.eyebrow {
    display: inline-flex;
    padding: 6px 14px;
    border: 1px solid var(--purple-200);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--purple-600);
    text-decoration: none;
    transition: background 0.2s;
}
a.eyebrow:hover { background: var(--purple-50); }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-500) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(107,70,193,0.35);
    text-decoration: none;
    letter-spacing: -0.2px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(107,70,193,0.45);
}

/* ─── BLOG INDEX ─── */
.blog-header { margin-bottom: 40px; }
.blog-header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 14px;
}
.blog-header p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--slate-500);
}
.post-list { list-style: none; }
.post-card {
    padding: 36px 0;
    border-top: 1px solid var(--slate-200);
}
.post-card time {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-500);
    margin-bottom: 10px;
}
.post-card h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.25;
    color: var(--slate-900);
    margin-bottom: 12px;
}
.post-card h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.post-card h2 a:hover { color: var(--purple-700); }
.post-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-600);
    margin-bottom: 16px;
}
.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--purple-600);
    text-decoration: none;
    transition: color 0.2s, gap 0.2s;
}
.post-card-link:hover { color: var(--purple-800); gap: 10px; }

/* ─── POST ─── */
.post-header { margin-bottom: 40px; }
.post-header h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.12;
    color: var(--slate-900);
    margin: 20px 0 18px;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 15px;
    color: var(--slate-500);
}
.post-body p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--slate-700);
    margin-bottom: 22px;
}
.post-body a {
    color: var(--purple-600);
    text-decoration: underline;
    text-decoration-color: var(--purple-200);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}
.post-body a:hover { text-decoration-color: var(--purple-600); }
.post-body .btn-primary,
.post-body .btn-primary:hover {
    color: white;
    text-decoration: none;
}
.post-body h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.2;
    color: var(--slate-900);
    margin: 44px 0 14px;
}
.post-body h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: var(--slate-900);
    margin: 32px 0 10px;
}
.post-body ul, .post-body ol {
    padding-left: 24px;
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--slate-700);
}
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
    border-left: 3px solid var(--purple-300);
    padding-left: 20px;
    margin: 0 0 22px;
    color: var(--slate-600);
    font-style: italic;
}
.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 8px 0 24px;
}
/* Portrait phone recordings/screenshots: keep them narrow and centered,
   instead of filling the 720px column and running thousands of pixels tall. */
.post-body .post-media-phone {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 8px auto 32px;
    border-radius: 28px;
    background: var(--slate-900);
    box-shadow: 0 12px 40px rgba(15,23,42,0.18);
}
.post-callout {
    background: var(--purple-50);
    border: 1px solid var(--purple-200);
    border-radius: 14px;
    padding: 26px 30px;
    margin: 8px 0 32px;
}
.post-callout p { color: var(--slate-800); }
.post-callout p:first-child { font-weight: 600; color: var(--slate-900); }
.post-callout p:last-child { margin-bottom: 0; }
.post-callout .post-cta { margin-top: 26px; }
.post-cta { margin-top: 32px; }
.post-body .post-signature {
    margin-top: 36px;
    font-weight: 600;
    color: var(--slate-900);
    line-height: 1.5;
}
.post-body .post-signature span {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--slate-500);
}

.post-footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.post-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.post-share-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--slate-500);
    margin-right: 4px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: var(--white);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.share-btn:hover {
    border-color: var(--purple-300);
    color: var(--purple-700);
    background: var(--purple-50);
}
.post-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--purple-600);
    text-decoration: none;
    transition: color 0.2s;
}
.post-back:hover { color: var(--purple-800); }

/* ─── FOOTER ─── */
body > footer {
    padding: 64px 48px 40px;
    background: var(--slate-900);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; text-decoration: none; }
.footer-logo-text { font-size: 20px; font-weight: 600; color: var(--white); }
.footer-desc { font-size: 14px; color: var(--slate-500); line-height: 1.6; max-width: 300px; }
.footer-cols { display: flex; gap: 64px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--slate-500); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; font-size: 14px; color: var(--slate-400); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--purple-300); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: var(--slate-600); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--slate-600); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--slate-400); }

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
    nav { padding: 12px 24px; }
    .nav-links { gap: 0; }
    .nav-links li:not(.nav-cta-item) { display: none; }
    .nav-links .nav-cta { padding: 9px 18px; font-size: 13px; }
    .page { padding: 104px 24px 64px; }
    .blog-header h1, .post-header h1 { font-size: 32px; letter-spacing: -1px; }
    .blog-header p { font-size: 16px; }
    .post-card h2 { font-size: 22px; }
    .post-body p, .post-body ul, .post-body ol { font-size: 17px; }
    .post-body h2 { font-size: 24px; }
    .post-callout { padding: 20px 22px; }
    footer { padding: 48px 24px 32px; }
    .footer-top { flex-direction: column; gap: 36px; }
    .footer-cols { flex-wrap: wrap; gap: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
