@charset "utf-8";
/* ==========================================================================
   鼎上娱乐 · 企业级 AI 官网
   tokens.css — 设计变量 / 重置 / 排版基线
   版式体系：字面档案 EDITORIAL LEDGER
   类名前缀：.ds- 与语义化组件名，区别于历史模板的单一 style.css
   ========================================================================== */

:root {
  /* 墨色与纸色 */
  --ink: #0d131c;
  --ink-2: #1b2635;
  --ink-3: #3f4a59;
  --muted: #6d7785;
  --paper: #f4f4ef;
  --surface: #fbfbf8;
  --white: #ffffff;

  /* 线条 */
  --line: #dfe0d6;
  --line-2: #c6c9bc;
  --line-ink: rgba(233, 237, 226, 0.16);

  /* 主色与强调色 */
  --blue: #1b46f0;
  --blue-deep: #102da6;
  --blue-soft: #e7ecff;
  --lime: #d9f36b;
  --clay: #b8532f;

  /* 字体 */
  --sans: "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas,
    "Liberation Mono", monospace;

  /* 尺度 */
  --rail-w: 276px;
  --pad: 64px;
  --maxw: 1180px;
  --r: 2px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- 排版 ---------- */
h1,
h2,
h3,
h4 {
  font-weight: 640;
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
}

h2 {
  font-size: clamp(1.62rem, 2.5vw, 2.28rem);
}

h3 {
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

h4 {
  font-size: 0.98rem;
  letter-spacing: 0;
}

p {
  text-wrap: pretty;
}

/* ---------- 通用文字工具 ---------- */
.ds-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.ds-lead {
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--ink-3);
}

.ds-note {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
}

.ds-mono {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ds-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ds-skip {
  position: fixed;
  left: -9999px;
  top: 10px;
  z-index: 200;
  background: var(--ink);
  color: var(--lime);
  padding: 10px 18px;
  font-size: 0.85rem;
}

.ds-skip:focus {
  left: 12px;
}

/* ---------- 入场动效（JS 未执行时内容默认可见） ---------- */
[data-rise] {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.ds-js [data-rise] {
  opacity: 0;
  transform: translateY(14px);
}

html.ds-js [data-rise].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.ds-js [data-rise] {
    opacity: 1;
    transform: none;
  }
}
