:root {
  color-scheme: light;
  --ink: #122540;
  --muted: #50637e;
  --blue: #0755ed;
  --blue-dark: #174784;
  --pale: #edf4ff;
  --canvas: #f6f9ff;
  --line: #dce7f5;
  --white: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--white); color: var(--ink); font-size: 1rem; line-height: 1.65; }
h1, h2, h3, p, figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 4px; }
button { cursor: pointer; font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #236df4; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); text-decoration: none; font-size: 1.3125rem; font-weight: 650; letter-spacing: -.055em; white-space: nowrap; }
.brand img { display: block; object-fit: contain; }
.hero { padding: 82px 0; background: radial-gradient(ellipse at 83% 40%, #e4efff, transparent 60%), linear-gradient(#fff, #f6faff); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(25px, 6vw, 80px); align-items: center; }
.eyebrow, .label { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.eyebrow { margin-bottom: 16px; }
h1 { font-size: clamp(2.45rem, 5.2vw, 4.5rem); line-height: 1.14; letter-spacing: -.055em; margin-bottom: 20px; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 13px; }
h3 { font-size: 1.25rem; line-height: 1.35; margin-bottom: 9px; }
.lede, .intro { max-width: 43rem; color: var(--muted); font-size: 1.0625rem; }
.lede { max-width: 30rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 17px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .875rem; font-weight: 700; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #0647c5; }
.outline { background: white; border-color: #b7cdef; color: var(--blue-dark); }
.outline:hover { background: var(--pale); }
.hero-note { color: var(--muted); font-size: .75rem; }
.strip { background: var(--pale); border-block: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; gap: 15px; min-height: 59px; font-size: .875rem; }
.strip strong { color: var(--blue-dark); white-space: nowrap; }
.strip span { color: var(--muted); font-variant-numeric: tabular-nums; }
.strip p { flex: 1; }
.strip a { white-space: nowrap; }
.section { padding-block: 67px; }
.intro { margin-bottom: 23px; }
.chooser, .scenario { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.chooser button, .scenario button { min-height: 44px; padding: 6px 13px; border: 1px solid #c5d6ee; border-radius: 999px; background: white; font-size: .875rem; }
.chooser button:hover, .scenario button:hover { background: var(--pale); }
.chooser button[aria-pressed=true], .scenario button[aria-pressed=true] { background: var(--pale); border-color: #8db3fa; color: #084abf; font-weight: 700; }
.route-result { display: grid; grid-template-columns: .9fr 1.3fr; gap: 26px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--canvas); }
.route-result p, .tile p, .source-list p, .detail p { margin-bottom: 8px; color: var(--muted); }
.label { display: block; margin-bottom: 8px; }
.steps { display: grid; align-content: start; gap: 8px; margin: 0; padding-left: 24px; }
.steps li::marker { color: var(--blue); font-weight: 700; }
.workbench { background: var(--canvas); border-block: 1px solid var(--line); }
.console { overflow: hidden; border: 1px solid #c9daf4; border-radius: 20px; background: white; box-shadow: 0 16px 40px #17396110; }
.console-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.console-bar strong { font-size: 1.125rem; }
.console-bar > span { color: var(--muted); font-size: .75rem; }
.console-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.console aside { display: flex; flex-direction: column; gap: 5px; padding: 13px; border-right: 1px solid var(--line); background: #f9fbff; }
.console aside button { min-height: 44px; padding: 8px 10px; border: 1px solid transparent; border-radius: 10px; background: none; text-align: left; font-size: .875rem; }
.console aside button:hover, .console aside button[aria-pressed=true] { background: var(--pale); color: #084abf; }
.console aside button[aria-pressed=true] { border-color: #c4d9fb; font-weight: 700; }
.console aside button span { margin-right: 5px; color: var(--muted); font-size: .75rem; }
.panel { min-height: 325px; padding: 25px; }
.panel > p { color: var(--muted); margin-bottom: 13px; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); cursor: pointer; }
.check input { flex: none; width: 17px; height: 17px; margin: 5px 2px 0; accent-color: var(--blue); }
.check small { display: block; color: var(--muted); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--pale); color: var(--blue-dark); font-size: .75rem; font-weight: 700; }
.tag.warn { background: #fff1d7; color: #714a05; }
.panel-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 15px; }
.panel-end a, .source-list a { font-size: .875rem; }
.tiles, .feed-grid { display: grid; gap: 10px; }
.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile, .detail { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.tile strong { display: block; }
.tile p, .detail p { margin: 5px 0 0; font-size: .875rem; }
.detail code { overflow-wrap: anywhere; }
.chat { display: grid; gap: 8px; }
.chat p { padding: 10px 12px; border-radius: 12px; background: var(--canvas); }
.chat p:first-child { justify-self: end; background: var(--pale); }
.research { display: grid; grid-template-columns: .95fr 1.2fr; gap: 27px; margin-top: 23px; }
.feature { padding: 25px; border: 1px solid #c9daf4; border-radius: 18px; background: var(--pale); }
.feature p:not(.eyebrow) { margin-bottom: 10px; color: var(--muted); }
.stat { color: var(--blue); font-size: clamp(3.7rem, 8vw, 6.4rem); line-height: 1.05; letter-spacing: -.075em; font-weight: 750; margin-bottom: 10px; }
.stat span { font-size: .56em; margin-left: 4px; }
.source-list article { padding: 12px 0; border-bottom: 1px solid var(--line); }
.source-list article > span { color: var(--muted); font-size: .75rem; }
.source-list h3 { margin: 4px 0; }
footer { background: var(--canvas); border-top: 1px solid var(--line); }
.footer span { color: var(--muted); font-size: .75rem; }
.footer > a:last-child { white-space: nowrap; font-size: .8125rem; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding: 42px 0; }
  .hero-grid, .route-result, .research, .console-grid { grid-template-columns: 1fr; }
  .strip .wrap { display: grid; grid-template-columns: auto 1fr; gap: 3px 9px; padding-block: 9px; }
  .strip p, .strip a { grid-column: 1 / -1; }
  .section { padding-block: 44px; }
  .route-result { gap: 12px; padding: 17px; }
  .console aside { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px; }
  .panel { padding: 16px; }
  .tiles, .feed-grid { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; gap: 8px; padding-block: 12px; }
  .footer span { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Shared MuseBridge navigation with the preview language link. */
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1100;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--blue);
  color: white;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.mb-language {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 4px 20px #182e5214;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-dark);
  background: white;
  font-size: .8125rem;
  font-weight: 650;
}
footer { padding-bottom: 60px; }
.mb-language:hover { background: var(--pale); }
.page-nav { display: flex; flex-wrap: wrap; gap: 0 18px; padding-block: 4px; }
.page-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--blue-dark); font-size: .875rem; text-decoration: none; }
.page-nav a:hover { text-decoration: underline; }

.hero { padding-block: clamp(34px, 5vw, 73px); }
.hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(25px, 4vw, 56px); }
.hero h1 { max-width: 12ch; font-size: clamp(2.4rem, 4.7vw, 4.4rem); }
html[lang="zh-CN"] .hero h1 { max-width: none; }
.cover {
  overflow: hidden;
  padding: clamp(14px, 2vw, 23px);
  border: 1px solid #c9daf4;
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 44px #17396116;
}
.cover-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.cover-title strong { font-size: 1.125rem; }
.cover-title span, .cover figcaption { color: var(--muted); font-size: .8125rem; }
.cover-views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cover-view a { display: block; margin-bottom: 10px; }
.cover-view img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--pale); }
.cover-view strong { display: block; font-size: .875rem; }
.cover-view p { color: var(--muted); font-size: .8125rem; }
.cover figcaption { margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line); }
.cover figcaption a { display: inline-block; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 15ch; }
}
@media (max-width: 440px) {
  .mb-site-header .mb-contact { display: none; }
  .cover-views { grid-template-columns: minmax(0, 1fr); }
  .page-nav { gap: 0 14px; }
}

.hero h1 { max-width: none; }
.hero-title-line { display: block; color: var(--ink); }
.hero-title-line em { color: var(--blue); font-style: normal; }
.hero h1 .hero-platform {
  display: flex;
  align-items: center;
  gap: .16em;
  color: var(--ink);
}
.hero h1 .chatgpt-mark {
  display: inline-flex;
  align-items: center;
  gap: .14em;
  color: inherit;
  white-space: nowrap;
}
.chatgpt-mark img {
  display: block;
  width: 1.04em;
  height: 1.04em;
  flex: none;
  color-scheme: light;
}
html[lang="zh-CN"] .hero h1 .hero-platform { margin-bottom: .04em; }
.console aside button:disabled { color: #586b85; cursor: default; }
.console aside button:disabled:hover { background: transparent; }
.console aside .step-complete span { color: var(--blue); font-weight: 750; }
.catalog-list { margin: 8px 0 0; }
.catalog-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.catalog-list dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.detail h4 { margin: 0; font-size: .95rem; }
.metric-options .tile { color: var(--blue-dark); text-align: left; min-height: 66px; }
.metric-options .tile:hover, .metric-options .tile[aria-pressed=true] { background: var(--pale); border-color: #8db3fa; }
.metric-options .tile strong { font-size: 1.22rem; font-variant-numeric: tabular-nums; }
.panel .metric-note { margin-top: 12px; }
.journey-footer { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.journey-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.journey-actions .primary:disabled { background: var(--pale); color: #435b79; cursor: default; }
.journey-hint, .journey-done { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.journey-hint:empty { display: none; }
.journey-done { margin: 0 0 12px; color: var(--blue-dark); font-weight: 700; }
@media (max-width: 440px) {
  .hero h1 { font-size: clamp(2rem, 10vw, 2.4rem); }
}

.hub-guide {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 23px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--canvas);
}
.hub-guide figure a { color: var(--blue); }
.hub-guide figure > a { display: block; border-radius: 9px; }
.hub-guide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  border-radius: 9px;
  background: var(--pale);
}
.hub-guide figcaption { margin-top: 7px; color: var(--muted); font-size: .8125rem; }
.hub-guide-copy h4 { margin: 0 0 3px; color: var(--blue-dark); font-size: .95rem; }
.hub-guide-copy p { margin: 0 0 11px; font-size: .875rem; }
.hub-guide-copy > a { font-size: .875rem; }
@media (max-width: 760px) {
  .hub-guide { grid-template-columns: minmax(0, 1fr); }
}

.hero h1 .chatgpt-mark { font-size: .75em; line-height: 1.2; }
.chatgpt-mark img { width: .98em; height: .98em; }
.screenshot-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.annotated-image { position: relative; display: block; }
.hub-guide .annotated-image img, .screenshot-dialog img { display: block; width: 100%; height: auto; max-height: none; border-radius: 9px; }
.screenshot-highlight {
  position: absolute;
  border: 2px solid #0755ed;
  border-radius: 4px;
  box-shadow: 0 0 0 1px white;
  background: #0755ed26;
  pointer-events: none;
}
.screenshot-highlight > span, .screenshot-steps li > span {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #0755ed;
  color: white;
  font: 700 .75rem/1 system-ui;
  flex: none;
}
.screenshot-highlight > span { position: absolute; top: 50%; right: calc(100% + 3px); transform: translateY(-50%); box-shadow: 0 0 0 1px white; }
.screenshot-trigger-label { display: flex; align-items: center; min-height: 44px; color: var(--blue); font-size: .875rem; }
.screenshot-steps { padding: 0; margin: 7px 0 12px; list-style: none; }
.screenshot-steps li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; font-size: .875rem; }
.screenshot-dialog { width: min(94vw, 1000px); max-width: none; max-height: 90dvh; padding: 10px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: white; }
.screenshot-dialog::backdrop { background: #10213dbd; }
.screenshot-toolbar { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.screenshot-scroll { max-height: calc(90dvh - 76px); overflow: auto; }
.screenshot-dialog.is-zoomed .annotated-image { width: max(760px, 145%); }
