/* Blog & guides — same language as the marketing site (v2.css tokens). Hand-written; not generated. */
.blog-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 72px 0 48px; }
.blog-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 12px; }
.blog-hero p { color: var(--muted); font-size: 19px; max-width: 640px; }
.blog-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.blog-tools form { flex: 1 1 280px; max-width: 420px; display: flex; }
.blog-tools input { flex: 1; height: 46px; border-radius: 999px; border: 1.5px solid var(--line-2); padding: 0 18px; font: 16px var(--sans); background: var(--surface); color: var(--fg); }
.bchip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--muted); background: var(--surface); white-space: nowrap; }
.bchip:hover, .bchip.on { border-color: var(--brand); color: var(--brand-strong); background: var(--blush); }
.blog-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); padding: 48px 0 24px; }
.post-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.post-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(140deg, #f6dccd, #e8a58c); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cover { display: grid; place-items: center; }
.post-card .cover .cover-mark { width: 34%; max-width: 160px; opacity: .9; filter: drop-shadow(0 18px 30px rgb(148 64 31 / .25)); transition: transform .5s; }
.post-card:hover .cover-mark { transform: translateY(-6px) rotate(-3deg); }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h2, .post-card h3 { font-family: var(--display); font-weight: 500; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.post-card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--faint); }
.post-meta .cat { color: var(--brand-strong); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.post-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.post-card.feature .cover { aspect-ratio: auto; min-height: 320px; }
.post-card.feature h2 { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 760px) { .post-card.feature { grid-template-columns: 1fr; } .post-card.feature .cover { min-height: 200px; } }
.pager { display: flex; gap: 10px; justify-content: center; padding: 8px 0 72px; }
.empty { padding: 72px 0; text-align: center; color: var(--muted); }

/* Article */
.article-head { background: var(--cream); border-bottom: 1px solid var(--line); padding: 40px 0 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); }
.crumbs a:hover { color: var(--fg); }
.article-head h1 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.02em; margin: 18px 0 16px; max-width: 900px; }
.article-head .lede { font-size: 20px; color: var(--muted); max-width: 760px; line-height: 1.55; }
.article-cover { margin: -1px auto 0; max-width: 1100px; padding: 32px 24px 0; }
.article-cover img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 8; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; padding: 48px 0 40px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc { display: none; } }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14.5px; display: flex; flex-direction: column; gap: 6px; }
.toc b { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.toc a { color: var(--muted); line-height: 1.4; } .toc a:hover { color: var(--brand-strong); } .toc a.l3 { padding-left: 14px; font-size: 13.5px; }
.prose { font-size: 18.5px; line-height: 1.75; color: var(--ink-2); max-width: 720px; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; margin-top: 1.8em; scroll-margin-top: 96px; color: var(--fg); }
.prose h3 { font-weight: 600; font-size: 22px; margin-top: 1.5em; scroll-margin-top: 96px; color: var(--fg); }
.prose h4 { font-weight: 600; font-size: 19px; margin-top: 1.3em; }
.prose .anchor { opacity: 0; margin-left: -1em; padding-right: .3em; color: var(--accent); text-decoration: none; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose ul { list-style: disc; } .prose ol { list-style: decimal; } .prose li + li { margin-top: .4em; } .prose li::marker { color: var(--brand); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; color: var(--muted); font-style: italic; }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--subtle); padding: .1em .35em; border-radius: 6px; }
.prose pre { background: var(--ink); color: var(--ink-fg); padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: 15px; } .prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line-2); padding: 10px 12px; text-align: left; } .prose th { font-weight: 600; background: var(--cream); }
.prose figure img, .prose img { border-radius: 14px; width: 100%; height: auto; } .prose figcaption { font-size: 14px; color: var(--faint); margin-top: 8px; text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.2em 0; }
.faq { max-width: 720px; margin-top: 56px; } .faq h2 { font-family: var(--display); font-weight: 500; font-size: 32px; margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line-2); padding: 16px 0; } .faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--brand); font-size: 22px; line-height: 1; } .faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.post-cta { max-width: 720px; margin-top: 56px; border-radius: 22px; background: var(--ink); color: var(--ink-fg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.post-cta h2 { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.15; } .post-cta p { color: var(--ink-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; max-width: 720px; }
.related { border-top: 1px solid var(--line); padding: 56px 0 80px; } .related > .wrap > h2 { font-family: var(--display); font-weight: 500; font-size: 34px; }
.preview-bar { background: var(--warn-bg); color: var(--warn); text-align: center; padding: 10px 16px; font-weight: 600; font-size: 14.5px; }
