@font-face {
  font-family: "XinchengDisplayBlack";
  src: url("/assets/fonts/XinchengDisplayBlack.woff2?v=20260720") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --neo-blue: #0847f7;
  --neo-blue-deep: #021a4f;
  --neo-yellow: #ffe31a;
  --neo-cream: #f8f5ed;
  --neo-white: #fffdf8;
  --neo-shadow: #01163f;
  --neo-line: #09214d;
  --neo-muted: #52627b;
  --sans: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", "Avenir Next", sans-serif !important;
}

html { background: var(--neo-blue) !important; }
body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--neo-blue) !important;
  color: var(--neo-blue-deep) !important;
}

.shell {
  position: relative;
  display: block !important;
  width: min(calc(100% - 72px), 1480px) !important;
  max-width: 1480px !important;
  min-width: 0 !important;
  margin: 20px auto 72px !important;
  padding: 0 38px 32px !important;
  border: 3px solid var(--neo-line);
  border-radius: 4px 34px 4px 34px;
  background: var(--neo-cream);
  box-shadow: -26px 30px 0 var(--neo-shadow), 20px 30px 0 var(--neo-shadow);
}

.topbar {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  z-index: 80;
  width: calc(100% + 76px) !important;
  height: 82px !important;
  min-height: 82px !important;
  margin-left: -38px;
  padding: 0 30px !important;
  border: 0 !important;
  border-bottom: 2px solid var(--neo-line) !important;
  border-radius: 5px 30px 0 0;
  background: rgba(248, 245, 237, .96) !important;
  backdrop-filter: blur(16px);
  box-shadow: none !important;
}

.brand { flex: 0 0 auto; gap: 12px !important; }
.mark {
  width: 48px !important;
  height: 48px !important;
  border: 2px solid var(--neo-line);
  border-radius: 5px !important;
  object-fit: cover;
}
.brand-title {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif !important;
  color: var(--neo-blue-deep) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -.4px !important;
}
.sub { color: var(--neo-muted) !important; font-size: 11px !important; }

.primary-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(8px, 2vw, 34px);
  height: 100%;
}
.primary-nav .nav-button {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 5px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--neo-blue-deep) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.primary-nav .nav-button::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 17px;
  height: 3px;
  background: var(--neo-blue);
  transition: left .18s ease, right .18s ease;
}
.primary-nav .nav-button:hover::after,
.primary-nav .nav-button.active::after { left: 4px; right: 4px; }

.topbar-actions { flex: 0 0 auto; flex-wrap: nowrap !important; }
.admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--neo-line);
  border-radius: 4px 14px 4px 4px;
  background: var(--neo-yellow);
  box-shadow: 5px 6px 0 var(--neo-shadow);
  color: var(--neo-blue-deep);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.admin-entry:hover { transform: translate(2px, 2px); box-shadow: 3px 4px 0 var(--neo-shadow); }
.account-switcher { max-width: 150px; }
.account-switcher span { display: none; }

.layout {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.sidebar { display: none !important; }
.content-pane {
  width: 100%;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}
.content-section { width: 100%; max-width: 1160px !important; margin: 0 auto !important; }
#overview.content-section { max-width: none !important; }

.project-hero {
  display: grid;
  grid-template-columns: minmax(500px, 42%) minmax(0, 58%);
  gap: 0;
  min-height: 600px;
  align-items: center;
  padding: 50px 0 30px;
}
.hero-copy { position: relative; z-index: 2; min-width: 0; padding-left: 0; transform: translateY(-38px); }
.hero-kicker {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 2px solid var(--neo-line);
  border-radius: 4px;
  background: var(--neo-white);
  color: var(--neo-blue-deep);
  font-size: 12px;
  font-weight: 800;
}
.hero-copy h1 {
  margin: 0;
  color: var(--neo-blue-deep) !important;
  font-size: clamp(62px, 4.8vw, 78px);
  font-family: "XinchengDisplayBlack", "Noto Sans CJK SC", "Hiragino Sans GB", "PingFang SC", sans-serif !important;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.065em;
  transform: translateY(-78px) scaleX(.88);
  transform-origin: left top;
}
.hero-copy h1 > span { display: block; white-space: nowrap; }
.hero-copy mark {
  position: relative;
  display: inline-block;
  padding: 0 8px 4px;
  background: var(--neo-yellow);
  color: inherit;
  transform: none;
}
.hero-copy p {
  max-width: 470px;
  margin: 28px 0 28px;
  color: #44536c;
  font-size: 16px;
  line-height: 1.85;
}
.hero-cta-shell {
  display: inline-flex;
  filter: drop-shadow(6px 7px 0 var(--neo-shadow));
  transition: transform .15s ease, filter .15s ease;
}
.hero-cta {
  display: inline-flex;
  align-items: stretch;
  min-height: 54px;
  border: 2px solid var(--neo-line);
  background: var(--neo-blue);
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
  color: white !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero-cta span { color: white !important; }
.hero-cta span { display: inline-flex; align-items: center; padding: 0 22px; }
.hero-cta b {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-left: 2px solid var(--neo-line);
  background: var(--neo-yellow);
  color: var(--neo-blue-deep) !important;
  font-size: 24px;
}
.hero-cta-shell:hover { transform: translate(2px, 2px); filter: drop-shadow(4px 5px 0 var(--neo-shadow)); }

.agent-factory {
  position: relative;
  margin: 0;
  padding: 0;
  min-width: 0;
  transform: translateY(-38px);
  align-self: center;
}
.agent-factory img {
  display: block;
  width: 110%;
  max-width: 930px;
  margin: 0 -2% 0 -8%;
  aspect-ratio: 1.6005;
  object-fit: contain;
  filter: saturate(1.08) contrast(1.03);
}
.agent-labels {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 7px;
  pointer-events: none;
}
.agent-labels-top { top: 8%; left: 28%; right: 7%; grid-template-columns: repeat(4, 1fr); }
.agent-labels-bottom { top: 50%; left: 35.5%; right: 14%; grid-template-columns: repeat(3, 1fr); }
.agent-labels span {
  position: relative;
  padding: 5px 3px;
  border: 1.5px solid var(--neo-line);
  border-radius: 4px;
  background: var(--neo-white);
  color: var(--neo-blue-deep);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}
.agent-labels span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--neo-line);
  border-bottom: 1.5px solid var(--neo-line);
  background: var(--neo-white);
  transform: translateX(-50%) rotate(45deg);
}
.agent-factory figcaption {
  position: absolute;
  left: 8%;
  bottom: 7%;
  margin: 0;
  padding: 5px 9px;
  border: 1.5px solid var(--neo-line);
  border-radius: 4px;
  background: var(--neo-white);
  color: var(--neo-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.03fr 1.08fr 1fr;
  gap: 8px;
  margin: 0 -20px 0;
  align-items: stretch;
}
.hero-bento-shell {
  min-width: 0;
  height: 164px;
  filter: drop-shadow(6px 8px 0 var(--neo-shadow));
  transition: transform .18s ease, filter .18s ease;
}
.hero-bento-shell:nth-child(2) { filter: drop-shadow(0 8px 0 var(--neo-shadow)); }
.hero-bento-frame {
  width: 100%;
  height: 100%;
  padding: 3px;
  box-sizing: border-box;
  background: var(--neo-line);
}
.hero-bento-card {
  display: block;
  position: relative;
  height: 100%;
  min-height: 0;
  padding: 45px 76px 20px 140px;
  border: 0;
  color: var(--neo-blue-deep);
  text-decoration: none;
  box-shadow: none;
  transition: none;
}
.hero-card-icon {
  position: absolute;
  left: 40px;
  top: 50%;
  display: block;
  width: 86px;
  height: 86px;
  object-fit: cover;
  transform: translateY(-50%);
}
.hero-bento-shell:nth-child(1) .hero-bento-frame,
.hero-bento-shell:nth-child(1) .hero-bento-card { clip-path: polygon(3% 0, 100% 0, 90% 100%, 3% 100%, 0 85%, 0 15%); }
.hero-bento-shell:nth-child(2) .hero-bento-frame { clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 100%, 0 100%); }
.hero-bento-shell:nth-child(2) .hero-bento-card { clip-path: polygon(33px 0, calc(100% - 33px) 0, 100% 100%, 0 100%); }
.hero-bento-shell:nth-child(3) .hero-bento-frame { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 41px, 100% calc(100% - 34px), calc(100% - 34px) 100%, 34px 100%); }
.hero-bento-shell:nth-child(3) .hero-bento-card { clip-path: polygon(0 0, calc(100% - 33px) 0, 100% 40px, 100% calc(100% - 33px), calc(100% - 33px) 100%, 33px 100%); }
.hero-bento-card.cobalt { background: #0036f3; color: #fff; }
.hero-bento-card.yellow { background: #fce51f; }
.hero-bento-card.cream { background: #f8f5ea; }
.hero-bento-shell:hover { transform: translateY(-4px); filter: drop-shadow(6px 11px 0 var(--neo-shadow)); }
.hero-bento-shell:nth-child(2):hover { filter: drop-shadow(0 11px 0 var(--neo-shadow)); }
.hero-bento-card strong { display: block; font-family: "XinchengDisplayBlack", "Noto Sans CJK SC", "Hiragino Sans GB", "PingFang SC", sans-serif !important; font-size: 30px; font-weight: 900; line-height: 1.14; letter-spacing: -.04em; }
.hero-bento-card small { display: block; margin-top: 12px; font-size: 14px; font-weight: 650; line-height: 1.6; opacity: .78; }
.hero-bento-card i {
  position: absolute;
  right: 42px;
  bottom: 18px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 0;
  clip-path: polygon(16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%, 0 16%);
  background: rgba(255,255,255,.86);
  color: var(--neo-blue-deep);
  font-size: 22px;
  font-style: normal;
}
.hero-bento-card.cobalt strong,
.hero-bento-card.cobalt small { color: #fff !important; opacity: 1; }
.hero-bento-card.cobalt i { background: #fff; color: var(--neo-blue-deep) !important; }
.hero-bento-card.yellow i,
.hero-bento-card.cream i { border-color: var(--neo-blue-deep); background: var(--neo-blue-deep); color: #fff !important; }

@media (min-width: 861px) {
  .hero-copy p,
  .hero-copy .hero-cta-shell { position: relative; top: -30px; }
  .hero-bento-shell .hero-bento-card { padding-left: 140px; }
  .hero-bento-shell .hero-card-icon { left: 40px; }
  .hero-bento-shell:nth-child(1) .hero-bento-card { padding-left: 122px; }
  .hero-bento-shell:nth-child(1) .hero-card-icon { left: 22px; }
  .hero-bento-shell:nth-child(1) .hero-bento-card i { right: 60px; }
}
.hero-bento-card.yellow strong,
.hero-bento-card.yellow small,
.hero-bento-card.cream strong,
.hero-bento-card.cream small { color: var(--neo-blue-deep) !important; }

.operational-head { padding-top: 28px; border-top: 2px solid var(--neo-line); }
.content-section:not(#overview) { padding-top: 42px; }
.content-section:not(#overview) .section-head h1,
.operational-head h1 { color: var(--neo-blue-deep) !important; }
.card, .panel, .schedule-summary-card, .info-card, .project-block {
  border: 2px solid rgba(9,33,77,.22) !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}
.button { border: 2px solid var(--neo-line) !important; border-radius: 4px !important; }
.site-footer-stack {
  position: static !important;
  z-index: auto !important;
  margin: 30px -38px -32px;
  border-radius: 0 0 6px 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: stretch;
}
.friend-links, .site-footer { position: static !important; }
.friend-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(0,0,0,.08);
}
.friend-links-inner { padding-inline: 22px; }
.friend-links-content {
  width: 100%;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: center;
}
.friend-links-copy { white-space: nowrap; }
.friend-links-copy,
.friend-links-actions a {
  font-size: 19px !important;
}
.friend-links-copy { color: #1d1d1f !important; }
.friend-links-actions a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px !important;
}
.friend-links-actions { flex: 0 0 auto; flex-wrap: nowrap; }
.site-footer {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  text-align: left !important;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.footer-legal > * {
  width: 100%;
  padding: 3px 0;
}
.footer-legal > *:not(:last-child) {
  border-bottom: 1px dashed rgba(9,33,77,.22);
}

@media (max-width: 1120px) {
  .shell { width: calc(100% - 48px) !important; padding-inline: 24px !important; }
  .topbar { width: calc(100% + 48px) !important; margin-left: -24px; padding: 0 20px !important; }
  .primary-nav { gap: 12px; }
  .primary-nav .nav-button { font-size: 13px !important; }
  .site-footer-stack { margin-inline: -24px; }
  .project-hero { grid-template-columns: minmax(410px, 42%) minmax(0, 58%); min-height: 520px; }
  .hero-copy h1 { font-size: clamp(42px, 5.4vw, 60px); }
  .agent-factory img { width: 104%; margin-left: -4%; }
  .agent-labels span { font-size: 9px; }
}

@media (max-width: 860px) {
  html, body { background: var(--neo-cream) !important; }
  .shell {
    width: 100% !important;
    margin: 0 0 150px !important;
    padding: 0 18px 80px !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .site-footer-stack {
    margin: 60px -18px -80px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }
  .friend-links { order: 1; border-left: 0; }
  .site-footer { order: 2; }
  .friend-links-copy { white-space: normal; }
  .friend-links-copy,
  .friend-links-actions a { font-size: 17px !important; }
  .topbar {
    width: calc(100% + 36px) !important;
    min-height: 70px !important;
    height: auto !important;
    margin-left: -18px;
    padding: 10px 16px !important;
    border-radius: 0;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .mark { width: 40px !important; height: 40px !important; }
  .brand-title { font-size: 17px !important; }
  .sub { display: none; }
  .primary-nav {
    order: 3;
    width: 100%;
    height: 44px;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav .nav-button::after { bottom: 4px; }
  .admin-entry { min-height: 38px; padding: 0 12px; box-shadow: 3px 4px 0 var(--neo-shadow); }
  .account-switcher { display: none; }
  .project-hero { grid-template-columns: 1fr; gap: 12px; padding: 42px 0 22px; }
  .hero-copy { padding: 0; transform: none; }
  .hero-kicker { margin-bottom: 18px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 62px); letter-spacing: -2px; }
  .hero-copy h1 { transform: none; }
  .hero-copy p { margin: 22px 0; }
  .agent-factory { padding-top: 4px; }
  .agent-factory { transform: none; }
  .agent-factory img { width: 100%; margin: 0 auto; }
  .agent-labels span { font-size: 8px; padding: 4px 2px; }
  .hero-bento { grid-template-columns: 1fr; margin: 0 0 52px; }
  .hero-bento-card { min-height: 145px; box-shadow: none; }
  .hero-bento-card { padding-left: 118px; }
  .hero-card-icon { left: 24px; }
  .hero-bento-shell { filter: drop-shadow(6px 7px 0 var(--neo-shadow)); }
  .hero-bento-shell:nth-child(2) { filter: drop-shadow(0 7px 0 var(--neo-shadow)); }
  .hero-bento-shell { height: 145px; }
  .hero-bento-frame { padding: 2px; }
  .hero-bento-shell:nth-child(1) .hero-bento-card,
  .hero-bento-shell:nth-child(2) .hero-bento-card,
  .hero-bento-shell:nth-child(3) .hero-bento-card { clip-path: none; }
  .hero-bento-shell:nth-child(1) .hero-bento-frame,
  .hero-bento-shell:nth-child(2) .hero-bento-frame,
  .hero-bento-shell:nth-child(3) .hero-bento-frame { clip-path: none; }
}

@media (max-width: 520px) {
  .topbar-actions { width: auto !important; margin-left: auto !important; }
  .admin-entry { font-size: 0; gap: 0; }
  .admin-entry span { font-size: 20px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy h1 > span { white-space: nowrap; }
  .hero-copy mark { padding-inline: 3px; }
  .cards, .cards.usage { grid-template-columns: 1fr !important; }
  .hero-bento-card { padding: 26px 78px 24px 24px; }
  .hero-bento-card { padding-left: 112px; }
  .hero-card-icon { left: 20px; width: 76px; height: 76px; }
}

.secondary-page .shell { min-height: calc(100vh - 220px); }
.secondary-page .content-pane { max-width: 1040px !important; margin: 42px auto 0; }
.secondary-page .section-head h1 { display: block !important; color: var(--neo-blue-deep) !important; }
.secondary-page .note-card,
.secondary-page .article {
  border: 2px solid rgba(9,33,77,.25) !important;
  border-radius: 5px !important;
  background: var(--neo-white) !important;
}
.secondary-page .site-footer-stack {
  position: static !important;
  margin: 0 !important;
  background: var(--neo-cream);
}
