:root{color-scheme:light;--bg: #f7f9fc;--surface: #ffffff;--surface-soft: #eef4ff;--text: #152033;--muted: #64748b;--line: #dbe4f0;--brand: #2563eb;--brand-dark: #1d4ed8;--accent: #10b981;--shadow: 0 18px 45px rgba(28, 42, 68, .08);--radius: 8px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.7}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.container{width:min(1120px,calc(100% - 32px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(219,228,240,.86);background:#f7f9fce0;backdrop-filter:blur(16px)}.nav{display:flex;align-items:center;justify-content:space-between;min-height:70px;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:0}.brand-mark{display:block;width:34px;height:34px;border-radius:8px;object-fit:cover}.nav-links{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:15px}.nav-links a:hover{color:var(--brand)}.hero{padding:72px 0 44px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:32px;align-items:stretch}.hero-panel{padding:46px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(135deg,#2563eb1f,#10b98114),var(--surface);box-shadow:var(--shadow)}.eyebrow{color:var(--brand);font-size:14px;font-weight:700}h1,h2,h3{margin:0;line-height:1.22;letter-spacing:0}h1{margin-top:12px;max-width:760px;font-size:clamp(36px,5vw,58px)}.hero p{max-width:700px;color:var(--muted);font-size:18px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font-weight:700}.button.primary{border-color:var(--brand);background:var(--brand);color:#fff}.button:hover{transform:translateY(-1px)}.stats{display:grid;gap:14px}.stat{padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.stat strong{display:block;font-size:28px;line-height:1}.stat span{color:var(--muted);font-size:14px}.section{padding:34px 0 58px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}.section-head p{margin:8px 0 0;color:var(--muted)}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-card{display:flex;min-height:100%;flex-direction:column;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:0 10px 28px #1c2a440d}.post-card:hover{border-color:#2563eb73;transform:translateY(-2px)}.meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:13px}.badge{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:var(--surface-soft);color:var(--brand-dark);font-size:13px;font-weight:700}.post-card h3{margin-top:14px;font-size:21px}.post-card p{margin:12px 0 0;color:var(--muted)}.post-card .read-more{margin-top:auto;padding-top:18px;color:var(--brand);font-weight:700}.term-list{display:flex;flex-wrap:wrap;gap:10px}.term-list a{border:1px solid var(--line);border-radius:999px;background:var(--surface);padding:8px 13px;color:var(--muted);font-weight:700}.article{display:grid;grid-template-columns:minmax(0,820px) minmax(220px,1fr);column-gap:36px;align-items:start;width:min(1120px,calc(100% - 32px));margin:0 auto;padding:62px 0}.article-header{grid-column:1;grid-row:1;margin-bottom:34px}.article-header h1{font-size:clamp(34px,5vw,52px)}.article-description{color:var(--muted);font-size:19px}.prose{min-width:0;grid-column:1;grid-row:2;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:34px}.prose h2{margin-top:34px;font-size:28px;scroll-margin-top:104px}.prose h3{margin-top:28px;font-size:22px;scroll-margin-top:104px}.prose p,.prose li{color:#334155}.prose a{color:var(--brand);font-weight:700;text-decoration:underline;text-underline-offset:3px}.prose code{border-radius:6px;background:#edf2f7;padding:2px 6px}.prose .notice{margin:22px 0;border-left:4px solid var(--brand);background:var(--surface-soft);padding:14px 16px;color:#334155}.prose .table-scroll{margin:22px 0;overflow-x:auto}.prose table{width:100%;min-width:720px;border-collapse:collapse;font-size:15px}.prose th,.prose td{border:1px solid var(--line);padding:11px 12px;text-align:left;vertical-align:top}.prose th{background:var(--surface-soft);color:var(--text)}.prose .cta-row{margin:16px 0 26px}.prose a.cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:8px;background:var(--brand);padding:0 16px;color:#fff;text-decoration:none}.prose a.cta:hover{background:var(--brand-dark)}.toc-sidebar{position:sticky;top:94px;grid-column:2;grid-row:1 / span 2;max-height:calc(100vh - 118px);overflow-y:auto;padding:16px;border:1px solid var(--line);border-radius:8px;background:#ffffffe6;box-shadow:0 10px 28px #1c2a440d;scrollbar-width:none;backdrop-filter:blur(12px)}.toc-sidebar::-webkit-scrollbar{display:none}.toc-sidebar[hidden]{display:none}.toc-title{display:flex;align-items:center;width:100%;gap:9px;margin-bottom:13px;padding:0;border:0;background:transparent;color:var(--text);font-family:inherit;font-size:14px;font-weight:800;text-align:left}.toc-title:focus-visible{border-radius:4px;outline:2px solid var(--brand);outline-offset:4px}.toc-title-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:7px;background:var(--surface-soft);color:var(--brand-dark)}.toc-title-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.toc-count{margin-left:auto;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.toc-title-chevron{display:none;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;color:var(--muted);transition:transform .16s ease}.toc-title-chevron svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.toc-list{display:grid;gap:3px;margin:0;padding:0;list-style:none}.toc-list li{min-width:0}.toc-list a{position:relative;display:block;padding:7px 9px 7px 12px;border-radius:6px;color:var(--muted);font-size:13px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.toc-list a:hover,.toc-list a[aria-current=location]{background:var(--surface-soft);color:var(--brand-dark)}.toc-list a[aria-current=location]:before{position:absolute;top:8px;bottom:8px;left:0;width:3px;border-radius:3px;background:var(--brand);content:""}.toc-list .toc-depth-3 a{padding-left:20px;font-size:12px;font-weight:550}.site-footer{border-top:1px solid var(--line);padding:32px 0;color:var(--muted);font-size:14px}.footer-row{display:flex;justify-content:space-between;gap:18px}.search-box{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;padding:0 16px;font:inherit}@media(max-width:1040px){.article{display:block;width:min(820px,calc(100% - 32px))}.toc-sidebar{position:static;max-height:none;margin:0 0 24px;background:var(--surface);backdrop-filter:none}.toc-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}}@media(max-width:860px){.hero{padding-top:42px}.hero-grid,.post-grid{grid-template-columns:1fr}.hero-panel{padding:28px}.nav{align-items:flex-start;flex-direction:column;padding:14px 0}.nav-links{width:100%;overflow-x:auto;padding-bottom:4px}.section-head,.footer-row{align-items:flex-start;flex-direction:column}.article{padding:42px 0}.article-header{margin-bottom:24px}.article-header h1{font-size:clamp(32px,10vw,42px)}.article-description{font-size:17px}.prose{padding:24px 20px}.toc-list{grid-template-columns:1fr}.toc-title{margin-bottom:0;cursor:pointer}.toc-title-chevron{display:inline-flex}.toc-sidebar[data-expanded=true] .toc-title{margin-bottom:13px}.toc-sidebar[data-expanded=true] .toc-title-chevron{transform:rotate(180deg)}.toc-sidebar[data-expanded=true] nav{max-height:min(56vh,460px);overflow-y:auto;padding-right:4px;overscroll-behavior:contain;scrollbar-color:var(--line) transparent;scrollbar-width:thin}.toc-sidebar:not([data-expanded=true]) nav{display:none}}
