.blog-page{padding-block:clamp(56px,7vw,96px) clamp(80px,9vw,124px)}.blog-hero{display:grid;grid-template-columns:1.4fr 1fr;gap:70px;align-items:end;margin-bottom:56px}.blog-hero h1{font-size:clamp(2.6rem,4.6vw,4.1rem)}.blog-hero h1>span{color:var(--accent)}.blog-hero-intro{display:flex;flex-direction:column;gap:8px}.blog-hero-intro>p{color:var(--muted);font-size:14px;line-height:1.8}.blog-hero-intro .text-link{align-self:flex-start;margin-top:4px}.blog-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px}.blog-tags>span,.post-tags>a,.post-tags>span{font-size:11px;font-weight:600;padding:6px 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted)}.blog-tags>span>small{font-weight:500;margin-left:5px;opacity:.7}.blog-empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-block:48px;color:var(--muted)}.post{padding-block:clamp(48px,6vw,80px) clamp(80px,9vw,124px)}.post-back{font-size:12px;gap:8px;padding-block:6px;margin-bottom:36px}.post-back svg{transition:transform .25s var(--ease)}.post-back:hover svg{transform:translateX(-3px)}.post-header{max-width:860px}.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:12px;color:var(--muted);margin-bottom:22px}.post-meta>span:not(:last-child):after{content:"·";margin-left:14px;opacity:.6}.post-meta time{color:var(--ink);font-weight:600}.post-header h1{font-size:clamp(2.2rem,4.4vw,3.6rem);line-height:1.08}.post-lede{margin-top:22px;font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.65;color:var(--muted);max-width:720px}.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.post-cover{margin:48px 0 0;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:var(--surface);max-width:980px}.post-cover img{display:block;width:100%;height:auto}.post-layout{display:grid;grid-template-columns:minmax(0,720px) 1fr;gap:64px;margin-top:56px;align-items:start}.post-aside{position:sticky;top:110px;display:flex;flex-direction:column;gap:28px;font-size:12px;color:var(--muted);padding-top:6px;max-width:300px;justify-self:end;width:100%}.post-aside h2{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.post-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;border-left:1px solid var(--line)}.post-toc li a{display:block;padding:2px 0 2px 14px;margin-left:-1px;border-left:1px solid transparent;color:var(--muted);line-height:1.5;transition:color .2s,border-color .2s}.post-toc li[data-depth="3"] a{padding-left:26px;font-size:11px}.post-toc li a:hover{color:var(--ink);border-left-color:var(--ink)}.post-share{display:flex;flex-wrap:wrap;gap:6px 14px}.post-share a,.post-share button{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--ink);background:transparent;border:0;padding:4px 0}.post-share a:hover,.post-share button:hover{color:var(--accent)}.post-source{line-height:1.7}.post-source a{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}.post-source a:hover{text-decoration-color:var(--accent)}.post-body{font-size:17px;line-height:1.78;min-width:0}.post-body>:first-child{margin-top:0}.post-body [data-rehype-pretty-code-figure],.post-body blockquote,.post-body figure,.post-body ol,.post-body p,.post-body pre,.post-body table,.post-body ul{margin:0 0 1.45em}.post-body h2,.post-body h3,.post-body h4{margin:2.4em 0 .7em;scroll-margin-top:110px}.post-body h2{font-size:clamp(1.5rem,2.2vw,1.85rem);font-weight:600;letter-spacing:-.03em;line-height:1.25}.post-body h3{font-size:1.25rem}.post-body h4{font-size:1.05rem;font-weight:650}.post-body h2 a,.post-body h3 a,.post-body h4 a{color:inherit}.post-body h2 a:hover:after,.post-body h3 a:hover:after,.post-body h4 a:hover:after{content:" #";color:var(--accent);font-weight:500}.post-body a:not(.heading-link){color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:var(--accent);transition:color .2s}.post-body a:not(.heading-link):hover{color:var(--accent)}.post-body strong{font-weight:700}.post-body ol,.post-body ul{padding-left:1.4em}.post-body li{margin-bottom:.45em}.post-body li::marker{color:var(--accent)}.post-body blockquote{padding:4px 0 4px 22px;border-left:2px solid var(--accent);color:var(--muted);font-size:1.02em}.post-body blockquote p:last-child{margin-bottom:0}.post-body hr{border:0;border-top:1px solid var(--line);margin:3em 0}.post-body img{display:block;max-width:100%;height:auto;border-radius:10px;border:1px solid var(--line);margin:2em auto}.post-body figure{margin-inline:0}.post-body figcaption{font-size:12px;color:var(--muted);text-align:center;margin-top:-1em}.post-body table{width:100%;border-collapse:collapse;font-size:.92em;display:block;overflow-x:auto}.post-body td,.post-body th{text-align:left;padding:10px 14px;border-bottom:1px solid var(--line);vertical-align:top}.post-body th{font-weight:700;font-size:.85em;letter-spacing:.02em;color:var(--muted)}.post-body :not(pre)>code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em;background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:.1em .4em;word-break:break-word}.post-body [data-rehype-pretty-code-figure]{position:relative;background:#000;color:#fcf8f6;border-radius:12px;border:1px solid #2a2321;overflow:hidden}.post-body [data-rehype-pretty-code-title]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;color:#cbbeb8;padding:10px 18px;border-bottom:1px solid #2a2321;background:#0a0807}.post-body [data-rehype-pretty-code-caption]{font-size:12px;color:var(--muted);padding:8px 4px 0}.post-body pre{margin:0;padding:18px 0;overflow-x:auto;font-size:13.5px;line-height:1.65;-moz-tab-size:2;-o-tab-size:2;tab-size:2;background:transparent}.post-body pre:not([data-language]){background:#000;color:#fcf8f6;border-radius:12px;padding:18px 20px}.post-body pre>code{display:grid;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;counter-reset:line;min-width:100%;width:-moz-max-content;width:max-content}.post-body pre [data-line]{padding:0 20px;border-left:2px solid transparent}.post-body pre [data-highlighted-line]{background:#1a100d;border-left-color:#f5a394}.post-body pre [data-highlighted-chars]{background:#3b241f;border-radius:3px;padding:1px 2px}.post-body code[data-line-numbers]>[data-line]:before{counter-increment:line;content:counter(line);display:inline-block;width:1.8rem;margin-right:1.4rem;text-align:right;color:#5e514d}.copy-code{position:absolute;top:8px;right:8px;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#d8bfb7;background:#16100e;border:1px solid #2a2321;border-radius:6px;padding:5px 9px;opacity:0;transition:opacity .2s,color .2s,background .2s}.copy-code:focus-visible,.copy-code[data-copied=true],[data-rehype-pretty-code-figure]:hover .copy-code{opacity:1}.copy-code:hover,.copy-code[data-copied=true]{color:#ffd7c5;background:#241612}[data-rehype-pretty-code-figure]:has([data-rehype-pretty-code-title]) .copy-code,[data-rehype-pretty-code-title]~pre .copy-code{top:6px}.callout{border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:10px;padding:18px 22px;margin:0 0 1.45em;background:var(--surface);font-size:.95em}.callout[data-type=warning]{border-left-color:#d98b16}.callout>strong{display:block;margin-bottom:6px;font-size:.9em}.callout p:last-child{margin-bottom:0}.post-footer{max-width:720px;margin-top:64px;border-top:1px solid var(--line);padding-top:40px;display:flex;flex-direction:column;gap:40px}.post-author{display:grid;grid-template-columns:76px 1fr;gap:22px;align-items:center}.post-author img{border-radius:14px;background:#fff;border:1px solid var(--line)}.post-author strong{display:block;font-size:15px;margin-bottom:4px}.post-author p{font-size:13px;color:var(--muted);line-height:1.7}.post-author-links{display:flex;gap:16px;margin-top:8px}.post-author-links a{font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:5px}.post-author-links a:hover{color:var(--accent)}.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:20px}.post-nav a{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid var(--line);border-radius:10px;transition:border-color .2s,transform .25s var(--ease)}.post-nav a:hover{border-color:var(--ink);transform:translateY(-2px)}.post-nav a>span:first-child{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.post-nav a[data-direction=newer]{text-align:right;align-items:flex-end}.post-nav a>strong{font-size:14px;line-height:1.45;letter-spacing:-.01em}.post-related{margin-top:72px}.post-related .section-heading{margin-bottom:8px}@media (max-width:1100px){.post-layout{grid-template-columns:minmax(0,1fr);gap:40px}.post-aside{position:static;max-width:none;justify-self:stretch;display:grid;grid-template-columns:1fr 1fr;gap:24px 40px;order:-1;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.post-toc{grid-column:1/-1}}@media (max-width:850px){.blog-hero{gap:24px;margin-bottom:36px}.blog-hero,.post-aside{grid-template-columns:1fr}.post-toc{display:none}}@media (max-width:700px){.post-body{font-size:16px}.post-body pre{font-size:12.5px}.post-nav{grid-template-columns:1fr}.post-nav a[data-direction=newer]{text-align:left;align-items:flex-start}.post-author{grid-template-columns:60px 1fr;gap:16px}.post-cover{margin-top:32px;border-radius:10px}.copy-code{opacity:1}}@media (prefers-reduced-motion:reduce){.copy-code,.post-back svg,.post-nav a{transition:none}}