@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-19.woff2') format('woff2');
  unicode-range: u+0100-024f, u+0259, u+1e00-1eff, u+2020, u+20a0-20ab, u+20ad-20cf, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-20.woff2') format('woff2');
  unicode-range: u+0000-00ff, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+2000-206f, u+2074, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-12.woff2') format('woff2');
  unicode-range: u+0100-024f, u+0259, u+1e00-1eff, u+2020, u+20a0-20ab, u+20ad-20cf, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-13.woff2') format('woff2');
  unicode-range: u+0000-00ff, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+2000-206f, u+2074, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-40.woff2') format('woff2');
  unicode-range: u+0100-024f, u+0259, u+1e00-1eff, u+2020, u+20a0-20ab, u+20ad-20cf, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-41.woff2') format('woff2');
  unicode-range: u+0000-00ff, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+2000-206f, u+2074, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-47.woff2') format('woff2');
  unicode-range: u+0100-024f, u+0259, u+1e00-1eff, u+2020, u+20a0-20ab, u+20ad-20cf, u+2113, u+2c60-2c7f, u+a720-a7ff;
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/Inter-48.woff2') format('woff2');
  unicode-range: u+0000-00ff, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+2000-206f, u+2074, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
  font-display: swap;
  font-family: 'ByteSans';
  font-style: normal;
  font-weight: 100 900;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/ByteSansGX.ttf')
    format('truetype');
  unicode-range:
    u+0000-00ff,
    u+0131,
    u+0152-0153,
    u+02bb-02bc,
    u+02c6,
    u+02da,
    u+02dc,
    u+2000-206f,
    u+2074,
    u+20ac,
    u+2122,
    u+2191,
    u+2193,
    u+2212,
    u+2215,
    u+feff,
    u+fffd;
}

@font-face {
  font-display: swap;
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  src: url('https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/deploy/flow/ai_official_website/88329/static/font/DM-Mono-2.woff2') format('woff2');
  unicode-range: u+0000-00ff, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+2074, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

:root {
  color-scheme: light;
  --bg: #fcfcfd;
  --bg-top: #f8fcff;
  --bg-mid: #fcfeff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: #f7f8fd;
  --surface-muted: #f1f4fb;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-glass-strong: rgba(255, 255, 255, 0.85);
  --surface-overlay: rgba(252, 252, 253, 0.76);
  --border: rgba(31, 35, 40, 0.09);
  --border-soft: rgba(31, 35, 40, 0.06);
  --border-interactive: rgba(31, 35, 40, 0.12);
  --border-strong: #d8d9e0;
  --text: #1e1f24;
  --text-inverse: #ffffff;
  --muted: #62636c;
  --muted-soft: #8b8d98;
  --accent: #3c56f4;
  --accent-soft: rgba(60, 86, 244, 0.1);
  --accent-soft-strong: rgba(60, 86, 244, 0.16);
  --accent-shadow: rgba(60, 86, 244, 0.16);
  --accent-shadow-strong: rgba(60, 86, 244, 0.22);
  --accent-line: rgba(60, 86, 244, 0.22);
  --accent-line-strong: rgba(60, 86, 244, 0.4);
  --page-tint-a: rgba(167, 218, 255, 0.12);
  --page-tint-b: rgba(204, 237, 255, 0.14);
  --page-tint-c: rgba(176, 225, 255, 0.08);
  --page-tint-d: rgba(152, 214, 255, 0.05);
  --table-highlight-start: rgba(151, 209, 255, 0.22);
  --table-highlight-end: rgba(151, 209, 255, 0.1);
  --panel-gradient: linear-gradient(180deg, rgba(247, 248, 253, 0.96), rgba(255, 255, 255, 0.96));
  --panel-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --panel-border: rgba(60, 86, 244, 0.09);
  --panel-glow: rgba(110, 205, 255, 0.12);
  --shadow-soft: 0 10px 30px rgba(31, 35, 40, 0.05);
  --shadow: 0 24px 60px rgba(31, 35, 40, 0.06);
  --body-width: 1232px;
  --section-width: 1108px;
  --reading-width: 816px;
  --reading-width-wide: 960px;
  --font-latin: 'ByteSans', 'Inter', sans-serif;
  --font-cjk: 'PingFang SC', 'PingFang TC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  --sans: 'ByteSans', 'Inter', 'PingFang SC', 'PingFang TC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Microsoft YaHei',
    sans-serif;
  --mono: 'DM Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(60, 86, 244, 0.07), transparent 18%),
    radial-gradient(circle at 92% 10%, rgba(83, 200, 255, 0.09), transparent 20%),
    radial-gradient(circle at 14% 8%, var(--page-tint-a), transparent 22%),
    radial-gradient(circle at 86% 4%, var(--page-tint-b), transparent 18%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 24%, var(--surface-strong) 100%);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, var(--page-tint-c), transparent 20%),
    radial-gradient(circle at 78% 0%, var(--page-tint-d), transparent 16%);
  opacity: 0.64;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: var(--surface-overlay);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 14px 32px rgba(31, 35, 40, 0.035);
}

.top-bar__inner,
.main-column {
  width: min(calc(100% - 72px), var(--body-width));
  margin: 0 auto;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 0 18px;
}

.top-bar__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
  flex: 1;
}

.brand,
.locale-switch {
  background: transparent;
}

.brand {
  display: grid;
  gap: 7px;
  min-width: max-content;
}

.brand__eyebrow,
.header-eyebrow,
.field-term,
.subsection-title,
.channel-label,
.top-nav__link,
.locale-switch__button,
.meta-list,
.page-footer,
.data-table thead th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
}

.brand__eyebrow,
.header-eyebrow {
  color: var(--accent);
}

.brand__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand__title {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.top-nav {
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 20px;
}

.top-nav__link {
  padding: 10px 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.015em;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.top-nav__link:hover,
.top-nav__link.is-active {
  color: var(--accent);
  border-color: var(--accent-line-strong);
}

.locale-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(31, 35, 40, 0.06);
}

.locale-switch__button {
  min-height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.locale-switch__button.is-active {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 10px 24px var(--accent-shadow-strong);
}

.main-column {
  position: relative;
  padding: 0 0 80px;
}

.main-column::before,
.main-column::after {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 44px;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(60, 86, 244, 0.22) 8%, rgba(60, 86, 244, 0.04) 78%, transparent);
}

.main-column::before {
  left: 22px;
}

.main-column::after {
  right: 22px;
}

.hero-block {
  position: relative;
  padding: 84px 0 14px;
}

.hero-block::after {
  content: '';
  position: absolute;
  top: 20px;
  right: clamp(-20px, 6vw, 48px);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(110, 205, 255, 0.16), rgba(60, 86, 244, 0.08) 42%, transparent 70%);
  opacity: 0.78;
  filter: blur(6px);
}

.hero-block > div,
.page-context,
.doc-section > div {
  max-width: var(--section-width);
  margin-left: auto;
  margin-right: auto;
}

.hero-block > div {
  position: relative;
  padding: 0;
}

.hero-block > div::before {
  content: '';
  position: absolute;
  top: 26px;
  right: 16px;
  width: 232px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 86, 244, 0.2), rgba(110, 205, 255, 0.06));
  pointer-events: none;
}

.hero-block > div > * {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 36px;
  align-items: start;
  max-width: var(--reading-width-wide);
}

.hero-copy {
  min-width: 0;
}

.hero-ornament {
  position: relative;
  min-height: 280px;
  padding-top: 18px;
}

.hero-ornament::before,
.hero-ornament::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(60, 86, 244, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 247, 255, 0.44));
  box-shadow: var(--shadow-soft);
}

.hero-ornament::before {
  top: 28px;
  right: 8px;
  width: 180px;
  height: 180px;
  opacity: 0.76;
}

.hero-ornament::after {
  right: 0;
  bottom: 8px;
  width: 110px;
  height: 110px;
  opacity: 0.68;
}

.hero-ornament__beam {
  position: absolute;
  right: 20px;
  display: block;
  height: 58px;
  border: 1px solid rgba(60, 86, 244, 0.09);
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(110, 205, 255, 0.12));
  backdrop-filter: blur(8px);
}

.hero-ornament__beam:nth-child(1) {
  top: 64px;
  width: 162px;
}

.hero-ornament__beam:nth-child(2) {
  top: 138px;
  right: 48px;
  width: 136px;
}

.hero-ornament__beam:nth-child(3) {
  top: 212px;
  width: 186px;
}

.page-context {
  margin-top: 6px;
  margin-bottom: 0;
  padding: 0;
}

.doc-section {
  padding: 0;
  margin-top: 74px;
  border-top: none;
}

.doc-section > div {
  position: relative;
  overflow: visible;
  padding: 0;
}

.doc-section > div::before {
  display: none;
}

.page-footer {
  max-width: var(--section-width);
  margin-top: 40px;
  padding: 10px 6px 0;
  color: var(--muted-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
}

h1 {
  margin: 18px 0 20px;
  max-width: 780px;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.header-intro,
.field-body p,
.bullet-list,
.meta-list,
.supporting-links,
.page-context,
.page-footer {
  color: var(--muted);
  line-height: 1.78;
}

.header-intro {
  max-width: 700px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.meta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin-top: 22px;
  color: var(--muted-soft);
  font-size: 12px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.supporting-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.supporting-links--block {
  margin-top: 24px;
}

.supporting-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.supporting-links a:hover {
  color: var(--accent);
  border-color: var(--accent-line-strong);
  background: rgba(60, 86, 244, 0.06);
  transform: translateY(-1px);
}

.separator {
  display: none;
}

.page-context {
  font-size: 14px;
}

.page-context p {
  max-width: 780px;
  overflow-wrap: anywhere;
}

.section-heading {
  max-width: var(--reading-width);
  margin-bottom: 28px;
}

.section-heading::after {
  content: '';
  display: block;
  width: 84px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--accent-line-strong), transparent);
}

h2 {
  max-width: 700px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.field-list {
  display: grid;
  gap: 28px;
  max-width: var(--reading-width);
}

.prose-stack {
  display: grid;
  gap: 18px;
  max-width: var(--reading-width);
}

.prose-stack p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

.prose-stack .bullet-list {
  margin-top: 2px;
}

.field-row {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.field-row.field-row--full {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.field-row:first-child {
  padding-top: 0;
  border-top: none;
}

.field-term {
  color: var(--muted-soft);
  line-height: 1.5;
}

.field-body {
  display: grid;
  gap: 14px;
  max-width: none;
}

.field-body p {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.bullet-list {
  padding-left: 18px;
  font-size: 15px;
}

.subsection {
  margin-top: 42px;
  max-width: var(--reading-width-wide);
}

.subsection--detail {
  margin-top: 22px;
}

.subsection-title {
  margin-bottom: 14px;
  color: var(--muted-soft);
}

.subsection--benchmark + .subsection--benchmark {
  margin-top: 34px;
}

.subsection--detail + .subsection--detail {
  margin-top: 12px;
}

.subsection--detail .subsection-title {
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap--compact {
  max-width: var(--reading-width-wide);
  margin-right: auto;
}

.table-wrap--plain {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-gradient);
  box-shadow: var(--panel-sheen);
}

.table-wrap--plain .data-table {
  min-width: 100%;
}

.table-wrap--compact .data-table {
  width: var(--reading-width-wide);
  min-width: var(--reading-width-wide);
  table-layout: fixed;
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.data-table th,
.data-table td {
  padding: 14px 14px;
  border-right: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: break-word;
  background: transparent;
  font-family: var(--sans);
}

.data-table thead th {
  color: var(--muted-soft);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.data-table tbody th {
  color: var(--text);
  font-weight: 500;
}

.data-table tr.is-highlight th,
.data-table tr.is-highlight td {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(90deg, var(--table-highlight-start), var(--table-highlight-end));
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 1px solid var(--border);
}

.code-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-gradient);
}

.code-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.copy-button {
  border: 1px solid var(--border-interactive);
  border-radius: 999px;
  background: var(--surface-glass-strong);
  padding: 6px 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.copy-button:hover {
  border-color: var(--accent-line-strong);
  color: var(--accent);
  background: var(--accent-soft);
}

pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.72;
}

@media (max-width: 1080px) {
  .top-bar__inner,
  .main-column {
    width: min(calc(100% - 52px), var(--body-width));
  }

  .top-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0 16px;
  }

  .top-bar__controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .top-nav__list {
    justify-content: flex-start;
  }

  .hero-layout,
  .page-context {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-row {
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 800px) {
  .hero-block {
    padding: 56px 0 12px;
  }

  .hero-block > div,
  .page-context,
  .doc-section > div {
    padding: 0;
    border-radius: 0;
  }

  .hero-block::after {
    width: 220px;
    height: 220px;
    right: -34px;
  }

  .hero-layout {
    gap: 18px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field-body,
  .hero-block > div,
  .page-context,
  .doc-section > div,
  .page-footer {
    max-width: none;
  }

  .hero-ornament {
    min-height: 220px;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .top-bar__inner,
  .main-column {
    width: min(calc(100% - 28px), var(--body-width));
  }

  .top-bar__inner {
    padding: 16px 0 14px;
  }

  .brand__title {
    font-size: 18px;
  }

  .brand__eyebrow,
  .top-nav__link,
  .locale-switch__button {
    font-size: 13px;
  }

  .locale-switch__button {
    min-height: 34px;
    padding: 0 13px;
  }

  .header-intro,
  .field-body p,
  .bullet-list,
  .page-context,
  .page-footer {
    font-size: 15px;
  }

  .supporting-links {
    gap: 8px;
  }

  .data-table {
    min-width: 620px;
  }
}
