:root {
  --navy-975: #061528;
  --navy-950: #081b33;
  --navy-900: #102a4c;
  --navy-800: #14375f;
  --blue-700: #1e4fd1;
  --blue-500: #438cff;
  --blue-300: #8fc2ff;
  --cyan-500: #20b8b5;
  --cyan-300: #6fe0d5;
  --mist-50: #f4f7fa;
  --mist-100: #e8f0f7;
  --mist-200: #d5e0ea;
  --slate-500: #678198;
  --slate-600: #496780;
  --ink: var(--navy-950);
  --surface: var(--mist-50);
  --paper: var(--mist-100);
  --line-dark: rgba(8, 27, 51, 0.16);
  --line-light: rgba(232, 240, 247, 0.18);
  --display: "Avenir Next Condensed", "DIN Condensed", "Helvetica Neue", "PingFang HK", "Noto Sans TC", sans-serif;
  --body: "Avenir Next", "Helvetica Neue", "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --editorial: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
}

html[lang="zh-Hant-HK"] {
  --display: "PingFang HK", "Noto Sans HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --body: "PingFang HK", "Noto Sans HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --editorial: "PingFang HK", "Noto Sans HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

html[lang="zh-Hans"] {
  --display: "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --body: "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --editorial: "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang^="zh"] body {
  font-variant-east-asian: proportional-width;
  text-rendering: optimizeLegibility;
}

html[lang^="zh"] .hero h1,
html[lang^="zh"] .section-heading h2,
html[lang^="zh"] .skills-intro h2,
html[lang^="zh"] .models-lead h2,
html[lang^="zh"] .briefing-section h2 {
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: none;
}

html[lang^="zh"] .hero h1 em,
html[lang^="zh"] .section-heading h2 em,
html[lang^="zh"] .skills-intro h2 em,
html[lang^="zh"] .models-lead h2 em,
html[lang^="zh"] .briefing-section h2 em {
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
}

html[lang^="zh"] .hero-intro,
html[lang^="zh"] .section-heading > p,
html[lang^="zh"] .skills-intro > p,
html[lang^="zh"] .models-lead > p,
html[lang^="zh"] .resource-feature p,
html[lang^="zh"] .insight-main p,
html[lang^="zh"] .briefing-copy p {
  font-family: var(--body);
  font-style: normal;
}

html[lang^="zh"] .desktop-nav a,
html[lang^="zh"] .section-index,
html[lang^="zh"] .primary-button,
html[lang^="zh"] .secondary-button,
html[lang^="zh"] .inline-link,
html[lang^="zh"] .briefing-copy a {
  letter-spacing: .08em;
  text-transform: none;
}

/* Balanced Chinese type scale: four clear levels instead of editorial extremes. */
html[lang^="zh"] .desktop-nav a {
  font-size: 14px;
  font-weight: 500;
}

html[lang^="zh"] .language-button {
  width: 70px;
  font-size: 12px;
}

html[lang^="zh"] .language-menu {
  width: 184px;
}

html[lang^="zh"] .language-menu button {
  padding: 13px 12px;
  font-size: 14px;
}

html[lang^="zh"] .language-menu button span {
  font-size: 11px;
}

html[lang^="zh"] .kicker,
html[lang^="zh"] .section-index {
  font-size: 12px;
  letter-spacing: .1em;
}

html[lang^="zh"] .hero h1 {
  font-size: clamp(48px, 5.8vw, 82px);
}

html[lang^="zh"] .section-heading h2,
html[lang^="zh"] .skills-intro h2,
html[lang^="zh"] .models-lead h2 {
  font-size: clamp(40px, 4.8vw, 68px);
}

html[lang^="zh"] .briefing-section h2 {
  font-size: clamp(44px, 5.6vw, 78px);
}

html[lang^="zh"] .hero-intro,
html[lang^="zh"] .section-heading > p,
html[lang^="zh"] .skills-intro > p,
html[lang^="zh"] .models-lead > p,
html[lang^="zh"] .resource-feature p,
html[lang^="zh"] .insight-main p,
html[lang^="zh"] .briefing-copy p {
  font-size: 17px;
  line-height: 1.75;
}

html[lang^="zh"] .primary-button,
html[lang^="zh"] .secondary-button,
html[lang^="zh"] .inline-link,
html[lang^="zh"] .briefing-copy a {
  font-size: 13px;
  font-weight: 600;
}

html[lang^="zh"] .card-top,
html[lang^="zh"] .card-foot,
html[lang^="zh"] .resource-label,
html[lang^="zh"] .resource-index small,
html[lang^="zh"] .model-board-head,
html[lang^="zh"] .insight-main small,
html[lang^="zh"] .insight-list small {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: none;
}

html[lang^="zh"] .card-copy h3 {
  font-size: clamp(28px, 2.4vw, 36px);
}

html[lang^="zh"] .card-copy p,
html[lang^="zh"] .skill-row p {
  font-size: 15px;
  line-height: 1.75;
}

html[lang^="zh"] .skill-row h3 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.25;
}

html[lang^="zh"] .resource-feature h3,
html[lang^="zh"] .insight-main h3 {
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.16;
}

html[lang^="zh"] .resource-index h3,
html[lang^="zh"] .insight-list h3 {
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.25;
}

html[lang^="zh"] .model-row > span {
  font-size: 13px;
  line-height: 1.6;
}

html[lang^="zh"] .system-head,
html[lang^="zh"] .system-foot,
html[lang^="zh"] .system-node,
html[lang^="zh"] .hero-meta {
  font-size: 10px;
  text-transform: none;
}

html[lang^="zh"] .site-footer {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: none;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--navy-950); background: var(--cyan-300); }

.skip-link {
  position: fixed;
  top: -80px;
  left: 18px;
  z-index: 1000;
  padding: 11px 16px;
  color: var(--navy-950);
  background: var(--cyan-300);
}
.skip-link:focus { top: 18px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 86px;
  padding: 0 clamp(20px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--mist-100);
  border-bottom: 1px solid transparent;
  transition: height 280ms ease, background 280ms ease, border-color 280ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(6, 21, 40, 0.94);
  border-color: var(--line-light);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark { width: 35px; height: 35px; object-fit: contain; transition: width 280ms ease, height 280ms ease, transform 300ms ease; }
.brand:hover .brand-mark { transform: translateY(-2px); }
.brand-copy { display: flex; align-items: center; line-height: 1; }
.brand-wordmark {
  display: flex;
  align-items: center;
  gap: .34em;
  font-family: "Avenir Next", "Gill Sans", "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}
.brand-wordmark span:first-child { color: var(--mist-100); }
.brand-wordmark span:last-child { color: var(--blue-300); font-weight: 500; }
.brand-wordmark::after {
  width: 4px;
  height: 4px;
  margin-left: .12em;
  border-radius: 1px;
  background: var(--cyan-300);
  box-shadow: 0 0 0 rgba(111, 224, 213, 0);
  content: "";
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.brand:hover .brand-wordmark::after { transform: translateX(2px); box-shadow: 0 0 12px rgba(111, 224, 213, .52); }

/* A restrained two-tone lockup echoes the mark's blue wings and cyan core. */
.site-header .brand { gap: 15px; }
.site-header .brand-mark { width: 46px; height: 46px; }
.site-header .brand-wordmark {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .025em;
  transition: font-size 280ms ease, letter-spacing 280ms ease;
}
.site-header.is-scrolled .brand { gap: 13px; }
.site-header.is-scrolled .brand-mark { width: 39px; height: 39px; }
.site-header.is-scrolled .brand-wordmark { font-size: 15px; letter-spacing: .03em; }

.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.desktop-nav a {
  position: relative;
  padding: 12px 0;
  color: rgba(232, 240, 247, .72);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color 220ms ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--cyan-500);
  transform: scaleX(0);
  transition: transform 220ms ease;
}
.desktop-nav a:hover { color: var(--mist-100); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.desktop-nav a[aria-current="page"] { color: var(--mist-100); }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.language-switcher { position: relative; }
.language-button {
  width: 66px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border: 1px solid rgba(232, 240, 247, .3);
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
}
.language-button:hover, .language-button[aria-expanded="true"] { border-color: var(--blue-500); background: rgba(67, 140, 255, .1); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 170px;
  padding: 7px;
  color: var(--mist-100);
  background: var(--navy-900);
  border: 1px solid rgba(143, 194, 255, .22);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.language-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 11px 10px;
  border: 0;
  background: transparent;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}
.language-menu button:hover, .language-menu button.is-active { color: var(--cyan-300); background: rgba(67, 140, 255, .11); }
.language-menu button span { font-size: 9px; opacity: .55; }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 850px;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .68fr);
  align-items: center;
  gap: clamp(55px, 8vw, 140px);
  padding: 126px clamp(24px, 7vw, 112px) 90px;
  color: var(--mist-100);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(67, 140, 255, .2), transparent 25%),
    linear-gradient(125deg, var(--navy-975), var(--navy-950) 58%, var(--navy-800));
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image:
    linear-gradient(rgba(232, 240, 247, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 240, 247, .12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(100deg, black 0%, black 38%, transparent 84%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-signal {
  position: absolute;
  right: -120px;
  top: 20%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(67, 140, 255, .18);
  border-radius: 50%;
}
.hero-signal span { position: absolute; inset: 11%; border: 1px solid rgba(67, 140, 255, .16); border-radius: 50%; }
.hero-signal span:nth-child(2) { inset: 24%; }
.hero-signal span:nth-child(3) { inset: 37%; border-color: rgba(32, 184, 181, .28); }
.hero-signal span:nth-child(4) { inset: 49%; width: 8px; height: 8px; background: var(--cyan-500); border: 0; box-shadow: 0 0 26px var(--cyan-500); }

.hero-copy, .agent-system, .hero-meta { position: relative; z-index: 2; }
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 29px;
  color: var(--blue-300);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .21em;
  text-transform: uppercase;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 6px rgba(32, 184, 181, .1); animation: ping 2.4s infinite; }
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(62px, 7.7vw, 126px);
  font-weight: 500;
  line-height: .83;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero h1 em { color: var(--blue-500); font-family: var(--editorial); font-weight: 400; text-transform: none; }
.hero-intro {
  max-width: 570px;
  margin: 42px 0 0;
  color: rgba(232, 240, 247, .72);
  font-family: var(--editorial);
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.45;
}
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 43px; }
.primary-button {
  min-width: 218px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 19px;
  color: var(--navy-950);
  background: var(--blue-500);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background 220ms ease, transform 220ms ease;
}
.primary-button:hover { background: var(--cyan-300); transform: translateY(-2px); }
.secondary-button {
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(232, 240, 247, .38);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: border-color 200ms ease;
}
.secondary-button:hover { border-color: var(--cyan-500); }

.agent-system {
  align-self: center;
  color: var(--mist-100);
  background: linear-gradient(145deg, rgba(7, 25, 47, .86), rgba(8, 36, 70, .58));
  border: 1px solid rgba(143, 194, 255, .22);
  box-shadow: 0 35px 100px rgba(0, 0, 0, .26);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.system-head, .system-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 17px;
  color: var(--blue-300);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.system-head { border-bottom: 1px solid var(--line-light); }
.system-state { color: rgba(232, 240, 247, .42); }
.system-state i { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 9px rgba(32, 184, 181, .8); }
.system-map { position: relative; min-height: 345px; overflow: hidden; }
.system-map::before, .system-map::after { content: ""; position: absolute; background: rgba(143, 194, 255, .15); }
.system-map::before { width: 1px; inset: 24px auto 24px 50%; }
.system-map::after { height: 1px; inset: 50% 24px auto; }
.system-rings { position: absolute; inset: 50% auto auto 50%; width: 244px; height: 244px; transform: translate(-50%, -50%); }
.system-rings i { position: absolute; inset: 0; border: 1px solid rgba(143, 194, 255, .13); border-radius: 50%; animation: system-pulse 5s ease-in-out infinite; }
.system-rings i:nth-child(2) { inset: 34px; border-style: dashed; animation-delay: -1.6s; animation-direction: reverse; }
.system-rings i:nth-child(3) { inset: 70px; border-color: rgba(32, 184, 181, .28); animation-delay: -3.2s; }
.system-core { position: absolute; inset: 50% auto auto 50%; z-index: 2; width: 92px; height: 92px; display: grid; place-content: center; gap: 3px; text-align: center; background: var(--blue-700); border: 1px solid var(--cyan-500); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 45px rgba(67, 140, 255, .24); }
.system-core small, .system-core strong { transform: rotate(-45deg); }
.system-core small { color: var(--cyan-300); font: 7px "SFMono-Regular", Consolas, monospace; letter-spacing: .18em; }
.system-core strong { font-family: var(--display); font-size: 15px; font-weight: 540; text-transform: uppercase; }
.system-node { position: absolute; z-index: 3; display: flex; gap: 7px; align-items: center; padding: 8px 10px; color: var(--mist-100); background: rgba(6, 21, 40, .82); border: 1px solid rgba(143, 194, 255, .24); font: 7px "SFMono-Regular", Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.system-node b { color: var(--cyan-300); font-weight: 500; }
.system-node em { font-style: normal; }
.node-context { top: 30px; left: 28px; }
.node-models { top: 42px; right: 28px; }
.node-skills { bottom: 35px; left: 35px; }
.node-tools { right: 25px; bottom: 52px; }
.node-guardrails { right: 18px; top: 50%; transform: translateY(-50%); }
.system-foot { justify-content: center; color: rgba(232, 240, 247, .42); border-top: 1px solid var(--line-light); }
.hero-meta {
  position: absolute;
  right: clamp(24px, 7vw, 112px);
  bottom: 31px;
  left: clamp(24px, 7vw, 112px);
  display: flex;
  justify-content: space-between;
  color: rgba(232, 240, 247, .38);
  font: 7px "SFMono-Regular", Consolas, monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ticker { height: 47px; overflow: hidden; color: var(--navy-950); background: var(--cyan-500); }
.ticker > div { width: max-content; display: flex; align-items: center; gap: 24px; height: 100%; animation: ticker 28s linear infinite; }
.ticker span { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.ticker i { font-style: normal; font-size: 9px; }

.section { padding: clamp(95px, 10.5vw, 168px) clamp(24px, 7vw, 112px); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: end;
  margin-bottom: clamp(70px, 8vw, 116px);
}
.section-heading.compact { margin-bottom: 72px; }
.section-index {
  margin: 0 0 30px;
  color: var(--blue-700);
  font: 700 9px var(--body);
  letter-spacing: .19em;
  text-transform: uppercase;
}
.section-heading h2, .skills-intro h2, .models-lead h2, .briefing-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 6.3vw, 92px);
  font-weight: 520;
  line-height: .89;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.section-heading h2 em, .skills-intro h2 em, .models-lead h2 em, .briefing-section h2 em {
  color: var(--blue-700);
  font-family: var(--editorial);
  font-weight: 400;
  text-transform: none;
}
.section-heading > p, .skills-intro > p, .models-lead > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--slate-600);
  font-family: var(--editorial);
  font-size: 18px;
  line-height: 1.65;
}

.agents-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(30, 79, 209, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 79, 209, .055) 1px, transparent 1px),
    linear-gradient(135deg, #e0eff9 0%, #cbe4f4 48%, #acd2ea 100%);
  background-size: 48px 48px, 48px 48px, auto;
}
.agents-section .section-heading :is(h1, h2) {
  max-width: 820px;
  margin: 0;
  font-family: "Avenir Next", "Gill Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(50px, 4.6vw, 68px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: none;
}
.agents-section .section-heading :is(h1, h2) em { color: var(--blue-700); font-family: var(--editorial); font-weight: 400; }
.agents-section .section-heading > p {
  color: #315d7c;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(30, 79, 145, .26);
  border: 1px solid rgba(30, 79, 145, .26);
  box-shadow: 0 28px 70px rgba(30, 79, 145, .13);
}
.agent-directory-loading { grid-column: 1 / -1; min-height: 180px; display: grid; place-items: center; color: var(--slate-600); background: rgba(232, 240, 247, .58); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.agent-card {
  position: relative;
  min-height: 282px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(22px, 2.3vw, 36px);
  padding: clamp(26px, 2.5vw, 38px);
  background: rgba(222, 239, 250, .98);
  overflow: hidden;
  transition: color 320ms ease, background 320ms ease, transform 320ms ease;
}
.agent-card:nth-child(4n + 2), .agent-card:nth-child(4n + 3) { background: rgba(196, 224, 242, .98); }
.agent-card::before {
  content: "";
  position: absolute;
  inset: auto -62px -80px auto;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(30, 79, 209, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(30, 79, 209, .035), 0 0 0 60px rgba(30, 79, 209, .025);
  transition: transform 520ms ease, border-color 320ms ease;
}
.agent-card:hover { z-index: 1; color: var(--mist-100); background: var(--navy-950); transform: translateY(-2px); }
.agent-card:hover::before { transform: scale(1.35); }
.card-top, .card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: #3b6685;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.card-top { grid-column: 1 / -1; }
.agent-card:hover .card-top, .agent-card:hover .card-foot, .agent-card-accent .card-top, .agent-card-accent .card-foot { color: var(--blue-300); }
.agent-monogram, .agent-logo {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 36px 0 0;
  color: var(--blue-700);
  border: 1px solid rgba(30, 79, 209, .48);
  font: 500 18px var(--display);
  letter-spacing: -.03em;
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%);
}
.agent-logo { position: relative; padding: 13px; background: rgba(245, 250, 253, .9); transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease; }
.agent-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.agent-logo span { display: none; }
.agent-logo.is-fallback img { display: none; }
.agent-logo.is-fallback span { display: block; }
.agent-card:hover .agent-monogram, .agent-card-accent .agent-monogram, .agent-card:hover .agent-logo, .agent-card-accent .agent-logo { color: var(--cyan-300); border-color: var(--cyan-500); }
.agent-card:hover .agent-logo { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.card-copy { position: relative; z-index: 1; grid-column: 2; grid-row: 2; align-self: start; margin-top: 34px; }
.card-copy h3 { margin: 0 0 13px; font-family: "Avenir Next", "Gill Sans", "Helvetica Neue", sans-serif; font-size: clamp(25px, 2.2vw, 34px); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; }
.card-copy p { max-width: 390px; margin: 0; color: #315e7e; font-size: 12.5px; line-height: 1.72; }
.agent-card:hover .card-copy p, .agent-card-accent .card-copy p { color: rgba(232, 240, 247, .68); }
.card-foot { grid-column: 1 / -1; grid-row: 3; margin-top: 28px; padding-top: 16px; border-top: 1px solid currentColor; }
.trademark-note { max-width: 960px; margin: 25px 0 0; color: #3c6683; font-size: 9px; line-height: 1.65; letter-spacing: .025em; }

.agents-directory-main { min-height: 100vh; background: #cbe4f4; }
body[data-page="agents"] .site-header {
  background: rgba(6, 21, 40, .97);
  border-color: var(--line-light);
  backdrop-filter: blur(18px);
}
.agents-directory-section { padding-top: clamp(140px, 13vw, 196px); }
.directory-masthead {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(54px, 6vw, 84px);
  padding-bottom: 18px;
  color: #315d7c;
  border-bottom: 1px solid rgba(30, 79, 145, .3);
  font: 650 8px var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.directory-masthead a { color: var(--blue-700); transition: color 220ms ease; }
.directory-masthead a:hover { color: var(--navy-950); }
html[lang^="zh"] .agents-section .section-heading h1 { font-family: var(--body); font-weight: 600; letter-spacing: -.035em; }
html[lang^="zh"] .agents-section .section-heading h1 em { font-family: var(--body); font-style: normal; font-weight: 600; }

.skills-section {
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(480px, 1.25fr);
  gap: clamp(70px, 12vw, 190px);
  color: var(--mist-100);
  background: var(--navy-950);
}
.skills-intro { align-self: start; position: sticky; top: 115px; }
.skills-intro .section-index { color: var(--cyan-300); }
.skills-intro h2 em { color: var(--blue-500); }
.skills-intro > p { margin-top: 38px; color: rgba(232, 240, 247, .62); }
.inline-link, .briefing-copy a {
  display: flex;
  justify-content: space-between;
  max-width: 340px;
  margin-top: 45px;
  padding: 15px 0;
  color: var(--blue-300);
  border-top: 1px solid rgba(143, 194, 255, .35);
  border-bottom: 1px solid rgba(143, 194, 255, .35);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.skill-stack { border-top: 1px solid var(--line-light); }
.skill-row {
  display: grid;
  grid-template-columns: 72px 1fr 45px;
  gap: 25px;
  align-items: start;
  padding: 40px 0 43px;
  border-bottom: 1px solid var(--line-light);
}
.skill-code { color: var(--cyan-300); font: 8px "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; }
.skill-row h3 { margin: -7px 0 13px; font-family: var(--display); font-size: clamp(27px, 3vw, 42px); font-weight: 500; letter-spacing: -.025em; }
.skill-row p { max-width: 490px; margin: 0; color: rgba(232, 240, 247, .55); font-size: 12px; line-height: 1.7; }
.skill-mark { color: var(--blue-500); font-family: var(--editorial); font-size: 32px; text-align: right; transition: transform 260ms ease; }
.skill-row:hover .skill-mark { transform: rotate(35deg) scale(1.2); }

.resources-section { background: var(--paper); }
.resource-layout { display: grid; grid-template-columns: minmax(350px, 1.1fr) minmax(360px, .9fr); gap: clamp(50px, 8vw, 125px); }
.resource-feature { padding: clamp(30px, 4vw, 58px); color: var(--mist-100); background: var(--blue-700); }
.resource-label { font-size: 8px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.resource-diagram { display: flex; align-items: center; margin: clamp(70px, 9vw, 120px) 0 60px; }
.resource-diagram span { flex: 0 0 auto; font: 10px "SFMono-Regular", Consolas, monospace; }
.resource-diagram small { font-size: 6px; letter-spacing: .1em; opacity: .65; }
.resource-diagram i { flex: 1 1 20px; height: 1px; margin: 0 8px; background: rgba(232, 240, 247, .4); }
.resource-feature h3 { max-width: 680px; margin: 0 0 25px; font-family: var(--display); font-size: clamp(39px, 4.5vw, 65px); font-weight: 510; line-height: .98; letter-spacing: -.04em; }
.resource-feature p { max-width: 540px; margin: 0; color: rgba(232, 240, 247, .7); font-family: var(--editorial); font-size: 17px; line-height: 1.6; }
.resource-feature a { display: flex; justify-content: space-between; margin-top: 54px; padding-top: 17px; border-top: 1px solid rgba(232, 240, 247, .45); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.resource-index { border-top: 1px solid var(--line-dark); }
.resource-index article { display: grid; grid-template-columns: 42px 1fr auto; gap: 24px; align-items: center; min-height: 128px; border-bottom: 1px solid var(--line-dark); }
.resource-index > article > span { color: var(--blue-700); font: 8px "SFMono-Regular", Consolas, monospace; }
.resource-index small { color: var(--slate-500); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
.resource-index h3 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(21px, 2.2vw, 31px); font-weight: 510; line-height: 1.05; }
.resource-index b { color: var(--slate-500); font: 7px "SFMono-Regular", Consolas, monospace; }

.models-section {
  display: grid;
  grid-template-columns: minmax(300px, .65fr) minmax(500px, 1.35fr);
  gap: clamp(70px, 12vw, 180px);
  color: var(--mist-100);
  background: var(--navy-975);
}
.light-index { color: var(--cyan-300); }
.models-lead h2 em { color: var(--blue-500); }
.models-lead > p { margin-top: 40px; color: rgba(232, 240, 247, .6); }
.model-board { align-self: end; border-top: 1px solid var(--line-light); }
.model-board-head, .model-row { display: grid; grid-template-columns: 1fr 1.3fr 90px; gap: 25px; align-items: center; }
.model-board-head { padding: 15px 0; color: var(--slate-500); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
.model-row { min-height: 93px; border-top: 1px solid rgba(232, 240, 247, .1); }
.model-row strong { font-family: var(--display); font-size: clamp(20px, 2.2vw, 31px); font-weight: 500; }
.model-row > span { color: rgba(232, 240, 247, .55); font-size: 10px; }
.model-row i { position: relative; display: block; height: 3px; background: rgba(232, 240, 247, .1); }
.model-row i b { position: absolute; inset: 0 auto 0 0; width: 68%; background: var(--blue-500); }
.model-row:nth-child(3) i b { width: 76%; }
.model-row:nth-child(4) i b { width: 58%; }
.model-row:nth-child(5) i b { width: 64%; }

.insights-section { background: var(--surface); }
.insight-grid { display: grid; grid-template-columns: minmax(400px, 1.05fr) minmax(380px, .95fr); gap: clamp(60px, 9vw, 140px); }
.insight-main { padding: clamp(30px, 4vw, 56px); color: var(--mist-100); background: var(--navy-900); }
.signal-visual { height: 210px; display: flex; align-items: flex-end; gap: 7%; margin-bottom: 65px; border-bottom: 1px solid rgba(232, 240, 247, .25); overflow: hidden; }
.signal-visual span { flex: 1; height: 28%; background: var(--blue-500); animation: signal 3.8s ease-in-out infinite alternate; }
.signal-visual span:nth-child(2) { height: 65%; animation-delay: -.8s; }
.signal-visual span:nth-child(3) { height: 42%; background: var(--cyan-500); animation-delay: -1.5s; }
.signal-visual span:nth-child(4) { height: 86%; animation-delay: -2.1s; }
.signal-visual span:nth-child(5) { height: 56%; animation-delay: -.3s; }
.insight-main small, .insight-list small { color: var(--blue-300); font-size: 7px; letter-spacing: .17em; text-transform: uppercase; }
.insight-main h3 { max-width: 650px; margin: 20px 0 22px; font-family: var(--display); font-size: clamp(39px, 4.6vw, 67px); font-weight: 510; line-height: .95; letter-spacing: -.04em; }
.insight-main p { max-width: 570px; margin: 0; color: rgba(232, 240, 247, .63); font-family: var(--editorial); font-size: 16px; line-height: 1.65; }
.insight-main a { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 16px; border-top: 1px solid var(--line-light); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.insight-list { border-top: 1px solid var(--line-dark); }
.insight-list article { display: grid; grid-template-columns: 40px 1fr auto; gap: 25px; align-items: start; min-height: 180px; padding: 34px 0; border-bottom: 1px solid var(--line-dark); }
.insight-number { color: var(--blue-700); font: 8px "SFMono-Regular", Consolas, monospace; }
.insight-list small { color: var(--slate-500); }
.insight-list h3 { max-width: 500px; margin: 15px 0 0; font-family: var(--display); font-size: clamp(27px, 3vw, 42px); font-weight: 510; line-height: 1.02; letter-spacing: -.03em; }
.insight-list article > span:last-child { color: var(--blue-700); }

.briefing-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: end;
  padding: clamp(90px, 10vw, 155px) clamp(24px, 7vw, 112px);
  color: var(--mist-100);
  background: var(--blue-700);
}
.briefing-section h2 { font-size: clamp(58px, 8vw, 118px); }
.briefing-section h2 em { color: var(--navy-950); }
.briefing-copy p { max-width: 430px; margin: 0; font-family: var(--editorial); font-size: 19px; line-height: 1.55; }
.briefing-copy a { max-width: none; color: var(--mist-100); border-color: rgba(232, 240, 247, .48); }

.site-footer {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 35px;
  padding: 32px clamp(24px, 4.5vw, 72px);
  color: var(--mist-100);
  background: var(--navy-975);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer p { margin: 0; }
.site-footer p:nth-child(2) { color: rgba(232, 240, 247, .48); }
.site-footer p:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(22px); animation: reveal-up 780ms cubic-bezier(.2,.65,.2,1) forwards; }
.hero h1 { animation-delay: 90ms; }
.hero-intro { animation-delay: 190ms; }
.hero-actions { animation-delay: 280ms; }
.agent-system { animation-delay: 220ms; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 720ms ease, transform 720ms cubic-bezier(.2,.65,.2,1); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }
@keyframes ping { 50% { box-shadow: 0 0 0 10px rgba(32, 184, 181, 0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes signal { to { height: 95%; } }
@keyframes system-pulse { 50% { transform: scale(1.035) rotate(8deg); border-color: rgba(143, 194, 255, .26); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr minmax(340px, .62fr); gap: 45px; }
  .hero h1 { font-size: clamp(60px, 8.8vw, 96px); }
  .skills-section, .models-section { gap: 70px; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; }
  .site-header .brand { gap: 12px; }
  .site-header .brand-mark { width: 41px; height: 41px; }
  .site-header .brand-wordmark { font-size: 15px; }
  .desktop-nav { display: none; }
  .menu-toggle { width: 38px; height: 38px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 8px; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: currentColor; transition: transform 200ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 100px 28px 50px;
    color: var(--mist-100);
    background: var(--navy-950);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  .mobile-menu a { padding: 18px 0; border-bottom: 1px solid var(--line-light); font-family: var(--display); font-size: 38px; }
  .hero { height: auto; min-height: 1000px; grid-template-columns: 1fr; align-content: center; gap: 68px; padding-top: 140px; padding-bottom: 90px; }
  .hero-copy { max-width: 720px; }
  .agent-system { width: min(100%, 590px); }
  .section-heading, .briefing-section { grid-template-columns: 1fr; }
  .section-heading > p { margin-left: auto; }
  .skills-section, .models-section { grid-template-columns: 1fr; }
  .skills-intro { position: static; }
  .skills-intro > p, .models-lead > p { max-width: 520px; }
  .resource-layout, .insight-grid { grid-template-columns: 1fr; }
  .resource-feature { min-height: 590px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p:nth-child(2) { justify-self: end; }
  .site-footer p:last-child { justify-self: start; grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .site-header { padding: 0 17px; }
  .site-header .brand-wordmark { font-size: 14.5px; letter-spacing: .02em; }
  .site-header .brand-mark { width: 39px; height: 39px; }
  .footer-brand .brand-wordmark { font-size: 10px; }
  .footer-brand .brand-mark { width: 32px; height: 32px; }
  .header-actions { gap: 5px; }
  .language-button { width: 58px; }
  .hero { min-height: 920px; padding: 120px 20px 74px; gap: 56px; }
  .hero h1 { font-size: clamp(51px, 16.7vw, 75px); line-height: .87; }
  .hero-intro { margin-top: 32px; font-size: 18px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .primary-button { width: 100%; }
  .secondary-button { width: max-content; margin-top: 6px; }
  .hero-meta { right: 20px; bottom: 20px; left: 20px; }
  .hero-meta span:last-child { display: none; }
  .agent-system { backdrop-filter: none; }
  .system-map { min-height: 320px; }
  .system-rings { width: 220px; height: 220px; }
  .system-node { padding: 7px 8px; font-size: 6px; }
  .section { padding: 88px 20px; }
  .section-heading { display: block; margin-bottom: 58px; }
  .section-heading > p { margin-top: 35px; font-size: 16px; }
  .section-heading h2, .skills-intro h2, .models-lead h2 { font-size: 48px; }
  .agent-grid { grid-template-columns: 1fr; }
  .agents-section .section-heading :is(h1, h2) { font-size: 39px; line-height: .98; letter-spacing: -.035em; }
  .agents-directory-section { padding-top: 118px; }
  .directory-masthead { margin-bottom: 52px; }
  .agent-card { min-height: 310px; grid-template-columns: 60px minmax(0, 1fr); column-gap: 20px; padding: 26px 24px; }
  .agent-card .agent-monogram, .agent-card .agent-logo { width: 58px; height: 58px; margin: 32px 0 0; padding: 11px; }
  .agent-card .card-copy { margin-top: 31px; }
  .agent-card .card-copy h3 { font-size: 27px; }
  .skills-section, .models-section { gap: 75px; }
  .skill-row { grid-template-columns: 48px 1fr; gap: 15px; }
  .skill-mark { display: none; }
  .skill-row h3 { font-size: 27px; }
  .resource-layout { gap: 44px; }
  .resource-feature { min-height: auto; padding: 28px; }
  .resource-diagram { margin: 70px 0 55px; }
  .resource-diagram small { display: none; }
  .resource-feature h3 { font-size: 41px; }
  .resource-index article { grid-template-columns: 28px 1fr; }
  .resource-index b { display: none; }
  .model-board-head { display: none; }
  .model-row { grid-template-columns: 1fr; gap: 9px; padding: 23px 0; }
  .model-row i { width: 100%; margin-top: 8px; }
  .insight-main { padding: 27px; }
  .signal-visual { height: 150px; margin-bottom: 50px; }
  .insight-main h3 { font-size: 40px; }
  .insight-list article { grid-template-columns: 28px 1fr 15px; gap: 12px; }
  .insight-list h3 { font-size: 27px; }
  .briefing-section { padding: 88px 20px; }
  .briefing-section h2 { font-size: 55px; }
  .site-footer { grid-template-columns: 1fr; padding: 52px 20px; }
  .site-footer p:nth-child(2), .site-footer p:last-child { grid-column: auto; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
