*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Noto Sans SC",system-ui,sans-serif;background:#fff;color:#1c1917;line-height:1.82;font-size:16px}
a{color:#4f46e5;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}

.site-header{background:#fff;border-bottom:2px solid #eef2ff;position:sticky;top:0;z-index:300}
.header-inner{max-width:1180px;margin:0 auto;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:11px;color:#111;font-weight:600;font-size:.97rem}
.brand em{font-style:normal;color:#4f46e5;font-weight:700}
.site-nav ul{display:flex;flex-wrap:wrap;gap:6px 20px;list-style:none}
.site-nav a{color:#444;font-size:.91rem}
.site-nav a.active{color:#4f46e5;font-weight:600}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px}
.nav-toggle span{display:block;width:22px;height:2px;background:#333;margin:5px 0;border-radius:1px}

.ads-top-bar{background:#fafafa;border-bottom:1px solid #e7e5e4;padding:10px 0}
#applist .applist-title{font-size:.84rem;color:#78716c;margin-bottom:8px}
#ads{display:flex;flex-wrap:wrap;gap:12px}

.offset-shell{max-width:1180px;margin:0 auto;padding:0 22px 60px;display:grid;grid-template-columns:210px 1fr;gap:36px;align-items:start}
.offset-rail{position:sticky;top:76px;padding-top:32px;border-right:1px dashed #ddd6fe;padding-right:18px}
.offset-rail h2{font-size:.86rem;color:#6366f1;font-weight:600;letter-spacing:.04em;margin-bottom:14px}
.offset-rail ol{list-style:none;font-size:.85rem;line-height:2.1}
.offset-rail a{color:#57534e;padding:3px 0 3px 12px;display:block;border-left:3px solid transparent;transition:color .15s,border-color .15s}
.offset-rail a.is-active,.offset-rail a:hover{color:#4f46e5;border-left-color:#4f46e5}

.offset-hero{padding:40px 0 30px;border-bottom:1px dashed #e7e5e4;margin-bottom:10px}
.offset-hero .hero-tag{display:inline-block;font-size:.8rem;color:#4338ca;background:#eef2ff;padding:5px 14px;border-radius:4px;margin-bottom:14px;font-weight:500}
.offset-hero h1{font-size:clamp(1.38rem,3.6vw,2rem);line-height:1.32;margin-bottom:16px;color:#0c0a09;max-width:700px;font-weight:700}
.offset-hero .hero-lede{font-size:1.03rem;color:#44403c;max-width:740px;margin-bottom:11px}
.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.chip-row span{font-size:.77rem;background:#f5f5f4;color:#57534e;padding:5px 11px;border-radius:20px;border:1px solid #e7e5e4}

.offset-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:22px 26px;padding:30px 0}
.off-cell{background:#fff;border:1px solid #e7e5e4;border-radius:10px;padding:24px 26px;box-shadow:0 3px 12px rgba(79,70,229,.05);position:relative}
.off-cell::before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg,#818cf8,#4f46e5);border-radius:10px 0 0 10px;opacity:.35}
.off-cell h2{font-size:1.14rem;margin-bottom:13px;color:#0c0a09;padding-left:4px}
.off-cell p{margin-bottom:12px;color:#292524;font-size:.95rem;padding-left:4px}
.off-cell figure{margin:18px 0 0;padding-left:4px}
.off-cell figcaption{font-size:.79rem;color:#78716c;margin-top:9px;text-align:center;line-height:1.5}

.off-span-7{grid-column:span 7}
.off-span-5{grid-column:span 5}
.off-span-8{grid-column:span 8}
.off-span-4{grid-column:span 4}
.off-span-6{grid-column:span 6}
.off-span-12{grid-column:span 12}
.off-push-down{margin-top:36px}
.off-push-up{margin-top:-18px}
.off-nudge-left{margin-left:-14px}
.off-nudge-right{margin-right:-14px}

.tip-box{background:#eef2ff;border:1px solid #c7d2fe;padding:15px 18px;margin:14px 4px;border-radius:8px;font-size:.93rem;color:#312e81;line-height:1.65}

.faq-zone{padding:36px 0;border-top:1px dashed #e7e5e4;margin-top:16px}
.faq-zone h2{font-size:1.22rem;margin-bottom:18px;color:#0c0a09}
.faq-item{border:1px solid #e7e5e4;border-radius:10px;padding:18px 20px;margin-bottom:14px;background:#fafaf9}
.faq-item h3{font-size:1.01rem;margin-bottom:9px;color:#1c1917}

.related-zone{padding:28px 0;border-top:1px solid #f5f5f4}
.related-zone h2{font-size:1.06rem;margin-bottom:12px}
.related-zone ul{padding-left:1.25rem;line-height:1.95;color:#44403c}

.closing-block{max-width:1180px;margin:0 auto;padding:0 22px 48px}
.closing-block h2{font-size:1.1rem;margin-bottom:12px;color:#0c0a09}
.closing-block p{color:#44403c;font-size:.96rem;margin-bottom:10px;line-height:1.85}

.site-footer{background:#fafaf9;border-top:1px solid #e7e5e4;padding:30px 22px;text-align:center;font-size:.87rem;color:#78716c}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin-bottom:10px}
.footer-sub{font-size:.81rem;color:#a8a29e;margin-top:7px}
.prose-page{max-width:720px;margin:44px auto;padding:0 22px}
.prose-page h1{font-size:1.42rem;margin-bottom:16px}
.error-page{max-width:480px;margin:84px auto;padding:0 22px;text-align:center}

@media(max-width:960px){
  .offset-shell{grid-template-columns:1fr}
  .offset-rail{position:static;padding:18px 0;border-right:0;border-bottom:1px dashed #e7e5e4;padding-right:0}
  .offset-rail ol{display:flex;flex-wrap:wrap;gap:6px 12px}
  .offset-rail a{border-left:0;padding-left:10px;background:#f5f5f4;padding:5px 11px;border-radius:20px;font-size:.81rem}
  .off-span-7,.off-span-5,.off-span-8,.off-span-4,.off-span-6,.off-span-12{grid-column:span 12}
  .off-push-down,.off-push-up,.off-nudge-left,.off-nudge-right{margin:0}
}

@media(max-width:768px){
  .nav-toggle{display:block}
  .site-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #e7e5e4;display:none;padding:14px 22px}
  .site-nav.is-open{display:block}
  .site-header{position:relative}
}
