/* 量浩合规 A2+B2 全站统一设计系统 · 2026-09-17 */
:root{
  --lh-ink:#15212b;
  --lh-body:#4f5e67;
  --lh-muted:#738088;
  --lh-line:#e3e9eb;
  --lh-paper:#f4f6f7;
  --lh-white:#ffffff;
  --lh-teal:#0e8c7e;
  --lh-teal-bright:#00cdb7;
  --lh-amber:#d98e00;
  --lh-max:1320px;
  --lh-radius:18px;
  --lh-shadow:0 18px 50px rgba(17,41,48,.07);
}

html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--lh-paper);
  color:var(--lh-ink);
  font-family:'Source Han Sans SC','Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body *{box-sizing:border-box}
.container{width:min(100% - 48px,var(--lh-max));max-width:var(--lh-max);margin-inline:auto;padding:0}
a{color:var(--lh-teal);text-decoration:none;border:0}
a:hover{color:#08796e}

/* Header */
.topbar{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(227,233,235,.9);
  backdrop-filter:blur(18px) saturate(1.15);
}
.topbar-inner{min-height:70px;padding:10px 0;gap:20px}
.logo img{display:block;width:auto;height:40px;object-fit:contain;transform:none!important}
.nav{gap:2px}
.nav a{padding:9px 10px;border-radius:7px;font-size:13px;font-weight:550;color:#24323c}
.nav a:hover,.nav a.active{background:#edf8f6;color:var(--lh-teal)}
.nav .cta{margin-left:8px;padding:10px 18px;border-radius:7px;background:var(--lh-teal-bright);color:#072b27;font-weight:700}
.nav .cta:hover{background:var(--lh-teal);color:#fff}
.site-search{height:40px;border-color:var(--lh-line);background:#f7f9fa;box-shadow:none}
.site-search:focus-within{border-color:#8ccdc5;box-shadow:0 0 0 3px rgba(14,140,126,.1)}
.site-search .ss-go{height:40px;background:var(--lh-teal-bright);color:#073832}

/* Standard page hero */
.subhero{
  position:relative;
  padding:82px 0 72px;
  background:#fff;
  border:0;
  overflow:hidden;
}
.subhero::after{
  content:'';position:absolute;inset:auto -8% -58% 48%;height:310px;
  background:radial-gradient(circle,rgba(0,205,183,.08),transparent 68%);
  pointer-events:none;
}
.subhero .container{position:relative;z-index:1}
.breadcrumb{margin-bottom:26px;color:#8a959b;font-size:12px;letter-spacing:.02em}
.breadcrumb a{color:#69777e}
.subhero .eyebrow{margin:0 0 14px;padding:0;background:none;border:0;border-radius:0;color:var(--lh-teal);font-size:12px;font-weight:750;letter-spacing:.14em}
.subhero h1{max-width:900px;margin:0;color:var(--lh-ink);font-size:clamp(42px,5.2vw,72px);font-weight:780;line-height:1.08;letter-spacing:-.055em}
.subhero .lede{max-width:760px;margin:24px 0 0;color:var(--lh-body);font-size:17px;line-height:1.85}

/* Sections */
.section{position:relative;padding:72px 0;background:transparent}
.section>.container{
  padding:58px 56px;
  background:#fff;
  border-radius:var(--lh-radius);
  box-shadow:0 1px 0 rgba(20,40,48,.03);
}
.section-h{gap:14px;margin-bottom:14px}
.section-h .n{padding:4px 10px;border-radius:4px;background:#e9f8f6;color:var(--lh-teal);font-size:11px;letter-spacing:.14em}
.section-h h2,.section-h .rh-title{color:var(--lh-ink);font-size:clamp(28px,3vw,40px);font-weight:760;letter-spacing:-.035em}
.section-sub{max-width:760px;margin:0 0 36px;color:var(--lh-muted);font-size:15px;line-height:1.8}
.more-link{margin-left:auto;color:var(--lh-teal);font-size:13px;font-weight:650}

/* Text and article surfaces */
.prose{max-width:920px;color:var(--lh-body);font-size:16px;line-height:1.9}
.prose h1,.prose h2,.prose h3{color:var(--lh-ink);letter-spacing:-.025em}
.prose h2{margin:44px 0 16px;font-size:30px}
.prose h3{margin:32px 0 12px;font-size:22px}
.prose p{margin:0 0 18px}
.prose li{margin:7px 0}
.prose blockquote{margin:28px 0;padding:22px 26px;border-left:3px solid var(--lh-teal);background:#f5faf9;color:#405159}
.tips{padding:18px 20px;border:0;border-radius:10px;background:#f1f8f7;color:#52636a}

/* Shared cards */
.track-card,.reg-card,.article,.post,.case-card,.rel-card,.res{
  background:#fff;
  border:1px solid var(--lh-line);
  border-radius:12px;
  box-shadow:none;
  transition:border-color .18s,box-shadow .18s,transform .18s,background-color .18s;
}
.track-card:hover,.reg-card:hover,.article:hover,.post:hover,.case-card:hover,.rel-card:hover,.res:hover{
  border-color:#9ed3cd;
  box-shadow:0 14px 32px rgba(14,140,126,.08);
  transform:translateY(-2px);
}
.tracks-grid,.reg-grid,.case-grid{gap:16px}
.track-card{padding:28px;min-height:250px;background:#f7f9fa}
.track-card::before{display:none}
.track-card .icon{border-radius:9px}
.track-card h3,.reg-card .name,.article h3,.post h3,.case-card h3{color:var(--lh-ink)}
.track-card p,.reg-card .desc,.article p,.post p,.case-card p{color:var(--lh-body)}
.reg-card{padding:22px 24px}
.article,.post,.case-card{padding:24px}
.articles.home-latest{gap:16px}
.res-grid{gap:12px}
.res{border-color:transparent;background:#f7f9fa}

/* Search/filter */
.case-search{margin:0 0 36px;padding:34px;border:0;border-radius:14px;background:#f4f7f8}
.cs-title{margin:0 0 10px;color:var(--lh-ink);font-size:28px;letter-spacing:-.025em}
.cs-title span{color:var(--lh-teal)}
.cs-hint{color:var(--lh-muted)}
.sr-box{background:#fff;border:1px solid var(--lh-line);border-radius:10px;box-shadow:none}
.sr-btn,.mf-btn,.btn-primary,.submit{background:var(--lh-teal-bright)!important;color:#073630!important;border:0!important;border-radius:8px!important;box-shadow:none!important}
.sr-btn:hover,.mf-btn:hover,.btn-primary:hover,.submit:hover{background:var(--lh-teal)!important;color:#fff!important;transform:none!important}
.sr-reset,.resource-filter button,.filter-tab,.column-switcher button{border-radius:8px!important}
.resource-filter button.cur,.filter-tab.cur,.column-switcher button.active{background:var(--lh-teal)!important;color:#fff!important}

/* Calls to action */
.cta-band{margin-top:48px;border:0;border-radius:14px;background:#eef8f6;overflow:hidden}
.cta-band .container{width:100%;padding:0 28px;background:transparent;box-shadow:none}
.cta-band .inner{padding:30px 0}
.cta-band h3{color:var(--lh-ink);font-size:24px}
.rel-title{margin-top:48px;color:var(--lh-muted);font-size:12px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
.rel-grid{gap:12px}
.rel-card{padding:20px;background:#f7f9fa;border-color:transparent}

/* Forms */
input,textarea,select,button{font:inherit}
.contact-form input,.contact-form textarea,.contact-form select,.mf-input{
  border:1px solid var(--lh-line)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--lh-ink)!important;
}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus,.mf-input:focus{
  outline:0!important;border-color:#80c9c0!important;box-shadow:0 0 0 3px rgba(14,140,126,.1)!important;
}

/* Footer */
footer{margin-top:0;padding:48px 0 24px;background:#eef2f4;border-top:1px solid var(--lh-line);color:#66747c}
.foot-grid{gap:48px}
.foot-brand .brand-name{color:var(--lh-ink)}
.foot-brand .brand-slogan,.brand-stats .st b{color:var(--lh-teal)}
.media-group{background:rgba(255,255,255,.58);border-color:#dbe4e7;border-radius:12px}
.media-tile{border-color:#dce5e8;border-radius:9px;box-shadow:none}
.media-tile:hover{border-color:#8bc9c2;box-shadow:none;transform:none}
.foot-bottom{border-top-color:#dce4e7}

/* Article/detail pages under nested paths */
body.article-page main,.article-detail,.content-shell{background:var(--lh-paper)}
.article-body,.detail-body,.content-main{background:#fff;border-radius:var(--lh-radius)}

/* Accessibility and motion */
:focus-visible{outline:3px solid rgba(14,140,126,.28);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:1080px){
  .container{width:min(100% - 36px,var(--lh-max))}
  .section>.container{padding:46px 36px}
  .topbar-inner{flex-wrap:wrap}
  .nav{order:3;width:100%;overflow-x:auto;padding-bottom:2px}
  .site-search{margin-left:auto}
}

@media(max-width:720px){
  .container{width:min(100% - 24px,var(--lh-max))}
  .topbar-inner{min-height:62px;padding:9px 0}
  .logo img{height:36px}
  .subhero{padding:54px 0 48px}
  .breadcrumb{margin-bottom:20px}
  .subhero h1{font-size:40px;letter-spacing:-.045em}
  .subhero .lede{margin-top:18px;font-size:15px}
  .section{padding:18px 0}
  .section>.container{padding:34px 22px;border-radius:14px}
  .section-h{align-items:center}
  .section-h h2,.section-h .rh-title{font-size:28px}
  .case-search{padding:24px 20px}
  .cs-title{font-size:23px}
  .cta-band .container{padding:0 20px}
  footer{margin-top:18px}
}
