*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, 'SF Pro Display', 'SF Pro Text', 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; background: oklch(0.1 0.006 240); color: rgba(255,255,255,0.92); min-height: 100vh; overflow-x: hidden; }
.canvas-bg { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at 15% 20%, oklch(0.4 0.18 260 / 0.55), transparent 45%), radial-gradient(circle at 85% 15%, oklch(0.38 0.18 220 / 0.5), transparent 40%), radial-gradient(circle at 70% 85%, oklch(0.35 0.2 280 / 0.5), transparent 45%), radial-gradient(circle at 20% 90%, oklch(0.32 0.15 250 / 0.45), transparent 40%), oklch(0.1 0.006 240); }
:root { --text: rgba(255,255,255,0.92); --text-dim: rgba(255,255,255,0.62); --text-faint: rgba(255,255,255,0.42); --sep: rgba(255,255,255,0.1); --accent: oklch(0.68 0.17 245); --accent-text: oklch(0.88 0.1 245); }
.glass { backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); background: rgba(28,28,32,0.55); border: 0.5px solid rgba(255,255,255,0.1); box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 0 0 0.5px rgba(255,255,255,0.04), 0 14px 40px -8px rgba(0,0,0,0.5); }
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: calc(100% - 28px); max-width: 1180px; z-index: 100; }
.nav-inner { border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: inherit; }
.logo-icon { width: 24px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, oklch(0.68 0.17 245), oklch(0.5 0.2 260)); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px -2px rgba(64,156,255,0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
.logo-name { font-size: 15px; font-weight: 700; letter-spacing: -0.025em; }
.nav-links { display: flex; gap: 2px; align-items: center; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 0.5px solid var(--sep); }
.nav-links a { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; transition: background 0.15s; }
.nav-links a:hover { background: rgba(255,255,255,0.12); }
.nav-divider { width: 1px; height: 22px; background: var(--sep); margin: 0 4px; }
.nav-cta { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--accent); color: white; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 8px 24px -6px rgba(64,156,255,0.55), inset 0 1px 0 rgba(255,255,255,0.2); }
@media (max-width: 700px) { .nav-links { display: none; } }
svg { display: block; }

/* ---- Blog index ---- */
.blog-hero { padding: 140px 24px 48px; text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); background: rgba(64,156,255,0.12); padding: 6px 12px; border-radius: 999px; border: 0.5px solid rgba(64,156,255,0.25); margin-bottom: 22px; }
.blog-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 18px; color: var(--text); }
.blog-hero p { font-size: 17px; line-height: 1.55; color: var(--text-dim); max-width: 540px; margin: 0 auto; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 24px 40px; max-width: 900px; margin: 0 auto; }
.blog-cat { padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-dim); background: rgba(255,255,255,0.05); border: 0.5px solid var(--sep); text-decoration: none; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.blog-cat:hover { color: var(--text); background: rgba(255,255,255,0.1); }
.blog-cat.active { color: white; background: var(--accent); border-color: transparent; box-shadow: 0 6px 18px -6px rgba(64,156,255,0.5); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; padding: 0 24px 90px; }
@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { border-radius: 18px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform 0.15s; }
.blog-card:hover { transform: translateY(-2px); }
.blog-card-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-text); }
.blog-card h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); }
.blog-card p { font-size: 13.5px; line-height: 1.55; color: var(--text-dim); flex: 1; }
.blog-card-meta { font-size: 12.5px; color: var(--text-faint); }

/* ---- Blog post ---- */
.post-wrap { max-width: 720px; margin: 0 auto; padding: 130px 24px 60px; }
.breadcrumbs { font-size: 13px; color: var(--text-faint); margin-bottom: 26px; }
.breadcrumbs a { color: var(--text-dim); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }
.post-cat { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); background: rgba(64,156,255,0.12); padding: 6px 12px; border-radius: 999px; border: 0.5px solid rgba(64,156,255,0.25); margin-bottom: 20px; }
.post-wrap h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 18px; color: var(--text); }
.byline { display: flex; align-items: center; gap: 10px; padding-bottom: 28px; border-bottom: 0.5px solid var(--sep); margin-bottom: 36px; }
.byline-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, oklch(0.68 0.17 245), oklch(0.5 0.2 260)); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; flex-shrink: 0; }
.byline-name { font-size: 14px; font-weight: 600; color: var(--text); }
.byline-meta { font-size: 13px; color: var(--text-faint); }
.post-body { font-size: 16.5px; line-height: 1.75; color: rgba(255,255,255,0.78); }
.post-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; color: var(--text); margin: 44px 0 16px; }
.post-body h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 32px 0 12px; }
.post-body p { margin-bottom: 18px; }
.post-body a { color: var(--accent-text); text-decoration: underline; text-decoration-color: rgba(64,156,255,0.4); text-underline-offset: 3px; }
.post-body a:hover { text-decoration-color: var(--accent-text); }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 18px; color: var(--text-dim); font-style: italic; }
.post-body .table-wrap { overflow-x: auto; margin: 0 0 22px; border-radius: 14px; border: 0.5px solid var(--sep); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; background: rgba(28,28,32,0.45); }
.post-body th { text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--text); background: rgba(255,255,255,0.05); border-bottom: 0.5px solid var(--sep); }
.post-body td { padding: 12px 16px; border-bottom: 0.5px solid rgba(255,255,255,0.06); color: var(--text-dim); vertical-align: top; }
.post-body tr:last-child td { border-bottom: none; }
.cta-box { border-radius: 18px; padding: 26px; margin: 30px 0; text-align: left; }
.cta-box h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 0 0 8px; }
.cta-box p { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); margin-bottom: 16px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-size: 14.5px; font-weight: 600; background: var(--accent); color: white !important; box-shadow: 0 10px 30px -8px rgba(64,156,255,0.55), inset 0 1px 0 rgba(255,255,255,0.2); text-decoration: none !important; transition: transform 0.15s; }
.cta-btn:hover { transform: translateY(-1px); }
.post-faq { margin-top: 8px; }
.post-faq .faq-item { border-radius: 16px; padding: 22px 24px; margin-bottom: 12px; }
.post-faq .faq-item h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 8px; letter-spacing: -0.015em; }
.post-faq .faq-item p { font-size: 14px; line-height: 1.6; color: var(--text-dim); margin: 0; }
.related { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.related h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--text); margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.related-card { border-radius: 14px; padding: 18px 20px; text-decoration: none; display: block; transition: transform 0.15s; }
.related-card:hover { transform: translateY(-1px); }
.related-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.015em; color: var(--text); margin-bottom: 5px; }
.related-card p { font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.cta-section { padding: 20px 24px 100px; max-width: 720px; margin: 0 auto; text-align: center; }
.cta-section h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; color: var(--text); margin-bottom: 14px; }
.cta-section p { font-size: 16px; line-height: 1.5; color: var(--text-dim); max-width: 480px; margin: 0 auto 30px; }
.cta-section .cta-btn { padding: 14px 22px; font-size: 15px; border-radius: 14px; }

/* ---- Footer ---- */
footer { border-top: 0.5px solid var(--sep); padding: 56px 24px 32px; margin-top: 32px; }
.footer-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col-head { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { font-size: 14px; color: var(--text-dim); text-decoration: none; margin-bottom: 10px; display: block; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-tag { font-size: 13.5px; color: var(--text-dim); margin-top: 14px; line-height: 1.6; max-width: 220px; }
.footer-bottom { max-width: 980px; margin: 0 auto; border-top: 0.5px solid var(--sep); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 13px; color: var(--text-faint); }
.footer-bottom a { font-size: 13px; color: var(--text-dim); text-decoration: none; }
