:root {
  color-scheme: light;
  --ink: #14203b;
  --muted: #526078;
  --line: #dce4f1;
  --blue: #2447d6;
  --paper: #f4f7fc;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-height: 70px;
  --gutter: clamp(20px, 4.5vw, 72px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; color: var(--ink); background: #fff; }
h1, h2, h3, p, pre, dl, dd { margin: 0; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code, pre { font-family: var(--mono); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #557bff; outline-offset: 4px; }

.wrap { width: min(calc(100% - var(--gutter) * 2), 1180px); margin-inline: auto; }
.section-space { padding-block: 82px; }
.tone-light { background: var(--paper); }
.section-heading h2, .cta-inner h2 {
  font-size: clamp(29px, 4vw, 41px);
  line-height: 1.27;
  font-weight: 700;
  letter-spacing: -.043em;
  text-wrap: balance;
}
.section-heading p:not(.section-kicker) {
  max-width: 56ch;
  margin-top: 13px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.section-kicker {
  margin-bottom: 13px;
  color: #2e4fc9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
}
.heading-with-action { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; }
.heading-with-action .text-link { margin: 0; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  margin-top: 19px;
  font-size: 14px;
  font-weight: 650;
}
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.skip-link {
  position: fixed;
  inset: 8px auto auto 12px;
  z-index: 20;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 4px;
  background: #fff;
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #dce5f4;
  color: var(--ink);
}
.header-inner {
  min-height: calc(var(--header-height) - 1px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}
.brand { display: block; width: 211px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 3px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 6px;
  color: #445373;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav .is-current { background: #edf2ff; color: #223fae; }
.nav-short { display: none; }
.nav-action {
  justify-self: end;
  padding: 9px 12px;
  border: 1px solid #cdd8f5;
  border-radius: 7px;
  background: #eff3ff;
  color: #2142c0;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.nav-action span { margin-left: 4px; }
.nav-action:hover { background: #e1e9ff; }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 89% 94%, #e3ecff 0%, transparent 58%), #f3f6ff;
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: 532px; }
.hero-copy { position: relative; z-index: 1; padding-block: 60px 66px; }
.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
  color: #3453b8;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .08em;
}
.hero-label::before { content: ""; width: 22px; height: 2px; background: #5374ed; }
.hero h1 {
  font-size: clamp(46px, 5.5vw, 81px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.065em;
}
.hero h1 span { color: #2548df; }
.hero-description {
  max-width: min(43vw, 475px);
  margin-top: 24px;
  color: #41516f;
  font-size: 17px;
  line-height: 1.85;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.hero-progress { display: inline-block; margin-top: 17px; color: #475c8c; font-size: 13px; line-height: 1.55; }
.hero-progress:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
}
.button span { font-size: 16px; font-weight: 500; }
.button-primary {
  background: #3153e6;
  border-color: #5d77f4;
  color: #fff;
  box-shadow: 0 8px 20px #273fac2b;
}
.button-primary:hover { background: #2343ce; }
.button-outline { color: #2447c3; border-color: #c5d3f7; background: #f8faff; }
.button-outline:hover { background: #eaf0ff; }
.hero-art {
  position: absolute;
  inset: 50% -20px auto auto;
  width: min(54%, 642px);
  aspect-ratio: 1082 / 848;
  transform: translateY(-50%);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 11%, #000 91%, transparent),
    linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  mask-composite: intersect;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-meta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d4dff5;
}
.hero-meta a { display: grid; gap: 5px; min-width: 0; padding: 17px 13px 20px 0; color: #263d72; }
.hero-meta a + a { border-left: 1px solid #d4dff5; padding-left: 23px; }
.hero-meta a:hover { color: var(--blue); }
.hero-meta strong { font-size: 16px; font-weight: 650; }
.hero-meta span { color: #526484; font-size: 12px; line-height: 1.5; }

.workflow-section, .faq-section { background: var(--paper); }
.home-workflow, .feature-row, .case-grid, .start-inner, .updates-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(27px, 5vw, 72px);
}
.run-summary { display: grid; gap: 11px; }
.run-summary > div, .review-list > div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 12px; }
.run-summary dt { color: #a2b6fb; font-size: 13px; font-weight: 650; }
.run-summary dd { color: #d8e4fc; font-size: 14px; line-height: 1.55; }

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 29px;
}
.entry-grid.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.entry-card {
  position: relative;
  min-width: 0;
  display: block;
  padding: 24px 24px 35px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.entry-card:hover { border-color: #a7b9f6; background: #fafbff; }
.entry-card h3 { margin: 16px 0 9px; font-size: 19px; line-height: 1.35; }
.entry-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.static-card:hover { border-color: var(--line); background: #fff; }
.static-card h3 { margin-top: 0; }
.static-card .doc-list { font-size: 14px; }
.entry-arrow { position: absolute; top: 25px; right: 24px; color: var(--blue); }
.entry-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 8px;
  background: #edf1ff;
  color: var(--blue);
}
.icon-search::before { content: ""; width: 15px; height: 15px; margin: -2px 3px 0 0; border: 1.5px solid; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; top: 25px; left: 23px; width: 7px; border-top: 1.5px solid; transform: rotate(46deg); }
.icon-check::before { content: ""; width: 17px; height: 20px; border: 1.5px solid; border-radius: 4px 4px 7px 7px; }
.icon-check::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 17px;
  width: 7px;
  height: 5px;
  border: solid;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}
.icon-link::before, .icon-link::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 8px;
  border: 1.5px solid;
  border-radius: 9px;
  transform: rotate(-45deg);
}
.icon-link::before { top: 12px; left: 18px; }
.icon-link::after { bottom: 12px; right: 18px; }
.icon-prompt { font: 700 19px var(--mono); }

.stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 27px; }
.stage-card { display: block; padding: 20px; border: 1px solid #d7e2f4; border-radius: 11px; background: #fff; }
.stage-card:hover { border-color: #a6baf5; background: #fafbff; }
.stage-label { color: #274ab8; font-size: 12px; font-weight: 650; }
.stage-card h3 { margin: 8px 0 7px; font-size: 18px; line-height: 1.4; }
.stage-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }

.start-section, .cta-section { background: radial-gradient(ellipse at 90% 120%, #203965, transparent 62%), #111e39; color: #f5f7ff; }
.start-section .section-heading p, .cta-inner p { color: #c6d3ec; }
.start-inner .button { margin-top: 21px; }
.delivery-facts { padding: 7px 16px; border: 1px solid #3a527a; border-radius: 10px; background: #152643; }
.delivery-facts > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 8px; padding: 12px 2px; line-height: 1.6; }
.delivery-facts > div + div { border-top: 1px solid #364c73; }
.delivery-facts dt { color: #adbeed; font-size: 13px; font-weight: 650; }
.delivery-facts dd { color: #edf1ff; font-size: 14px; }
.cta-section { padding-block: 52px; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-inner p { margin-top: 8px; line-height: 1.7; }

.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 35px; align-items: start; }
.faq-list { min-width: 0; border-top: 1px solid #cfd9ec; }
.faq-list details { border-bottom: 1px solid #cfd9ec; }
.faq-list summary {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 16px; color: var(--blue); font: 20px/1 var(--mono); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { padding: 0 20px 17px 4px; color: var(--muted); font-size: 14px; line-height: 1.85; }

.inner-hero { padding-block: 74px; }
.page-intro h1 {
  font-size: clamp(39px, 5.3vw, 65px);
  line-height: 1.12;
  letter-spacing: -.057em;
  font-weight: 700;
  text-wrap: balance;
}
.page-intro > p:not(.section-kicker):not(.hero-label) {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
.page-intro > .button { margin-top: 24px; }
.product-hero { background: radial-gradient(ellipse at 88% 68%, #203761, transparent 60%), #101b33; color: #fff; }
.product-hero .page-intro > p:not(.hero-label) { color: #c7d2e8; }
.product-hero .hero-label { color: #becdff; }
.product-hero .hero-label::before { background: #829aff; }
.product-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .83fr);
  gap: clamp(24px, 6vw, 92px);
  align-items: center;
}
.product-sequence { display: grid; gap: 16px; margin: 0; padding: 22px; list-style: none; }
.product-sequence li { display: grid; gap: 4px; padding: 0 0 1px 17px; border-left: 2px solid #738af3; }
.product-sequence strong { color: #e7eeff; font-size: 15px; }
.product-sequence span { color: #b4c3df; font-size: 13px; line-height: 1.5; }
.section-nav { border-bottom: 1px solid var(--line); background: #fff; }
.section-nav-inner { display: flex; gap: 6px 27px; flex-wrap: wrap; padding-block: 13px; }
.section-nav a { color: #415273; font-size: 14px; padding-block: 5px; }
.section-nav a:hover { color: var(--blue); }
.detail-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.detail-card h3 { font-size: 17px; line-height: 1.45; margin-bottom: 13px; }
.detail-card > p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.environment-card h2 { margin-bottom: 15px; font-size: 19px; }
.file-map { list-style: none; margin: 0; padding: 0; }
.file-map li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px 13px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.file-map li code { color: #345295; overflow-wrap: anywhere; }
.file-map li span { color: var(--muted); }
.review-list { display: grid; gap: 12px; }
.review-list dt { font-weight: 650; }
.review-list dd { color: var(--muted); }
.review-list > div { font-size: 14px; line-height: 1.65; }

.scenario-hero, .updates-hero { background: radial-gradient(ellipse at 83% 92%, #e3ebff, transparent 66%), #f3f6fc; border-bottom: 1px solid var(--line); }
.scenario-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 800px);
  margin-top: 28px;
}
.scenario-index a {
  display: grid;
  gap: 5px;
  min-width: 0;
  background: #ffffffb5;
  border: 1px solid #d4def1;
  border-radius: 8px;
  padding: 13px 15px;
}
.scenario-index a:hover { background: #fff; border-color: #aabcf4; }
.scenario-index strong { font-size: 15px; }
.scenario-index span { color: var(--muted); font-size: 13px; }
.case-grid { grid-template-columns: minmax(0, 1.01fr) minmax(0, 1fr); align-items: start; }
.case-grid > .code-window, .case-grid > .detail-card { margin-top: 17px; }
.prompt-card {
  margin-top: 20px;
  padding: 16px 19px 10px;
  border: 1px solid #dbe4f3;
  border-radius: 9px;
  background: #f8faff;
}
.prompt-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prompt-card h3 { font-size: 15px; }
.prompt-card p:not(.copy-status) { margin-top: 9px; color: #384963; font-size: 14px; line-height: 1.75; }
.prompt-card .copy-button { color: #2344ac; background: #edf2ff; border-color: #c8d5f7; }
.prompt-card .copy-button:hover { background: #e1eaff; }
.prompt-card .copy-status { color: #266547; padding: 0; }
.related-examples { padding-block: 19px 26px; }
.related-examples details { border-bottom: 1px solid var(--line); }
.related-examples summary { padding: 10px 0; color: #30436a; font-size: 14px; cursor: pointer; }
.related-examples p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.release-card { justify-self: end; width: min(100%, 390px); padding: 25px; background: #fff; border: 1px solid #d8e1f2; border-radius: 12px; }
.release-card > code { display: block; color: #3e5594; font-size: 13px; }
.release-card > strong { display: block; margin-top: 10px; font: 700 clamp(26px, 5vw, 43px)/1.15 var(--mono); }
.release-card > strong span { color: #566688; font-size: .59em; }
.release-card .text-link { margin-top: 16px; }
.release-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(22px, 4vw, 58px); align-items: start; }
.verification-list { display: grid; gap: 16px; }
.verification-list article { border-left: 2px solid #bed0ff; padding: 2px 0 2px 17px; }
.verification-list h3 { font-size: 17px; line-height: 1.5; margin-bottom: 5px; }
.verification-list p, .detail-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.detail-note { margin-top: 14px; }

.workflow { margin-top: 27px; }
.workflow.is-interactive {
  display: grid;
  grid-template-columns: minmax(216px, .85fr) minmax(0, 2.65fr);
  gap: 21px;
  align-items: stretch;
}
.workflow-tabs { display: grid; gap: 7px; align-content: start; }
.workflow-tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  min-height: 68px;
  border: 1px solid #dce4f3;
  border-radius: 8px;
  background: #f8faff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.workflow-tabs button:hover { background: #eff3ff; }
.workflow-tabs button[aria-selected="true"] {
  background: #edf2ff;
  border-color: #bfcdf6;
  box-shadow: inset 3px 0 #3355e7;
}
.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  color: #48608a;
  border: 1px solid #d3def4;
  border-radius: 6px;
  font: 12px var(--mono);
}
[aria-selected="true"] .step-number { color: #2846b7; background: #e0e9ff; border-color: #c7d7ff; }
.step-copy { display: grid; gap: 3px; min-width: 0; }
.step-copy strong { font-size: 15px; line-height: 1.2; }
.step-copy small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.workflow-panels { display: grid; gap: 13px; min-width: 0; }
.workflow.is-interactive .terminal { min-height: 298px; }
.terminal, .code-window {
  min-width: 0;
  border: 1px solid #334668;
  border-radius: 11px;
  overflow: hidden;
  color: #e7edff;
  background: #101b31;
  box-shadow: 0 12px 26px #14285812;
}
.terminal-bar, .code-bar {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 16px;
  border-bottom: 1px solid #2e4166;
  background: #172643;
  color: #bbc9e5;
  font-size: 12px;
}
.code-bar { justify-content: space-between; }
.terminal-dots { display: inline-flex; flex: 0 0 auto; gap: 5px; }
.terminal-dots i { width: 7px; height: 7px; border-radius: 50%; background: #7587ae; }
.terminal-path { min-width: 0; color: #d3deff; font: 12px/1.4 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.terminal-label { flex: 0 0 auto; margin-left: auto; }
.terminal-body { padding: 18px 20px; display: grid; align-content: start; gap: 13px; }
.terminal-body p, .files-changed { font-size: 14px; line-height: 1.65; }
.terminal-request { padding: 10px 12px; background: #1b2b49; border: 1px solid #31476e; border-radius: 7px; color: #f2f5ff; }
.terminal-request span, .shell-line > span { margin-right: 4px; color: #9eb3ff; }
.terminal-note { color: #c2cfe8; }
.terminal-note code, .files-changed code { color: #d8e2ff; }
.terminal-code, .code-window pre {
  min-width: 0;
  padding: 12px 14px;
  color: #e2ebfc;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.terminal-code { border: 1px solid #2a3b5d; border-radius: 7px; background: #0c1629; }
.syntax-keyword { color: #c3b3ff; }
.diff-code { padding-inline: 0; }
.diff-code span { display: block; padding-inline: 14px; }
.diff-remove { color: #ffc4c9; background: #502d3b; }
.diff-add { color: #a9efd0; background: #193b38; }
.diff-context { color: #c7d4ed; }
.test-output p + p { margin-top: 6px; }
.test-output p > span { color: #a9efd0; margin-right: 5px; }
.test-summary { color: #a9efd0; }
.files-changed { display: grid; gap: 6px; margin: 0; list-style: none; }
.files-changed li { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 1.5fr); gap: 4px 12px; }
.files-changed li span { color: #bccbe6; }
.code-window pre { padding: 15px 16px; }
.copy-button { padding: 5px 10px; font-size: 12px; color: #e3eaff; white-space: nowrap; border: 1px solid #4c6188; border-radius: 5px; background: #203354; cursor: pointer; }
.copy-button:hover { background: #2c426a; }
.copy-status { min-height: 18px; padding: 0 16px 4px; color: #a9efd0; font-size: 12px; line-height: 1.45; }

.data-table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.6; }
.data-table td, .data-table th { padding: 10px 9px; border-bottom: 1px solid #dee5f1; vertical-align: top; overflow-wrap: anywhere; }
.data-table th { background: #f1f5fd; color: #31456e; font-weight: 650; }
.data-table td { color: #475773; }
.data-table th:first-child { width: 37%; }
.data-table.command-table th:first-child { width: 49%; }
.platform-table th:first-child { width: 27%; }
.platform-table th:nth-child(2) { width: 17%; }

.doc-page { background: linear-gradient(#f7f9fd 0, #fff 33rem); }
.docs-layout {
  display: grid;
  grid-template-columns: minmax(150px, 195px) minmax(0, 1fr) minmax(110px, 155px);
  gap: clamp(19px, 3.25vw, 45px);
  align-items: start;
  padding-block: 48px 72px;
}
.docs-menu, .doc-toc { position: sticky; top: calc(var(--header-height) + 28px); min-width: 0; }
.docs-menu { display: grid; gap: 3px; }
.docs-menu-title, .doc-toc > p { margin: 0 0 8px; color: #52637f; font-size: 13px; font-weight: 650; }
.docs-menu-title { padding-left: 9px; }
.docs-menu a { display: grid; gap: 3px; padding: 10px 9px; border-radius: 6px; }
.docs-menu a:hover { background: #edf2fb; }
.docs-menu a[aria-current="page"] { color: #2546bd; background: #e8eeff; box-shadow: inset 2px 0 #3553e0; }
.docs-menu a strong { font-size: 14px; line-height: 1.4; }
.docs-menu a small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.doc-toc { display: grid; gap: 7px; padding-left: 12px; border-left: 1px solid var(--line); }
.doc-toc a { font-size: 13px; color: #516380; line-height: 1.55; }
.doc-toc a:hover { color: var(--blue); }
.doc-content { min-width: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #647393; font-size: 12px; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs [aria-current] { color: #283b62; }
.doc-intro { margin-top: 12px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.doc-intro h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -.05em; }
.doc-intro p { margin-top: 13px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.doc-content section { margin-top: 33px; }
.doc-content section h2 { margin-bottom: 11px; font-size: clamp(21px, 3vw, 27px); line-height: 1.35; letter-spacing: -.02em; }
.doc-content section:target h2 { color: #2b49c2; }
.doc-content section > p, .doc-list, .doc-content blockquote { color: #3e4d68; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.doc-content section > p + p { margin-top: 10px; }
.doc-list { margin: 13px 0; padding-left: 1.55em; }
.doc-list li + li { margin-top: 5px; }
.acceptance-list { margin: 15px 0; padding: 0 0 0 1.65em; }
.acceptance-list li { padding: 0 0 12px .3em; line-height: 1.65; }
.acceptance-list li + li { padding-top: 12px; border-top: 1px solid var(--line); }
.acceptance-list li::marker { color: #3152c3; font-weight: 700; }
.acceptance-list strong, .acceptance-list span { display: block; }
.acceptance-list span { margin-top: 3px; color: var(--muted); font-size: 14px; }
.doc-content blockquote { margin: 15px 0; padding: 12px 15px; border-left: 2px solid #7994f3; background: #f0f4fd; }
.doc-content section > .data-table, .doc-code { margin-block: 13px; }
.doc-review-list { padding: 12px 15px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafd; }
.doc-next { display: grid; gap: 4px; margin-top: 35px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 8px; background: #f7f9ff; }
.doc-next:hover { border-color: #a9baf4; }
.doc-next > span { color: var(--muted); font-size: 12px; }
.doc-next strong { color: var(--blue); font-size: 15px; }
.doc-content p a:not(.text-link), .faq-list p a, .related-examples p a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .17em;
}
.doc-content p > code, .data-table td code, .doc-list code, .faq-list code {
  background: #eaf0fa;
  color: #2b4071;
  padding: .12em .22em;
  border-radius: 3px;
  overflow-wrap: anywhere;
}

.site-footer { background: #f2f5fc; border-top: 1px solid #dce5f4; color: #52627f; }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding-block: 29px;
}
.footer-brand .brand { width: 184px; }
.footer-brand p { margin-top: 6px; font-size: 12px; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 17px; }
.footer-links a, .footer-release { color: #4a5a78; font-size: 13px; }
.footer-links a:hover, .footer-release:hover { color: var(--blue); }
.footer-release { justify-self: end; white-space: nowrap; }
.footer-release span { color: var(--blue); margin-left: 4px; }
.footer-beian {
  grid-column: 1 / -1;
  justify-self: center;
  font-size: 12px;
  line-height: 1.7;
}
.site-beian-link { display: inline-block; padding: 3px 6px; }
.site-beian-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .17em; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .nav-action, .main-nav a, .entry-card, .scenario-index a, .workflow-tabs button, .copy-button {
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
  }
}

@media (max-width: 1050px) {
  .docs-layout { grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); }
  .doc-toc { display: none; }
  .hero-inner { min-height: 510px; }
  .hero-art { right: -20px; }
  .section-space { padding-block: 65px; }
}
@media (max-width: 930px) {
  .site-header .brand { width: 166px; }
  .main-nav a { padding-inline: 8px; font-size: 13px; }
  .header-inner { gap: 13px; }
}
@media (max-width: 760px) {
  .inner-hero { padding-block: 52px; }
  .hero-inner { min-height: 455px; }
  .hero h1 { font-size: clamp(41px, 6.5vw, 54px); }
  .hero-art { right: -12px; }
  .hero-description { font-size: 15px; }
  .entry-card { padding: 19px 16px 23px; }
  .entry-arrow { top: 21px; right: 17px; }
  .entry-card h3 { font-size: 17px; }
  .terminal-body { padding: 15px; }
  :root { --header-height: 92px; }
  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: 49px 42px;
    gap: 0 12px;
  }
  .site-header .brand { width: 171px; }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    contain: inline-size;
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    border-top: 1px solid #dde5f4;
  }
  .main-nav a { padding: 8px 1px; font-size: 12px; text-align: center; }
  .nav-long { display: none; }
  .nav-short { display: inline; }
  .nav-action { grid-column: 2; grid-row: 1; padding: 6px 9px; font-size: 12px; }
}
@media (max-width: 670px) {
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { padding-block: 45px 0; }
  .hero h1 { font-size: clamp(40px, 9.4vw, 61px); }
  .hero-description { max-width: 435px; margin-top: 16px; }
  .hero-actions { margin-top: 19px; }
  .hero-art { position: relative; inset: auto; transform: none; margin: -1px auto -5px; width: min(100%, 420px); }
  .hero-meta a { padding: 12px 5px 13px 0; }
  .hero-meta a + a { padding-left: 9px; }
  .hero-meta strong { font-size: 13px; }
  .hero-meta span { font-size: 11px; }
  .home-workflow, .feature-row, .case-grid, .start-inner, .updates-hero-inner,
  .product-hero-inner, .release-content, .faq-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .release-card { justify-self: start; }
  .entry-grid, .entry-grid.two-column { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 20px; }
  .entry-card { padding: 16px 43px 16px 14px; display: grid; grid-template-columns: 41px minmax(0, 1fr); align-items: start; gap: 4px 12px; }
  .entry-card .entry-icon { grid-row: 1 / span 2; }
  .entry-card h3 { margin: 0; }
  .entry-card p { grid-column: 2; }
  .entry-arrow { inset: 16px 13px auto auto; }
  .static-card { display: block; padding: 17px; }
  .stage-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 21px; }
  .stage-card { padding: 15px; }
  .section-space { padding-block: 51px; }
  .section-nav-inner { gap: 4px 16px; padding-block: 8px; }
  .product-hero h1 br { display: none; }
  .workflow.is-interactive { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .workflow-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-tabs button { min-height: 52px; padding: 7px 8px; gap: 8px; }
  .workflow.is-interactive .terminal { min-height: 270px; }
  .case-grid > .code-window, .case-grid > .detail-card { margin-top: 0; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 22px 51px; }
  .docs-menu { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .docs-menu-title { grid-column: 1 / -1; padding-left: 0; margin: 0 0 4px; }
  .docs-menu a { padding: 8px 5px; text-align: center; background: #f0f3f9; }
  .docs-menu a strong { font-size: 13px; }
  .docs-menu a small { display: none; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 15px; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 440px) {
  :root { --gutter: 16px; }
  .hero-actions { gap: 7px; }
  .main-nav a { font-size: 11px; }
  .button { padding-inline: 10px; gap: 7px; font-size: 13px; }
  .hero h1 { font-size: clamp(39px, 10.3vw, 46px); }
  .page-intro h1 { font-size: 39px; }
  .section-heading p:not(.section-kicker), .page-intro > p:not(.section-kicker):not(.hero-label) { font-size: 15px; }
  .scenario-index { gap: 5px; }
  .scenario-index a { padding: 10px 6px; }
  .scenario-index strong { font-size: 13px; }
  .scenario-index span { font-size: 11px; }
  .detail-card { padding: 15px; }
  .terminal-bar, .code-bar { padding-inline: 11px; gap: 8px; }
  .terminal-body { padding: 12px; gap: 10px; }
  .step-copy small { display: none; }
  .step-number { flex-basis: 27px; height: 27px; }
  .files-changed li { grid-template-columns: minmax(0, 1fr); }
  .data-table td, .data-table th { padding: 8px 5px; font-size: 13px; }
  .platform-table th:nth-child(2) { width: 19%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-row: auto; }
  .footer-release { justify-self: start; }
}
