/* 首页：核心卖点、教材覆盖与实时学习报告。 */
.home-trial-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
/* 卖点与产品能力共用卡片，桌面端两行四列。 */
.home-value { padding: 64px 0 72px; }
.home-value .section-head { margin-bottom: 32px; }
.home-value__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.home-value__card { padding: 26px 22px; border: 1px solid #e1e9f2; border-radius: 16px; background: linear-gradient(145deg, #f5f9fd, #fff 75%); text-align: left; transition: border-color .2s ease, box-shadow .2s ease; }
.home-value__card:hover { border-color: #b9cfe3; box-shadow: 0 8px 24px #244a700c; }
.home-value__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; color: var(--color-blue); background: var(--color-blue-light); }
.home-value__card h3 { font-size: 18px; line-height: 1.5; }
.home-value__card p { margin-top: 10px; color: var(--color-text-secondary); font-size: 14px; line-height: 1.8; }
.home-publishers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; padding: 24px 0; margin-bottom: 28px; background: #fff; border-radius: 8px; }
.home-publishers > span { padding: 4px 18px; text-align: center; font-size: 21px; font-weight: 700; }
.home-publishers > span:not(:nth-child(4n + 1)) { border-left: 1px solid var(--color-border); }
.home-publishers small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--color-text-secondary); }
.home-stage { --stage-color: #2f6ea8; --stage-bg: #eaf3fb; padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; }
.home-stage--middle { --stage-color: #257a65; --stage-bg: #eaf6f1; }
.home-stage--high { --stage-color: #a63b50; --stage-bg: #fcf0f2; }
.home-stage__label { color: var(--stage-color); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.home-stage h3 { margin-top: 10px; font-size: 25px; }
.home-stage p { margin: 10px 0 20px; font-size: 14px; color: var(--color-text-secondary); }
.home-stage ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.home-stage li { padding: 5px 10px; border-radius: 6px; color: var(--stage-color); background: var(--stage-bg); font-size: 13px; }
.home-stage__foot { display: block; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: 12px; color: var(--color-text-secondary); }
.home-materials__footer { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 28px; padding: 24px 28px; border-radius: 14px; background: #fff; }
.home-materials__footer > div { flex: 1; min-width: 220px; }
.home-materials__footer strong { font-size: 18px; }
.home-materials__footer p { margin-top: 5px; font-size: 13px; color: var(--color-text-secondary); }
#advantages, #materials, #report { scroll-margin-top: calc(var(--header-height) + 20px); }
@media (max-width: 992px) {
  .home-value__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}
@media (max-width: 768px) {
  .home-publishers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-publishers { row-gap: 24px; }
  .home-publishers > span:nth-child(2n + 1) { border-left: 0; }
  .home-stage-grid { grid-template-columns: 1fr; }
  .home-materials__footer { padding: 22px; }
  .home-materials__footer > div { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .home-value__grid { grid-template-columns: 1fr; }
  .home-value { padding: 44px 0; }
  .home-value__grid { gap: 24px; }
  .home-value__card { padding: 24px; }
  .home-value__icon { margin-bottom: 16px; }
  .home-value__card h3 { font-size: 18px; }

  .home-publishers > span { padding: 16px 10px; font-size: 18px; }
  .home-materials__footer .btn { width: 100%; }
}

/* 学习报告：大幅原图与三项内容导航。 */
.home-report .section-head { max-width: 820px; margin-bottom: 36px; }
.report-gallery { min-width: 0; }
.report-gallery__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.report-gallery__choice { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid #dae5ee; border-radius: 12px; background: #fff; color: var(--color-text); transition: background .2s, border-color .2s; }
.report-gallery__choice:hover { border-color: #90b8d9; background: #f6faff; }
.report-gallery__choice[aria-current="true"] { background: #eaf4fd; border-color: #679dc8; }
.report-gallery__number { color: #7c94a8; font-size: 14px; font-weight: 700; }
.report-gallery__choice[aria-current="true"] .report-gallery__number { color: var(--color-blue-dark); }
.report-gallery__choice h3 { font-size: 18px; }
.report-gallery__choice p { margin-top: 4px; font-size: 13px; color: var(--color-text-secondary); }
.report-gallery__screen { overflow: hidden; border: 1px solid #d8e3ec; border-radius: 16px; background: #f3f8f9; box-shadow: 0 18px 45px #244a7012; touch-action: pan-y; }
.report-gallery__slide { margin: 0; scroll-margin-top: calc(var(--header-height) + 24px); }
.report-gallery__slide[hidden], .report-gallery__toolbar[hidden] { display: none; }
/* 原截图含右侧/底部窗口黑线及圆角，仅在预览中轻微放大裁边。 */
.report-gallery__slide a { display: block; overflow: hidden; cursor: zoom-in; }
.report-gallery__slide img { display: block; width: 100%; height: auto; aspect-ratio: 1899 / 1145; object-fit: contain; transform: scale(1.012); }
.report-gallery__slide figcaption { padding: 14px 20px; background: #fff; border-top: 1px solid #e1e9ef; font-size: 13px; color: var(--color-text-secondary); }
.report-gallery.is-enhanced .report-gallery__slide:not([hidden]) { animation: report-reveal .35s ease; }
.report-gallery__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.report-gallery__status { color: var(--color-blue-dark); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-gallery__actions { display: flex; align-items: center; gap: 10px; }
.report-gallery__actions button { min-width: 38px; min-height: 38px; padding: 6px 12px; border: 1px solid #d9e3ed; border-radius: 8px; background: white; color: var(--color-text-secondary); font: inherit; cursor: pointer; }
.report-gallery__actions button:hover { color: var(--color-blue-dark); border-color: #8fb4d3; background: #f1f7fc; }
.report-gallery__actions .report-gallery__pause, .report-gallery__actions a { font-size: 13px; }
.report-gallery__actions a { margin-left: 8px; color: var(--color-blue-dark); }
.report-gallery :is(a, button):focus-visible { outline: 3px solid #367db5; outline-offset: 4px; }
.home-report__footer { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--color-border); }
.home-report__footer p { font-size: 17px; font-weight: 600; }
.home-report__footer small { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--color-text-secondary); }
@keyframes report-reveal { from { opacity: .5; } to { opacity: 1; } }
@media (max-width: 768px) {
  .report-gallery__choices { gap: 8px; margin-bottom: 16px; }
  .report-gallery__choice { display: block; padding: 12px; }
  .report-gallery__number { display: block; margin-bottom: 6px; font-size: 12px; }
  .report-gallery__choice h3 { font-size: 15px; }
  .report-gallery__choice p { font-size: 12px; line-height: 1.6; }
  .report-gallery__screen { border-radius: 10px; }
  .report-gallery__slide figcaption { padding: 12px; min-height: 62px; font-size: 12px; }
  .report-gallery__toolbar { flex-wrap: wrap; gap: 12px; }
  .report-gallery__actions { width: 100%; }
  .report-gallery__actions a { margin-left: auto; }
  .home-report__footer { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 20px; }
  .home-report__footer p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .report-gallery.is-enhanced .report-gallery__slide:not([hidden]) { animation: none; }
  .report-gallery__choice { transition: none; }
}
/* 微语境：保留词卡介绍，下接大图与纵向展开式导览。 */
#context, #context-demo { scroll-margin-top: calc(var(--header-height) + 24px); }
.context-demo { margin-top: 64px; }
.context-demo__heading { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-top:40px; margin-bottom:28px; border-top:1px solid #cbdce9; }
.context-demo__heading h3 { font-size:26px; }
.context-demo__heading p { margin-top:10px; color:var(--color-text-secondary); font-size:15px; }
.context-demo__heading > span { flex-shrink:0; font-size:13px; color:#52778c; }
.context-gallery { display:grid; grid-template-columns:minmax(0, 1.85fr) minmax(290px, 1fr); gap:32px; align-items:start; }
.context-gallery__media, .context-gallery__aside { min-width:0; }
.context-gallery__screen { overflow:hidden; border:1px solid #c8d7e3; border-radius:14px; background:#0d1019; box-shadow:0 12px 30px #244a7014; touch-action:pan-y; }
.context-gallery__slide { margin:0; scroll-margin-top:calc(var(--header-height) + 24px); }
.context-gallery__slide a { display:block; cursor:zoom-in; }
.context-gallery__slide img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:contain; }
.context-gallery__slide figcaption { background:#fff; color:var(--color-text-secondary); padding:14px 18px; font-size:13px; }
.context-gallery__step { display:flex; align-items:flex-start; gap:14px; padding:22px 18px; border:1px solid #cbdce7; border-radius:12px; color:var(--color-text); background:#ffffff80; transition:background .2s,border-color .2s; }
.context-gallery__steps { display:grid; gap:12px; }
.context-gallery__step h4 { font-size:18px; line-height:1.5; }
.context-gallery__step p { font-size:14px; line-height:1.8; color:var(--color-text-secondary); margin-top:10px; }
.context-gallery__number { font-size:13px; color:#52778c; font-weight:700; line-height:27px; }
.context-gallery__arrow { margin-left:auto; color:#52778c; }
.context-gallery__step:hover { background:#fff; border-color:#7cb2aa; color:var(--color-text); }
.context-gallery__step[aria-current="true"] { background:#fff; border-color:#45998d; box-shadow:0 4px 16px #244a7008; }
.context-gallery__step[aria-current="true"] h4, .context-gallery__step[aria-current="true"] .context-gallery__number { color:#147568; }
.context-gallery__step[aria-current="true"] .context-gallery__arrow { color:#147568; transform:rotate(45deg); }
.context-gallery__trial { display:inline-block; margin-top:24px; font-size:14px; font-weight:600; color:var(--color-primary); }
.context-gallery__toolbar { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:16px; }
.context-gallery__status { font-size:12px; font-weight:600; color:#52778c; font-variant-numeric:tabular-nums; }
.context-gallery__actions { display:flex; align-items:center; gap:8px; }
.context-gallery__actions button { min-height:40px; min-width:40px; padding:6px 10px; border:1px solid #c8d7e3; border-radius:8px; background:#fff; color:#3c5b70; font:inherit; font-size:13px; cursor:pointer; }
.context-gallery__actions a { font-size:13px; margin-left:6px; color:#326f8a; }
.context-gallery :is(a,button):focus-visible { outline:3px solid #147568; outline-offset:3px; }
.context-gallery [hidden] { display:none; }
.context-gallery.is-enhanced .context-gallery__slide:not([hidden]) { animation:context-reveal .3s ease; }
@keyframes context-reveal { from { opacity:.6; } to { opacity:1; } }
@media(max-width:992px) {
  .context-gallery { grid-template-columns:1fr; gap:24px; }
  .context-demo__heading > span { display:none; }
}
@media(max-width:768px) {
  .context-demo { margin-top:40px; }
  .context-demo__heading { padding-top:28px; }
  .context-demo__heading h3 { font-size:23px; }
  .context-gallery__step { padding:16px; }
  .context-gallery__actions { width:100%; }
  .context-gallery__actions a { margin-left:auto; }
}
@media(prefers-reduced-motion:reduce) {
  .context-gallery__step { transition:none; }
  .context-gallery.is-enhanced .context-gallery__slide:not([hidden]) { animation:none; }
}
