/* ============================================================
   AlayaBrain · Landing
   上下文有限，记忆无限
   ============================================================ */

@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

:root {
  --bg: #05060d;
  --bg-deep: #03040a;
  --bg-elev: #0a0d18;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(9, 13, 26, 0.78);
  --stroke: rgba(255, 255, 255, 0.085);
  --stroke-strong: rgba(255, 255, 255, 0.15);
  --text: #eef2fb;
  --text-2: #a6b0c6;
  --text-3: #707b94;
  --text-4: #566078;
  --cyan: #5fe7ff;
  --cyan-soft: #8bf3ff;
  --blue: #5b8cff;
  --indigo: #6366f1;
  --violet: #b18cff;
  --red: #ff8095;
  --green: #6ee7b7;
  --grad: linear-gradient(102deg, #8bf3ff 0%, #79b8ff 32%, #8e95ff 64%, #c6a2ff 100%);
  --grad-brand: linear-gradient(135deg, #4c7df6 0%, #5f6be6 52%, #8b5cf6 100%);
  --font-sans: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-cn: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --nav-h: 66px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(95, 231, 255, 0.25);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #05060d;
}
::-webkit-scrollbar-thumb {
  background: #1d2437;
  border-radius: 8px;
  border: 2px solid #05060d;
}
::-webkit-scrollbar-thumb:hover {
  background: #2c3650;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #05060d;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.mono {
  font-family: var(--mono);
}

.nowrap {
  white-space: nowrap;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradShift 9s ease-in-out infinite alternate;
}

/* ── 背景层 ─────────────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 78% -8%, rgba(44, 78, 170, 0.16), transparent 60%),
    radial-gradient(900px 700px at 8% 22%, rgba(38, 100, 140, 0.1), transparent 62%),
    linear-gradient(180deg, #05060d 0%, #04050c 60%, #03040a 100%);
}

.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 10%, transparent 75%);
  opacity: 0.75;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}

.aurora-a {
  width: 62vw;
  height: 62vw;
  top: -26vw;
  right: -18vw;
  background: radial-gradient(circle, rgba(56, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.1) 34%, transparent 68%);
  animation: driftA 26s ease-in-out infinite alternate;
}

.aurora-b {
  width: 54vw;
  height: 54vw;
  top: 26vh;
  left: -24vw;
  background: radial-gradient(circle, rgba(95, 231, 255, 0.11) 0%, rgba(76, 125, 246, 0.07) 38%, transparent 70%);
  animation: driftB 32s ease-in-out infinite alternate;
}

.aurora-c {
  width: 48vw;
  height: 48vw;
  bottom: -24vw;
  right: 4vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, rgba(91, 140, 255, 0.06) 40%, transparent 70%);
  animation: driftC 36s ease-in-out infinite alternate;
}

.stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 40%, transparent 40%, rgba(2, 3, 8, 0.6) 100%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 231, 255, 0.075), rgba(91, 140, 255, 0.035) 42%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(95, 231, 255, 0.6);
}

/* ── 导航 ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  position: relative;
  width: min(100%, 1240px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 12px 0 18px;
  border-radius: 18px;
  background: rgba(7, 9, 18, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav.is-scrolled .nav-inner {
  background: rgba(7, 9, 18, 0.82);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 4px 18px -4px rgba(88, 101, 242, 0.55);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand-word {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #f4f7ff;
  line-height: 1;
  white-space: nowrap;
}
.brand-word span {
  font-weight: 450;
  color: #aab4c9;
  margin-left: 2px;
}

.brand-beta {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.13em;
  color: #8beeff;
  padding: 3px 5px;
  border-radius: 4px;
  border: 1px solid rgba(95, 231, 255, 0.3);
  background: rgba(95, 231, 255, 0.07);
  line-height: 1;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 450;
  color: #939db4;
  border-radius: 9px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  transform: translateX(-50%) scale(0.3);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 0 8px rgba(95, 231, 255, 0.9);
}
.nav-links a:hover {
  color: #eef2fb;
  background: rgba(255, 255, 255, 0.035);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.nav-links a.active {
  color: #eef2fb;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  position: relative;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: #cbd5e8;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) {
  top: 15px;
}
.nav-toggle span:nth-child(2) {
  top: 22px;
}
.nav.menu-open .nav-toggle span:nth-child(1) {
  top: 18.5px;
  transform: rotate(45deg);
}
.nav.menu-open .nav-toggle span:nth-child(2) {
  top: 18.5px;
  transform: rotate(-45deg);
}

.mobile-menu {
  pointer-events: auto;
  position: absolute;
  top: calc(var(--nav-h) + 8px);
  left: 20px;
  right: 20px;
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(7, 10, 20, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  display: none;
}
.nav.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: #cbd4e7;
}
.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.mobile-menu small {
  font-family: var(--mono);
  font-size: 8px;
  color: #5f6b85;
  letter-spacing: 0.1em;
}
.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10px;
  color: #6f7a93;
}
.mobile-menu-foot b {
  font-family: var(--mono);
  font-weight: 500;
  color: #dbe6fa;
  letter-spacing: 0.05em;
}

/* ── 按钮 ───────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.24) 46%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}
.btn:hover::before {
  transform: translateX(130%);
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(91, 140, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(99, 102, 241, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.13);
  color: #dbe3f3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: rgba(95, 231, 255, 0.35);
  background: rgba(95, 231, 255, 0.06);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 15px;
  font-size: 12.5px;
  gap: 7px;
}
.btn-sm svg {
  width: 14px;
  height: 14px;
}
.btn-lg {
  padding: 15px 26px;
  font-size: 15px;
}
.btn .arr {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arr {
  transform: translateX(3px);
}
.btn .down {
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .down {
  transform: translateY(2px);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 96px;
  overflow-x: hidden;
  overflow-x: clip;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.17em;
  color: #8b96ae;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(95, 231, 255, 0.9);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(95, 231, 255, 0.55);
  animation: pulseRing 2.6s ease-out infinite;
}

.eyebrow-badge {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #8ef0ff;
  border: 1px solid rgba(95, 231, 255, 0.25);
  background: rgba(95, 231, 255, 0.06);
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: none;
}

.hero-title {
  margin: 0;
  font-family: var(--font-cn);
  font-weight: 700;
}

.hero-title .line {
  display: flex;
  align-items: center;
}

.line-1 {
  font-size: clamp(30px, 3.45vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.055em;
  color: #aab2c6;
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(190, 210, 255, 0.12);
}

.limit-line {
  position: relative;
  width: clamp(30px, 4.4vw, 78px);
  height: 1px;
  flex: none;
  margin-left: 18px;
  top: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 128, 149, 0.85));
}
.limit-line i {
  position: absolute;
  right: -2px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 128, 149, 0.9);
}
.limit-line em {
  position: absolute;
  right: 0;
  top: -17px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.14em;
  color: rgba(255, 128, 149, 0.8);
}

.line-2 {
  font-family: var(--font-cn);
  font-size: clamp(62px, 7.55vw, 112px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-left: -4px;
}
.line-2 .grad {
  filter: drop-shadow(0 0 42px rgba(115, 150, 255, 0.22));
}
.line-2 .dot {
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
  text-shadow: 0 0 26px rgba(95, 231, 255, 0.75);
  animation: dotPulse 3s ease-in-out infinite;
}

.hero-en {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.23em;
  color: #5c6781;
  text-transform: uppercase;
}

.hero-sub {
  max-width: 552px;
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.95;
  color: #a6b0c6;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, auto);
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 594px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  min-width: 0;
}
.metric:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.metric-v {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: #f2f6ff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metric-v i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  color: #7f8aa2;
  margin-left: 2px;
}

.metric-k {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: #6f7a93;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.core-wrap {
  position: relative;
  width: min(100%, 600px);
  aspect-ratio: 1;
  isolation: isolate;
}

.core-halo {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(91, 140, 255, 0.3), rgba(139, 92, 246, 0.13) 42%, transparent 68%);
  filter: blur(34px);
  transform: scale(1.16);
  z-index: 0;
}

.infinity {
  position: absolute;
  left: -7%;
  top: 17%;
  width: 114%;
  height: 66%;
  transform: rotate(-14deg);
  opacity: 0.62;
  z-index: 0;
  filter: drop-shadow(0 0 14px rgba(95, 231, 255, 0.2));
}
.infinity path {
  stroke-dasharray: 3 9;
  animation: dashFlow 26s linear infinite;
}

#coreCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.core-dial {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.dial-a {
  inset: 12%;
  border: 1px solid rgba(130, 160, 255, 0.075);
}
.dial-b {
  inset: 3%;
  border: 1px dashed rgba(130, 160, 255, 0.07);
  animation: spin 100s linear infinite;
}

.core-chip {
  position: absolute;
  z-index: 3;
  min-width: 142px;
  padding: 11px 14px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(9, 13, 26, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 16px 50px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: floatY 7.5s ease-in-out infinite;
  will-change: transform;
}

.chip-context {
  top: 6%;
  left: -2%;
}
.chip-cache {
  top: 38%;
  right: -3%;
  animation-delay: -2.4s;
}
.chip-speed {
  bottom: 9%;
  left: 3%;
  animation-delay: -4.2s;
}

.chip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: #7d88a2;
}
.chip-top b {
  font-size: 11px;
  font-weight: 500;
  color: #dff8ff;
  letter-spacing: 0.02em;
}

.mini-bar {
  height: 3px;
  margin: 8px 0 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}
.mini-bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #5fe7ff, #7e8dff, #b18cff);
  box-shadow: 0 0 10px rgba(95, 231, 255, 0.7);
}

.chip-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 8px;
  color: #65708a;
}
.chip-foot span:last-child {
  color: #4f5a72;
}

.chip-k {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: #7d88a2;
  margin-bottom: 3px;
}
.chip-v {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.chip-v i {
  font-style: normal;
  font-size: 8.5px;
  color: #7f8aa2;
  -webkit-text-fill-color: #7f8aa2;
  letter-spacing: 0;
}
.chip-cache .chip-foot {
  margin-top: 3px;
}

.orbit-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(7, 10, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: #a6b1c8;
  text-transform: uppercase;
  animation: floatY 8.5s ease-in-out infinite;
}
.tag-a {
  top: 19%;
  right: 0;
  animation-delay: -1s;
}
.tag-b {
  bottom: 22%;
  right: 4%;
  animation-delay: -3.4s;
}
.tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(95, 231, 255, 0.9);
  flex: none;
}
.tag-dot.violet {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(177, 140, 255, 0.9);
}

.core-label {
  position: absolute;
  bottom: 1%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  color: #5f6b84;
  white-space: nowrap;
}
.core-label i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(95, 231, 255, 0.9);
}

.core-caption {
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: #5c6882;
  text-align: center;
}
.core-caption span {
  display: inline-block;
  margin-left: 4px;
  color: #9fb1ff;
  font-size: 12px;
  animation: dotPulse 4s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: #4e5971;
}
.scroll-cue i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(95, 231, 255, 0.7), transparent);
  animation: cueDrop 2.4s ease-in-out infinite;
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker {
  position: relative;
  z-index: 1;
  height: 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(255, 255, 255, 0.012);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerMove 52s linear infinite;
  will-change: transform;
}
.ticker-set {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-track span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #66718b;
  white-space: nowrap;
}
.ticker-track i {
  font-style: normal;
  font-size: 7px;
  color: #5b8cff;
  opacity: 0.7;
}

/* ── 通用 section ───────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

section[id] {
  scroll-margin-top: 96px;
}
section#top {
  scroll-margin-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 58px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.17em;
  color: #5c6881;
  white-space: nowrap;
}
.section-index b {
  color: #9fb4e8;
  font-weight: 500;
}
.section-index i {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 140, 255, 0.8), transparent);
}
.section-index.light {
  color: #818ca4;
}

.section-title {
  min-width: 0;
}
.section-title .eyebrow {
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(34px, 4.25vw, 54px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: #f4f7ff;
  text-wrap: balance;
}
.section-title h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradShift 9s ease-in-out infinite alternate;
}

.section-sub {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: #98a3ba;
  text-wrap: pretty;
}

/* reveal */
.js .reveal {
  opacity: 0;
  translate: 0 26px;
  filter: blur(6px);
  transition: opacity 0.95s var(--ease), translate 0.95s var(--ease), filter 0.95s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, translate, filter;
}
.js .reveal.in {
  opacity: 1;
  translate: none;
  filter: none;
  will-change: auto;
}

/* ── Wall ───────────────────────────────────────────────── */
.wall {
  padding-top: 104px;
}

.duel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  align-items: stretch;
}

.duel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 382px;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014) 55%, rgba(255, 255, 255, 0.008));
  overflow: hidden;
  box-shadow: 0 30px 80px -46px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.duel-card::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 60%;
  top: -30%;
  right: -20%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
}
.is-limit::before {
  background: radial-gradient(circle, rgba(255, 90, 120, 0.14), transparent 65%);
}
.is-memory::before {
  background: radial-gradient(circle, rgba(95, 231, 255, 0.13), rgba(139, 92, 246, 0.08) 45%, transparent 68%);
}

.duel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
}
.duel-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  color: #8b95ac;
  text-transform: uppercase;
}
.duel-badge {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  padding: 4px 7px;
  border-radius: 4px;
  border: 1px solid;
}
.duel-badge.red {
  color: #ffa0af;
  border-color: rgba(255, 128, 149, 0.25);
  background: rgba(255, 128, 149, 0.06);
}
.duel-badge.green {
  color: #8cf0c8;
  border-color: rgba(110, 231, 183, 0.25);
  background: rgba(110, 231, 183, 0.06);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px currentColor;
  display: inline-block;
  flex: none;
}
.status-dot.red {
  background: var(--red);
  color: var(--red);
  box-shadow: 0 0 10px rgba(255, 128, 149, 0.8);
}
.status-dot.cyan {
  background: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 10px rgba(95, 231, 255, 0.8);
}

.duel-figure {
  margin-bottom: 18px;
}
.duel-label {
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.17em;
  color: #65708a;
}
.duel-pct {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: clamp(56px, 5.7vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.duel-pct i {
  font-style: normal;
  font-size: 19px;
  font-weight: 500;
  color: #7f8aa2;
  letter-spacing: 0;
}
.duel-pct.red {
  background: linear-gradient(180deg, #ffdbe0 10%, #ff8aa0 60%, #ff6d86 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 110, 135, 0.22));
}
.duel-pct.red i {
  -webkit-text-fill-color: #a25f6c;
  color: #a25f6c;
}
.duel-pct.grad {
  filter: drop-shadow(0 0 26px rgba(95, 231, 255, 0.18));
}
.duel-pct.grad i {
  -webkit-text-fill-color: #71809b;
}
.duel-sub {
  margin-top: 9px;
  font-size: 12px;
  color: #8a95ab;
}

.progress {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin: 4px 0 20px;
}
.progress i {
  display: block;
  height: 100%;
  border-radius: 6px;
  transition: width 1.6s var(--ease);
}
.progress.limit i {
  width: 100%;
  background: linear-gradient(90deg, #ff5c7a, #ff9d78);
  box-shadow: 0 0 18px rgba(255, 110, 130, 0.55);
}
.progress.memory i {
  width: 11%;
  background: linear-gradient(90deg, #5fe7ff, #6d8bff, #b18cff);
  box-shadow: 0 0 18px rgba(95, 231, 255, 0.5);
}
.js .duel:not(.in) .progress i {
  width: 0;
}

.duel-log {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.95;
  color: #7e879c;
  white-space: pre-wrap;
  overflow: hidden;
}
.is-memory .duel-log {
  color: #8097ab;
  margin-bottom: 14px;
}
.duel-log .caret {
  color: var(--red);
  animation: blink 1.1s steps(1) infinite;
}
.is-memory .duel-log .caret {
  color: var(--cyan);
}

.memory-layers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 2px;
}
.layer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.028);
  font-size: 10px;
  color: #a8b3c9;
  opacity: 0.45;
  transform: translateY(4px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.55s, box-shadow 0.55s;
}
.layer i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 7.5px;
  color: var(--cyan);
}
.js .duel.in .layer {
  opacity: 1;
  transform: none;
  border-color: rgba(95, 231, 255, 0.22);
  box-shadow: 0 0 18px -6px rgba(95, 231, 255, 0.35);
}
.duel.in .layer:nth-child(2) {
  transition-delay: 0.12s;
}
.duel.in .layer:nth-child(3) {
  transition-delay: 0.24s;
}
.duel.in .layer:nth-child(4) {
  transition-delay: 0.36s;
}

.duel-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: #8b96ad;
}

.duel-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #5d6881;
  padding: 20px 0;
}
.duel-vs i {
  width: 1px;
  flex: 1;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
.duel-vs span {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 40% 30%, rgba(95, 231, 255, 0.08), rgba(8, 11, 22, 0.9));
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: #aab4ca;
  box-shadow: 0 0 30px rgba(95, 231, 255, 0.07), inset 0 0 20px rgba(95, 231, 255, 0.04);
}

.wall-quote {
  margin: 78px auto 0;
  text-align: center;
  font-family: var(--font-cn);
  font-size: clamp(26px, 3.1vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: #dfe5f2;
  text-wrap: balance;
}
.wall-quote .grad {
  filter: drop-shadow(0 0 30px rgba(120, 150, 255, 0.2));
}

/* ── Bento / 实测数据 ───────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(232px, auto);
  gap: 16px;
}

.glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 46%, rgba(255, 255, 255, 0.007));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 60px -44px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 26px;
  border-radius: 22px;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 50%;
  top: -20%;
  left: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 160, 255, 0.08), transparent 68%);
  pointer-events: none;
}
.card:hover {
  border-color: rgba(130, 170, 255, 0.26);
  box-shadow: 0 34px 80px -46px rgba(40, 70, 180, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.card-rounds {
  grid-column: span 6;
  grid-row: span 2;
}
.card-context {
  grid-column: span 3;
}
.card-cache {
  grid-column: span 3;
}
.card-tokens {
  grid-column: span 3;
}
.card-speed {
  grid-column: span 3;
}
.card-time {
  grid-column: span 6;
}
.card-cost {
  grid-column: span 6;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.card-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  color: #77829b;
  text-transform: uppercase;
}
.card-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: #7defc8;
}
.card-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 8px rgba(110, 231, 183, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

.pill-mini {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: #8fa0bd;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.card-big {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 7px;
  font-family: var(--font-sans);
  font-size: clamp(46px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 12%, #aebddc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.card-big i {
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: #8d9ab4;
  -webkit-text-fill-color: #8d9ab4;
  margin-left: 2px;
}
.card-big.sm {
  font-size: 40px;
}
.card-big.cache {
  background: linear-gradient(180deg, #e5ffff 10%, #6fe8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.card-big.cost {
  background: linear-gradient(180deg, #f4ecff 8%, #b18cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.card-big.cost i {
  font-size: 25px;
  color: #9f8ccc;
  -webkit-text-fill-color: #9f8ccc;
  margin-right: 2px;
  align-self: flex-start;
  margin-top: 6px;
}

.card-desc {
  margin: 0 0 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #8b96ad;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 9.5px;
  color: #67728b;
}
.card-foot .mono {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #5d6881;
}

.session-art {
  position: relative;
  flex: 1;
  min-height: 198px;
  margin: 4px 0 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.art-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.art-rings i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 150, 255, 0.07);
}
.art-rings i:nth-child(1) {
  width: 44%;
  height: 44%;
}
.art-rings i:nth-child(2) {
  width: 66%;
  height: 66%;
}
.art-rings i:nth-child(3) {
  width: 90%;
  height: 90%;
  border-style: dashed;
  border-color: rgba(120, 150, 255, 0.055);
}
.session-art::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 231, 255, 0.11), rgba(139, 92, 246, 0.07) 46%, transparent 70%);
  filter: blur(22px);
}
.spiral-lines {
  position: absolute;
  width: min(100%, 336px);
  height: auto;
  aspect-ratio: 1;
  opacity: 0.8;
  overflow: visible;
}
.spiral-lines path {
  stroke: rgba(132, 170, 255, 0.3);
  stroke-width: 0.32;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spiral-dots {
  position: absolute;
  width: min(100%, 336px);
  aspect-ratio: 1;
}
.spiral-dots span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c, #6be9ff);
  box-shadow: 0 0 5px color-mix(in srgb, var(--c, #6be9ff) 60%, transparent);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.9;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
  transition-delay: calc(var(--i) * 4ms);
}
.js .card-rounds:not(.in) .spiral-dots span {
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0.2;
}
.spiral-dots span:last-child {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 14px 3px rgba(177, 140, 255, 0.55);
}
.art-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #eef6ff;
  text-shadow: 0 0 28px rgba(95, 231, 255, 0.35);
  padding: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 7, 14, 0.92) 0%, rgba(5, 7, 14, 0.55) 45%, transparent 72%);
}
.art-center small {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #8390aa;
}

.context-main {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 2px 0 16px;
}
.ring {
  --p: 11;
  position: relative;
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #5fe7ff 0 calc(var(--p) * 1%), rgba(255, 255, 255, 0.065) calc(var(--p) * 1%) 100%);
  box-shadow: 0 0 30px -10px rgba(95, 231, 255, 0.35);
  transition: --p 1.6s var(--ease);
}
.js .card-context:not(.in) .ring {
  --p: 0;
}
.ring-in {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #0a0e19;
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ring-in span {
  display: flex;
  align-items: baseline;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #eaffff;
  font-variant-numeric: tabular-nums;
}
.ring-in span i {
  font-style: normal;
  font-size: 10px;
  color: #6fe8ff;
  margin-left: 1px;
}
.ring-in small {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  color: #6a7590;
}
.context-copy {
  min-width: 0;
}
.context-copy p {
  margin: 5px 0 0;
  font-size: 10.5px;
  line-height: 1.65;
  color: #98a3ba;
}
.context-copy p span {
  font-family: var(--mono);
  font-size: 7.5px;
  color: #64708a;
  letter-spacing: 0.02em;
}

.comp {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}
.comp-row {
  display: grid;
  grid-template-columns: 60px 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #7d88a2;
}
.comp-row b {
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 400;
  color: #aab6ce;
  text-align: right;
}
.comp-row i {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.comp-row em {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(95, 231, 255, 0.8), rgba(139, 92, 246, 0.75));
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 1.3s var(--ease) 0.2s;
}
.js .card-context:not(.in) .comp-row em {
  transform: scaleX(0);
}

.cache-bar {
  position: relative;
  height: 6px;
  margin: 4px 0 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.cache-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 99%;
  border-radius: 4px;
  background: linear-gradient(90deg, #5fe7ff, #7a9aff);
  box-shadow: 0 0 16px rgba(95, 231, 255, 0.6);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 1.4s var(--ease) 0.15s;
}
.js .card-cache:not(.in) .cache-bar i {
  transform: scaleX(0);
}

.micro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 9px;
  color: #6e7992;
}
.micro-row b {
  font-weight: 500;
  color: #aab6ce;
}
.ml-auto {
  margin-left: auto;
}

.stack-bar {
  display: flex;
  height: 7px;
  margin: 5px 0 14px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.stack-bar i {
  display: block;
  width: var(--w);
  height: 100%;
}
.stack-bar .in {
  background: #5fe7ff;
}
.stack-bar .cache {
  background: linear-gradient(90deg, #5b8cff, #b18cff);
}
.stack-bar .out {
  background: #e879f9;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 50px;
  margin: 5px 0 12px;
}
.eq i {
  width: 4px;
  height: var(--h);
  border-radius: 2px;
  background: linear-gradient(180deg, #9bf5ff, #6d8bff);
  opacity: 0.85;
  animation: eqBounce 1.8s ease-in-out infinite alternate;
  animation-delay: var(--t);
  transform-origin: bottom;
}
.js .card-speed:not(.in) .eq i {
  animation: none;
  transform: scaleY(0.15);
}

.time-row {
  display: flex;
  align-items: flex-end;
  gap: clamp(22px, 4vw, 46px);
  margin: 8px 0 20px;
}
.time-row > div {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.time-row span {
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  color: #eef4ff;
}
.time-row small {
  font-size: 9px;
  line-height: 1.5;
  color: #7e89a2;
  margin-bottom: 1px;
}
.time-row .time-ttft {
  margin-left: auto;
}
.time-row .time-ttft span {
  font-size: 28px;
  color: #9fc4ff;
}

.time-bar {
  display: flex;
  height: 6px;
  margin: 0 0 14px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.time-bar i {
  width: var(--w);
  background: linear-gradient(90deg, #5fe7ff, #6d8bff);
}
.time-bar b {
  width: var(--w);
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
}

.card-watermark {
  position: absolute;
  right: 18px;
  bottom: -10px;
  z-index: 0;
  font-family: var(--font-sans);
  font-size: clamp(76px, 8vw, 116px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: #9fb8ff;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.card-watermark small {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  vertical-align: middle;
}
.card > *:not(.card-watermark) {
  position: relative;
  z-index: 1;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.legend::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #5fe7ff;
}
.legend.tool::before {
  background: #a78bfa;
}

.cost-note {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(177, 140, 255, 0.13);
  background: rgba(139, 92, 246, 0.05);
  font-size: 10.5px;
  line-height: 1.7;
  color: #8d97ae;
}
.cost-note b {
  color: #ccb8ff;
  font-weight: 500;
}

.data-note {
  margin: 24px 0 0;
  font-size: 10px;
  line-height: 1.8;
  color: #6d7892;
  text-align: right;
  letter-spacing: 0.02em;
}

/* ── Architecture ───────────────────────────────────────── */
.arch {
  padding-bottom: 96px;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease);
}
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 243, 255, 0.38), transparent);
  opacity: 0.6;
  pointer-events: none;
}
.arch-grid .feature:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, rgba(113, 142, 255, 0.45), transparent);
}
.arch-grid .feature:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, rgba(177, 140, 255, 0.45), transparent);
}
.arch-grid .feature:nth-child(2) .feature-icon {
  color: #9db8ff;
  border-color: rgba(113, 142, 255, 0.26);
}
.arch-grid .feature:nth-child(3) .feature-icon {
  color: #c9adff;
  border-color: rgba(177, 140, 255, 0.26);
}
.feature:hover {
  border-color: rgba(130, 170, 255, 0.26);
  box-shadow: 0 34px 80px -46px rgba(40, 70, 180, 0.5);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 13px;
  border: 1px solid rgba(120, 170, 255, 0.24);
  background: linear-gradient(135deg, rgba(76, 125, 246, 0.18), rgba(139, 92, 246, 0.09));
  color: #9fc4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 28px -12px rgba(80, 120, 255, 0.55);
}
.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-kicker {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #6d7a96;
}
.feature h3 {
  margin: 9px 0 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f0f5ff;
}
.feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #949fb7;
}
.feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: #5d6880;
}
.feature-foot i {
  font-style: normal;
  color: #7c87a2;
}

/* handoff */
.handoff {
  position: relative;
  margin-top: 18px;
  padding: 36px 40px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, rgba(76, 125, 246, 0.075), rgba(139, 92, 246, 0.035) 52%, rgba(255, 255, 255, 0.014));
  overflow: hidden;
}
.handoff-glow {
  position: absolute;
  width: 52%;
  height: 180%;
  top: -70%;
  left: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 231, 255, 0.1), rgba(139, 92, 246, 0.06) 42%, transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}
.handoff-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.handoff-head .eyebrow {
  margin: 0;
  font-size: 8.5px;
  color: #73809c;
}
.handoff-head h3 {
  margin: 8px 0 0;
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #eef4ff;
  text-align: right;
  text-wrap: balance;
}

.handoff-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr);
  align-items: stretch;
}
.flow-line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(95, 231, 255, 0.3) 18%, rgba(177, 140, 255, 0.32) 82%, transparent);
}
.flow-packet {
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9f6ff;
  box-shadow: 0 0 16px 4px rgba(95, 231, 255, 0.55);
  animation: packetMove 4.6s var(--ease) infinite;
}

.agent-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 19px 21px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 10, 21, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.9);
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.agent-orb {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #4c7df6, #5f6be6);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.agent-orb.violet {
  background: linear-gradient(135deg, #8b5cf6, #b06cf6);
}
.agent-head b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  color: #eef4ff;
}
.agent-head small {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: #6d7994;
}
.agent-state {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #7e8aa1;
}
.agent-state.on {
  color: #7defc8;
  border-color: rgba(110, 231, 183, 0.28);
  background: rgba(110, 231, 183, 0.06);
}
.agent-bubble {
  margin: 0;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-top-left-radius: 3px;
  background: rgba(255, 255, 255, 0.028);
  font-size: 11.5px;
  line-height: 1.75;
  color: #a8b3c9;
}
.agent-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: #5f6b84;
}

.core-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  text-align: center;
}
.core-node-orb {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: var(--grad-brand);
  box-shadow: 0 0 44px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.core-node-orb svg {
  width: 29px;
  height: 29px;
}
.pulse {
  position: absolute;
  inset: -9px;
  border-radius: 26px;
  border: 1px solid rgba(120, 170, 255, 0.3);
  animation: ringPulse 3.4s ease-out infinite;
}
.pulse.p2 {
  animation-delay: 1.7s;
}
.core-node b {
  font-size: 12px;
  font-weight: 600;
  color: #eaf1ff;
}
.core-node small {
  font-size: 8.5px;
  color: #7c88a1;
}
.core-node-layers {
  display: flex;
  gap: 3px;
  margin-top: 5px;
}
.core-node-layers i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 6px;
  letter-spacing: 0.06em;
  color: #9fb4e8;
  padding: 2px 4px;
  border-radius: 3px;
  border: 1px solid rgba(120, 170, 255, 0.18);
  background: rgba(76, 125, 246, 0.08);
}
.handoff-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: #75809a;
}

/* ── Beta ───────────────────────────────────────────────── */
.beta {
  padding-top: 96px;
  padding-bottom: 104px;
}

.beta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding: clamp(34px, 5vw, 64px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(30, 42, 90, 0.52), rgba(12, 15, 30, 0.72) 48%, rgba(55, 36, 95, 0.34));
  overflow: hidden;
  box-shadow: 0 50px 140px -60px rgba(60, 70, 190, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.beta-panel::before {
  content: "";
  position: absolute;
  width: 46%;
  height: 90%;
  top: -35%;
  left: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 231, 255, 0.12), transparent 66%);
  filter: blur(24px);
  pointer-events: none;
}
.beta-panel::after {
  content: "";
  position: absolute;
  width: 52%;
  height: 80%;
  right: -18%;
  bottom: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}
.beta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 50%, #000 0%, transparent 72%);
  opacity: 0.6;
}
.beta-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.beta-copy .section-index {
  padding-top: 0;
  margin-bottom: 24px;
  color: #8b97af;
}
.beta-copy h2 {
  margin: 0;
  font-family: var(--font-cn);
  font-size: clamp(29px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.04em;
  color: #f6f9ff;
}
.beta-copy h2 .nowrap {
  white-space: nowrap;
}
.beta-copy h2 .grad {
  filter: drop-shadow(0 0 32px rgba(120, 150, 255, 0.22));
}
.beta-sub {
  max-width: 470px;
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: #a6b1c7;
}

.qq-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: fit-content;
  margin-top: 32px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 16, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qq-label {
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  color: #7e8aa2;
  white-space: nowrap;
}
.qq-num {
  font-family: var(--mono);
  font-size: clamp(23px, 2.5vw, 30px);
  user-select: all;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #f2f6ff;
  font-variant-numeric: tabular-nums;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: #c8d4e8;
  font-size: 10px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.copy-btn svg {
  width: 13px;
  height: 13px;
}
.copy-btn:hover {
  background: rgba(95, 231, 255, 0.08);
  border-color: rgba(95, 231, 255, 0.3);
}
.copy-btn.copied {
  color: #7defc8;
  border-color: rgba(110, 231, 183, 0.3);
  background: rgba(110, 231, 183, 0.07);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 440px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.steps li > span {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 7.5px;
  color: #8290aa;
}
.steps b {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #dfe8f8;
  line-height: 1.5;
}
.steps small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #77839c;
}
.beta-note {
  margin: 24px 0 0;
  font-size: 9.5px;
  color: #626e88;
  letter-spacing: 0.02em;
}

.qr-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  isolation: isolate;
}
.qr-glow {
  position: absolute;
  width: 78%;
  height: 70%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 231, 255, 0.16), rgba(139, 92, 246, 0.1) 48%, transparent 70%);
  filter: blur(44px);
}
.qr-card {
  position: relative;
  z-index: 1;
  width: min(100%, 328px);
  padding: 20px 20px 17px;
  border-radius: 22px;
  background: #f7f8fb;
  color: #0b1020;
  box-shadow: 0 34px 90px -22px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: floatY 7s ease-in-out infinite;
  will-change: transform;
}
.qr-card:hover {
  animation-play-state: paused;
}
.qr-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(10, 16, 32, 0.16);
}
.qr-mark {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--grad-brand);
  box-shadow: 0 6px 16px -4px rgba(76, 125, 246, 0.5);
}
.qr-mark svg {
  width: 18px;
  height: 18px;
}
.qr-title b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0b1020;
  line-height: 1.2;
}
.qr-title span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  color: #67728c;
}
.qr-beta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: #5164ff;
  border: 1px solid rgba(81, 100, 255, 0.28);
  background: rgba(81, 100, 255, 0.07);
  padding: 3px 5px;
  border-radius: 4px;
}
.qr-img {
  margin: 13px 0 11px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.qr-code-link {
  display: block;
  cursor: pointer;
}
.qr-img img {
  width: 100%;
  height: auto;
}
.qr-invite {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(95, 231, 255, 0.28);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: #a9c8ff;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.qr-invite:hover {
  color: var(--cyan);
  border-color: rgba(95, 231, 255, 0.55);
}
.qr-invite span {
  font-size: 10px;
}
.qr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 9.5px;
  color: #5c6780;
}
.qr-scan {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.14em;
  color: #8a93a8;
}
.qr-corner {
  position: absolute;
  width: 17px;
  height: 17px;
  border: 0 solid rgba(95, 231, 255, 0.55);
  pointer-events: none;
}
.qr-corner.tl {
  top: -7px;
  left: -7px;
  border-top-width: 1px;
  border-left-width: 1px;
  border-top-left-radius: 4px;
}
.qr-corner.tr {
  top: -7px;
  right: -7px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-right-radius: 4px;
}
.qr-corner.bl {
  bottom: -7px;
  left: -7px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-bottom-left-radius: 4px;
}
.qr-corner.br {
  bottom: -7px;
  right: -7px;
  border-bottom-width: 1px;
  border-right-width: 1px;
  border-bottom-right-radius: 4px;
}
.qr-note {
  margin: 17px 0 0;
  font-size: 8.5px;
  letter-spacing: 0.03em;
  color: #66728b;
  text-align: center;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding: 44px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(3, 5, 11, 0.55);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 9px;
}
.footer-brand .brand-mark svg {
  width: 17px;
  height: 17px;
}
.footer-brand .brand-word {
  font-size: 15px;
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #707b94;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding-top: 6px;
  font-size: 10.5px;
  color: #8a95ac;
}
.footer-links a {
  transition: color 0.25s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links a span {
  color: #7f8aa2;
  font-size: 9px;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: #57627b;
  text-align: right;
}
.footer-tagline {
  color: #6f7c98;
}

/* ── Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 220;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-radius: 14px;
  border: 1px solid rgba(110, 231, 183, 0.26);
  background: rgba(9, 13, 24, 0.94);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  border-color: rgba(255, 128, 149, 0.3);
}
.toast.error .toast-icon {
  background: rgba(255, 128, 149, 0.1);
  border-color: rgba(255, 128, 149, 0.28);
  color: #ff9cac;
}
.toast-icon {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.25);
  color: #7defc8;
}
.toast-icon svg {
  width: 14px;
  height: 14px;
}
.toast b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #eef4ff;
}
.toast span {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: #7b87a0;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* auto-glow helper for cursor */
.fine-pointer .cursor-glow.visible {
  opacity: 1;
}

/* ── 动画 ───────────────────────────────────────────────── */
@keyframes gradShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
@keyframes driftA {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-4vw, 5vh, 0) scale(1.08);
  }
}
@keyframes driftB {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(5vw, -4vh, 0) scale(1.12);
  }
}
@keyframes driftC {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-3vw, -5vh, 0) scale(1.06);
  }
}
@keyframes pulseRing {
  0% {
    opacity: 0.7;
    transform: scale(0.6);
  }
  70% {
    opacity: 0;
    transform: scale(1.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dashFlow {
  to {
    stroke-dashoffset: -240;
  }
}
@keyframes cueDrop {
  0% {
    opacity: 0;
    transform: scaleY(0.2);
    transform-origin: top;
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: top;
  }
}
@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}
@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes eqBounce {
  0% {
    transform: scaleY(0.35);
  }
  100% {
    transform: scaleY(1);
  }
}
@keyframes packetMove {
  0% {
    left: 0;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 6px);
    opacity: 0;
  }
}
@keyframes ringPulse {
  0% {
    opacity: 0.55;
    transform: scale(0.88);
  }
  80% {
    opacity: 0;
    transform: scale(1.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/* ── 响应式 ─────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .container {
    padding: 0 26px;
  }
  .hero-inner {
    gap: 26px;
  }
  .hero-copy {
    padding-right: 4px;
  }
  .hero-metrics {
    max-width: 100%;
  }
  .metric {
    padding-right: 18px;
    margin-right: 18px;
  }
  .section-head {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 28px;
  }
  .card {
    padding: 22px;
  }
  .beta-panel {
    gap: 38px;
  }
  .handoff {
    padding: 32px 30px 26px;
  }
  .handoff-flow {
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  }
}

@media (max-width: 1120px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
  .card-rounds {
    grid-column: span 2;
    grid-row: span 1;
  }
  .card-context,
  .card-cache,
  .card-tokens,
  .card-speed {
    grid-column: span 1;
  }
  .card-time,
  .card-cost {
    grid-column: span 2;
  }
  .card-rounds .session-art {
    min-height: 220px;
    max-height: 250px;
  }
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .mobile-menu {
    display: block;
  }
  .nav-end {
    margin-left: auto;
  }
  .hero {
    min-height: auto;
    padding: 136px 0 80px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-visual {
    margin-top: 8px;
  }
  .core-wrap {
    width: min(100%, 560px);
  }
  .core-caption {
    margin-top: 2px;
  }
  .scroll-cue {
    display: none;
  }
  .section {
    padding: 112px 0;
  }
  .arch-grid {
    gap: 12px;
  }
  .feature {
    padding: 26px;
  }
  .handoff-flow {
    grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
  }
  .agent-card {
    padding: 17px;
  }
  .beta-panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    padding: 38px;
    gap: 30px;
  }
  .qr-card {
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 26px;
  }
  .footer-meta {
    grid-column: span 2;
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
  }
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 44px;
  }
  .section-index {
    padding-top: 0;
  }
  .duel {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .duel-vs {
    display: none;
  }
  .duel-card {
    min-height: 340px;
  }
  .arch-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .feature {
    min-height: 0;
  }
  .handoff-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .flow-line {
    display: none;
  }
  .core-node {
    padding: 10px 0;
  }
  .core-node-orb {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin-bottom: 4px;
  }
  .handoff-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .handoff-head h3 {
    text-align: left;
  }
  .beta-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .qr-wrap {
    margin-top: 4px;
  }
  .qr-card {
    width: min(100%, 330px);
  }
  .beta-copy h2 {
    font-size: clamp(32px, 6vw, 46px);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .footer-meta {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .nav {
    top: 10px;
    padding: 0 10px;
  }
  .nav-inner {
    padding: 0 9px 0 13px;
    height: 60px;
    border-radius: 16px;
    gap: 10px;
  }
  :root {
    --nav-h: 60px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    border-radius: 9px;
  }
  .brand-mark svg {
    width: 18px;
    height: 18px;
  }
  .brand-word {
    font-size: 15.5px;
  }
  .brand-beta {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .mobile-menu {
    left: 10px;
    right: 10px;
    top: calc(var(--nav-h) + 14px);
  }
  .hero {
    padding: 112px 0 62px;
  }
  .hero-inner {
    gap: 20px;
  }
  .eyebrow {
    font-size: 8.5px;
    letter-spacing: 0.13em;
    gap: 7px;
    margin-bottom: 22px;
  }
  .line-1 {
    font-size: clamp(27px, 7.4vw, 34px);
    letter-spacing: 0.04em;
    margin-bottom: 10px;
  }
  .limit-line {
    width: 32px;
    margin-left: 11px;
  }
  .limit-line em {
    display: none;
  }
  .line-2 {
    font-size: clamp(58px, 16vw, 78px);
  }
  .hero-en {
    font-size: 7.5px;
    letter-spacing: 0.17em;
    margin-top: 14px;
  }
  .hero-sub {
    margin-top: 20px;
    font-size: 14.5px;
    line-height: 1.9;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 10px;
  }
  .btn-lg {
    padding: 13px 20px;
    font-size: 14px;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    margin-top: 34px;
    padding-top: 20px;
    max-width: 460px;
  }
  .metric {
    padding-right: 14px;
    margin-right: 14px;
    gap: 5px;
  }
  .metric:nth-child(2n) {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
  }
  .metric-v {
    font-size: 19px;
  }
  .metric-k {
    font-size: 9px;
  }
  .core-wrap {
    width: min(100%, 92vw);
  }
  .chip-context {
    top: 4%;
    left: 0;
  }
  .chip-cache {
    top: auto;
    bottom: 12%;
    right: 0;
  }
  .chip-speed {
    display: none;
  }
  .orbit-tag {
    display: none;
  }
  .core-chip {
    min-width: 124px;
    padding: 9px 11px 8px;
  }
  .core-label {
    font-size: 6.5px;
    letter-spacing: 0.15em;
    bottom: 0;
  }
  .core-caption {
    font-size: 7.5px;
    margin-top: 6px;
  }
  .ticker {
    height: 50px;
  }
  .ticker-track {
    gap: 24px;
    animation-duration: 42s;
  }
  .ticker-track span {
    font-size: 8px;
  }
  .section {
    padding: 82px 0;
  }
  .wall {
    padding-top: 78px;
  }
  .arch {
    padding-bottom: 72px;
  }
  .beta {
    padding-top: 72px;
    padding-bottom: 78px;
  }
  .section-title .eyebrow {
    margin-bottom: 13px;
    font-size: 8px;
  }
  .section-title h2 {
    font-size: clamp(31px, 8.6vw, 40px);
  }
  .section-sub {
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.85;
  }
  .duel-card {
    min-height: 0;
    padding: 23px;
    border-radius: 20px;
  }
  .duel-top {
    margin-bottom: 22px;
  }
  .duel-name {
    font-size: 7.5px;
    letter-spacing: 0.11em;
  }
  .duel-card .duel-log {
    font-size: 9.5px;
  }
  .wall-quote {
    margin-top: 52px;
    font-size: clamp(24px, 6.8vw, 30px);
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .card-rounds,
  .card-context,
  .card-cache,
  .card-tokens,
  .card-speed,
  .card-time,
  .card-cost {
    grid-column: span 1;
  }
  .card {
    padding: 21px;
    border-radius: 19px;
  }
  .card-big {
    font-size: clamp(44px, 13vw, 56px);
  }
  .card-rounds .session-art {
    min-height: 206px;
    max-height: 230px;
  }
  .context-main {
    gap: 18px;
  }
  .ring {
    width: 102px;
    height: 102px;
  }
  .time-row {
    gap: 20px;
  }
  .time-row span {
    font-size: 34px;
  }
  .time-row small {
    font-size: 8px;
  }
  .time-row .time-ttft {
    display: none;
  }
  .time-row .time-ttft span {
    font-size: 24px;
  }
  .data-note {
    text-align: left;
    margin-top: 18px;
  }
  .arch-grid {
    gap: 12px;
  }
  .feature {
    padding: 23px;
  }
  .handoff {
    padding: 24px 20px 22px;
    border-radius: 22px;
  }
  .handoff-flow {
    gap: 12px;
  }
  .agent-card {
    padding: 16px;
  }
  .agent-bubble {
    font-size: 11px;
  }
  .handoff-foot {
    margin-top: 20px;
  }
  .beta {
    padding-bottom: 84px;
  }
  .beta-panel {
    padding: 26px 20px 34px;
    border-radius: 24px;
    gap: 34px;
  }
  .beta-copy h2 {
    font-size: clamp(28px, 7.8vw, 36px);
  }
  .beta-sub {
    margin-top: 16px;
    font-size: 13px;
  }
  .qq-row {
    width: 100%;
    gap: 12px;
    padding: 13px;
    margin-top: 26px;
  }
  .qq-label {
    padding-right: 11px;
    font-size: 9px;
  }
  .qq-num {
    font-size: clamp(21px, 6vw, 26px);
    white-space: nowrap;
  }
  .copy-btn span {
    display: none;
  }
  .copy-btn {
    padding: 8px;
    margin-left: auto;
  }
  .steps {
    margin-top: 24px;
    gap: 12px;
  }
  .qr-wrap {
    width: 100%;
  }
  .qr-card {
    width: min(100%, 316px);
    padding: 17px 17px 15px;
    border-radius: 19px;
  }
  .qr-head {
    gap: 8px;
  }
  .qr-mark {
    width: 29px;
    height: 29px;
  }
  .qr-title b {
    font-size: 11.5px;
  }
  .qr-title span {
    font-size: 7px;
  }
  .qr-img {
    margin: 11px 0 10px;
  }
  .footer {
    padding: 34px 0 30px;
  }
  .footer-links {
    gap: 18px;
    font-size: 10px;
  }
  .footer-meta {
    font-size: 7px;
  }
  .toast {
    width: calc(100% - 28px);
    bottom: 14px;
    padding: 12px 14px;
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .line-2 {
    font-size: 54px;
  }
  .beta-copy h2 {
    font-size: 26px;
  }
  .beta-copy h2 .nowrap {
    white-space: normal;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .qq-row {
    flex-wrap: wrap;
  }
  .qq-num {
    font-size: 22px;
  }
}

/* ── 降低动态偏好 ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    translate: none;
    filter: none;
  }
  .cursor-glow {
    display: none;
  }
  .ticker-track {
    animation: none;
  }
}
