/* 首页中间内容方案 3；仅作用于中间区域，不覆盖首屏、注册区与页脚。 */
.home-middle { color: #071b24; background: #fff; }
.home-middle .hm-container { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.home-middle .hm-section { padding: 64px 0; }
.home-middle .hm-section-head { margin-bottom: 34px; }
.home-middle h2 { margin: 0 0 16px; color: #071b24; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.35; letter-spacing: -.025em; }
.home-middle p { margin: 0; color: #64727e; font-size: 15px; line-height: 1.8; }
.home-middle .hm-section-head > p { max-width: 900px; font-size: 16px; }
.home-middle h3, .home-middle h4 { color: #071b24; line-height: 1.5; }
.home-middle a { text-decoration: none; }
.home-middle .reference-icon { display: inline-block; width: 28px; height: 28px; flex-shrink: 0; color: #09b850; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.home-middle .hm-link { display: inline-flex; align-items: center; gap: 8px; color: #07833e; font-size: 14px; font-weight: 650; line-height: 1.65; }
.home-middle .hm-link .reference-icon { width: 18px; height: 18px; color: currentColor; }
.home-middle .hm-link:hover { color: #05552a; text-decoration: underline; }
.hm-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.hm-mode { display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 22px; align-items: start; }
.hm-mode-copy { min-width: 0; }
.home-middle .hm-mode h3 { display: flex; gap: 12px; align-items: flex-start; font-size: 22px; font-weight: 750; margin: 0 0 14px; }
.hm-step-list { margin: 26px 0 24px; padding: 0; list-style: none; display: grid; gap: 22px; }
.hm-step-list li { display: flex; align-items: flex-start; gap: 14px; }
.hm-step-list li > span { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; background: #eaf9f1; color: #07833e; border-radius: 50%; font-weight: 700; }
.home-middle .hm-step-list h4 { margin: 0 0 5px; font-size: 16px; font-weight: 700; }
.home-middle .hm-step-list p { font-size: 13px; line-height: 1.75; }
.hm-demo-card { position: relative; min-width: 0; border: 1px solid #e2e9e7; border-top: 3px solid #09b850; border-radius: 5px 5px 0 0; padding: 20px 14px 24px; background: #fff; box-shadow: 0 12px 28px rgba(7, 27, 36, .09), 0 3px 7px rgba(7, 27, 36, .04); }
.hm-demo-card::after { content: ""; position: absolute; left: -1px; right: -1px; top: 100%; height: 8px; background: linear-gradient(135deg, #fff 25%, transparent 25%) -8px 0, linear-gradient(225deg, #fff 25%, transparent 25%) -8px 0; background-size: 16px 16px; filter: drop-shadow(0 2px 1px rgba(7, 27, 36, .07)); pointer-events: none; }
.home-middle .hm-demo-card h4 { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px dashed #d4e3dc; font-size: 14px; }
.hm-demo-card h4 > span { display: block; color: #788792; font-weight: 400; font-size: 11px; margin-top: 5px; }
.hm-demo-card dl { margin: 0; display: grid; gap: 12px; }
.hm-demo-card dl > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; font-size: 11px; line-height: 1.6; }
.hm-demo-card dt { color: #788792; overflow-wrap: anywhere; }
.hm-demo-card dd { margin: 0; color: #334650; overflow-wrap: anywhere; }
.hm-demo-qr { display: block; width: 116px; height: 116px; margin: 20px auto 12px; padding-top: 18px; border-top: 1px dashed #d4e3dc; }
.home-middle .hm-demo-status { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #07833e; margin-bottom: 8px; }
.hm-demo-status .reference-icon { width: 17px; height: 17px; }
.home-middle .hm-demo-note { font-size: 10px; text-align: center; }
.home-middle .hm-integrations { background: #061b24; color: #fff; }
.hm-integration-layout { display: grid; grid-template-columns: 1fr 1.18fr .6fr; gap: 36px; align-items: start; }
.hm-integration-copy { min-width: 0; }
.home-middle .hm-integrations h2, .home-middle .hm-integrations h3, .home-middle .hm-integrations h4 { color: #fff; }
.home-middle .hm-integrations h2 { font-size: clamp(28px, 2.7vw, 36px); }
.home-middle .hm-integrations p { color: #b6c8d0; }
.hm-eyebrow { display: block; color: #54db94; font-size: 13px; font-weight: 650; margin-bottom: 14px; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hm-primary, .hm-secondary { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 5px; font-size: 14px; font-weight: 650; line-height: 1.55; text-align: center; }
.hm-primary { background: #09b850; color: #fff; }
.hm-secondary { border: 1px solid #667781; color: #fff; }
.hm-primary:hover { background: #078c3c; }
.hm-secondary:hover { border-color: #54db94; color: #54db94; }
.hm-tools, .hm-payment-flow { border-left: 1px solid #30444e; padding-left: 28px; min-width: 0; }
.hm-tool-group + .hm-tool-group { margin-top: 30px; }
.home-middle .hm-tool-group h3, .home-middle .hm-payment-flow > h3 { font-size: 17px; margin: 0 0 18px; }
.hm-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.hm-tool { display: grid; gap: 9px; align-content: start; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.55; text-align: center; }
.hm-tool-mark { display: flex; align-items: center; justify-content: center; height: 54px; border: 1px solid #30444e; border-radius: 7px; }
.hm-tool-mark .reference-icon { width: 33px; height: 33px; }
.hm-tool-woocommerce .reference-icon { width: 90px; max-width: 90%; height: 48px; color: #ce9de2; }
.hm-tool-laravel .reference-icon { width: 46px; height: 40px; color: #9fa8e9; }
.hm-tool-javascript .reference-icon { color: #f7df1e; }
.hm-tool:hover .hm-tool-mark { border-color: #54db94; }
.hm-tool > small { color: #ebce92; font-size: 10px; font-weight: 400; }
.hm-payment-flow ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.hm-payment-flow li { display: flex; align-items: flex-start; gap: 10px; }
.home-middle .hm-payment-flow h4 { font-size: 14px; margin: 0 0 5px; }
.home-middle .hm-payment-flow p { font-size: 12px; line-height: 1.75; }
.hm-tool-downloads { margin-top: 30px; padding-top: 18px; border-top: 1px solid #30444e; }
.hm-tool-downloads > summary { color: #54db94; cursor: pointer; font-size: 14px; font-weight: 600; width: fit-content; }
.hm-download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
.hm-download-grid h4 { margin: 0 0 10px; font-size: 16px; }
.hm-download-grid ul { color: #b6c8d0; font-size: 13px; line-height: 1.8; padding-left: 18px; }
.hm-download-grid a { color: #54db94; margin-right: 16px; font-size: 13px; }
.home-middle .hm-tool-downloads > p { font-size: 12px; }
.hm-management-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.hm-management-rows article { display: grid; grid-template-columns: 38px 32px 190px minmax(0, 1fr); align-items: start; gap: 16px; padding: 22px 0; border-bottom: 1px solid #e5ece9; }
.hm-management-rows article:first-child { padding-top: 10px; }
.hm-management-rows article:last-child { border-bottom: 0; }
.hm-row-number { color: #07833e; font-weight: 700; font-size: 14px; line-height: 28px; }
.home-middle .hm-management-rows h3 { margin: 0; font-size: 18px; font-weight: 750; }
.home-middle .hm-management-rows p { font-size: 14px; }
.hm-assets { padding: 24px; background: #f3faf7; border-radius: 6px; }
.home-middle .hm-assets h3 { margin: 0 0 20px; font-size: 16px; }
.hm-assets a { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid #dcebe3; color: #071b24; }
.hm-assets strong { font-size: 20px; }
.hm-assets span { color: #64727e; font-size: 12px; line-height: 1.7; }
.hm-assets a:hover strong { color: #07833e; }
.home-middle .hm-assets.hm-assets-illustrated { display: block; width: 100%; max-width: 320px; justify-self: center; padding: 0; background: #fff; border-radius: 0; }
.hm-management-art { display: block; width: 100%; height: auto; max-width: 320px; margin: 0 auto; }
.home-middle .hm-fees { padding-top: 0; }
.hm-fee-grid { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 28px; }
.hm-fee-card { padding: 24px; border: 1px solid #e2e9e7; border-radius: 6px; }
.hm-fee-sweep { padding: 24px 0 24px 24px; border-left: 1px solid #e2e9e7; }
.home-middle .hm-fee-grid h3 { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; margin: 0 0 24px; }
.hm-fee-label { display: block; font-size: 14px; line-height: 1.6; font-weight: 650; color: #334650; margin-bottom: 8px; }
.home-middle .hm-price { color: #071b24; font-size: 15px; margin-bottom: 14px; }
.hm-price strong { font-size: 34px; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.home-middle .hm-fee-value { font-size: 23px; font-weight: 750; color: #071b24; line-height: 1.45; margin: 0 0 18px; }
.home-middle .hm-fee-grid article > p:not(.hm-fee-value):not(.hm-price) { font-size: 13px; margin-bottom: 10px; }
.hm-fee-sweep .hm-link { margin-top: 16px; }
.home-middle .hm-faq { padding-top: 0; }
.hm-faq-layout { display: grid; grid-template-columns: .65fr 1.55fr; gap: 64px; align-items: start; }
.home-middle .hm-faq h2 { font-size: 30px; }
.hm-faq-layout > div:first-child > p { margin-bottom: 24px; }
.hm-faq-list { border: 1px solid #e2e9e7; border-radius: 7px; padding: 0 22px; }
.hm-faq-list details + details { border-top: 1px solid #e5ece9; }
.hm-faq-list summary { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; }
.hm-faq-list summary::-webkit-details-marker { display: none; }
.home-middle .hm-faq-list h3 { margin: 0; font-size: 15px; font-weight: 650; }
.hm-faq-list summary .reference-icon { width: 17px; height: 17px; color: #64727e; }
.hm-faq-list details[open] summary .reference-icon { transform: rotate(180deg); color: #07833e; }
.home-middle .hm-faq-list details > p { font-size: 14px; padding: 0 26px 20px 0; }
.home-middle :is(a, summary):focus-visible { outline: 3px solid #07833e; outline-offset: 4px; }
.home-middle .hm-integrations :is(a, summary):focus-visible { outline-color: #54db94; }
@media (max-width: 1150px) {
  .hm-mode-grid { gap: 30px; }
  .hm-mode { grid-template-columns: minmax(0, 1fr) 180px; gap: 18px; }
  .hm-integration-layout { grid-template-columns: 1fr 1.1fr; gap: 30px; }
  .hm-payment-flow { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #30444e; padding: 24px 0 0; }
  .hm-payment-flow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-management-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 28px; }
  .hm-management-rows article { grid-template-columns: 30px 28px minmax(0, 1fr); }
  .hm-management-rows article p { grid-column: 3; }
}
@media (max-width: 950px) {
  .hm-mode-grid { grid-template-columns: 1fr; gap: 40px; }
  .hm-mode { grid-template-columns: minmax(0, 1fr) 230px; gap: 40px; }
  .hm-fee-grid { grid-template-columns: 1fr 1fr; }
  .hm-fee-sweep { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #e2e9e7; padding: 24px 0 0; }
  .hm-faq-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .home-middle .hm-container { width: calc(100% - 40px); }
  .home-middle .hm-section { padding: 44px 0; }
  .home-middle h2 { font-size: 28px; }
  .hm-mode { gap: 20px; grid-template-columns: minmax(0, 1fr) 170px; }
  .home-middle .hm-mode h3 { font-size: 20px; }
  .hm-integration-layout { grid-template-columns: 1fr; }
  .hm-tools { border-left: 0; padding: 24px 0 0; border-top: 1px solid #30444e; }
  .hm-payment-flow ol { grid-template-columns: 1fr; gap: 20px; }
  .hm-tool { font-size: 11px; }
  .hm-download-grid { grid-template-columns: 1fr; }
  .hm-management-layout { grid-template-columns: 1fr; gap: 24px; }
  .hm-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hm-assets h3 { grid-column: 1 / -1; margin-bottom: 0; }
  .hm-fee-grid { grid-template-columns: 1fr; gap: 20px; }
  .hm-fee-sweep { grid-column: auto; }
  .home-middle .hm-fees, .home-middle .hm-faq { padding-top: 0; }
  .hm-faq-list { padding: 0 16px; }
}
@media (max-width: 480px) {
  .hm-mode { grid-template-columns: 1fr; }
  .hm-demo-card { width: 100%; max-width: 300px; margin: 0 auto; box-sizing: border-box; }
  .hm-demo-card dl > div { grid-template-columns: 85px minmax(0, 1fr); font-size: 12px; }
  .home-middle .hm-demo-note { font-size: 11px; }
  .hm-management-rows article { gap: 12px; }
  .hm-tools .hm-tool-grid { gap: 10px; }
  .hm-tool-grid .hm-tool { overflow-wrap: anywhere; }
  .hm-assets { padding: 20px 16px; gap: 12px; }
  .hm-price strong { font-size: 32px; }
}
