:root,
.sw-root {
  --sw-bg: #eaf4fb;
  --sw-ink: #14284a;
  --sw-ink-soft: #5f708a;
  --sw-accent: #f59a4c;
  --sw-font-display: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --sw-font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: #eaf4fb;
  color: #14284a;
  font-family: var(--sw-font-body);
}

.apai-guide {
  position: fixed;
  right: clamp(18px, 5vw, 64px);
  bottom: 28px;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  transition: transform .25s ease;
}
.apai-guide__bubble {
  width: min(280px, 30vw);
  padding: 16px 18px;
  border: 1px solid rgba(20, 40, 74, .1);
  border-radius: 18px 18px 5px 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 50px rgba(58, 112, 156, .16);
  backdrop-filter: blur(14px);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease;
}
.apai-guide__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #f07e2f;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.apai-guide__bubble p {
  margin: 0;
  color: #14284a;
  font-size: .9rem;
  line-height: 1.55;
}
.apai-guide__bubble a {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  color: #14284a;
  font-size: .77rem;
  font-weight: 800;
  text-decoration: none;
}
.apai-guide__bubble a:hover { color: #f07e2f; }
.apai-guide__avatar {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background: #eaf4fb;
  box-shadow: 0 15px 34px rgba(47, 93, 137, .24), 0 0 0 6px rgba(85, 230, 255, .16);
  cursor: pointer;
}
.apai-guide__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
  transform: scale(1.45);
}
.apai-guide__status {
  position: absolute;
  right: 4px;
  bottom: 5px;
  width: 11px;
  height: 11px;
  border: 2px solid white;
  border-radius: 50%;
  background: #2ccf80;
}
.apai-guide.is-collapsed .apai-guide__bubble { opacity: 0; transform: scale(.82); pointer-events: none; }

.info-section {
  position: relative;
  z-index: 25;
  padding: clamp(92px, 12vw, 170px) 24px;
  background: #f7fbff;
}
.info-section__inner { width: min(1180px, 100%); margin: 0 auto; }
.section-kicker {
  margin: 0 0 16px;
  color: #f07e2f;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .18em;
}
.info-section h2,
.explore-section h2 {
  max-width: 760px;
  margin: 0;
  color: #14284a;
  font-family: var(--sw-font-display);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.section-lede {
  max-width: 600px;
  margin: 24px 0 0;
  color: #5f708a;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.ecosystem-card {
  min-height: 286px;
  padding: 26px;
  border: 1px solid rgba(20, 40, 74, .1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(51, 95, 132, .07);
}
.ecosystem-card--creator { background: linear-gradient(150deg, #fff8ef, #fff); }
.ecosystem-card--team { background: linear-gradient(150deg, #f5f4ff, #fff); }
.ecosystem-card--enterprise { background: linear-gradient(150deg, #effcff, #fff); }
.card-number { color: #8494ab; font: 700 .72rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.ecosystem-card h3 { margin: 50px 0 12px; font-family: var(--sw-font-display); font-size: 1.6rem; }
.ecosystem-card p { min-height: 76px; margin: 0; color: #5f708a; font-size: .96rem; line-height: 1.65; }
.ecosystem-card a { display: inline-flex; gap: 8px; margin-top: 18px; color: #14284a; font-size: .84rem; font-weight: 800; text-decoration: none; }
.ecosystem-card a:hover { color: #f07e2f; }

.explore-section {
  position: relative;
  z-index: 25;
  padding: clamp(80px, 10vw, 140px) 24px;
  background: #14284a;
  color: #f7fbff;
}
.explore-section h2 { color: #f7fbff; }
.explore-section__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.explore-actions { display: grid; min-width: 250px; gap: 10px; }
.explore-button { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #f7fbff; font-size: .86rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.explore-button:hover { transform: translateX(4px); background: rgba(255,255,255,.1); }
.explore-button--primary { border-color: #f59a4c; background: #f59a4c; color: #14284a; }

.site-footer {
  position: relative;
  z-index: 25;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, 5vw);
  background: #0d1b34;
  color: rgba(247, 251, 255, .72);
  font-size: .78rem;
}
.site-footer > div { display: flex; align-items: center; gap: 14px; }
.site-footer strong { color: #fff; font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }

@media (max-width: 860px) {
  .apai-guide { right: 18px; bottom: 20px; }
  .apai-guide__bubble { width: min(240px, calc(100vw - 120px)); }
  .apai-guide__avatar { width: 62px; height: 62px; }
  .ecosystem-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .ecosystem-card { min-height: auto; }
  .ecosystem-card h3 { margin-top: 32px; }
  .explore-section__inner { display: block; }
  .explore-actions { margin-top: 38px; }
  .site-footer { display: block; }
  .site-footer nav { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apai-guide, .apai-guide__bubble, .explore-button { transition: none; }
}

.content-page { min-height: 100vh; background: #eaf4fb; }
.content-page__main {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 10vw, 140px) 0;
}
.content-page__back { color: #5f708a; font-size: .9rem; text-decoration: none; }
.content-page__main h1 { max-width: 720px; margin: 30px 0 20px; color: #14284a; font-family: var(--sw-font-display); font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 1.03; letter-spacing: -.05em; }
.content-page__intro { max-width: 640px; color: #5f708a; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.8; }
.content-page__points { display: grid; gap: 12px; margin: 42px 0; padding: 0; list-style: none; }
.content-page__points li { padding: 18px 20px; border: 1px solid rgba(20, 40, 74, .1); border-radius: 16px; background: rgba(255,255,255,.76); color: #14284a; font-weight: 700; }
