/* ============================================================
   鹰爪 Yingzhao 官网 · 设计系统
   ─────────────────────────────────────────────────────────────
   参照系：Vercel / Stripe / Linear 那一路 —— 应用骨架 + 卡片容器 +
   成套控件。层次是**做加法**做出来的：面（画布/卡片/沉降）、投影、
   边框、字号阶、间距阶、控件尺寸，一个都不省。

   硬规矩：
   1. 一块内容 = 一张卡片（暖白底 + 1px 轻线边框 + 10px 圆角 + 极轻暖投影）。
      卡片用 `--line-soft`，铬条（页头/页脚/页面头）用 `--line` —— 卡片边框比铬条轻一档。
      卡片内部：`.card-head`（标题 + 说明 + 右侧动作）→ `.card-list`（整幅行）。
   2. 主橙 `#F45803` 只给「主按钮」和「当前项」；一屏里实心橙 ≤ 1 个。
   3. 状态一律「色点 ● + 文字」；数据一律等宽（版本、条数、时间、大小、设备号）。
   4. 错误一律 `--danger`。可点元素命中区 ≥ 32px（列表行 ≥ 44px）。
   5. 投影只用在「浮起来的东西」上：卡片、弹窗。暖褐色，不用冷灰。

   令牌取自产品（安卓 colors.xml / iOS PrefsRootView.swift / 桌面 index.css）：
   主橙 #F45803、按下 #D94B00、画布 #F6F1EA（与 App 同族）、卡片 #FFFFFF、
   沉降 #EFE7DE、发丝线 #E8DED4、状态 #3B6B3E / #C2410C / #B42318。
   ============================================================ */

/* ============================================================
   ① 令牌
   ============================================================ */
:root {
  /* 面 */
  --canvas: #f6f1ea;      /* 画布：比卡片深一档，卡片才浮得起来 */
  --surface: #FDFAF5;     /* 卡片 */
  --sunken: #efe7de;      /* 沉降：输入框底、当前项底、色板底 */
  --line: #e8ded4;        /* 铬条分界：页头/页脚/页面头/左导航 */
  --line-soft: #f1eae3;   /* 卡片边框与卡内行分隔：比铬条轻一档，卡片才不显得被框住 */
  --line-strong: #d9c8b8; /* 控件边框 */

  /* 墨度 */
  --ink: #1a1a1a;
  --text: #57504a;
  --label: #7a7168;
  --muted: #948a7f;       /* 只给「不读也不影响使用」的地方 */

  /* 主色 */
  --brand: #f45803;
  --brand-hover: #d94b00;
  --brand-wash: #fff1e8;

  /* 状态 */
  --ok: #3b6b3e;
  --pending: #c2410c;
  --danger: #b42318;

  /* 投影：暖褐，不用冷灰 */
  --shadow-sm: 0 1px 2px rgba(60, 40, 25, 0.06), 0 1px 1px rgba(60, 40, 25, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(60, 40, 25, 0.22), 0 2px 6px rgba(60, 40, 25, 0.06);

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-round: 50%;

  /* 字号阶 */
  --fs-meta: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 20px;
  --fs-2xl: 28px;

  /* 尺寸 */
  --container: 1080px;
  --header-h: 60px;
  --side-w: 216px;
  --ctl-h: 36px;

  --font-sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--canvas);
  line-height: 1.6;
  font-size: var(--fs-md);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

/* ============================================================
   ② 原语
   ============================================================ */

/* ---------- 文字 ---------- */
.label {
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--label);
}
.lead { font-size: var(--fs-lg); color: var(--text); max-width: 40em; }

/* ---------- 卡片：一块内容 = 一张卡 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card + .card { margin-top: 20px; }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.card-title { font-size: var(--fs-lg); font-weight: 600; color: var(--ink); line-height: 1.4; }
.card-desc { margin-top: 2px; font-size: var(--fs-sm); color: var(--label); }
.card-body { padding: 20px; }
.card-list > * + * { border-top: 1px solid var(--line-soft); }

/* ---------- 行：卡片里的一行东西 ---------- */
.row {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  min-height: 56px;
  padding: 12px 20px;
}
.row-icon { flex: 0 0 auto; display: inline-flex; color: var(--label); }
.row-icon img { width: 28px; height: 28px; border-radius: var(--r-sm); }
.row-main { flex: 1 1 200px; min-width: 0; display: grid; gap: 2px; }
.row-title { font-size: var(--fs-md); font-weight: 500; color: var(--ink); }
.row-sub { font-size: var(--fs-sm); color: var(--label); }
.row-note { font-size: var(--fs-sm); color: var(--pending); }
.row-end { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; }
.row-value { font-size: var(--fs-md); color: var(--ink); }
.row-value.is-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.row-time { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--label); }

/* 行右侧的「状态 + 时间」：固定两列，让状态点竖着成一列 */
.row-state { display: grid; grid-template-columns: 84px 96px; align-items: center; gap: 12px; }
.row-state .row-time { text-align: right; }

/* ---------- 状态：色点 + 文字 ---------- */
.dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--label);
  white-space: nowrap;
}
.dot::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: var(--r-round);
  background: currentColor;
}
.dot.is-ok { color: var(--ok); }
.dot.is-pending { color: var(--pending); }
.dot.is-danger { color: var(--danger); }

/* ---------- 控件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--ctl-h);
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--brand-hover); }
.btn[disabled] { background: var(--sunken); color: var(--label); cursor: default; }

.btn-secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { background: var(--sunken); border-color: var(--label); }

.btn-quiet { background: transparent; color: var(--text); }
.btn-quiet:hover { background: var(--sunken); color: var(--ink); }

.btn-sm { height: 32px; padding: 0 14px; font-size: var(--fs-sm); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.15s ease;
}
.link::after { content: "\2192"; color: var(--brand); transition: transform 0.15s ease; }
.link:hover { color: var(--brand); }
.link:hover::after { transform: translateX(3px); }

/* ---------- 表单 ---------- */
.field { display: grid; gap: 6px; }
.field-label { font-size: var(--fs-sm); font-weight: 500; color: var(--label); }
.field-wrap { position: relative; display: block; }
.input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font: inherit;
  font-size: var(--fs-md);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input::placeholder { color: var(--muted); }
.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(244, 88, 3, 0.14);
}
.input.is-invalid { border-color: var(--danger); }
.field-wrap .input { padding-right: 56px; }
.field-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--label);
}
.field-toggle:hover { color: var(--ink); background: var(--sunken); }
.form-error { font-size: var(--fs-sm); color: var(--danger); }

/* ---------- 空态 / 骨架 ---------- */
.empty { padding: 28px 20px; text-align: center; }
.empty-title { font-size: var(--fs-md); font-weight: 500; color: var(--ink); }
.empty-sub { margin-top: 4px; font-size: var(--fs-sm); color: var(--label); }
.empty-action { margin-top: 12px; }

.skeleton {
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sunken) 0%, #f7f1eb 50%, var(--sunken) 100%);
  background-size: 200% 100%;
  animation: skeleton-run 1.4s ease-in-out infinite;
}
@keyframes skeleton-run {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}
.skeleton-row { display: grid; gap: 8px; padding: 16px 20px; }
.skeleton-row + .skeleton-row { border-top: 1px solid var(--line-soft); }
.skeleton-row .skeleton:nth-child(2) { width: 45%; }
.skeleton-tile { width: 80px; height: 26px; }

/* ---------- 图标 ---------- */
.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 头像 ---------- */
.avatar {
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--r-round);
  background: var(--sunken);
  vertical-align: middle;
}
.avatar svg { display: block; width: 100%; height: 100%; }
.avatar-sm { width: 26px; height: 26px; }
.dl-slot { display: flex; align-items: center; gap: 10px; }
.platform-row .row-icon img { width: 32px; height: 32px; border-radius: 8px; }
.avatar-lg { width: 64px; height: 64px; }

/* ============================================================
   ③ 站点外壳
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 32px; }
.brand-mark { width: 20px; height: 20px; object-fit: contain; }
.brand-name { font-size: var(--fs-lg); font-weight: 600; color: var(--ink); }

.header-nav { display: flex; gap: 4px; margin-left: auto; }
.header-nav a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-md);
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}
.header-nav a:hover { background: var(--sunken); color: var(--ink); }
.header-nav a.is-current { color: var(--ink); font-weight: 500; }
html[data-page="download"] .header-nav a[data-nav="download"] { color: var(--ink); font-weight: 500; }

.header-account { display: flex; align-items: center; gap: 8px; }
.header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-round);
  transition: box-shadow 0.15s ease;
}
.header-avatar:hover { box-shadow: 0 0 0 3px var(--sunken); }

/* ---------- 展示页 ---------- */
.hero { padding: 72px 0 40px; }
.hero-title {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-sub { margin-top: 20px; max-width: 34em; font-size: var(--fs-lg); color: var(--text); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }

.section { padding: 64px 0; }
.section-title { color: var(--ink); font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -0.01em; }
.section-title + .card { margin-top: 20px; }

.page { padding: 40px 0 72px; }
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.page-title {
  margin-top: 6px;
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  outline: none;
}
.page-status { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 2px; }
.page-head + .lead { margin-bottom: 24px; }

/* ============================================================
   ④ 个人中心：左导航 + 右内容
   ============================================================ */
.shell { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); gap: 36px; align-items: start; }
  .side-nav { position: sticky; top: calc(var(--header-h) + 24px); }
}

.side-nav { display: flex; flex-wrap: wrap; gap: 4px; }
@media (min-width: 900px) { .side-nav { flex-direction: column; flex-wrap: nowrap; } }
.side-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-md);
  color: var(--text);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.side-nav button .icon { color: var(--label); }
.side-nav button:hover { background: var(--sunken); color: var(--ink); }
.side-nav button:hover .icon { color: var(--ink); }
.side-nav button[aria-current="page"] { background: var(--sunken); color: var(--ink); font-weight: 500; }
.side-nav button[aria-current="page"] .icon { color: var(--brand); }

.side-exit { color: var(--label); }
.side-exit:hover { background: #fbeae7 !important; color: var(--danger) !important; }
.side-exit:hover .icon { color: var(--danger) !important; }
@media (min-width: 900px) {
  .side-exit { margin-top: 16px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); }
}

/* ============================================================
   ⑤ 个人中心各区块
   ============================================================ */
.avatar-row { display: grid; gap: 20px; }
.avatar-line { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.picker { display: grid; gap: 16px; width: 100%; }
.picker-rows { display: grid; gap: 14px; }
.picker-row { display: grid; gap: 8px; }
.picker-label { font-size: var(--fs-sm); font-weight: 500; color: var(--label); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 28px;
  height: 28px;
  border-radius: var(--r-round);
  border: 1px solid rgba(26, 26, 26, 0.1);
  transition: box-shadow 0.15s ease;
}
.swatch:hover { box-shadow: 0 0 0 3px var(--sunken); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand); }
.picker-status { font-size: var(--fs-sm); color: var(--label); }
.picker-status.is-error { color: var(--danger); }

/* 转发量：三格，竖线分隔 */
.tiles { display: grid; gap: 20px; }
@media (min-width: 620px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .tile + .tile { border-left: 1px solid var(--line-soft); padding-left: 24px; }
  .tile:not(:last-child) { padding-right: 24px; }
}
.tile { display: grid; gap: 2px; }
.tile-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.tile-label { font-size: var(--fs-sm); color: var(--label); }

/* ---------- 登录弹窗 ---------- */
.modal {
  width: min(420px, calc(100vw - 32px));
  /* 全局 * { margin: 0 } 会把 UA 给 dialog 的 margin:auto 抹掉，居中要自己写回来 */
  margin: auto;
  max-height: min(88vh, 720px);
  /* 只允许纵向滚动：横向留 auto 会在部分平台画出一条空滚动条 */
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.modal::backdrop { background: rgba(26, 26, 26, 0.4); }
.modal-form { padding: 24px; }
.modal-title { color: var(--ink); font-size: var(--fs-xl); font-weight: 600; line-height: 1.35; }
.modal-sub { margin-top: 6px; font-size: var(--fs-sm); color: var(--label); }
.modal-form .field { margin-top: 18px; }
.modal-form .form-error { margin-top: 14px; }
.modal-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.modal-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--label);
}

/* ---------- 页脚 ---------- */
.site-footer { padding: 28px 0 40px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--label);
}
.footer-brand { color: var(--text); letter-spacing: 0.04em; }

/* ============================================================
   ⑥ 窄屏
   ============================================================ */
@media (max-width: 860px) {
  .header-nav { display: none; }
  .header-account { margin-left: auto; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 28px; }
  .section { padding: 48px 0; }
  .page { padding: 28px 0 56px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .card-head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px; }
  .card-body { padding: 16px; }
  .row { flex-wrap: wrap; padding: 12px 16px; }
  .row-end { width: 100%; justify-content: space-between; }
  /* 行右侧整组换行时，跟标题左对齐（图标 16 + 间距 12），别退回到行的内边距上 */
  .row:has(.row-icon) .row-end { padding-left: 28px; }
  .tiles { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .skeleton { animation: none; }
}

/* ============================================================
   官网首页重构：产品入口 + 工作流预览
   保留既有暖纸色与橙色主按钮，首页的层级通过网格、细线和留白建立。
   ============================================================ */
.hero {
  padding: 84px 0 76px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}
.hero-copy { max-width: 540px; }
.hero-title {
  max-width: 9.5em;
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.hero-title span { color: var(--text); }
.hero-sub {
  max-width: 31em;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.75;
}
.hero-cta { margin-top: 32px; gap: 8px; }
.hero-cta .btn-quiet { padding-left: 10px; padding-right: 10px; }
.hero-cta .btn-quiet span { color: var(--brand); font-size: 17px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--label);
  font-size: var(--fs-sm);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(59, 107, 62, 0.12);
}

.product-stage {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(253, 250, 245, 0.72);
  box-shadow: 0 18px 42px -26px rgba(60, 40, 25, 0.34);
}
.stage-topline, .stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--label);
  font-size: 11px;
}
.stage-kicker { letter-spacing: 0.14em; font-weight: 600; }
.stage-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.stage-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stage-window {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.stage-window-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 12px;
}
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.window-dots i:first-child { background: #d7a089; }
.window-time { justify-self: end; color: var(--muted); font-family: var(--font-mono); }
.stage-flow {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 10px;
  padding: 28px 18px 22px;
}
.flow-node { display: grid; gap: 5px; min-width: 0; }
.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  border-radius: 8px;
  background: var(--sunken);
  color: var(--ink);
}
.flow-icon .icon { width: 17px; height: 17px; }
.flow-label { color: var(--label); font-size: 11px; }
.flow-node strong { overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.flow-node small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.flow-desktop .flow-icon { background: var(--brand-wash); color: var(--brand); }
.flow-line { position: relative; display: flex; align-items: center; justify-content: space-between; height: 1px; background: var(--line-strong); }
.flow-line::after { content: ""; position: absolute; right: 0; width: 6px; height: 6px; border-top: 1px solid var(--brand); border-right: 1px solid var(--brand); transform: rotate(45deg); }
.flow-line i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.stage-table { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-top: 1px solid var(--line-soft); }
.stage-table > * { min-height: 42px; display: inline-flex; align-items: center; padding: 0 14px; }
.stage-table > *:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
.stage-table span { gap: 9px; min-width: 0; color: var(--text); font-size: 11px; }
.stage-table b { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.stage-table em { color: var(--muted); font-size: 10px; font-style: normal; font-family: var(--font-mono); }
.table-thumb { width: 20px; height: 20px; flex: 0 0 auto; border-radius: 5px; background: #d7b49b; }
.table-thumb-2 { background: #9fafa4; }
.stage-footer { justify-content: flex-start; gap: 18px; padding: 14px 2px 0; }
.stage-footer span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 6px 2px 0; border-radius: 50%; background: var(--brand); }

.signal-section { padding: 0; border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.signal-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 28px 28px 30px 0; }
.signal-item + .signal-item { padding-left: 28px; border-left: 1px solid var(--line); }
.signal-index { color: var(--brand); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.signal-item h2 { color: var(--ink); font-size: 15px; font-weight: 600; }
.signal-item p { margin-top: 5px; color: var(--label); font-size: 13px; line-height: 1.6; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading .section-title { margin-top: 6px; }
.section-heading > p { max-width: 25em; padding-bottom: 3px; color: var(--label); font-size: 13px; text-align: right; }
.section-title + .card { margin-top: 18px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr); gap: 36px; }
  .hero-title { font-size: clamp(38px, 5vw, 54px); }
  .signal-item { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .signal-item + .signal-item { padding-left: 18px; }
}

@media (max-width: 860px) {
  .header-nav { display: flex; margin-left: auto; }
  .header-nav a { padding: 0 8px; font-size: 13px; }
  .header-account { margin-left: 0; }
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-title { max-width: 12em; font-size: clamp(38px, 10vw, 52px); }
  .hero-sub { margin-top: 18px; font-size: 16px; }
  .product-stage { padding: 12px; }
  .stage-flow { grid-template-columns: 1fr 38px 1fr; padding: 22px 14px 18px; gap: 7px; }
  .flow-node strong { font-size: 13px; }
  .flow-node small { font-size: 10px; }
  .stage-footer { gap: 10px; font-size: 10px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-item, .signal-item + .signal-item { padding: 20px 0; border-left: 0; }
  .signal-item + .signal-item { border-top: 1px solid var(--line); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading > p { padding-bottom: 0; text-align: left; }
}

@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 15px; }
  .brand-mark { width: 18px; height: 18px; }
  .header-nav { gap: 0; }
  .header-nav a { padding: 0 5px; font-size: 12px; }
  .header-account .btn-sm { padding: 0 10px; }
  .hero-cta { align-items: stretch; flex-direction: column; }
  .hero-cta .btn { width: max-content; }
  .hero-note { align-items: flex-start; }
  .stage-window-head { grid-template-columns: auto 1fr auto; padding: 0 10px; }
  .stage-flow { padding-left: 10px; padding-right: 10px; }
  .stage-table > * { padding-left: 10px; padding-right: 10px; }
}
