:root {
  /* 品牌色取自 logo：#1172EE → #04AFF7 */
  --blue: #1172ee;
  --cyan: #04aff7;
  --blue-ink: #0b5ed7;
  --grad: linear-gradient(135deg, var(--blue), var(--cyan));
  --tint: #eaf4fe;
  --tint-2: #f1f7fe;

  --bg: #f7f9fc;
  --card: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #3a4a60;
  --mute: #6b7a90;
  --line: #e1e8f1;
  --navy: #0d1a2e;

  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 20px 48px -24px rgba(17, 114, 238, .28);
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .04), 0 10px 28px -18px rgba(17, 114, 238, .25);
  --sans: "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

section { padding: 104px 0; position: relative; }
.soft { background: linear-gradient(180deg, rgba(234, 244, 254, 0), var(--tint-2) 18%, var(--tint-2) 82%, rgba(234, 244, 254, 0)); }

.mono-label {
  display: inline-block; font: 600 13px var(--sans); letter-spacing: .04em;
  color: var(--blue-ink); margin-bottom: 14px;
}
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.22; letter-spacing: -.02em; font-weight: 700; max-width: 20em; margin-bottom: 48px; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 650; margin-bottom: 8px; }

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 249, 252, .82);
  backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(225, 232, 241, .8);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }
.links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.links a:hover { color: var(--blue-ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  font: 600 13px var(--sans); cursor: pointer; padding: 8px 14px;
  border: 0; border-radius: 999px; background: #e9eef5; color: var(--ink);
}
.lang:hover { background: #dfe6ef; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 15px var(--sans); padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-solid, .btn-accent { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(17, 114, 238, .7); }
.btn-solid:hover, .btn-accent:hover { filter: brightness(1.06); box-shadow: 0 14px 28px -10px rgba(17, 114, 238, .75); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }

/* 首屏 */
.hero { padding: 96px 0 104px; overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 42% at 82% 4%, rgba(4, 175, 247, .22), transparent 70%),
    radial-gradient(42% 40% at 12% 0%, rgba(17, 114, 238, .16), transparent 70%);
}
/* 呼应 logo 的斜向胶囊 */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco i {
  position: absolute; width: 84px; height: 300px; border-radius: 999px;
  background: var(--grad); opacity: .1; transform: rotate(30deg);
}
.hero-deco i:nth-child(1) { left: 5%; top: 120px; }
.hero-deco i:nth-child(2) { left: 11%; top: 250px; height: 220px; opacity: .07; }
.hero-deco i:nth-child(3) { right: 6%; top: 60px; height: 260px; opacity: .08; }
.hero > .wrap { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px var(--sans); color: var(--blue-ink);
  padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
h1 { font-size: clamp(40px, 7vw, 82px); line-height: 1.1; letter-spacing: -.035em; font-weight: 750; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin: 28px auto 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; justify-content: center; }

/* 模型标志：提到模型的地方一律带标志 */
.mlogo { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; display: inline-block; }
.mlogo.lg { width: 26px; height: 26px; margin: 0; vertical-align: middle; }
dd .mlogo + .mlogo { margin-left: 2px; }
.model-row { list-style: none; display: flex; justify-content: center; gap: 12px; margin: 26px 0 0; padding: 0; }
.model-row li { width: 48px; height: 48px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.bubble-by { display: block; font-size: 12px; color: var(--mute); margin-bottom: 4px; }

/* 演示 */
.demo {
  display: grid; grid-template-columns: minmax(0, 5fr) 56px minmax(0, 7fr);
  margin-top: 72px; align-items: stretch; text-align: left;
}
.demo-mem, .demo-chat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.demo .mono-label { color: var(--mute); font-weight: 500; }
.demo-mem ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.demo-mem li {
  display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.5;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: border-color .3s ease, background .3s ease;
}
.demo-mem li.lit { border-color: var(--blue); background: var(--tint); }
.tag {
  flex: none; font: 600 11px var(--sans); padding: 2px 8px; border-radius: 999px;
  color: var(--blue-ink); background: var(--tint);
}
.demo-foot { margin-top: auto; padding-top: 16px; font-size: 12.5px; color: var(--mute); }
.demo-wire { position: relative; }
.demo-wire::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 2px dashed #c3d6ee;
}
.demo-wire span {
  position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -4px;
  border-radius: 50%; background: var(--grad); opacity: 0; box-shadow: 0 0 0 4px rgba(17, 114, 238, .15);
}
.demo-wire.run span { animation: travel .7s ease-in-out 1; }
@keyframes travel {
  0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}
.demo-tabs { display: flex; gap: 4px; padding: 4px; background: #edf1f6; border-radius: 999px; align-self: flex-start; margin-bottom: 18px; }
.demo-tabs button {
  font: 600 13px var(--sans); padding: 7px 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.demo-tabs button[aria-selected="true"] { background: #fff; color: var(--blue-ink); box-shadow: 0 1px 3px rgba(15, 27, 45, .12); }
.demo-body { display: flex; flex-direction: column; gap: 10px; min-height: 236px; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.6; animation: rise .35s ease both; }
.bubble.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.bubble.ai { align-self: flex-start; background: #f0f4f9; border-bottom-left-radius: 5px; }
.chip {
  align-self: flex-start; font: 500 12px var(--mono); color: var(--blue-ink);
  padding: 4px 10px; background: var(--tint); border-radius: 999px; animation: rise .35s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 卡片与栅格 */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: c; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm); counter-increment: c;
}
.card::before {
  content: "0" counter(c); display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 20px;
  font: 700 14px var(--sans); color: var(--blue-ink); background: var(--tint);
}
.card.plain { position: relative; overflow: hidden; padding-top: 34px; }
.card.plain::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; width: auto; height: 4px;
  border-radius: 0; margin: 0; background: var(--grad);
}
.card p, .feat p, .steps p, .research p { color: var(--ink-2); font-size: 15.5px; }

/* 步骤 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 22px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: .3;
}
.steps li { position: relative; padding-right: 12px; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; min-width: 64px; padding: 0 16px; border-radius: 999px; margin-bottom: 22px;
  font: 700 14px var(--sans); color: #fff; background: var(--grad);
  box-shadow: 0 0 0 6px var(--bg), 0 8px 18px -8px rgba(17, 114, 238, .7);
}

/* 产品布局：三层 */
h2:has(+ .sub) { margin-bottom: 16px; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 38em; margin-bottom: 48px; }
.stack { display: grid; }
.layer {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.layer-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.layer-head h3 { margin: 0; font-size: 22px; }
.layer-name { font: 600 12px var(--sans); padding: 5px 12px; border-radius: 999px; color: var(--blue-ink); background: var(--tint); }
.status { margin-left: auto; font: 600 12px var(--sans); padding: 5px 12px; border-radius: 999px; color: var(--mute); background: #eef1f5; }
.status.now { color: #fff; background: var(--grad); }
.layer > p { color: var(--ink-2); font-size: 15.5px; max-width: 46em; }
.layer-app { border-color: rgba(17, 114, 238, .45); background: linear-gradient(180deg, #fff, var(--tint-2)); box-shadow: var(--shadow); }
.layer-app .layer-name { color: #fff; background: var(--grad); }
.layer-model { border-style: dashed; border-color: #c3d0e0; background: transparent; box-shadow: none; }
.layer-model .layer-name { color: var(--ink-2); background: #e9eef5; }
.layer-more { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--blue-ink); }
.layer-more:hover { text-decoration: underline; }
.layer-link { width: 0; height: 30px; margin: 0 auto; border-left: 2px dashed #c3d6ee; }
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.edition { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.edition h4 { margin: 0 0 6px; font-size: 17px; font-weight: 650; }
.edition p { color: var(--ink-2); font-size: 15px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.chips li { font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 999px; color: var(--blue-ink); background: var(--tint); }

/* 产品 */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.feats { display: grid; gap: 14px; }
.feat { padding: 20px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); }
.mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.mock-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.mock-bar .mono-label { margin: 0; color: var(--mute); font-weight: 500; }
.mock-body { padding: 16px; display: grid; gap: 8px; }
.mock-item { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.mock-item.on { border-color: var(--blue); background: var(--tint-2); }
.mock-detail { margin: 0 0 6px 14px; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--bg); border-radius: 0 12px 12px 0; }
.mock-detail .mono-label { margin-bottom: 6px; color: var(--mute); font-weight: 500; }
blockquote { margin: 0 0 12px; font-size: 14.5px; color: var(--ink); }
dl { margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
dl div { display: flex; justify-content: space-between; gap: 12px; }
dt { color: var(--mute); } dd { margin: 0; text-align: right; }
s { color: var(--mute); }

/* 开发者 */
.dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.dev h2 { margin-bottom: 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; color: var(--ink-2); font-size: 15.5px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: calc(.32em + 5px); width: 7px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.fine { margin-top: 24px; font-size: 13px; color: var(--mute); }
.code { background: var(--navy); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(17, 114, 238, .55); }
.code-bar { display: flex; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #1f3150; font: 500 12px var(--mono); color: #8ea3bf; }
pre { margin: 0; padding: 22px; overflow-x: auto; font: 13.5px/1.75 var(--mono); color: #e3ecf7; }
.k { color: #6cc6fb; } .s { color: #a8e0c0; }

/* 研究 */
.research { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.research h2 { margin-bottom: 24px; }
.research p + p { margin-top: 14px; }
.research .mono-label { color: var(--blue-ink); font-size: 13px; }
.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.questions li { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; font-size: 15.5px; box-shadow: var(--shadow-sm); }
.questions .num { margin: 0; flex: none; height: 34px; min-width: 46px; padding: 0 10px; font-size: 13px; box-shadow: none; }

/* 常见问题 */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 10px; }
details[open] { box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 22px/1.1 var(--mono); color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--ink-2); max-width: 40em; }

/* 等候名单 */
.join { padding-bottom: 72px; }
.join-card {
  position: relative; overflow: hidden; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 32px;
  padding: 80px 32px; box-shadow: var(--shadow);
}
.join-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 70% at 88% 100%, rgba(17, 114, 238, .2), transparent 70%),
    radial-gradient(36% 60% at 8% 0%, rgba(4, 175, 247, .14), transparent 70%);
}
.join-card > * { position: relative; }
.join h2 { margin: 0 auto 16px; font-size: clamp(32px, 5vw, 56px); letter-spacing: -.03em; }
.join p { color: var(--ink-2); }
form { display: flex; gap: 10px; margin-top: 32px; justify-content: center; flex-wrap: wrap; }
input[type="email"] {
  flex: 1 1 260px; max-width: 340px; font: 15px var(--sans); padding: 13px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
input[type="email"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 114, 238, .15); }
input::placeholder { color: #9aa7b8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form select {
  font: 15px var(--sans); padding: 13px 38px 13px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6b7a90 50%), linear-gradient(135deg, #6b7a90 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 114, 238, .15); }
form button:disabled { opacity: .6; cursor: default; }
.form-msg { min-height: 1.6em; margin-top: 14px; font-size: 14px; }

/* 页脚 */
.site-footer {
  background: linear-gradient(rgba(247, 249, 252, 0), rgba(17, 115, 238, .07) 55%, rgba(6, 170, 247, .2));
  font-size: 15px;
}
.foot { padding-top: 72px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 48px; padding-bottom: 72px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.foot-brand img { height: 52px; width: auto; }
.foot-brand p { font-size: 17px; line-height: 1.5; max-width: 18em; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-col h4 { margin: 0 0 20px; font-size: 16px; font-weight: 650; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--mute); }
.foot-col a:hover { color: var(--blue-ink); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social span {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(15, 27, 45, .07); color: var(--ink-2); cursor: default;
}
.social svg { width: 18px; height: 18px; fill: currentColor; }
.soon { margin-top: 12px; font-size: 13px; color: var(--mute); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(15, 27, 45, .12); padding: 26px 0 34px; color: var(--ink-2); font-size: 14px;
}

/* 响应式 */
@media (max-width: 900px) {
  section { padding: 76px 0; }
  .links { display: none; }
  .nav-right { margin-left: auto; }
  .hero-deco { display: none; }
  .demo { grid-template-columns: 1fr; }
  .demo-wire { height: 40px; }
  .demo-wire::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed #c3d6ee; }
  .demo-wire span { display: none; }
  .grid3, .steps, .product, .dev, .research, .foot-top, .editions { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .product, .dev, .research { gap: 40px; }
  .join-card { padding: 56px 22px; border-radius: 24px; }
}
@media (max-width: 520px) {
  .brand img { height: 30px; }
  .wrap, .narrow { width: calc(100% - 36px); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubble, .chip, .demo-wire.run span { animation: none; }
  .btn:hover { transform: none; }
}
