/* Ark AI 公司的设计语言“冷光”：白底、石墨色的字、蓝到青的一点冷光；
   灯光黄只留给画面里亮着的灯。首页、找不到页面用这一套；
   小方页用同一副骨架，颜色换成暖光（xiaofang.css）；围炉页是它自己的绿色。 */
:root {
  --ink: #0A1A2B;
  --text: #44566A;
  --mute: #8595A6;
  --line: #E2E8EF;
  --mist: #F4F7FA;
  --ice: #EAF4FD;
  --blue: #1463F3;
  --cyan: #12C8F4;
  --sun: #FFC933;
  --sun-soft: #FFF3C7;
  --unlit: #D6E0EA;            /* 还没亮灯的窗 */
  --sans: -apple-system, "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 600; color: var(--ink); line-height: 1.25; letter-spacing: -.012em; }
p { text-wrap: pretty; }
svg text { font-family: var(--sans); font-weight: 600; }
.nb { white-space: nowrap; }
br.m { display: none; }          /* 只在手机上才换行的地方 */
::selection { background: rgba(18, 200, 244, .28); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* 重点词：蓝到青的渐变字。鼠标在这一段上的时候，光从字上慢慢扫过去 */
.hl { background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue)) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec:hover .hl, .hero:hover .hl, .get:hover .hl { animation: sheen 4s linear infinite; }
@keyframes sheen { to { background-position: 200% 0; } }

.sec, .hero, .xhero, .get, .lost { position: relative; overflow: hidden; overflow: clip; }
.wrap { position: relative; width: min(1120px, 100% - 48px); margin-inline: auto; }

/* ---------- 滚动浮现：进到眼前时从下面轻轻浮上来 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) calc(var(--i, 0) * 90ms), transform .8s var(--ease) calc(var(--i, 0) * 90ms), translate .35s var(--spring), box-shadow .35s, border-color .35s, background-color .35s; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* 小标签：一小段渐变细线加几个字 */
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--blue); }
.label::before { content: ""; width: 24px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.head.center .label::after { content: ""; width: 24px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border: 0; border-radius: 999px; font-family: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: translate .35s var(--spring), box-shadow .3s, background-color .3s; }
.btn.solid { background: var(--ink); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #C6D1DC; }
.btn span { display: inline-block; font-weight: 400; transition: translate .35s var(--spring); }
.btn:hover { translate: 0 -2px; }
.btn.solid:hover { box-shadow: 0 14px 26px -14px rgba(10, 26, 43, .7); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink), 0 14px 26px -18px rgba(10, 26, 43, .5); }
.btn:hover .dn { translate: 0 3px; }
.btn:hover .rt { translate: 4px 0; }
.btn:active { translate: 0 0; }

/* ---------- 头图 ---------- */
.hero { background: linear-gradient(#fff 0, #fff 300px, #F3F8FD 620px, #E6F0FA 100%); }
.hero .wrap { padding-top: 88px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(18, 200, 244, .18); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 7px rgba(18, 200, 244, .08); } }
.hero h1 { margin-top: 28px; font-size: clamp(34px, 4.75vw, 68px); line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.hero .lead { max-width: 790px; margin: 28px auto 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.85; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.street { margin-top: 64px; }
.street svg { width: 100%; height: auto; min-height: 300px; }

/* ---------- 通用段落 ---------- */
.sec { padding: 116px 0; }
.sec.mist { background: var(--mist); }
.head { max-width: 780px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { margin: 20px 0 20px; font-size: clamp(29px, 3.3vw, 46px); }
.head p { font-size: 18px; text-wrap: balance; }
.diagram { padding: 26px 10px 18px; border: 1px solid var(--line); border-radius: 24px; background: var(--mist) radial-gradient(#CBD7E3 1px, transparent 1.3px) 0 0 / 22px 22px; }
.diagram svg { width: 100%; height: auto; overflow: visible; }

/* 插画里通用的：灯的光晕轻轻呼吸，信号的小点顺着线走 */
.lampg .halo { transform-box: fill-box; transform-origin: center; animation: breathe 4.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.1); opacity: .82; } }
.sig { animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -13.1; } }
.pill, .dev { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--spring); }
a.dev { cursor: pointer; }
a.dev:hover .pill, a.dev:focus-visible .pill { transform: scale(1.08); }
a.dev:focus-visible { outline: none; }

/* ---------- 页脚：公司的（首页、小方页、找不到页面共用） ---------- */
.foot { padding: 44px 0 40px; background: var(--ink); color: rgba(255, 255, 255, .66); font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 44px; align-items: center; }
.foot .fb { display: flex; align-items: center; gap: 10px; }
.foot .lg-mark { width: auto; height: 30px; }
.foot .lg-word { width: auto; height: 15px; }
.foot .lg-cn { width: auto; height: 11px; margin-left: 3px; opacity: .62; }
.foot p { font-size: 13px; line-height: 1.7; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; color: #fff; }
.foot nav a { position: relative; }
.foot nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: var(--cyan); scale: 0 1; transform-origin: left; transition: scale .3s var(--ease); }
.foot nav a:hover::after { scale: 1 1; }
.foot .row2 { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; }
.foot .row2 a:hover { color: #fff; }

/* ---------- 找不到页面 ---------- */
.lost { padding: 104px 0 136px; text-align: center; background: linear-gradient(#fff, #F3F8FD); }
.lost svg { width: 280px; margin: 0 auto 36px; overflow: visible; cursor: pointer; }
.lost h1 { font-size: clamp(30px, 3.4vw, 48px); }
.lost p { margin-top: 14px; font-size: 18px; }
.lost .cta { display: flex; justify-content: center; margin-top: 36px; }
.lost-glow { opacity: 0; transition: opacity .6s; }
.lost-win { transition: fill .4s; }
.lost svg:hover .lost-glow { opacity: .8; }
.lost svg:hover .lost-win { fill: var(--sun); }

/* ---------- 窄一些的屏幕 ---------- */
@media (max-width: 860px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 16px; }
  .sec { padding: 76px 0; }
  .hero .wrap { padding-top: 56px; }
  .hero .cta { margin-top: 30px; }
  .street { margin-top: 44px; }
  .head p { font-size: 16.5px; text-wrap: pretty; }
  .head h2 { margin: 16px 0 16px; }
  .foot .wrap { grid-template-columns: 1fr; gap: 18px; }
  .lost { padding: 72px 0 96px; }
}
@media (max-width: 560px) {
  br.m { display: inline; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 40px); }
  .head h2 { font-size: min(29px, 7.2vw); }
  .btn { height: 50px; padding: 0 24px; }
}

/* 不喜欢动画的人：直接看结果 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .spark { display: none; }
}
