/* Concise English homepage: shared spacing and readable text measures. */
.home-brief{position:relative;padding:84px 32px;scroll-margin-top:100px}
.brief-wrap{position:relative;max-width:1160px;margin:0 auto}
.home-brief .brief-label{font:500 12px/1.5 Geist,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#78c5cc;margin:0 0 20px}
.home-brief h2{font-size:clamp(30px,3.4vw,48px);line-height:1.16;letter-spacing:-.035em;font-weight:650;margin:0 0 28px;max-width:900px;color:#edf1f5}
.home-brief h2::after{display:none!important}
.home-brief .brief-lead{font-size:19px;line-height:1.75;max-width:790px;color:#b9c6cf;margin:0}
.brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;margin-top:36px}
.brief-item,.brief-report{padding:26px 0 0;border-top:1px solid #33434a;min-width:0}
.brief-number{display:block;color:#a8a2d1;font-size:13px;line-height:1.6;margin-bottom:14px}
.brief-grid>:nth-child(2) .brief-number{color:#d4b785}
.home-brief h3{font-size:24px;line-height:1.35;font-weight:550;letter-spacing:-.02em;color:#dce8eb;margin:0 0 16px}
.home-brief .brief-item p,.home-brief .brief-report p,.home-brief .brief-copy,.brief-builder p{font-size:16px;line-height:1.8;color:#aabac5;margin:0;max-width:780px}
.home-brief .brief-link{display:inline-flex;gap:12px;align-items:center;font-size:15px;font-weight:550;color:#79ccd0;text-decoration:none;margin-top:26px;line-height:1.6}
.home-brief a:hover{color:#e7f4f5}.home-brief a:focus-visible{outline:2px solid #79ccd0;outline-offset:6px}
.brief-report{text-decoration:none;display:flex;flex-direction:column}.brief-report .brief-link{margin-top:auto;padding-top:24px}
.home-brief .brief-note{font-size:13px;line-height:1.7;max-width:780px;color:#869da9;margin:26px 0 0}
.brief-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:36px 0;gap:16px}
.brief-flow li{padding:18px 0;border-top:1px solid #3a5558;color:#d3e1e3;font-size:16px;line-height:1.6}
.brief-flow span{display:block;color:#8dc6b2;font-size:13px;margin-bottom:8px}
.home-brief .brief-copy{margin-top:18px}.brief-builder{position:relative;margin-top:40px;padding:28px 32px;background:rgba(27,47,47,.25);border:1px solid #263d40;border-radius:12px}.brief-builder h3{color:#a7cebc}
.brief-anchor{position:absolute;top:0;scroll-margin-top:110px}.brief-join{padding-bottom:100px}
@media(max-width:700px){.home-brief{padding:58px 24px}.home-brief h2{font-size:32px}.home-brief .brief-lead{font-size:17px;line-height:1.75}.brief-grid{grid-template-columns:1fr;gap:28px;margin-top:28px}.home-brief h3{font-size:22px}.brief-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.brief-builder{padding:24px}.brief-join{padding-bottom:70px}}
/* Editorial layout: consistent scale and clear topic boundaries. */
/* 原来是 #0b1117 / #0d151c 隔行两种底色，加上每块顶上一条横线 ——
   往下滚就是一条一条的横带，这就是「一块一块」。
   两种底色都去掉，底统一交给 body 上那张跨整页的渐变。 */
html body .home-brief{padding:68px 32px!important;background:transparent!important}
html body .home-brief:nth-of-type(even){background:transparent!important}
html body .home-brief .brief-wrap{max-width:1120px}
html body .home-brief h2{font-size:clamp(30px,3vw,42px)!important;line-height:1.2!important;max-width:none;margin-bottom:24px!important;text-wrap:pretty}
/* 每个句子包一个 inline-block：句内不折，只可能在句号后换行。 */
html body .home-brief h2 .hl{display:inline-block}
html body .home-brief h2 br{display:none}
html body .home-brief h2 br::after{content:' '}
html body .home-brief .brief-lead{font-size:18px!important;line-height:1.8!important;max-width:760px}
html body .home-brief .brief-grid{gap:40px}
html body .home-brief .brief-item,html body .home-brief .brief-report{padding:24px 0 0;background:none}
html body .home-brief h3{font-size:23px!important;line-height:1.4!important}
html body .home-brief>.section-sky{display:block!important;opacity:.72}
/* 窄屏：字号跟着可用宽度走，保证最长的那一句（"Reduce Coordination
   Overhead."，量出来 14.67em）整句放得下，不会断成
   "Reduce Coordination" / "Overhead." 两行。
   算下来 505px 以上仍然是 30px，只有更窄的机型才会往下收。 */
@media(max-width:700px){html body .home-brief{padding:46px 24px!important}html body .home-brief h2{font-size:clamp(19px,calc((100vw - 48px)/15.25),30px)!important}html body .home-brief .brief-lead{font-size:17px!important}html body .home-brief .brief-grid{gap:30px}}

/* Updated hero positioning statement. */
html[data-site="en"] body.template-home .hero .hero-description{max-width:620px!important;line-height:1.4!important}
html[data-site="en"] body.template-home .hero .hero-description span{display:block!important;white-space:normal!important}
html[data-site="en"] body.template-home .hero .hero-description span:first-child{font-size:clamp(22px,2.2vw,30px)!important;color:#dce7ec}
html[data-site="en"] body.template-home .hero .hero-description span:last-child{font-size:clamp(15px,1.3vw,18px)!important;margin-top:12px;color:#9db9c4;font-weight:400}
@media(max-width:600px){html[data-site="en"] body.template-home .hero .hero-description span:first-child{font-size:22px!important}html[data-site="en"] body.template-home .hero .hero-description span:last-child{font-size:16px!important}}

/* Three hero features, with their existing accent colors. */
html[data-site="en"] body.template-home .hero .hero-statement.hero-five{display:flex!important;flex-wrap:wrap!important;gap:18px 26px!important;max-width:100%!important}
html[data-site="en"] body.template-home .hero .hero-statement.hero-five span{flex:0 0 auto!important;white-space:normal!important}
@media(max-width:600px){html[data-site="en"] body.template-home .hero .hero-statement.hero-five{gap:12px 20px!important}}

html body #mechanism .brief-flow{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;list-style:none!important;padding:0!important;margin:32px 0 8px!important;gap:24px!important;counter-reset:none!important}
html body #mechanism .brief-flow>li{display:flex!important;flex-direction:column!important;position:relative!important;list-style:none!important;padding:20px 0!important;margin:0!important;border:0!important;border-top:1px solid #385158!important;background:none!important;border-radius:0!important;min-height:0!important;font-size:18px!important;line-height:1.5!important;color:#d7e3e8!important}
html body #mechanism .brief-flow>li::before,html body #mechanism .brief-flow>li::after{display:none!important;content:none!important}
html body #mechanism .brief-flow>li::marker{content:''!important}
html body #mechanism .brief-flow>li>span{display:block!important;position:static!important;font-size:13px!important;color:#8ec3b4!important;margin:0 0 12px!important}
@media(max-width:700px){html body #mechanism .brief-flow{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 24px!important}html body #mechanism .brief-flow>li{font-size:16px!important}}

html[data-site="en"] body.template-home .hero .hero-description span:only-child{font-size:clamp(22px,2.2vw,30px)!important;margin-top:0!important;color:#dce7ec!important;font-weight:500!important}

/* Research collection: three columns, ready for additional publications. */
html body #papers.home-brief{padding-top:84px!important;padding-bottom:84px!important}
html body #papers .brief-wrap{max-width:1240px!important}
/* 四份实验报告：原来写死 3 列，第 4 张会在桌面端留一张孤行，改成 2×2。 */
/* 五份实验报告：原来 2×2，第 5 张会留孤卡，桌面端改回 3 列（3+2）。 */
html body #papers .brief-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;margin-top:36px!important;align-items:stretch}
html body #papers .brief-report{display:flex!important;flex-direction:column!important;padding:28px!important;border:1px solid #30444e!important;border-top:3px solid #79bdc4!important;border-radius:12px;background:rgba(19,33,43,.8)!important;text-decoration:none;transition:border-color .18s,background .18s}
/* 顶边四色：原来按 3 列排的 3n+2 / 3n+3，4 张会撞色，改成按位置点名。 */
html body #papers .brief-report:nth-child(2){border-top-color:#b2a0d0!important}
html body #papers .brief-report:nth-child(3){border-top-color:#cdb783!important}
html body #papers .brief-report:nth-child(4){border-top-color:#8fd0a8!important}
html body #papers .brief-report:nth-child(5){border-top-color:#e0a0a8!important}
html body #papers .brief-report:hover{background:#172a35!important;border-color:#70949f!important}
html body #papers .brief-number{min-height:42px;margin-bottom:16px;font-size:12px!important;line-height:1.65}
html body #papers .brief-report h3{font-size:24px!important;line-height:1.35!important;letter-spacing:-.025em;margin:0 0 22px!important}
html body #papers .brief-report p{font-size:15px!important;line-height:1.8!important;margin:0 0 24px!important}
html body #papers .brief-report .brief-link{margin-top:auto!important;padding-top:20px!important;border-top:1px solid #30434d;font-size:14px!important;width:100%}

/* 窄一点的桌面/平板：2 列，第 5 张横跨两列，不留孤卡。 */
@media(max-width:1080px){html body #papers .brief-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body #papers .brief-report:nth-child(5):last-child{grid-column:1/-1}}
@media(max-width:650px){html body #papers.home-brief{padding-top:52px!important;padding-bottom:52px!important}html body #papers .brief-grid{grid-template-columns:1fr!important;gap:20px!important}html body #papers .brief-report:nth-child(5):last-child{grid-column:auto}html body #papers .brief-report{padding:24px!important}html body #papers .brief-number{min-height:0}}

/* Hero lockup: semantic two-line statement and one-row desktop features. */
html[data-site="en"] body.template-home .hero .hero-description{width:660px!important;max-width:100%!important;line-height:1.4!important}
html[data-site="en"] body.template-home .hero .hero-description span:first-child,
html[data-site="en"] body.template-home .hero .hero-description span:last-child{font-size:clamp(22px,2vw,28px)!important;font-weight:500!important;color:#dce7ec!important;margin:0!important;line-height:1.4!important}
html[data-site="en"] body.template-home .hero .hero-description span:last-child{margin-top:5px!important}
@media(min-width:1100px){
html[data-site="en"] body.template-home .hero .hero-content{width:660px!important;max-width:660px!important}
html[data-site="en"] body.template-home .hero .hero-statement.hero-five{width:660px!important;display:flex!important;flex-wrap:nowrap!important;gap:22px!important}
html[data-site="en"] body.template-home .hero .hero-statement.hero-five span{font-size:14px!important;white-space:nowrap!important;gap:7px!important}
}
@media(max-width:600px){html[data-site="en"] body.template-home .hero .hero-description span:first-child,html[data-site="en"] body.template-home .hero .hero-description span:last-child{font-size:21px!important}}

html[data-site="en"] body.template-home .hero .hero-actions{display:flex!important;width:auto!important;max-width:100%!important}
html[data-site="en"] body.template-home .hero .hero-actions .button{width:auto!important;min-width:200px!important;padding:15px 30px!important;gap:24px!important;font-size:16px!important}

html[data-site="en"] body.template-home .hero .hero-actions{margin-top:36px!important;justify-content:flex-start!important}
html[data-site="en"] body.template-home .hero .hero-actions .button{min-width:190px!important;min-height:52px!important;border-radius:9px!important}
@media(max-width:600px){html[data-site="en"] body.template-home .hero .hero-actions{margin-top:28px!important}}
/* Final hero rhythm after moving the primary action into the header. */
html[data-site="en"] body.template-home .hero .hero-content{width:660px!important;max-width:100%!important}
html[data-site="en"] body.template-home .hero h1.brand-lockup{font-size:clamp(58px,5.5vw,80px)!important;line-height:1.05!important;margin:0!important;letter-spacing:-.035em!important}
html[data-site="en"] body.template-home .hero .hero-description{margin-top:32px!important;width:660px!important;max-width:100%!important}
html[data-site="en"] body.template-home .hero .hero-description span:first-child,html[data-site="en"] body.template-home .hero .hero-description span:last-child{font-size:clamp(22px,1.9vw,27px)!important;line-height:1.35!important;letter-spacing:-.025em!important;font-weight:450!important}
html[data-site="en"] body.template-home .hero .hero-description span:last-child{margin-top:3px!important}
html[data-site="en"] body.template-home .hero .hero-statement.hero-five{margin-top:32px!important;gap:24px!important}
@media(max-width:700px){html[data-site="en"] body.template-home .hero h1.brand-lockup{font-size:clamp(42px,9vw,58px)!important}html[data-site="en"] body.template-home .hero .hero-description{margin-top:26px!important}html[data-site="en"] body.template-home .hero .hero-description span:first-child,html[data-site="en"] body.template-home .hero .hero-description span:last-child{font-size:21px!important}html[data-site="en"] body.template-home .hero .hero-statement.hero-five{margin-top:26px!important;gap:12px 20px!important}}
