/* QilyLean 首页首屏专项校准 v3｜2026-08-19
 * 用户图示要求：
 * 1) 首页主标题在 v2 基础上再缩小一号，保留三行语义与冲击力；
 * 2) 左侧标题/正文/身份说明/闭环说明/按钮组统一内容框右边界；
 * 3) 右侧职业形象照保持独立固定列，不挤压左侧内容；
 * 4) 不改变导航、运营资产闭环、文案和全站字号治理基线。
 */

@media (min-width:981px){
  html body.qily-home-v3 .hero .hero-grid{
    width:min(1540px,100%)!important;
    grid-template-columns:minmax(0,1fr) minmax(330px,360px)!important;
    column-gap:clamp(52px,4.5vw,76px)!important;
    align-items:center!important;
  }

  html body.qily-home-v3 .hero .hero-grid>div:first-child{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }

  html body.qily-home-v3 .hero .hero-grid>div:first-child :is(
    .eyebrow,
    .qily-home-hero-title,
    .lead,
    .qily-founder-line,
    .qily-home-thesis,
    .qily-home-actions
  ){
    width:100%!important;
    max-width:none!important;
  }

  /* v3：56px 档再降一号到 52px 档。 */
  html body.qily-home-v3 .hero h1.qily-home-hero-title{
    margin:12px 0 18px!important;
    font-size:clamp(40px,3.6vw,52px)!important;
    line-height:1.08!important;
    letter-spacing:-.022em!important;
  }

  html body.qily-home-v3 .hero h1.qily-home-hero-title>span{
    display:block!important;
    white-space:nowrap!important;
  }

  html body.qily-home-v3 .hero .lead,
  html body.qily-home-v3 .hero .qily-home-thesis{
    margin-right:0!important;
  }

  html body.qily-home-v3 .hero .qily-home-actions{
    justify-content:flex-start!important;
  }

  html body.qily-home-v3 .hero .hero-grid>aside{
    width:100%!important;
    max-width:360px!important;
    justify-self:end!important;
  }

  html body.qily-home-v3 .hero .portrait-frame{
    width:100%!important;
    max-width:360px!important;
    margin:0!important;
  }
}

@media (min-width:981px) and (max-width:1280px){
  html body.qily-home-v3 .hero h1.qily-home-hero-title{
    font-size:clamp(38px,4vw,48px)!important;
  }
}

@media (max-width:980px){
  html body.qily-home-v3 .hero h1.qily-home-hero-title{
    font-size:clamp(34px,6.6vw,48px)!important;
    line-height:1.08!important;
  }
  html body.qily-home-v3 .hero .hero-grid>div:first-child :is(
    .lead,.qily-founder-line,.qily-home-thesis,.qily-home-actions
  ){
    width:100%!important;
    max-width:none!important;
  }
}

@media (max-width:620px){
  html body.qily-home-v3 .hero h1.qily-home-hero-title{
    font-size:clamp(28px,8vw,36px)!important;
    line-height:1.1!important;
  }
}

/* materialization-trigger: 20260819-home-hero-align-v3 */
