/* Ark AI 公司的顶栏：白底、细线、石墨色的字。首页、小方页、围炉页用的是同一条，
   所以不管页面下面是哪一种颜色，访客都知道自己还在 Ark AI 的网站里。
   这个文件也会装进围炉页，所以每条规则都写在 .cobar 下面，不碰页面上别的东西。 */
.cobar { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid #E2E8EF; color: #0A1A2B; font-family: -apple-system, "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: box-shadow .3s; }
.cobar.stuck { box-shadow: 0 12px 30px -20px rgba(10, 26, 43, .4); }
.cobar *, .cobar *::before, .cobar *::after { box-sizing: border-box; }
.cobar a { color: inherit; text-decoration: none; }
.cobar button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cobar img { display: block; max-width: none; }
.cobar .co-defs { position: absolute; }
.cobar .in { display: flex; align-items: center; width: min(1120px, 100% - 48px); height: 72px; margin-inline: auto; }

/* 标志：现在用的公司标志，横着排 */
.cobar .co-brand { display: flex; align-items: center; gap: 11px; }
.cobar .lg-mark { width: auto; height: 36px; transition: rotate .5s cubic-bezier(.3, 1.5, .5, 1), scale .5s cubic-bezier(.3, 1.5, .5, 1); }
.cobar .lg-word { width: auto; height: 17px; }
.cobar .lg-cn { width: auto; height: 12px; margin-left: 4px; opacity: .58; }
.cobar .co-brand:hover .lg-mark { scale: 1.08; rotate: -4deg; }

/* 栏目 */
.cobar .co-nav { margin-left: auto; }
.cobar ul { display: flex; align-items: center; gap: 44px; margin: 0; padding: 0; list-style: none; font-weight: 500; }
.cobar li { position: relative; }
.cobar li > a, .cobar li > button { position: relative; display: block; padding: 8px 0; font-weight: 500; line-height: 1.6; }
.cobar li > a::before, .cobar li > button::before { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; border-radius: 1px; background: #0A1A2B; scale: 0 1; transform-origin: left; transition: scale .3s cubic-bezier(.2, .7, .2, 1); }
.cobar li > a:hover::before, .cobar li > button:hover::before, .cobar li.on > a::before, .cobar li.on > button::before, .cobar li.open > button::before { scale: 1 1; }
.cobar li.has > button { padding-right: 17px; }
.cobar li.has > button::before { right: 17px; }
.cobar li.has > button::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; rotate: 45deg; transition: rotate .3s, margin-top .3s; }
.cobar li.has.open > button::after { margin-top: -2px; rotate: 225deg; }
.cobar a:focus-visible, .cobar button:focus-visible { outline: 2px solid #1463F3; outline-offset: 4px; border-radius: 6px; }

/* “产品”的下拉菜单 */
.cobar .co-menu { position: absolute; top: calc(100% + 18px); left: 50%; width: 344px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #E2E8EF, 0 28px 56px -24px rgba(10, 26, 43, .34); font-weight: 400; text-align: left; translate: -50% 8px; opacity: 0; visibility: hidden; transition: opacity .22s, translate .28s cubic-bezier(.2, .7, .2, 1), visibility 0s .28s; }
.cobar .co-menu::after { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.cobar li.has.open .co-menu, .cobar li.has .co-menu:focus-within { translate: -50% 0; opacity: 1; visibility: visible; transition-delay: 0s; }
@media (hover: hover) and (min-width: 861px) {
  .cobar li.has:hover .co-menu { translate: -50% 0; opacity: 1; visibility: visible; transition-delay: 0s; }
  .cobar li.has:hover > button::after { margin-top: -2px; rotate: 225deg; }
  .cobar li.has:hover > button::before { scale: 1 1; }
}
.cobar .co-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 14px; transition: background-color .2s; }
.cobar .co-item:hover, .cobar .co-item:focus-visible { background: #F4F7FA; }
.cobar .co-ico { display: block; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: #F4F7FA; box-shadow: inset 0 0 0 1px #E2E8EF; transition: scale .3s cubic-bezier(.3, 1.5, .5, 1), background-color .2s; }
.cobar .co-item:hover .co-ico { background: #fff; scale: 1.06; }
.cobar .co-ico svg { display: block; width: 100%; height: 100%; }
.cobar .co-ico.wl { background: #fff url(../img/weilu-icon.png) center / cover; }
.cobar .co-item b { display: block; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.45; color: #0A1A2B; }
.cobar .co-item small { display: block; font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0; color: #8595A6; opacity: 1; }
.cobar .co-item i { font-style: normal; font-size: 16px; color: #B3C0CD; transition: translate .3s cubic-bezier(.3, 1.5, .5, 1), color .2s; }
.cobar .co-item:hover i { color: #0A1A2B; translate: 4px 0; }

/* 手机上：栏目收进右上角的三道杠里 */
.cobar .co-burger { display: none; position: relative; width: 44px; height: 44px; margin: 0 -10px 0 auto; border-radius: 12px; }
.cobar .co-burger i { position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: #0A1A2B; transition: translate .3s, rotate .3s, opacity .2s; }
.cobar .co-burger i:nth-child(1) { translate: 0 -7px; }
.cobar .co-burger i:nth-child(3) { translate: 0 7px; }
.cobar.open .co-burger i:nth-child(1) { translate: 0 0; rotate: 45deg; }
.cobar.open .co-burger i:nth-child(2) { opacity: 0; }
.cobar.open .co-burger i:nth-child(3) { translate: 0 0; rotate: -45deg; }

@media (max-width: 860px) {
  .cobar .in { height: 60px; }
  .cobar .lg-mark { height: 30px; }
  .cobar .lg-word { height: 15px; }
  .cobar .lg-cn { height: 11px; }
  .cobar .co-burger { display: block; }
  .cobar .co-nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 60px); overflow-y: auto; margin: 0; padding: 6px 24px 22px; background: #fff; border-bottom: 1px solid #E2E8EF; box-shadow: 0 30px 40px -30px rgba(10, 26, 43, .4); opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .22s, translate .28s cubic-bezier(.2, .7, .2, 1), visibility 0s .28s; }
  .cobar.open .co-nav { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
  .cobar ul { display: block; font-size: 17px; }
  .cobar li + li { border-top: 1px solid #E2E8EF; }
  .cobar li > a, .cobar li > button { padding: 15px 0; }
  .cobar li > a::before, .cobar li > button::before, .cobar li.has > button::after { content: none; }
  .cobar li.has > button { width: 100%; padding-bottom: 6px; text-align: left; color: #8595A6; font-size: 13px; letter-spacing: .1em; cursor: default; }
  .cobar .co-menu { position: static; width: auto; padding: 0 0 10px; border-radius: 0; box-shadow: none; translate: none; opacity: 1; visibility: inherit; transition: none; }
  .cobar .co-menu::after { content: none; }
  .cobar li.has.open .co-menu, .cobar li.has .co-menu:focus-within { translate: none; }
  .cobar .co-item { padding: 8px 4px 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cobar *, .cobar *::before, .cobar *::after { transition-duration: .01s !important; }
}
