/* MedGPT 内容页：沿用首页字体、品牌色、固定导航与页面宽度。
   官网图表作为原图保留，不在 CSS 中重绘数据。
   01 首屏 / 02 章节 / 03 图表 / 04 页尾 / 05 大图 / 06 响应式。 */
.medgpt-page { background: var(--dark); }
.medgpt-page main { overflow: clip; }
.medgpt-page .desktop-navigation > a[aria-current="page"] { color: var(--brand-light); }

/* ===== 01 · 首屏 ===== */
.medgpt-hero { position: relative; overflow: hidden; min-height: 800px; color: #f5f5f6; }
.medgpt-hero-grid {
  display: grid;
  grid-template-columns: 1.17fr .83fr;
  align-items: center;
  gap: 50px;
  min-height: 800px;
  padding-top: calc(var(--site-header-height) + 65px);
  padding-bottom: 86px;
}
.medgpt-hero-copy { position: relative; z-index: 1; }
.medgpt-product-logo { width: 238px; height: auto; margin-bottom: 37px; filter: brightness(0) invert(1); }
.medgpt-hero h1 { font-size: clamp(42px, 4.15vw, 68px); font-weight: 600; line-height: 1.35; letter-spacing: -.045em; margin: 0; }
.medgpt-hero h1 em { font-style: normal; color: var(--brand-light); }
.medgpt-hero-copy > p { max-width: 600px; margin: 30px 0 0; color: #aeb1b7; font-size: 16px; line-height: 1.95; text-wrap: pretty; }
.medgpt-portrait { align-self: end; min-width: 0; margin-bottom: -50px; }
.medgpt-portrait img { width: 100%; height: auto; max-height: 590px; object-fit: contain; object-position: bottom; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.medgpt-hero-footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: 24px 28px; border-top: 1px solid #ffffff24; color: #98a59e; font-size: 12px; }
.medgpt-hero-footer a { display: inline-flex; align-items: center; gap: 10px; color: #c3decf; }
.medgpt-hero-footer a:hover { color: var(--brand-light); }

/* ===== 02 · 章节和信息层级 ===== */
.medgpt-section { padding: 112px 0 100px; }
.medgpt-section + .light-section { border-top: 1px solid #dfe5e1; }
.medgpt-heading { max-width: 1060px; margin-bottom: 52px; }
.medgpt-eyebrow { display: flex; align-items: center; gap: 19px; margin: 0 0 28px; font-size: 12px; line-height: 1.5; letter-spacing: .06em; font-weight: 500; color: #60816c; }
.medgpt-eyebrow > span { font-size: 11px; letter-spacing: .08em; color: #8c9e92; }
.dark-section .medgpt-eyebrow { color: #88b69b; }
.dark-section .medgpt-eyebrow > span { color: #6e8b79; }
.medgpt-heading h2 { font-size: clamp(35px, 4.1vw, 62px); font-weight: 600; line-height: 1.38; letter-spacing: -.045em; text-wrap: pretty; }
.medgpt-heading > p:last-child:not(.medgpt-eyebrow) { margin-top: 25px; color: #6c7b71; font-size: 15px; line-height: 1.8; }
.medgpt-solution-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 10%; align-items: start; margin-bottom: 56px; }
.medgpt-solution-intro .medgpt-heading { margin-bottom: 0; }
.medgpt-system-copy { padding-top: 45px; color: #657169; font-size: 15px; line-height: 1.95; }
.medgpt-system-copy p + p { margin-top: 16px; }
.medgpt-system-copy .system-fast,
.medgpt-system-copy .system-slow { color: #174e31; padding-left: 20px; border-left: 2px solid #a7c8b4; }
.medgpt-system-copy .system-slow { border-color: #00683d; }
.medgpt-loop-wordmark { width: 173px; margin-bottom: 30px; }
.medgpt-section-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; color: #7f9086; font-size: 11px; line-height: 1.8; }
.dark-section .medgpt-section-note { color: #879d8e; }
.medgpt-section-note > span:last-child { flex-shrink: 0; letter-spacing: .09em; }

/* ===== 03 · 原图展示，点击查看完整图示 ===== */
.medgpt-media { position: relative; background: #fff; border: 1px solid #dfe6e1; border-radius: 16px; overflow: hidden; }
.dark-section .medgpt-media { border-color: #334239; }
.medgpt-media-view { display: block; width: 100%; padding: 27px 28px 0; }
.medgpt-media img { width: 100%; height: auto; object-fit: contain; }
.medgpt-media-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 17px 28px; color: #708178; font-size: 11px; border-top: 1px solid #e8ede9; }
.medgpt-media-bar p { margin: 0; }
.medgpt-media-open { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; min-height: 36px; padding: 0; color: var(--brand); font-size: 12px; background: transparent; }
.medgpt-media-open:hover { color: #099157; }
.medgpt-media-view:focus-visible { outline-offset: -4px; }

/* ===== 04 · 下载与页尾，内容沿用官网 ===== */
.medgpt-download-section { padding: 90px 0 100px; color: #f5f5f6; }
.medgpt-download-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 48px; border-top: 1px solid #ffffff24; }
.medgpt-download-row h2 { font-size: clamp(32px, 3.7vw, 56px); font-weight: 600; line-height: 1.4; }
.medgpt-download-row a { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 17px 29px; min-height: 55px; color: #fff; background: var(--brand); border-radius: 40px; font-size: 14px; white-space: nowrap; }
.medgpt-download-row a:hover { background: #07844f; }
.medgpt-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 24px; border-top: 1px solid #ffffff19; font-size: 10px; line-height: 1.8; color: #78877d; }
.medgpt-back-top { margin-left: auto; }

/* ===== 05 · 图片放大，浏览器原生 dialog ===== */
.medgpt-image-dialog { width: min(1360px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid #cbd8cf; border-radius: 16px; background: #fff; color: #142e1e; box-shadow: 0 30px 100px #0008; }
.medgpt-image-dialog:not([open]) { display: none; }
.medgpt-image-dialog::backdrop { background: #030908c4; backdrop-filter: blur(5px); }
.medgpt-image-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; border-bottom: 1px solid #dce6df; }
.medgpt-image-dialog-header h2 { font-size: 15px; line-height: 1.6; letter-spacing: 0; font-weight: 500; }
.medgpt-image-dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #edf2ee; flex-shrink: 0; }
.medgpt-image-dialog-body { padding: 24px; overflow: auto; max-height: calc(100dvh - 155px); }
.medgpt-image-dialog-body img { display: block; width: 100%; max-width: none; height: auto; cursor: zoom-in; }
.medgpt-image-dialog-body[data-zoomed="true"] img { width: auto; min-width: 100%; cursor: zoom-out; }
.medgpt-image-dialog-hint { font-size: 11px; color: #73867a; padding: 0 24px 17px; }

/* ===== 06 · 英文与响应式 ===== */
.medgpt-page.is-en .medgpt-hero h1 { font-size: clamp(39px, 4.1vw, 64px); line-height: 1.15; letter-spacing: -.055em; }
.medgpt-page.is-en .medgpt-hero-copy > p { font-size: 15px; line-height: 1.9; }
.medgpt-page.is-en .medgpt-heading h2 { font-size: clamp(33px, 3.8vw, 56px); line-height: 1.22; }
@media (min-width: 1800px) { .medgpt-hero-grid { gap: 100px; } }
@media (max-width: 1100px) {
  .medgpt-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 24px; }
  .medgpt-hero h1 { font-size: 44px; }
  .medgpt-hero-copy > p { font-size: 14px; }
  .medgpt-solution-intro { gap: 7%; }
  .medgpt-system-copy { font-size: 14px; }
}
@media (max-width: 760px) {
  .medgpt-hero { min-height: 0; }
  .medgpt-hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; min-height: 0; padding-top: 125px; padding-bottom: 0; }
  .medgpt-product-logo { width: 174px; margin-bottom: 30px; }
  .medgpt-hero h1 { font-size: clamp(31px, 7.7vw, 53px); line-height: 1.45; letter-spacing: -.04em; }
  .medgpt-hero-copy > p { font-size: 14px; line-height: 1.95; margin-top: 23px; }
  .medgpt-portrait { width: 76%; max-width: 400px; margin: 0 auto -8px; align-self: auto; }
  .medgpt-portrait img { max-height: 340px; }
  .medgpt-hero-footer { padding-block: 22px; font-size: 10px; gap: 15px; }
  .medgpt-hero-footer > span { max-width: 50%; line-height: 1.8; }
  .medgpt-section { padding: 76px 0 60px; }
  .medgpt-heading { margin-bottom: 30px; }
  .medgpt-eyebrow { font-size: 10px; gap: 15px; margin-bottom: 21px; }
  .medgpt-eyebrow > span { font-size: 9px; }
  .medgpt-heading h2 { font-size: clamp(29px, 7.3vw, 46px); line-height: 1.5; letter-spacing: -.04em; }
  .medgpt-heading > p:last-child:not(.medgpt-eyebrow) { font-size: 13px; line-height: 1.8; margin-top: 20px; }
  .medgpt-solution-intro { display: block; margin-bottom: 30px; }
  .medgpt-system-copy { padding-top: 28px; font-size: 14px; }
  .medgpt-system-copy p + p { margin-top: 15px; }
  .medgpt-loop-wordmark { width: 130px; margin-bottom: 24px; }
  .medgpt-media { border-radius: 10px; }
  .medgpt-media-view { padding: 16px 12px 0; }
  .medgpt-media-bar { min-height: 60px; gap: 15px; padding: 13px 16px; }
  .medgpt-media-bar p { font-size: 9px; line-height: 1.7; }
  .medgpt-media-open { font-size: 11px; gap: 6px; }
  .medgpt-section-note { font-size: 9px; margin-top: 17px; }
  .medgpt-download-section { padding: 45px 0 65px; }
  .medgpt-download-row { display: block; padding-top: 35px; }
  .medgpt-download-row h2 { font-size: 31px; }
  .medgpt-download-row a { margin-top: 25px; min-height: 48px; font-size: 13px; padding: 13px 24px; }
  .medgpt-legal { display: block; font-size: 9px; line-height: 1.9; }
  .medgpt-legal > * { display: block; margin-bottom: 8px; }
  .medgpt-back-top { margin-top: 22px; }
  .medgpt-image-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .medgpt-image-dialog-header { padding: 13px 16px; gap: 15px; }
  .medgpt-image-dialog-header h2 { font-size: 13px; }
  .medgpt-image-dialog-body { padding: 16px; }
  .medgpt-image-dialog-hint { padding-inline: 16px; font-size: 10px; }
  .medgpt-page.is-en .medgpt-hero h1 { font-size: clamp(34px, 9vw, 52px); line-height: 1.14; }
  .medgpt-page.is-en .medgpt-hero-copy > p { font-size: 14px; }
  .medgpt-page.is-en .medgpt-heading h2 { font-size: clamp(29px, 7.3vw, 44px); line-height: 1.25; }
}
@media print {
  .medgpt-hero { background: #fff; color: #111; }
  .medgpt-product-logo { filter: none; }
  .medgpt-media-bar, .medgpt-hero-footer, .medgpt-download-section { display: none; }
  .medgpt-section { padding-block: 35px; }
}
