:root{
--red:#e01e26;
--red-d:#b3141b;
--red-soft:#fff1f1;
--ink:#15171c;
--ink-2:#2a2e38;
--muted:#5c6373;
--line:#e6e8ec;
--bg:#ffffff;
--bg-soft:#f7f8fa;
--radius:10px;
--wrap:1120px;
--text:760px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
margin:0;
background:var(--bg);
color:var(--ink);
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,"Noto Sans",sans-serif;
font-size:17px;
line-height:1.68;
-webkit-font-smoothing:antialiased;
overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--red-d);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
a:hover{color:var(--red)}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}

.site-header{border-bottom:1px solid var(--line);background:#fff}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:76px;flex-wrap:nowrap}
.brand{display:inline-flex;line-height:0;min-width:0;flex:0 1 auto}
.brand img{width:256px;height:44px}

.btn{
display:inline-flex;white-space:nowrap;align-items:center;justify-content:center;
background:var(--red);color:#fff;text-decoration:none;
font-weight:600;font-size:16px;line-height:1.2;
padding:15px 26px;border-radius:var(--radius);
border:2px solid var(--red);
transition:background .15s ease,border-color .15s ease,color .15s ease;
text-align:center;
}
.btn:hover{background:var(--red-d);border-color:var(--red-d);color:#fff}
.btn-sm{padding:11px 18px;font-size:15px}
.btn-ghost{background:#fff;color:var(--red-d);border:2px solid var(--red)}
.btn-ghost:hover{background:var(--red-soft);color:var(--red-d)}

.hero{background:linear-gradient(180deg,#fff 0%,var(--red-soft) 100%);border-bottom:1px solid var(--line);padding:44px 0 48px}
.hero-grid{display:flex;flex-direction:column;gap:28px}
.hero-copy h1{
font-size:clamp(28px,5.2vw,42px);
line-height:1.16;
letter-spacing:-.015em;
margin:0 0 20px;
font-weight:700;
}
.hero-copy p{margin:0 0 18px;font-size:17px;color:var(--ink-2)}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 26px}
.hero-cta .btn{flex:1 1 220px}
.hero-media{line-height:0;max-width:500px;width:100%;align-self:center}
.hero-media img{width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}

.article{max-width:var(--text);padding-top:34px;padding-bottom:10px}
.article h2{
font-size:clamp(23px,3.4vw,29px);
line-height:1.25;
letter-spacing:-.01em;
margin:44px 0 14px;
font-weight:700;
scroll-margin-top:20px;
}
.article h2::after{content:"";display:block;width:52px;height:3px;background:var(--red);margin-top:12px;border-radius:2px}
.article p{margin:0 0 18px}
.article strong{font-weight:650}
.note{font-size:15px;color:var(--muted);line-height:1.6;border-left:3px solid var(--line);padding-left:14px}

.toc{
background:var(--bg-soft);
border:1px solid var(--line);
border-radius:var(--radius);
padding:14px 18px;
margin:0 0 8px;
}
.toc summary{cursor:pointer;font-weight:650;list-style:none}
.toc summary::-webkit-details-marker{display:none}
.toc summary::before{content:"+";color:var(--red);font-weight:700;margin-right:10px}
.toc[open] summary::before{content:"–"}
.toc ul{margin:14px 0 4px;padding-left:20px}
.toc li{margin-bottom:7px}
.toc a{color:var(--ink-2);text-decoration:none}
.toc a:hover{color:var(--red-d);text-decoration:underline}

.fig{margin:26px auto;max-width:500px}
.fig img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line)}

.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 14px;border:1px solid var(--line);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;min-width:720px;font-size:15px;line-height:1.5}
thead th{background:var(--ink);color:#fff;text-align:left;font-weight:600;padding:13px 14px;white-space:nowrap}
tbody th,tbody td{padding:13px 14px;border-top:1px solid var(--line);vertical-align:top;text-align:left}
tbody th{font-weight:650;min-width:150px}
tr.row-top{background:var(--red-soft)}
tr.row-top th{border-left:3px solid var(--red)}
.net-link{font-weight:700}

.author{
display:flex;gap:20px;align-items:flex-start;
background:var(--bg-soft);
border:1px solid var(--line);
border-left:4px solid var(--red);
border-radius:var(--radius);
padding:22px;
margin:48px 0 20px;
}
.author-photo{flex:0 0 96px}
.author-photo img{width:96px;height:96px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px var(--line)}
.author-body{min-width:0}
.author-name{font-weight:700;margin:0 0 8px;font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--red-d)}
.author-body p{margin:0 0 12px;font-size:16px}
.author-meta{font-size:14px;color:var(--muted);margin-bottom:0}

.site-footer{border-top:1px solid var(--line);background:var(--ink);color:#aeb4c0;margin-top:36px;padding:26px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-inner img{width:234px;height:40px}
.footer-inner p{margin:0;font-size:14px}

@media (min-width:1040px){
.hero{padding:60px 0 64px}
.hero-grid{flex-direction:row;align-items:center;gap:40px}
.hero-copy{flex:1 1 auto;min-width:0}
.hero-media{flex:0 0 500px;margin:0}
.hero-cta .btn{flex:0 0 auto}
.article{padding-top:44px}
}
@media (max-width:1039px){
.hero-media{margin-top:6px}
}
@media (max-width:600px){
body{font-size:16px}
.header-inner{min-height:66px;gap:10px}
.brand img{width:176px;height:30px}
.btn-sm{padding:10px 12px;font-size:13px}
.hero{padding:32px 0 36px}
.hero-cta{gap:10px}
.hero-cta .btn{flex:1 1 100%}
.author{flex-direction:column;gap:14px;padding:18px}
.author-photo{flex:0 0 auto}
.footer-inner{justify-content:center;text-align:center}
.footer-inner img{width:176px;height:30px}
}
@media (max-width:370px){
.footer-nav{font-size:13px}
.brand img{width:146px;height:25px}
.btn-sm{padding:9px 10px;font-size:12px}
.wrap{padding:0 14px}
}
.page h1{font-size:clamp(27px,4.6vw,38px);line-height:1.18;letter-spacing:-.015em;margin:0 0 18px;font-weight:700}
.page .lede{font-size:19px;line-height:1.6;color:var(--ink-2);margin:0 0 26px;padding-left:16px;border-left:3px solid var(--red)}
.page h2{margin:38px 0 12px}
.page ul{margin:0 0 20px;padding-left:22px}
.page li{margin-bottom:11px}
.page code{background:var(--bg-soft);border:1px solid var(--line);border-radius:4px;padding:1px 5px;font-size:14px}
.portrait{max-width:220px;margin:0 0 26px}
.portrait img{width:100%;height:auto;border-radius:14px;border:1px solid var(--line)}
.page-meta{font-size:14px;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:34px}
.footer-nav{display:flex;flex-wrap:wrap;gap:10px 22px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #2c313b;font-size:14px}
.footer-nav a{color:#d3d8e2;text-decoration:none}
.footer-nav a:hover{color:#fff;text-decoration:underline}
.footer-nav span{color:#7c8494}
@media (max-width:600px){
.page .lede{font-size:17px;padding-left:12px}
.footer-nav{gap:9px 16px;justify-content:center;text-align:center}
}
