/* ============================================================
   胡豆猫投标文件编制系统 · 官网设计系统
   客户选定效果图 · 皇家蓝 + 活力橙 + 浅蓝白底
   深海军 #0D1B3E | 皇家蓝 #2B5AED | 活力橙 #FF912C | 浅蓝底 #EFF6FF
   ============================================================ */

:root {
  /* Core — Customer Selected Palette */
  --brand: #0D1B3E;
  --brand-2: #2B5AED;
  --brand-soft: #EEF2FF;
  --orange: #FF912C;
  --orange-soft: #FFF7ED;
  --orange-deep: #E07A15;
  --cyan: #38BDF8;
  --cyan-soft: #E0F2FE;
  --ink: #0F172A;
  --ink-soft: #334155;
  --slate: #475569;
  --rule: #E2E8F0;
  --rule-dark: rgba(255, 255, 255, 0.10);
  --paper: #EFF6FF;
  --paper-elevated: #FFFFFF;
  --paper-dim: #DBEAFE;
  --signal: #DC2626;
  --signal-soft: #FCA5A5;
  --pass: #16A34A;
  --pass-soft: #4ADE80;

  /* Brand aliases (legacy compat) */
  --navy: var(--brand);
  --navy-soft: var(--brand-2);
  --navy-deep: #061A30;
  --accent: var(--brand);
  --accent-deep: #061A30;
  --accent-soft: var(--brand-soft);
  --gold: var(--orange);
  --gold-soft: var(--orange-soft);
  --gold-deep: var(--orange-deep);

  /* Surfaces */
  --surface: var(--paper);
  --surface-elevated: var(--paper-elevated);
  --line: var(--rule);
  --line-dark: var(--rule-dark);
  --hairline: rgba(10, 37, 64, 0.10);
  --hairline-dark: rgba(255, 255, 255, 0.12);
  --dark: var(--brand);
  --dark-2: var(--brand-2);
  --dark-3: #061A30;
  --white: #FFFFFF;
  --muted: #526071;
  --gray-light: #64748B;
  --text-secondary: var(--ink-soft);
  --text-muted: var(--slate);
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.76);
  --warn: var(--signal);

  /* Legacy class compatibility */
  --teal: var(--brand);
  --teal-deep: #061A30;
  --copper: var(--orange);
  --copper-soft: var(--orange-soft);

  --nav-h: 64px;
  --max: 1240px;
  --section-y: clamp(44px, 5vh, 56px);
  --section-head: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-btn: 12px;
  --shadow-soft: 0 8px 32px rgba(43, 90, 237, 0.08);
  --shadow-lift: 0 16px 48px rgba(43, 90, 237, 0.12);
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 520ms;
  --fs-h1: clamp(2.75rem, 4.2vw, 3.5rem);
  --fs-h2: clamp(2rem, 3vw, 2.5rem);
  --fs-h3: 1.375rem;
  --fs-body: 1rem;
  --fs-meta: 0.8125rem;
  --fs-caption: 0.8125rem;
  --fs-min: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  zoom: 1.1;
}

@supports (-moz-appearance: none) {
  html {
    zoom: 1;
    font-size: 110%;
  }

  :root {
    --nav-h: 70px;
    --max: 1364px;
  }
}

/* 移动端取消全局放大，避免横向滚动与布局错位 */
@media (max-width: 1024px) {
  html {
    zoom: 1;
  }

  @supports (-moz-appearance: none) {
    html {
      font-size: 100%;
    }

    :root {
      --nav-h: 64px;
      --max: 1240px;
    }
  }
}

body {
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-meta);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.label--copper { color: var(--accent); }
.label--light { color: var(--text-on-dark-muted); }

.accent-bar {
  display: block;
  width: 4px;
  height: 16px;
  background: var(--brand-2);
  margin-bottom: 0;
  border-radius: 2px;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 40em;
  margin-top: 12px;
  line-height: 1.75;
}

.section--dark .section-desc {
  color: var(--text-on-dark-muted);
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.divider--dark {
  border-color: var(--line-dark);
}

.hl { color: var(--accent); }
.hl-teal { color: var(--accent); }

.lead {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.85;
  max-width: 42em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition:
    background var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(180deg, #FFA24A 0%, var(--orange) 52%, #F4841E 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(255, 145, 44, 0.26);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #FF912C 0%, var(--orange-deep) 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(224, 122, 21, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.btn--outline {
  background: var(--white);
  color: var(--brand-2);
  border-color: rgba(59, 130, 246, 0.35);
}

.btn--outline:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
  background: var(--brand-soft);
}

.btn--outline-copper {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--outline-copper:hover {
  background: var(--accent);
  color: var(--white);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--teal:hover {
  background: var(--teal-deep);
}

.btn--sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-deep);
}

.text-link i {
  font-size: 12px;
  transition: transform 0.2s var(--ease);
}

.text-link:hover i {
  transform: translateX(4px);
}

.section--dark .text-link {
  color: var(--accent-soft);
}

.section--dark .text-link:hover {
  color: var(--white);
}

.section--dark .ico {
  color: var(--accent-soft);
}

/* ---------- Linear icons ---------- */
.ico {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
}

.ico--copper { color: var(--copper); }
.ico--light { color: var(--gray-light); }

.img-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: transparent;
  border: none;
}

.img-icon--sm { width: 24px; height: 24px; }
.img-icon--lg { width: 28px; height: 28px; }

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(248, 250, 255, 0.8);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(43, 90, 237, 0.07);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

/* 滚动后：略实色 + 阴影，与首屏透明态区分 */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--rule);
  box-shadow: 0 4px 24px rgba(13, 27, 62, 0.06);
}

/* 深色子页首屏（暗标审查、服务边界）保留深顶栏 */
.site-header.is-at-top-dark {
  background: rgba(13, 27, 62, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.site-header.is-at-top-dark.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--rule);
  box-shadow: 0 4px 24px rgba(13, 27, 62, 0.06);
}

.site-header.is-light {
  background: var(--surface);
  border-bottom-color: var(--hairline);
}

.site-header .nav-brand {
  color: var(--ink);
}

.site-header .nav-brand__text span {
  color: var(--text-muted);
}

.site-header .nav-link {
  color: var(--text-muted);
}

.site-header .nav-link:hover,
.site-header .nav-link.is-active,
.site-header .nav-item--drop:hover > .nav-link,
.site-header .nav-item--drop.is-open > .nav-link,
.site-header .nav-item--drop:focus-within > .nav-link {
  color: var(--brand-2);
}

.site-header .nav-toggle span {
  background: var(--ink);
}

.site-header .nav-actions .btn--ghost {
  border-color: rgba(43, 90, 237, 0.32);
  color: var(--brand-2);
}

.site-header .nav-actions .btn--ghost:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
  background: var(--brand-soft);
}

/* 深色首屏顶栏：白字体系 */
.site-header.is-at-top-dark:not(.is-scrolled) .nav-brand {
  color: var(--white);
}

.site-header.is-at-top-dark:not(.is-scrolled) .nav-brand__text span {
  color: var(--text-on-dark-muted);
}

.site-header.is-at-top-dark:not(.is-scrolled) .nav-link {
  color: var(--text-on-dark-muted);
}

.site-header.is-at-top-dark:not(.is-scrolled) .nav-link:hover,
.site-header.is-at-top-dark:not(.is-scrolled) .nav-link.is-active,
.site-header.is-at-top-dark:not(.is-scrolled) .nav-item--drop:hover > .nav-link,
.site-header.is-at-top-dark:not(.is-scrolled) .nav-item--drop.is-open > .nav-link,
.site-header.is-at-top-dark:not(.is-scrolled) .nav-item--drop:focus-within > .nav-link {
  color: var(--text-on-dark);
}

.site-header.is-at-top-dark:not(.is-scrolled) .nav-toggle span {
  background: var(--white);
}

.site-header.is-at-top-dark:not(.is-scrolled) .nav-actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.site-header.is-at-top-dark:not(.is-scrolled) .nav-actions .btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .nav-brand,
.site-header.is-light .nav-brand {
  color: var(--ink);
}

.site-header.is-scrolled .nav-brand__text span,
.site-header.is-light .nav-brand__text span {
  color: var(--text-muted);
  opacity: 1;
}

.site-header.is-scrolled .nav-link,
.site-header.is-light .nav-link {
  color: var(--text-muted);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-light .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active,
.site-header.is-light .nav-link.is-active,
.site-header.is-scrolled .nav-item--drop:hover > .nav-link,
.site-header.is-scrolled .nav-item--drop.is-open > .nav-link,
.site-header.is-scrolled .nav-item--drop:focus-within > .nav-link,
.site-header.is-light .nav-item--drop:hover > .nav-link,
.site-header.is-light .nav-item--drop.is-open > .nav-link,
.site-header.is-light .nav-item--drop:focus-within > .nav-link {
  color: var(--brand-2);
}

.site-header.is-scrolled .nav-toggle span,
.site-header.is-light .nav-toggle span {
  background: var(--ink);
}

.site-header.is-scrolled .nav-actions .btn--ghost,
.site-header.is-light .nav-actions .btn--ghost {
  border-color: rgba(43, 90, 237, 0.35);
  color: var(--brand-2);
}

.site-header.is-scrolled .nav-actions .btn--ghost:hover,
.site-header.is-light .nav-actions .btn--ghost:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
  background: var(--brand-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  z-index: 101;
  flex-shrink: 0;
}

.nav-brand__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
}

.nav-brand__text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

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

.nav-item--drop {
  position: relative;
}

.nav-item--drop > .nav-link i {
  transition: transform var(--motion-fast) var(--ease-out);
}

.nav-item--drop:hover > .nav-link i,
.nav-item--drop.is-open > .nav-link i,
.nav-item--drop:focus-within > .nav-link i {
  transform: rotate(180deg);
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  transition: color var(--motion-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link i {
  font-size: 10px;
  opacity: 0.85;
}

.nav-link--custom {
  font-weight: 700;
}

body.is-logged-in .nav-link--custom {
  color: #e86a17 !important;
  background: rgba(255, 145, 44, 0.16);
  border-radius: 6px;
}

body.is-logged-in .site-header.is-at-top-dark:not(.is-scrolled) .nav-link--custom {
  color: #ffb366 !important;
  background: rgba(255, 145, 44, 0.24);
}

.ewb-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 32px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.ewb-head__title {
  margin: 8px 0 6px;
  font-size: 28px;
  color: var(--brand);
}

.ewb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 720px;
}

.ewb-nav__item {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: var(--slate);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}

.ewb-nav__item:hover {
  color: var(--brand-2);
  border-color: rgba(43, 90, 237, 0.35);
}

.ewb-nav__item.is-active {
  color: #fff;
  background: var(--brand-2);
  border-color: var(--brand-2);
}

.ewb-filter .btn.is-active {
  color: #fff;
  background: var(--brand-2);
  border-color: var(--brand-2);
}

.ewb-panel {
  display: none;
}

.ewb-panel.is-active {
  display: block;
}

.ewb-bind {
  padding: 16px;
  border: 1px dashed rgba(232, 106, 23, 0.45);
  border-radius: 8px;
  background: rgba(255, 145, 44, 0.06);
}

.ewb-switch {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
}

.ewb-switch input {
  margin-top: 4px;
}

.account-manage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.account-manage__block {
  padding: 16px 18px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}
.account-manage__block h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.nav-badge {
  display: inline-block;
  min-width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: #e11d48;
  vertical-align: super;
}
.nav-badge[hidden] { display: none; }

.msg-center__announce {
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(20, 24, 32, 0.04));
  border: 1px solid rgba(234, 88, 12, 0.2);
}
.msg-center__announce h3 { margin: 0 0 6px; font-size: 15px; }
.msg-center__list { display: flex; flex-direction: column; gap: 10px; }
.msg-item {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.msg-item.is-unread { border-color: rgba(225, 29, 72, 0.35); box-shadow: inset 3px 0 0 #e11d48; }
.msg-item__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.msg-item__title { font-weight: 600; }
.msg-item__meta { font-size: 12px; color: #888; }
.msg-item__body { margin-top: 6px; color: #444; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }

/* 服务下拉：浅色毛玻璃面板（全状态统一，避免深底压在 Hero 上） */
.nav-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 400px;
  padding: 10px;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow:
    0 2px 4px rgba(13, 27, 62, 0.03),
    0 12px 32px rgba(13, 27, 62, 0.1),
    0 24px 56px rgba(43, 90, 237, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-out),
    visibility var(--motion-fast);
}

.nav-drop::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-drop::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.97);
  border-left: 1px solid rgba(226, 232, 240, 0.95);
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

.nav-item--drop:hover .nav-drop,
.nav-item--drop:focus-within .nav-drop,
.nav-item--drop.is-open .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-drop li {
  list-style: none;
  margin: 0;
}

.nav-drop a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 8px;
  border: 1px solid transparent;
  transition:
    color var(--motion-fast) var(--ease-out),
    background var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out);
}

.nav-drop a:hover,
.nav-drop a.is-active {
  color: var(--brand-2);
  background: var(--brand-soft);
  border-color: rgba(43, 90, 237, 0.1);
}

.nav-drop__num {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
  border-radius: 5px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  transition:
    background var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out);
}

.nav-drop a:hover .nav-drop__num,
.nav-drop a.is-active .nav-drop__num {
  color: var(--white);
  background: var(--brand-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 102;
  position: relative;
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  transition: transform 0.25s, opacity 0.25s, background 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero (split, light, AI tech) ---------- */
.hero {
  position: relative;
  background: #e8f2fc;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  min-height: max(640px, calc(100vh - 12px));
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #e8f2fc;
  background-image: url("../assets/bg/hero-ai-bidding.jpg");
  background-repeat: no-repeat;
  background-position: 78% center;
  background-size: cover;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(248, 251, 255, 0.9) 0%,
      rgba(248, 251, 255, 0.72) 22%,
      rgba(248, 251, 255, 0.22) 42%,
      rgba(248, 251, 255, 0.04) 58%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(248, 251, 255, 0.18) 0%,
      transparent 16%,
      transparent 82%,
      rgba(232, 242, 252, 0.4) 100%
    );
}

.hero__grid {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
  padding-top: clamp(28px, 5vh, 56px);
  padding-bottom: clamp(40px, 7vh, 72px);
}

.hero__copy {
  max-width: 34em;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(43, 90, 237, 0.1);
  box-shadow: 0 4px 16px rgba(43, 90, 237, 0.06);
}

.hero__eyebrow-bar {
  display: none;
}

.hero__eyebrow-text {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand-2);
  font-weight: 600;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.22em;
  font-size: clamp(2.4rem, 4.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.hero__title-line {
  display: block;
}

.hero__title-line--emph {
  font-weight: 700;
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  font-weight: 700;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.08em;
  height: 0.32em;
  background: rgba(255, 145, 44, 0.14);
  border-radius: 3px;
  z-index: -1;
}

.hero__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  max-width: 34em;
}

.hero__sub-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero__sub-note {
  font-size: 0.9375rem;
  color: var(--slate);
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
}

.hero__sub-note em {
  font-style: normal;
  font-weight: 600;
  color: var(--brand-2);
}

.hero__sub-list span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(43, 90, 237, 0.1);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  max-width: 460px;
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 12px 14px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(43, 90, 237, 0.08);
  box-shadow: 0 4px 14px rgba(43, 90, 237, 0.05);
}

.hero__feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #F5F8FF 0%, var(--brand-soft) 100%);
  color: var(--brand-2);
  font-size: 16px;
}

.hero__feature-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(43, 90, 237, 0.18);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.hero__trust-pill i {
  color: var(--brand-2);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-shot {
  position: relative;
  width: min(100%, 560px);
  margin: 0;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  animation: hero-shot-float 6.4s ease-in-out infinite;
}

.hero-shot__aura {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 0;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.28), rgba(43, 90, 237, 0.14) 42%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  animation: hero-aura-breathe 5.6s ease-in-out infinite;
}

.hero-shot__ring {
  position: absolute;
  inset: 4%;
  z-index: 0;
  border-radius: 28px;
  border: 1px solid rgba(43, 90, 237, 0.12);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.hero-shot__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(236, 244, 255, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 2px 4px rgba(13, 27, 62, 0.04),
    0 18px 48px rgba(43, 90, 237, 0.14),
    0 40px 80px rgba(13, 27, 62, 0.1);
}

.hero-shot__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  user-select: none;
  transform: scale(1.01);
}

.hero-shot__sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.08) 28%,
      transparent 48%
    ),
    linear-gradient(
      to top,
      rgba(13, 27, 62, 0.08) 0%,
      transparent 18%
    );
  mix-blend-mode: soft-light;
}

.hero-shot__base {
  position: absolute;
  left: 50%;
  bottom: -2%;
  z-index: 0;
  width: 72%;
  height: 12%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(43, 90, 237, 0.22), rgba(56, 189, 248, 0.08) 48%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  animation: hero-glow-idle 5.6s ease-in-out infinite;
}

@keyframes hero-shot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes hero-bot-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes hero-glow-idle {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes hero-aura-breathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@media (min-width: 1180px) {
  .hero-shot {
    width: min(100%, 600px);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-visual .product-mock {
  box-shadow: 0 24px 56px rgba(13, 27, 62, 0.22), 0 8px 32px rgba(43, 90, 237, 0.12);
}

/* Product UI Mockup */
.product-mock {
  width: 100%;
  max-width: 540px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--brand);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.product-mock__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline-dark);
  background: rgba(255, 255, 255, 0.02);
}

.product-mock__dot {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.product-mock__chrome-title {
  margin-left: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  font-weight: 400;
}

.product-mock__body {
  display: grid;
  grid-template-columns: 108px 1fr;
  min-height: 280px;
}

.product-mock__steps {
  border-right: 1px solid var(--hairline-dark);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-mock__step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.02em;
}

.product-mock__step span {
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.product-mock__step.is-done {
  color: rgba(255, 255, 255, 0.82);
}

.product-mock__step.is-done span {
  color: var(--pass-soft);
}

.product-mock__step.is-active {
  color: var(--white);
  background: rgba(255, 106, 26, 0.18);
  border-left: 2px solid var(--orange);
  padding-left: 4px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.product-mock__step.is-active span {
  color: var(--orange-soft);
}

.product-mock__main {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-mock__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-mock__tag {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border: 1px solid var(--hairline-dark);
  color: var(--gray-light);
}

.product-mock__tag--ok {
  border-color: rgba(22, 163, 74, 0.6);
  color: var(--pass-soft);
}

.product-mock__tag--warn {
  border-color: rgba(220, 38, 38, 0.6);
  color: var(--signal-soft);
}

.product-mock__table {
  border: 1px solid var(--hairline-dark);
  flex: 1;
}

.product-mock__row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid var(--hairline-dark);
}

.product-mock__row:last-child {
  border-bottom: none;
}

.product-mock__row--head {
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

.product-mock__row [data-mock-status] {
  transition: color var(--motion-fast) var(--ease-out);
}

.product-mock__row .is-ok { color: var(--pass-soft); }
.product-mock__row .is-run {
  color: var(--cyan-soft);
  animation: mockPulse 1.2s ease-in-out infinite;
}
.product-mock__row .is-wait { color: rgba(255, 255, 255, 0.55); }
.product-mock__row .is-warn { color: var(--signal-soft); }

.product-mock__step {
  transition:
    color var(--motion-fast) var(--ease-out),
    background var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out);
}

@keyframes mockPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .product-mock__row .is-run {
    animation: none;
  }
}

.product-mock__tag.is-dim {
  opacity: 0.35;
}

.product-mock__tag {
  transition: opacity var(--motion-fast) var(--ease-out);
}

/* Hero staged entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out);
}

.hero-visual.hero-enter {
  transform: translateY(12px) scale(0.98);
}

.hero.is-ready .hero-enter {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-ready .hero-visual.hero-enter {
  transform: translateY(0) scale(1);
}

.hero-enter[data-enter="0"] { transition-delay: 0ms; }
.hero-enter[data-enter="1"] { transition-delay: 100ms; }
.hero-enter[data-enter="2"] { transition-delay: 180ms; }
.hero-enter[data-enter="3"] { transition-delay: 260ms; }
.hero-enter[data-enter="4"] { transition-delay: 340ms; }
.hero-enter[data-enter="5"] { transition-delay: 420ms; }

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
}

.section--roomy,
.section--tight {
  padding: var(--section-y) 0;
}

.section--screen {
  min-height: 0;
  padding-block: var(--section-y);
  display: block;
}

.section--screen > .container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.section--screen .section__head {
  margin-bottom: var(--section-head);
}

.section--screen .section-desc {
  margin-top: 8px;
}

.section--screen.section--knives .section__head {
  margin-bottom: var(--section-head);
}

.section--screen.section--knives .knife-card {
  padding: 24px 24px 18px;
}

.section--screen.section--knives .knife-card__desc {
  margin-bottom: 14px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.section--screen.section--knives .knife-card__viz {
  padding: 14px;
}

.section--screen.section--knives .knife-score {
  padding-top: 12px;
}

.section--screen#pricing .step-bar {
  padding: 18px 24px;
}

.section--screen#pricing .pricing-table {
  margin-top: 20px;
}

.section--screen#pricing .pricing-table__head span,
.section--screen#pricing .pricing-table__label,
.section--screen#pricing .pricing-table__cell {
  padding: 14px 16px;
}

.section--screen#pricing .price-note {
  margin-top: 24px;
  padding: 12px 0 12px 16px;
  font-size: 0.9375rem;
}

@media (max-height: 780px) {
  .section--screen {
    min-height: auto;
  }
}

.section--dark {
  background: var(--dark);
  color: var(--white);
  position: relative;
}

.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
}

.section--dark > * {
  position: relative;
  z-index: 1;
}

.section--paper {
  background: var(--surface);
}

.section--dim {
  background: var(--paper-dim);
}

.section__head {
  margin-bottom: var(--section-head);
  text-align: center;
}

.section__head .section-title,
.section__head .section-desc {
  margin-inline: auto;
}

.section__meta {
  margin-bottom: 16px;
}

.section__meta .label {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---------- Pain 2×2 ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.pain-item__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.section--dark .pain-item__head {
  border-bottom-color: var(--line-dark);
}

.pain-item__num {
  font-size: 20px;
  color: var(--copper);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.pain-item__title {
  font-size: 22px;
  font-weight: 700;
}

.pain-item__text {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.8;
}

.section--dark .pain-item__text {
  color: var(--gray-light);
}

.section-kicker {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.section--dark .section-kicker {
  border-top-color: var(--line-dark);
}

.section-kicker p {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 28em;
}

/* ---------- Knives ---------- */
.knives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
}

.knife {
  padding: 8px 0;
}

.knife:first-child {
  padding-right: 72px;
  border-right: 1px solid var(--hairline-dark);
}

.knife-anchor {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.knife-anchor__step {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 0;
}

.knife-anchor__step.is-on {
  color: var(--accent-soft);
}

.knife-anchor__line {
  width: 20px;
  height: 1px;
  background: var(--hairline-dark);
  margin: 0 8px;
}

.knife-anchor--review {
  gap: 8px;
}

.knife-anchor__layer {
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 10px;
  border: 1px solid var(--hairline-dark);
  color: rgba(255, 255, 255, 0.4);
}

.knife-anchor__layer.is-on {
  border-color: rgba(184, 92, 56, 0.55);
  color: var(--signal-soft);
}

.knife__icon {
  margin-bottom: 20px;
}

.knife__icon .ico {
  width: 24px;
  height: 24px;
  font-size: 20px;
}

.knife__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.knife__text {
  font-size: var(--fs-body);
  color: var(--gray-light);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 36em;
}

.section--paper .knife:first-child {
  border-right-color: var(--hairline);
}

.section--paper .knife__text {
  color: var(--slate);
}

/* ---------- Showcase: dark split (text + mockup) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase__copy {
  max-width: 30em;
}

.showcase__sub {
  font-size: var(--fs-meta);
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.showcase__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.showcase__text {
  font-size: 1.0625rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.showcase__visual {
  display: flex;
  justify-content: center;
}

.showcase__visual .product-mock {
  max-width: 520px;
  box-shadow: 0 24px 60px rgba(6, 26, 48, 0.45);
}

/* ---------- Core capabilities (第二屏 · 两大核心能力) ---------- */
.section--knives {
  background: linear-gradient(180deg, #F7FAFF 0%, #EEF3FF 100%);
  position: relative;
}

.section--knives::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(43, 90, 237, 0.04), transparent 65%);
  pointer-events: none;
}

.section--knives > .container {
  position: relative;
  z-index: 1;
}

.section--knives .section__head {
  max-width: none;
  margin-bottom: var(--section-head);
}

.section--knives .section__meta {
  margin-bottom: 12px;
}

.section--knives .section__meta .label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.section--knives .section-title,
.section--knives .section-desc {
  max-width: 36em;
  margin-inline: auto;
}

.section--knives .section-desc {
  color: var(--text-secondary);
}

.knives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.knife-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 28px 28px 20px;
  background: var(--paper-elevated);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(13, 27, 62, 0.03),
    0 12px 32px rgba(43, 90, 237, 0.06);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.knife-card::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-2);
  z-index: 2;
}

.knife-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(165deg, rgba(43, 90, 237, 0.035) 0%, transparent 38%);
}

.knife-card--blind::before {
  background: var(--orange);
}

.knife-card--blind::after {
  background: linear-gradient(165deg, rgba(255, 145, 44, 0.05) 0%, transparent 38%);
}

.knife-card--credit:hover {
  border-color: rgba(43, 90, 237, 0.18);
  box-shadow:
    0 8px 20px rgba(13, 27, 62, 0.05),
    0 24px 48px rgba(43, 90, 237, 0.1);
}

.knife-card--blind:hover {
  border-color: rgba(255, 145, 44, 0.22);
  box-shadow:
    0 8px 20px rgba(13, 27, 62, 0.05),
    0 24px 48px rgba(255, 145, 44, 0.1);
}

.knife-card__head {
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.knife-card__num {
  flex-shrink: 0;
  margin-left: auto;
  padding-top: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: rgba(15, 23, 42, 0.28);
  user-select: none;
}

.knife-card--blind .knife-card__num {
  color: rgba(224, 122, 21, 0.4);
}

.knife-card__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0;
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.knife-card--blind .knife-card__icon {
  background: transparent;
  box-shadow: none;
}

.knife-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.knife-card__head-text {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.knife-card__label {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
  border-radius: 999px;
}

.knife-card__label--warn {
  color: var(--orange-deep);
  background: rgba(255, 145, 44, 0.12);
}

.knife-card__title {
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.knife-card__desc {
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.knife-card__viz {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  margin-bottom: 4px;
  border: 1px solid rgba(43, 90, 237, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #F7F9FF 0%, #F1F5FF 100%);
}

.knife-card--blind .knife-card__viz {
  background: linear-gradient(180deg, #FFF9F3 0%, #FFF4EA 100%);
  border-color: rgba(255, 145, 44, 0.12);
}

.knife-card__viz--blind {
  margin-bottom: 4px;
}

.knife-match {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1;
}

.knife-match__board {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.knife-match__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.knife-match__kicker--out {
  color: var(--brand-2);
}

.knife-match__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
}

.knife-match__pair--head {
  margin-bottom: 4px;
}

.knife-match__pair--head .knife-match__kicker {
  justify-self: end;
}

.knife-match__pair--head .knife-match__kicker--out {
  justify-self: start;
}

.knife-match__bar {
  display: block;
  height: 8px;
  width: var(--w, 80%);
  border-radius: 4px;
  background: rgba(13, 27, 62, 0.1);
  justify-self: end;
}

.knife-match__bar--out {
  justify-self: start;
  background: linear-gradient(90deg, var(--brand-2), #7AA2FF);
}

.knife-match__link {
  position: relative;
  display: block;
  height: 2px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(43, 90, 237, 0.35) 0 4px,
    transparent 4px 7px
  );
}

.knife-match__link::before,
.knife-match__link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(43, 90, 237, 0.45);
  transform: translateY(-50%);
}

.knife-match__link::before {
  left: -1px;
}

.knife-match__link::after {
  right: -1px;
}

.knife-score {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 90, 237, 0.08);
}

.knife-score__ring {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.knife-score__svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.knife-score__track,
.knife-score__fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.knife-score__track {
  stroke: rgba(43, 90, 237, 0.12);
}

.knife-score__fill {
  stroke: var(--brand-2);
  stroke-dasharray: 100 0;
  filter: drop-shadow(0 0 6px rgba(43, 90, 237, 0.25));
}

.knife-score__readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.knife-score__readout strong {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.03em;
}

.knife-score__readout span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-2);
}

.knife-score__note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  margin: 0;
}

.knife-score__note strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.knife-score__note span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.knife-scan {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  flex: 1;
}

.knife-scan__page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 10px 10px;
  border: 1px solid rgba(255, 145, 44, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(224, 122, 21, 0.06);
}

.knife-scan__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.knife-scan__logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #E8E0D4;
  flex-shrink: 0;
}

.knife-scan__heading {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #EDE4D6;
}

.knife-scan__line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #F0E4D6;
}

.knife-scan__line--semantic {
  background:
    linear-gradient(90deg, #F0E4D6 0 100%),
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 145, 44, 0.55) 6px 8px);
  background-blend-mode: normal;
  box-shadow: inset 0 -2px 0 0 transparent;
}

.knife-scan__table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 4px 5px;
  margin-top: 2px;
}

.knife-scan__table i {
  display: block;
  height: 8px;
  border-radius: 2px;
  background: #F3E9DC;
}

.knife-scan__table i:nth-child(3n) {
  width: 70%;
}

.knife-scan__cap {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
  text-align: center;
}

.knife-scan [data-mark] {
  transition:
    box-shadow var(--motion-base) var(--ease-out),
    background var(--motion-base) var(--ease-out),
    outline-color var(--motion-base) var(--ease-out);
}

.knife-scan[data-scan="0"] [data-mark="0"],
.knife-scan[data-scan="1"] [data-mark="1"],
.knife-scan[data-scan="2"] [data-mark="2"] {
  box-shadow: 0 0 0 3px rgba(255, 145, 44, 0.28);
  outline: 1px solid rgba(255, 145, 44, 0.7);
  outline-offset: 1px;
}

.knife-scan[data-scan="0"] .knife-scan__logo[data-mark="0"] {
  background: linear-gradient(135deg, #FB923C, #FDBA74);
}

.knife-scan[data-scan="0"] .knife-scan__line[data-mark="0"] {
  background: linear-gradient(90deg, #FB923C, #FECACA);
  width: 72%;
}

.knife-scan[data-scan="1"] .knife-scan__line--semantic {
  background: #F0E4D6;
  box-shadow: inset 0 -2px 0 0 #FB923C;
}

.knife-scan[data-scan="2"] .knife-scan__table {
  background: rgba(255, 145, 44, 0.08);
  border-radius: 4px;
  padding: 3px;
}

.knife-scan[data-scan="2"] .knife-scan__table i:nth-child(3n) {
  box-shadow: 2px 0 0 0 #FB923C;
}

.knife-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.knife-tags span {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate);
  background: rgba(43, 90, 237, 0.05);
  border: 0;
  border-radius: 999px;
}

.knife-card--blind .duo-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 145, 44, 0.1);
}

.knife-card--blind .duo-tabs__btn {
  flex: 1;
  min-width: 0;
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--slate);
}

.knife-card--blind .duo-tabs__btn.is-active {
  background: var(--paper-elevated);
  color: var(--orange-deep);
  box-shadow: 0 1px 4px rgba(13, 27, 62, 0.08);
  border-color: transparent;
}

.knife-card--blind .duo-tab-panels {
  margin-bottom: 0;
}

.knife-card--blind .duo-tab-panel {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.knife-card--blind .duo-tab-list {
  gap: 8px;
}

.knife-card--blind .duo-tab-list li {
  font-size: 0.8125rem;
  gap: 10px;
  padding: 6px 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.duo-tab-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 145, 44, 0.14);
  color: var(--orange-deep);
  font-size: 9px;
}

.knife-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.knife-quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  min-width: 0;
}

.knife-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.knife-card__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .knife-card__cta:hover::after {
    width: 100%;
  }

  .knife-card__cta:hover {
    gap: 10px;
  }

  .knife-card__cta:hover i {
    transform: translateX(3px);
  }
}

.knife-card__cta i {
  font-size: 11px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.knife-card__cta--blue {
  color: var(--brand-2);
}

.knife-card__cta--orange {
  color: var(--orange-deep);
}

/* ---------- Duo tabs (核心能力区 + 子页复用) ---------- */
.duo-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.duo-tabs__btn {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper-elevated);
  color: var(--slate);
  cursor: pointer;
  transition: background var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out);
}

.duo-tabs__btn.is-active {
  background: var(--brand-soft);
  border-color: rgba(43, 90, 237, 0.25);
  color: var(--brand-2);
}

.duo-tab-panels {
  margin-bottom: 20px;
  flex: 1;
}

.duo-tab-panel {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid rgba(43, 90, 237, 0.12);
}

.duo-tab-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.duo-tab-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink);
}

.duo-tab-list li i {
  color: var(--brand-2);
  font-size: 14px;
  flex-shrink: 0;
}

.duo-card__btn {
  text-decoration: none;
}

/* ---------- Service map (swimlane process) ---------- */
.service-map {
  --svc-pin: 64px;
  --svc-gap: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 255, 0.88) 100%);
  border: 1px solid rgba(43, 90, 237, 0.1);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 40px rgba(43, 90, 237, 0.06);
}

.service-map__lane {
  --lane-accent: var(--brand-2);
  --lane-accent-soft: rgba(43, 90, 237, 0.16);
  --lane-wash: rgba(43, 90, 237, 0.04);
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: var(--lane-wash);
}

.service-map__lane--guard {
  --lane-accent: var(--orange);
  --lane-accent-soft: rgba(255, 145, 44, 0.28);
  --lane-wash: rgba(255, 145, 44, 0.05);
}

.service-map__lane-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px 5px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--lane-accent);
  background: var(--paper-elevated);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(13, 27, 62, 0.06);
}

.service-map__lane-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lane-accent);
  box-shadow: 0 0 0 3px var(--lane-accent-soft);
}

.service-map__lane--guard .service-map__lane-tag {
  color: var(--orange-deep);
}

.service-map__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--svc-gap);
  align-items: stretch;
}

.service-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.service-node:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(var(--svc-pin) / 2 - 1px);
  left: calc(50% + var(--svc-pin) / 2 + 6px);
  width: calc(50% - var(--svc-pin) / 2 - 6px + var(--svc-gap) + 50% - var(--svc-pin) / 2 - 8px);
  height: 2px;
  background: var(--lane-accent-soft);
  pointer-events: none;
}

.service-node__pin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--svc-pin);
  height: var(--svc-pin);
  padding: 12px;
  border-radius: 50%;
  background: var(--paper-elevated);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 5px var(--lane-accent-soft),
    0 8px 18px rgba(13, 27, 62, 0.08);
  transition:
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out);
}

.service-node__pin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-node__stem {
  width: 2px;
  height: 14px;
  background: linear-gradient(180deg, var(--lane-accent-soft), rgba(43, 90, 237, 0.08));
}

.service-map__lane--guard .service-node__stem {
  background: linear-gradient(180deg, var(--lane-accent-soft), rgba(255, 145, 44, 0.08));
}

.service-node__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  flex: 1;
  min-height: 0;
  padding: 16px 16px 14px;
  background: var(--paper-elevated);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(13, 27, 62, 0.03),
    0 10px 24px rgba(43, 90, 237, 0.05);
  transition:
    border-color var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out);
}

.service-card:hover .service-node__pin {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 6px var(--lane-accent-soft),
    0 10px 22px rgba(13, 27, 62, 0.1);
}

.service-card:hover .service-node__body {
  transform: translateY(-3px);
  border-color: rgba(43, 90, 237, 0.28);
  box-shadow:
    0 8px 20px rgba(13, 27, 62, 0.05),
    0 18px 36px rgba(43, 90, 237, 0.12);
}

.service-map__lane--guard .service-card:hover .service-node__body {
  border-color: rgba(255, 145, 44, 0.4);
  box-shadow:
    0 8px 20px rgba(13, 27, 62, 0.05),
    0 18px 36px rgba(255, 145, 44, 0.14);
}

.service-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  color: var(--brand);
}

.service-card__text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 12px;
}

.service-card__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--lane-accent);
  letter-spacing: 0.02em;
}

.service-map__lane--guard .service-card__go {
  color: var(--orange-deep);
}

.service-card__go i {
  font-size: 11px;
  transition: transform var(--motion-fast) var(--ease-out);
}

.service-card:hover .service-card__go i {
  transform: translateX(3px);
}

.service-card .btn {
  align-self: center;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

/* ---------- Step bar (pricing journey) ---------- */
.step-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper-elevated);
  box-shadow: var(--shadow-soft);
}

.step-bar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.step-bar__dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--paper-dim);
  color: var(--muted);
  border: 1px solid var(--rule);
  transition: background var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out);
}

.step-bar__dot i {
  font-size: 15px;
}

.step-bar__item.is-on .step-bar__dot {
  background: var(--brand-2);
  color: var(--white);
  border-color: var(--brand-2);
}

.step-bar__item.is-hl .step-bar__dot {
  background: var(--orange);
  border-color: var(--orange);
}

.step-bar__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.step-bar__item.is-on .step-bar__label {
  color: var(--brand);
}

.step-bar__item.is-hl .step-bar__label {
  color: var(--orange-deep);
}

.step-bar__line {
  flex: 1;
  height: 2px;
  margin: 0 20px;
  background: linear-gradient(90deg, var(--brand-2), var(--rule));
  border-radius: 2px;
}

/* ---------- Pricing table ---------- */
.pricing-table {
  margin-top: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper-elevated);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pricing-table__head,
.pricing-table__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 0;
}

.pricing-table__head {
  background: var(--brand-soft);
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
}

.pricing-table__head span,
.pricing-table__label,
.pricing-table__cell {
  padding: 18px 20px;
  border-right: 1px solid var(--rule);
}

.pricing-table__head span:last-child,
.pricing-table__cell:last-child {
  border-right: 0;
}

.pricing-table__hl {
  color: var(--orange-deep);
}

.pricing-table__row:not(:last-child) {
  border-bottom: 1px solid var(--rule);
}

.pricing-table__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(238, 242, 255, 0.35);
}

.pricing-table__cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.pricing-table__cell--hl {
  background: var(--orange-soft);
  border-left: 1px solid rgba(255, 145, 44, 0.25);
  border-right: 1px solid rgba(255, 145, 44, 0.25);
}

.pricing-table__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pricing-table__bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--paper-dim);
  overflow: hidden;
}

.pricing-table__bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), #60A5FA);
}

.pricing-table__cell--hl .pricing-table__bar i {
  background: linear-gradient(90deg, var(--orange), #FBBF24);
}

@media (max-width: 720px) {
  .step-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .step-bar__line {
    width: 2px;
    height: 20px;
    margin: 0 auto;
    background: var(--rule);
  }
}

.price-block {
  padding: 28px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--paper-elevated);
  box-shadow: var(--shadow-soft);
}

.price-block:last-child {
  border-right: 1px solid var(--rule);
  padding: 28px 28px;
}

.price-block--hl {
  border-color: var(--orange);
  background: linear-gradient(160deg, var(--orange-soft), var(--paper-elevated));
  box-shadow: var(--shadow-lift);
}

.price-block--hl .price-block__num {
  color: var(--orange-deep);
}

.price-block__num {
  display: none;
}

.price-block__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand);
}

.price-block__text {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.8;
}

.price-note {
  margin-top: 48px;
  padding: 16px 0 16px 20px;
  border-left: 2px solid var(--orange);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- Bound list (closing / boundaries) ---------- */
.bound-list {
  border-top: 1px solid var(--line-dark);
}

.bound-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}

.bound-item h3 {
  font-size: 16px;
  font-weight: 700;
}

.bound-item p {
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  line-height: 1.75;
}

.closing-foot {
  margin-top: 48px;
}

.closing-foot p {
  font-size: 18px;
  font-weight: 500;
  margin: 12px 0 20px;
}

/* ---------- Page hero (aligned with homepage) ---------- */
.page-hero,
.page-hero--light {
  padding: calc(var(--nav-h) + 16px) 0 var(--section-y);
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-bottom: 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 48% at 86% 30%, rgba(43, 90, 237, 0.12), transparent 68%),
    radial-gradient(ellipse 36% 32% at 8% 18%, rgba(56, 189, 248, 0.06), transparent 70%),
    linear-gradient(180deg, #F8FAFF 0%, var(--paper) 70%);
}

.page-hero--warn::before {
  background:
    radial-gradient(ellipse 50% 48% at 86% 30%, rgba(255, 145, 44, 0.14), transparent 68%),
    linear-gradient(180deg, #FFF8F1 0%, var(--paper) 70%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.page-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 40px;
  align-items: center;
}

.page-hero__copy .hero__eyebrow {
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand);
  max-width: 16em;
}

.page-hero__desc {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 38em;
  line-height: 1.8;
}

.page-hero__desc.text-warn {
  color: var(--warn);
}

.page-hero__mark {
  display: inline-flex;
  margin-top: 16px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  font-weight: 600;
  background: var(--orange-soft);
  border-radius: 999px;
}

.page-hero__visual {
  min-width: 0;
}

.page-viz {
  padding: 18px;
  background: var(--paper-elevated);
  border: 1px solid rgba(43, 90, 237, 0.1);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 40px rgba(43, 90, 237, 0.07);
}

.page-viz--orange {
  border-color: rgba(255, 145, 44, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 40px rgba(255, 145, 44, 0.08);
}

.page-viz .knife-match,
.page-viz .knife-scan {
  gap: 10px;
}

.page-viz .knife-score {
  padding-top: 10px;
}

.page-viz .knife-score__ring {
  width: 64px;
  height: 64px;
}

.page-viz .knife-score__readout strong {
  font-size: 1.125rem;
}

.page-viz .knife-scan {
  grid-template-columns: 1fr;
}

.page-viz .knife-scan__page {
  min-height: 148px;
}

.page-viz__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-viz__chip {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-2);
  background: var(--brand-soft);
  border-radius: 999px;
}

.page-viz__chip.is-on {
  color: var(--white);
  background: var(--brand-2);
}

.page-viz__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.page-viz__bar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
}

.page-viz__bar span {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
}

.page-viz__bar i {
  display: block;
  height: 8px;
  width: var(--w, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), #7AA2FF);
}

.page-viz__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-viz__pane {
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(43, 90, 237, 0.04);
  text-align: center;
}

.page-viz__pane--ok {
  background: rgba(22, 163, 74, 0.08);
}

.page-viz__pane--no {
  background: rgba(220, 38, 38, 0.06);
}

.page-viz__pane strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.page-viz__pane span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

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

.page-viz__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  text-align: center;
}

.page-viz__node i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-2);
  background: var(--brand-soft);
  font-size: 13px;
}

.page-viz__node span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.page-viz__exam {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-viz__sheet {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #F7F9FF, #EEF3FF);
}

.page-viz__sheet-line {
  display: block;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: rgba(43, 90, 237, 0.12);
}

.page-viz__sheet-line:last-child {
  width: 62%;
  margin-bottom: 0;
}

.page-viz__score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.page-viz__score strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-2);
  font-variant-numeric: tabular-nums;
}

.page-viz__score span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Inner page cards */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.insight-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-card,
.panel-card {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--paper-elevated);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(43, 90, 237, 0.05);
}

.insight-card::before,
.panel-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-2);
}

.insight-card--gain::before {
  background: var(--orange);
}

.insight-card__tag,
.panel-card__tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
  border-radius: 999px;
}

.insight-card--gain .insight-card__tag {
  color: var(--orange-deep);
  background: rgba(255, 145, 44, 0.12);
}

.insight-card p,
.panel-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.panel-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.panel-card .btn {
  margin-top: 16px;
}

.quote-banner {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--brand);
  background: var(--paper-elevated);
  border: 1px solid rgba(43, 90, 237, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(43, 90, 237, 0.05);
}

.bound-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bound-card {
  padding: 22px 20px;
  background: var(--paper-elevated);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(43, 90, 237, 0.05);
}

.bound-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.bound-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mini-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-hero:not(.page-hero--light) .mini-flow {
  border-color: var(--hairline-dark);
  background: var(--dark-2);
}

.mini-flow--3 {
  grid-template-columns: repeat(3, 1fr);
}

.mini-flow__step {
  padding: 16px 14px;
  border-right: 1px solid var(--hairline);
}

.page-hero:not(.page-hero--light) .mini-flow__step {
  border-right-color: var(--hairline-dark);
}

.mini-flow__step:last-child {
  border-right: none;
}

.mini-flow__num {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper);
  margin-bottom: 8px;
}

.mini-flow__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.page-hero:not(.page-hero--light) .mini-flow__label {
  color: var(--white);
}

/* ---------- Flow steps ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}

.flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flow__step {
  padding: 20px 16px;
  background: var(--paper-elevated);
  border: 1px solid rgba(43, 90, 237, 0.08);
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.flow__step:not(:last-child)::after {
  content: none;
}

.flow__num {
  display: none;
}

.flow__icon {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 12px;
  background: transparent;
  border: 0;
  line-height: 1;
}

.flow__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.flow__label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow__sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.flow--dark {
  border-color: var(--line-dark);
}

.flow--dark .flow__sub {
  color: var(--gray-light);
}

.flow--dark .flow__icon {
  color: var(--copper);
}

.flow-arrow {
  display: none;
}

/* ---------- Pills (capability tags) ---------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--brand-soft);
  color: var(--brand-2);
  border: 1px solid transparent;
  transition: background var(--motion-fast) var(--ease-out),
    color var(--motion-fast) var(--ease-out);
}

.pill:nth-child(odd) {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.pill:hover {
  background: var(--paper-elevated);
  border-color: currentColor;
}

/* ---------- Compare (do / don't) ---------- */
.boundaries-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--rule);
  background: var(--paper-elevated);
  box-shadow: var(--shadow-soft);
}

.compare__col {
  min-width: 0;
}

.compare__col--dont {
  padding-left: 32px;
  border-left: 1px solid var(--rule);
}

.compare__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.compare__col--do .compare__head {
  color: var(--pass);
}

.compare__col--dont .compare__head {
  color: var(--signal);
}

.compare__head i {
  font-size: 20px;
}

.compare__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.compare__list strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}

.compare__list p {
  margin: 0;
}

.compare__mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 10px;
}

.compare__col--do .compare__mark {
  background: var(--pass-soft);
  color: var(--pass);
}

.compare__col--dont .compare__mark {
  background: var(--signal-soft);
  color: var(--signal);
}

/* ---------- Trust panel (replaces testimonials) ---------- */
.trust-panel {
  padding: 32px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--rule);
  background: var(--paper-elevated);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-panel__note {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.trust-panel__quote {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.7;
}

.trust-panel__btn {
  align-self: flex-start;
  margin-top: 8px;
}

.trust-panel .trust-badge {
  margin-top: 0;
  width: 100%;
  border-color: rgba(43, 90, 237, 0.22);
  background: var(--brand-soft);
  color: var(--brand);
}

.trust-panel .trust-badge i {
  color: var(--brand-2);
}

/* ---------- Trust badge ---------- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(43, 90, 237, 0.22);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1rem;
  font-weight: 500;
}

.trust-badge i {
  color: var(--brand-2);
  font-size: 16px;
}

@media (max-width: 720px) {
  .compare {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .compare__col--dont {
    padding-left: 0;
    padding-top: 24px;
    border-left: none;
    border-top: 1px solid var(--rule);
  }
}

/* ---------- Content blocks ---------- */
.content-block {
  margin-bottom: 48px;
}

.content-block__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.content-block__title--teal {
  color: var(--accent);
}

/* ---------- Expert entry (compact) ---------- */
.expert-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--paper-elevated);
}

.expert-entry__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 18px;
  flex-shrink: 0;
}

.expert-entry__text h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.expert-entry__text p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 6px;
}

.expert-entry__note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .expert-entry {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
  .expert-entry .btn {
    justify-self: start;
  }
}

.content-block p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.three-col p,
.two-col > div > p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.85;
}

.banner {
  padding: 18px 22px;
  border: 1px solid rgba(43, 90, 237, 0.1);
  border-radius: 16px;
  background: var(--paper-elevated);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.65;
  color: var(--brand);
  box-shadow: 0 8px 24px rgba(43, 90, 237, 0.05);
}

.banner--dark {
  border-color: var(--line-dark);
  color: var(--white);
}

.notice {
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-left: 3px solid var(--brand-2);
  border-radius: 16px;
  background: var(--paper-elevated);
}

.notice__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.notice__text {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.75;
}

.notice--warn {
  border-left-color: var(--warn);
}

.notice--warn .notice__title {
  color: var(--warn);
}

.section--dark .notice__text {
  color: var(--gray-light);
}

/* ---------- List rows ---------- */
.row-list {
  display: grid;
  gap: 12px;
  border: 0;
}

.row-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(43, 90, 237, 0.08);
  border-radius: 16px;
  background: var(--paper-elevated);
}

.row-item__num {
  display: none;
}

.row-item__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--teal);
  font-size: 16px;
}

.row-item__title {
  font-size: 17px;
  font-weight: 700;
}

.row-item__desc {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-top: 6px;
}

.row-list--dark {
  border-color: var(--line-dark);
}

.row-list--dark .row-item {
  border-color: var(--line-dark);
}

.row-list--dark .row-item__desc {
  color: var(--gray-light);
}

.row-item--3 {
  grid-template-columns: 56px 140px 1fr;
  align-items: center;
}

/* ---------- Membership ---------- */
.tier-list {
  border-top: 1px solid var(--line);
}

.tier {
  display: grid;
  grid-template-columns: 120px 1fr 200px 56px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.tier__name {
  font-weight: 700;
  font-size: 16px;
}

.tier__cond {
  font-size: 14px;
  color: var(--muted);
}

.tier__track {
  height: 2px;
  background: var(--line);
  position: relative;
}

.tier__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.tier__bar--premium { width: 100%; background: var(--accent); }
.tier__bar--normal { width: 60%; background: var(--slate); }
.tier__bar--guest { width: 20%; background: #9FA5AB; }

.tier__count {
  font-weight: 700;
  font-size: 16px;
  text-align: right;
}

.tier__count--premium { color: var(--accent); }
.tier__count--normal { color: var(--slate); }
.tier__count--guest { color: #9FA5AB; }

/* ---------- Metric ---------- */
.metric-row {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 64px;
  align-items: center;
}

.metric-big {
  font-size: clamp(3.25rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 14px;
  color: var(--gray-light);
  margin-top: 12px;
}

.metric-boxes {
  display: flex;
  gap: 0;
  margin: 24px 0;
}

.metric-box {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--copper);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
}

.metric-box + .metric-box {
  border-left: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--text-on-dark-muted);
  padding: var(--section-y) 0 28px;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr auto;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-qr__box {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.footer-qr__label {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
}

.footer-brand__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
}

.footer-brand__name {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 1.75;
  max-width: 22em;
  color: var(--text-on-dark-muted);
}

.footer-col__title {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: var(--text-on-dark-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--text-on-dark-muted);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ---------- Reveal ---------- */
.reveal,
.reveal-title,
.reveal-body,
.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out);
}

.reveal.is-visible,
.reveal-title.is-visible,
.reveal-body.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 卡片入场后不锁定 transform，否则 hover 上浮会被 reveal 覆盖 */
.knife-card.reveal-item.is-visible,
.service-card.reveal-item.is-visible {
  transform: none;
}

@media (hover: hover) {
  .knives-grid .knife-card.reveal-item.is-visible:hover {
    transform: translateY(-5px);
  }

  .service-map .service-card.reveal-item.is-visible:hover {
    transform: none;
  }

  .service-map .service-card.reveal-item.is-visible:hover .service-node__body {
    transform: translateY(-3px);
  }
}

.reveal-stagger .reveal-item:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger .reveal-item:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger .reveal-item:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger .reveal-item:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger .reveal-item:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger .reveal-item:nth-child(6) { transition-delay: 350ms; }

.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }

.section.is-anchor-flash {
  box-shadow: inset 3px 0 0 var(--accent);
  transition: box-shadow var(--motion-base) var(--ease-out);
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  padding: 4px;
  overflow-x: auto;
  background: rgba(43, 90, 237, 0.06);
  border-radius: 14px;
  border-bottom: 0;
}

.tab {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  border: 0;
  border-radius: 10px;
  background: transparent;
  margin-bottom: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--motion-fast), background var(--motion-fast);
}

.tab:hover { color: var(--ink); background: rgba(255,255,255,0.55); }

.tab.is-active {
  color: var(--brand-2);
  font-weight: 600;
  background: var(--paper-elevated);
  box-shadow: 0 1px 4px rgba(13, 27, 62, 0.08);
  border-bottom-color: transparent;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(6px);
}

.tab-panel.is-active {
  display: block;
  animation: panelIn var(--motion-fast) var(--ease-out) forwards;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-enter,
  .reveal,
  .reveal-title,
  .reveal-body,
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-stage__packet,
  .hero-stage__aura,
  .hero-stage__float,
  .hero-stage__glow,
  .hero-stage__bot,
  .hero-shot,
  .hero-shot__aura,
  .hero-shot__base {
    animation: none !important;
  }

  .hero-stage__packet {
    display: none !important;
  }

  .hero-stage__chip {
    opacity: 1 !important;
    transform: none !important;
  }

  .knives-grid .knife-card.reveal-item.is-visible:hover,
  .service-map .service-card.reveal-item.is-visible:hover {
    transform: none !important;
  }

  .service-map .service-card.reveal-item.is-visible:hover .service-node__pin,
  .service-map .service-card.reveal-item.is-visible:hover .service-node__body {
    transform: none !important;
  }

  .btn:active {
    transform: none;
  }
}

/* ---------- Utility ---------- */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-copper { color: var(--copper); }
.text-warn { color: var(--warn); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero {
    min-height: max(560px, 88vh);
  }

  .hero__bg {
    background-position: 72% center;
  }

  .hero__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(248, 251, 255, 0.9) 0%,
        rgba(248, 251, 255, 0.82) 42%,
        rgba(248, 251, 255, 0.55) 68%,
        rgba(232, 242, 252, 0.72) 100%
      ),
      linear-gradient(
        90deg,
        rgba(248, 251, 255, 0.78) 0%,
        rgba(248, 251, 255, 0.35) 55%,
        transparent 100%
      );
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 24px;
    padding-bottom: var(--section-y);
  }

  .hero__copy {
    max-width: 36em;
  }

  .hero__features {
    max-width: none;
  }

  .product-mock__body {
    grid-template-columns: 88px 1fr;
  }

  .page-hero__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .insight-grid,
  .bound-grid,
  .page-viz__split,
  .page-viz__nodes {
    grid-template-columns: 1fr 1fr;
  }

  .mini-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-flow__step:nth-child(2) {
    border-right: none;
  }

  .mini-flow__step:nth-child(1),
  .mini-flow__step:nth-child(2) {
    border-bottom: 1px solid var(--hairline);
  }

  .page-hero:not(.page-hero--light) .mini-flow__step:nth-child(1),
  .page-hero:not(.page-hero--light) .mini-flow__step:nth-child(2) {
    border-bottom-color: var(--hairline-dark);
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
    gap: 0.22em;
  }

  .hero__sub {
    margin-top: 16px;
  }

  .hero__grid {
    mask-image: none;
    opacity: 0.25;
  }

  .knives,
  .pricing-grid,
  .two-col,
  .three-col,
  .insight-grid,
  .bound-grid,
  .metric-row,
  .showcase,
  .duo {
    grid-template-columns: 1fr;
  }

  .showcase {
    gap: 40px;
  }

  .duo {
    gap: 20px;
  }

  .knives-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .knife-card__foot {
    flex-wrap: wrap;
  }

  .knife-scan {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
  }

  .service-map {
    --svc-pin: 56px;
    --svc-gap: 12px;
    padding: 10px;
  }

  .service-map__lane {
    padding: 14px 12px 12px;
  }

  .service-node__body {
    padding: 14px 12px 12px;
  }

  .knife:first-child {
    padding-right: 0;
    border-right: none;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--line-dark);
  }

  .section--paper .knife:first-child {
    border-bottom-color: var(--line);
  }

  .price-block {
    padding: 24px;
  }

  .price-block:last-child {
    padding: 24px;
  }

  .bound-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .flow,
  .flow--3 {
    grid-template-columns: 1fr 1fr;
  }

  .flow__step:nth-child(2)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-table__head,
  .pricing-table__row {
    grid-template-columns: 1fr 1fr;
  }

  .boundaries-layout {
    grid-template-columns: 1fr;
  }

  /* row-item 默认已是单列（标题+描述上下排）；勿再设 40px 列，否则标题会被挤成竖排字 */
  .row-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .row-item__title {
    font-size: 16px;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .row-item__desc {
    margin-top: 0;
  }

  .row-item--3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tier {
    grid-template-columns: 100px 1fr 48px;
    gap: 12px;
  }

  .tier__track { display: none; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--dark);
    padding: calc(var(--nav-h) + 24px) 32px 48px;
    gap: 0;
    z-index: 100;
    margin-left: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*
   * 关键：site-header 的 backdrop-filter 会把 fixed 子元素限制在顶栏盒子内，
   * 导致全屏菜单盖不住登录卡片（看起来像登录框被顶栏裁切）。
   * 打开菜单时关闭 backdrop-filter，让菜单相对视口全屏覆盖。
   */
  html.nav-open .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    height: auto;
    min-height: var(--nav-h);
    overflow: visible;
  }

  html.nav-open .nav-brand,
  html.nav-open .nav-toggle,
  html.nav-open .nav-actions {
    position: relative;
    z-index: 110;
  }

  html.nav-open .nav-brand,
  html.nav-open .nav-brand__text {
    color: #fff !important;
  }

  html.nav-open .nav-brand__text span {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  html.nav-open .nav-toggle span {
    background: #fff !important;
  }

  html.nav-open .nav-actions .btn--ghost {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
  }

  /* 菜单打开时隐藏页面主体，避免登录卡等透出 */
  html.nav-open body > *:not(.site-header) {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-links.is-open .nav-link {
    color: var(--white);
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-links.is-open .nav-item--drop .nav-drop {
    display: grid;
    position: static;
    left: auto;
    width: 100%;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0 12px 4px;
    gap: 0;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links.is-open .nav-drop a {
    color: var(--text-on-dark-muted);
    font-size: 15px;
    min-height: 40px;
    padding: 0 10px;
    border: none;
    border-radius: 8px;
    border-bottom: 1px solid var(--line-dark);
    background: transparent;
  }

  .nav-links.is-open .nav-drop a:hover,
  .nav-links.is-open .nav-drop a.is-active {
    color: var(--white);
    background: rgba(43, 90, 237, 0.15);
    border-color: var(--line-dark);
  }

  .nav-links.is-open .nav-drop__num {
    color: var(--brand-2);
    background: rgba(43, 90, 237, 0.2);
  }

  .nav-links.is-open .nav-drop a:hover .nav-drop__num,
  .nav-links.is-open .nav-drop a.is-active .nav-drop__num {
    color: var(--white);
    background: var(--brand-2);
  }

  .nav-links.is-open .nav-link i { display: none; }
}

@media (max-width: 640px) {
  .container,
  .nav,
  .hero__inner,
  .page-hero__inner,
  .hero__trust-inner {
    width: min(100% - 32px, var(--max));
  }

  :root {
    --section-y: 44px;
    --section-head: 24px;
  }

  .section,
  .section--roomy,
  .section--tight {
    padding: var(--section-y) 0;
  }

  .section--screen {
    min-height: auto;
    padding-block: var(--section-y);
  }

  .section__head { margin-bottom: var(--section-head); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .flow,
  .flow--3 {
    grid-template-columns: 1fr;
  }

  .insight-grid,
  .bound-grid,
  .page-viz__split,
  .page-viz__nodes {
    grid-template-columns: 1fr;
  }

  .insight-grid,
  .bound-grid,
  .page-viz__split,
  .page-viz__nodes {
    grid-template-columns: 1fr;
  }

  .flow__step:not(:last-child)::after {
    display: none;
  }

  .flow__step {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .flow--dark .flow__step {
    border-bottom-color: var(--line-dark);
  }

  .hero__cta .btn {
    flex: 1;
    min-width: 140px;
  }

  .hero-shot {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .hero-shot__ring {
    inset: 3%;
    border-radius: 22px;
  }

  .hero-shot__frame {
    border-radius: 18px;
  }

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

  .hero__feature {
    padding: 14px 8px 12px;
  }

  .service-map {
    --svc-gap: 0px;
    padding: 10px;
    gap: 12px;
  }

  .service-map__track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-node:not(:last-child)::after {
    display: none;
  }

  .service-node:not(:last-child) .service-node__body {
    position: relative;
  }

  .service-node:not(:last-child) .service-node__body::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 2px;
    height: 10px;
    background: var(--lane-accent-soft);
    transform: translateX(-50%);
  }

  .knife-score {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .knife-score__ring {
    width: 72px;
    height: 72px;
  }

  .knife-scan {
    grid-template-columns: 1fr;
  }

  .knife-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .product-mock__body {
    grid-template-columns: 1fr;
  }

  .product-mock__steps {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--hairline-dark);
    gap: 0;
  }

  .product-mock__step {
    flex: 1 1 40%;
  }

  .mini-flow,
  .mini-flow--3 {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-table__head,
  .pricing-table__row {
    grid-template-columns: 1fr;
  }

  .pricing-table__head span:not(:first-child),
  .pricing-table__cell {
    border-top: 1px solid var(--rule);
  }

  .boundaries-layout {
    grid-template-columns: 1fr;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .footer-qr {
    align-items: flex-start;
  }
}

/* ---------- Auth (login / register) ---------- */
.auth {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - 56px);
  padding: calc(var(--nav-h) + 12px) 0 24px;
  overflow: hidden;
  background: var(--paper);
}

.auth__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 50% at 22% 48%, rgba(43, 90, 237, 0.18), transparent 68%),
    radial-gradient(ellipse 32% 30% at 78% 22%, rgba(56, 189, 248, 0.1), transparent 70%),
    radial-gradient(ellipse 26% 24% at 86% 82%, rgba(255, 145, 44, 0.08), transparent 72%),
    linear-gradient(180deg, #F8FAFF 0%, var(--paper) 58%, var(--paper-dim) 100%);
}

.auth__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 90, 237, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 90, 237, 0.038) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 64% at 28% 50%, black 18%, transparent 78%);
  opacity: 0.7;
}

.auth__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 560px);
  gap: 24px 48px;
  align-items: center;
  width: min(100% - 48px, var(--max));
  min-height: calc(100svh - var(--nav-h) - 80px);
  margin-inline: auto;
}

.auth__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.auth__aura {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 0;
  width: 70%;
  height: 78%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at 50% 55%, rgba(43, 90, 237, 0.24), rgba(56, 189, 248, 0.1) 46%, transparent 74%);
  filter: blur(22px);
  pointer-events: none;
  animation: hero-aura-breathe 5.6s ease-in-out infinite;
}

.auth__bot {
  position: relative;
  z-index: 1;
  height: min(68vh, 580px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 18px 28px rgba(13, 27, 62, 0.12))
    drop-shadow(0 0 18px rgba(43, 90, 237, 0.16));
  animation: hero-bot-idle 5.6s ease-in-out infinite;
}

.auth__card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 36px 36px 32px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(43, 90, 237, 0.12);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 0 rgba(255, 145, 44, 0.18),
    0 22px 50px rgba(43, 90, 237, 0.14);
}

.site-footer--auth {
  padding: 0;
}

.site-footer--auth .footer-bottom {
  margin: 0;
  padding: 16px 0;
}

.auth__card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.auth__card-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--brand-soft);
  box-shadow: 0 6px 14px rgba(43, 90, 237, 0.1);
}

.auth__welcome {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.3;
}

.auth__welcome-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.auth__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 5px;
  background: rgba(43, 90, 237, 0.06);
  border-radius: 14px;
}

.auth__tab {
  flex: 1;
  height: 46px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--slate);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.auth__tab.is-active {
  background: var(--paper-elevated);
  color: var(--brand-2);
  box-shadow: 0 1px 4px rgba(13, 27, 62, 0.08);
}

.auth__form {
  display: none;
}

.auth__form.is-active {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.auth__field[hidden] {
  display: none !important;
}

.auth__input,
.auth__otp-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #D9D9D9;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}

.auth__input::placeholder,
.auth__otp-input::placeholder {
  color: #94A3B8;
}

.auth__input:focus {
  border-color: rgba(43, 90, 237, 0.55);
  box-shadow: 0 0 0 3px rgba(43, 90, 237, 0.08);
}

.auth__otp {
  display: flex;
  align-items: stretch;
  height: 48px;
  border: 1px solid #D9D9D9;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.auth__otp:focus-within {
  border-color: rgba(43, 90, 237, 0.55);
  box-shadow: 0 0 0 3px rgba(43, 90, 237, 0.08);
}

.auth__otp-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth__otp-input:focus {
  box-shadow: none;
}

.auth__otp-send {
  flex-shrink: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid #E5E7EB;
  background: transparent;
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.auth__otp-send:hover:not(:disabled) {
  background: #F8FAFF;
}

.auth__otp-send:disabled {
  color: #94A3B8;
  cursor: not-allowed;
}

.auth__submit {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  font-size: 16px;
}

.auth__legal {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
}

.auth__legal a {
  color: var(--brand-2);
  font-weight: 600;
}

.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose h2 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
  color: var(--brand);
}

.prose p {
  color: var(--text-secondary);
  line-height: 1.85;
}

.sys-dialog {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
}

.sys-dialog[hidden] {
  display: none;
}

.sys-dialog__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
}

.sys-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100% - 32px));
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(13, 27, 62, 0.2);
}

.sys-dialog__panel.is-wide {
  width: min(640px, calc(100% - 24px));
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
}

.sys-dialog__panel.is-wide .sys-dialog__body {
  display: block;
  overflow-y: auto;
  flex: 1 1 auto;
  max-height: none;
  text-align: left;
  -webkit-overflow-scrolling: touch;
}

.sys-dialog__panel.is-wide .sys-dialog__foot {
  flex-shrink: 0;
  border-top: 1px solid #f0f0f0;
}

.order-detail-card {
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.order-detail-card__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: baseline;
}

.order-detail-card__label {
  color: #8c8c8c;
  min-width: 5.5em;
  flex-shrink: 0;
}

.order-detail-card__files {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding: 12px;
  background: #f7f8fa;
  border-radius: 8px;
}

.order-detail-card__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.order-timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid #e8ecf2;
}

.order-timeline__item {
  position: relative;
  padding: 0 0 14px 16px;
}

.order-timeline__item:last-child {
  padding-bottom: 0;
}

.order-timeline__dot {
  position: absolute;
  left: -19px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f6fed;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c9d7f5;
}

.order-timeline__time {
  font-size: 12px;
  color: #8c8c8c;
  margin-bottom: 2px;
}

.order-timeline__title {
  font-weight: 600;
  color: #1f2937;
}

.order-timeline__meta {
  font-size: 12px;
  color: #667085;
  margin-top: 2px;
}

.sys-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #F0F0F0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.sys-dialog__close {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #8C8C8C;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sys-dialog__body {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 22px 24px;
}

.sys-dialog__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #22C55E;
  color: #fff;
  font-size: 14px;
}

.sys-dialog.is-error .sys-dialog__icon {
  background: #EF4444;
}

.sys-dialog__msg {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.sys-dialog__foot {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 16px;
}

.sys-dialog__ok {
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-2);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}

.sys-dialog__ok:hover {
  filter: brightness(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .auth__bot,
  .auth__aura {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .auth__inner {
    gap: 20px 32px;
  }

  .auth__bot {
    height: min(58vh, 480px);
  }
}

@media (max-width: 860px) {
  .auth__inner {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
    min-height: 0;
  }

  .auth__stage {
    display: none;
  }
}

/* ---------- Account / user center ---------- */
.account-hero-viz__board {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
}

.account-ring {
  position: relative;
  width: 88px;
  height: 88px;
}

.account-ring__svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.account-ring__track,
.account-ring__fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.account-ring__track {
  stroke: rgba(43, 90, 237, 0.12);
}

.account-ring__fill {
  stroke: var(--brand-2);
  stroke-dasharray: 32 68;
  filter: drop-shadow(0 0 6px rgba(43, 90, 237, 0.25));
  transition: stroke-dasharray 0.6s var(--ease-out);
}

.account-ring__readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.account-ring__readout strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.account-ring__readout span {
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-2);
}

.account-hero-viz__kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-2);
}

.account-hero-viz__desc {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.account-hero-viz .page-viz__bars {
  margin-top: 0;
}

.account-hero-viz .page-viz__bar i.is-orange {
  background: linear-gradient(90deg, var(--orange), #FFC07A);
}

.account-hero-viz__lane {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 90, 237, 0.08);
}

.account-hero-viz__lane span {
  flex: 1;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.account-hero-viz__lane i {
  color: var(--brand-2);
  font-size: 10px;
  opacity: 0.55;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.account-expert {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid rgba(27, 79, 114, 0.12);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.account-expert[hidden] {
  display: none !important;
}

.account-expert__left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.account-expert__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(27, 79, 114, 0.08);
  color: #1b4f72;
  flex-shrink: 0;
}

.account-expert__icon.is-ok {
  background: rgba(47, 107, 90, 0.12);
  color: #2f6b5a;
}

.account-expert__icon.is-wait {
  background: rgba(184, 92, 56, 0.12);
  color: #b85c38;
}

.account-expert__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #1b4f72;
}

.account-expert__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5a6472;
}

.account-expert__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.account-expert__tag.is-ok {
  color: #2f6b5a;
  background: rgba(47, 107, 90, 0.12);
}

.account-expert__tag.is-wait {
  color: #b85c38;
  background: rgba(184, 92, 56, 0.12);
}

.account-expert__tag.is-reject {
  color: #8a3b2a;
  background: rgba(138, 59, 42, 0.12);
}

.account-expert__tag.is-none {
  color: #5a6472;
  background: rgba(90, 100, 114, 0.1);
}

.account-stat {
  position: relative;
  overflow: hidden;
  padding: 20px 18px 18px 22px;
  background: var(--paper-elevated);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(43, 90, 237, 0.05);
}

.account-stat::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-2);
}

.account-stat--orange::before {
  background: var(--orange);
}

.account-stat__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-stat__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
  font-size: 13px;
}

.account-stat--orange .account-stat__icon {
  color: var(--orange-deep);
  background: rgba(255, 145, 44, 0.14);
}

.account-stat__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.account-stat__value {
  display: block;
  margin-top: 10px;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.account-stat__note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.account-stat__meter {
  display: block;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(43, 90, 237, 0.1);
  overflow: hidden;
}

.account-stat__meter i {
  display: block;
  height: 100%;
  width: var(--w, 40%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), #7AA2FF);
  transform-origin: left center;
  animation: accountBarIn 0.7s var(--ease-out) both;
}

.account-stat--orange .account-stat__meter {
  background: rgba(255, 145, 44, 0.16);
}

.account-stat--orange .account-stat__meter i {
  background: linear-gradient(90deg, var(--orange), #FFC07A);
}

.account-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-bottom: 32px;
}

.account-board .account-card {
  margin: 0;
}

.account-board__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.account-board__title h2 {
  margin: 8px 0 0;
  font-size: 1.05rem;
}

.account-board__total {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-2);
  font-variant-numeric: tabular-nums;
}

.spend-row {
  display: grid;
  grid-template-columns: 88px 1fr 64px;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.spend-row:last-child {
  margin-bottom: 0;
}

.spend-row span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spend-row em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.spend-row__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(43, 90, 237, 0.08);
  overflow: hidden;
}

.spend-row__track i {
  display: block;
  height: 100%;
  width: var(--w, 40%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), #7AA2FF);
  transform-origin: left center;
  animation: accountBarIn 0.7s var(--ease-out) both;
}

.spend-row:nth-child(2) .spend-row__track i { background: linear-gradient(90deg, #4C7CFF, #93C5FD); }
.spend-row:nth-child(3) .spend-row__track i { background: linear-gradient(90deg, var(--orange), #FFC07A); }
.spend-row:nth-child(4) .spend-row__track i { background: linear-gradient(90deg, #38BDF8, #7DD3FC); }
.spend-row:nth-child(5) .spend-row__track i { background: linear-gradient(90deg, #6366F1, #A5B4FC); }

.mix-track {
  display: flex;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}

.mix-track i {
  display: block;
  height: 100%;
  width: var(--w, 0);
  animation: accountBarIn 0.7s var(--ease-out) both;
  transform-origin: left center;
}

.mix-track i.mix--open { background: var(--brand-2); }
.mix-track i.mix--applied { background: var(--orange); }
.mix-track i.mix--done { background: #2F6B5A; }
.mix-track i.mix--receipt { background: #94A3B8; }

.mix-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 16px;
}

.mix-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
}

.mix-legend strong {
  margin-left: auto;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.mix-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mix-dot--open { background: var(--brand-2); }
.mix-dot--applied { background: var(--orange); }
.mix-dot--done { background: #2F6B5A; }
.mix-dot--receipt { background: #94A3B8; }

.account-flow {
  margin-bottom: 22px;
}

.account-flow__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
  font-size: 16px;
}

.account-card {
  padding: 28px 24px 24px;
  background: var(--paper-elevated);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(43, 90, 237, 0.05);
}

.account-card__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.account-card__head h2 {
  margin: 8px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
}

.account-card__hint {
  max-width: 28em;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: right;
}

.bill-wrap {
  overflow-x: auto;
}

.bill-table {
  width: 100%;
  border-collapse: collapse;
}

.bill-table th,
.bill-table td {
  padding: 14px 12px;
  text-align: left;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.bill-table thead th {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  background: rgba(43, 90, 237, 0.04);
}

.bill-table thead th:first-child {
  border-radius: 10px 0 0 10px;
}

.bill-table thead th:last-child {
  border-radius: 0 10px 10px 0;
}

.bill-table td {
  color: var(--ink);
}

.bill-table tbody tr:last-child td {
  border-bottom: 0;
}

.bill-table tbody tr:hover td {
  background: rgba(43, 90, 237, 0.03);
}

.bill-table tbody tr.is-picked td {
  background: rgba(43, 90, 237, 0.06);
}

.bill-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.bill-id small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.bill-service {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.bill-service__text {
  white-space: nowrap;
}

.bill-service i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
  font-size: 12px;
}

.bill-service i.is-deposit {
  color: var(--orange-deep);
  background: rgba(255, 145, 44, 0.14);
}

.bill-amount {
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bill-check-col {
  width: 64px;
}

.bill-check {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-2);
  cursor: pointer;
}

.bill-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}

.bill-badge--open {
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
}

.bill-badge--applied {
  color: var(--orange-deep);
  background: rgba(255, 145, 44, 0.14);
}

.bill-badge--done {
  color: #2F6B5A;
  background: rgba(47, 107, 90, 0.12);
}

.bill-badge--receipt {
  color: var(--slate);
  background: rgba(15, 23, 42, 0.06);
}

.bill-badge--none {
  color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}

.bill-empty {
  padding: 28px 12px;
  text-align: center;
  color: var(--text-muted);
}

.invoice-summary {
  margin: 18px 0 0;
}

.invoice-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(43, 90, 237, 0.05);
  border: 1px solid rgba(43, 90, 237, 0.08);
}

.invoice-picks.is-empty {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.05);
  color: var(--text-muted);
  font-size: 14px;
}

.invoice-picks__stat {
  font-size: 13px;
  color: var(--slate);
}

.invoice-picks__stat strong {
  margin-left: 4px;
  font-size: 15px;
  color: var(--brand-2);
  font-variant-numeric: tabular-nums;
}

.invoice-picks__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.invoice-chip {
  display: inline-flex;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(43, 90, 237, 0.12);
}

.invoice-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.invoice-form .auth__field {
  margin: 0;
}

.invoice-form__full,
.invoice-form__actions {
  grid-column: 1 / -1;
}

.invoice-form__actions {
  display: flex;
  justify-content: flex-end;
}

.invoice-form__actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

@keyframes accountBarIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 960px) {
  .account-stats,
  .account-board {
    grid-template-columns: 1fr 1fr;
  }

  .account-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-card__hint {
    text-align: left;
  }

  .invoice-picks__chips {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .account-stats,
  .account-board,
  .mix-legend {
    grid-template-columns: 1fr;
  }

  .account-hero-viz__board {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .account-hero-viz .page-viz__bar {
    grid-template-columns: 52px 1fr;
  }

  .account-hero-viz__lane {
    flex-wrap: wrap;
    justify-content: center;
  }

  .account-card {
    padding: 22px 16px 18px;
  }

  .invoice-form {
    grid-template-columns: 1fr;
  }

  .spend-row {
    grid-template-columns: 72px 1fr 56px;
  }
}

/* ---------- Expert apply ---------- */
.expert-gain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.expert-gain__card {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--paper-elevated);
  border: 1px solid rgba(43, 90, 237, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(43, 90, 237, 0.06);
}

.expert-gain__card--earn {
  border-color: rgba(255, 145, 44, 0.28);
  background: linear-gradient(180deg, #FFF9F2 0%, #fff 58%);
}

.expert-gain__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(43, 90, 237, 0.08);
  color: var(--brand-2);
  font-size: 18px;
}

.expert-gain__card--earn .expert-gain__icon {
  background: rgba(255, 145, 44, 0.14);
  color: var(--orange-deep);
}

.expert-gain__tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-2);
  background: rgba(43, 90, 237, 0.08);
  border-radius: 999px;
}

.expert-gain__card--earn .expert-gain__tag {
  color: var(--orange-deep);
  background: rgba(255, 145, 44, 0.14);
}

.expert-gain__card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand);
}

.expert-gain__card p {
  margin: 0 0 14px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.expert-gain__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.expert-gain__card li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.expert-gain__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}

.expert-gain__card--earn li::before {
  background: var(--orange);
}

.expert-apply {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
  margin-top: 40px;
  padding: 32px;
  border: 1px solid rgba(43, 90, 237, 0.1);
  border-radius: 20px;
  background: var(--paper-elevated);
  box-shadow: 0 12px 36px rgba(43, 90, 237, 0.06);
}

.expert-login-gate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 280px;
  padding: 36px 32px;
  border: 1px dashed rgba(27, 79, 114, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247, 248, 250, 0.95), rgba(255, 255, 255, 0.9));
}

.expert-login-gate[hidden] {
  display: none !important;
}

.expert-login-gate__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ink-blue, #1b4f72);
  background: rgba(27, 79, 114, 0.08);
  font-size: 1.25rem;
}

.expert-login-gate h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand, #1b4f72);
  line-height: 1.4;
}

.expert-login-gate p {
  margin: 0 0 8px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate, #5a6472);
}

.expert-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 240px;
  padding: 36px 32px;
  border: 1px solid rgba(27, 79, 114, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f7f9fb);
}

.expert-status[hidden] {
  display: none !important;
}

.expert-status__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #b85c38;
  background: rgba(184, 92, 56, 0.1);
}

.expert-status.is-pending .expert-status__badge {
  color: #b85c38;
  background: rgba(184, 92, 56, 0.1);
}

.expert-status.is-approved .expert-status__badge {
  color: #2f6b5a;
  background: rgba(47, 107, 90, 0.12);
}

.expert-status.is-rejected .expert-status__badge {
  color: #8a3b2a;
  background: rgba(138, 59, 42, 0.12);
}

.expert-status h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand, #1b4f72);
  line-height: 1.4;
}

.expert-status > p {
  margin: 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate, #5a6472);
}

.expert-status__meta {
  font-size: 13px !important;
  color: #8a3b2a !important;
}

.expert-status__actions {
  margin-top: 8px;
}

.expert-form[hidden] {
  display: none !important;
}

.expert-apply__intro h2 {
  margin: 10px 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.4;
}

.expert-apply__intro > p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}

.expert-apply__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.expert-apply__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.expert-apply__points i {
  margin-top: 3px;
  color: var(--brand-2);
}

.expert-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.expert-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.expert-form__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expert-form__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.expert-form__label em {
  margin-left: 8px;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
}

.expert-reg-list {
  display: grid;
  gap: 14px;
}

.expert-reg {
  padding: 16px;
  border: 1px solid rgba(43, 90, 237, 0.1);
  border-radius: 14px;
  background: #F8FAFF;
}

.expert-reg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.expert-reg__top span {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.expert-reg__remove {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.expert-reg__remove:hover {
  color: var(--signal);
}

.expert-reg .expert-form__grid {
  margin-bottom: 12px;
}

.expert-form__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 1px dashed rgba(43, 90, 237, 0.35);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.expert-form__add:hover {
  border-color: var(--brand-2);
  background: #F8FAFF;
}

.expert-cert {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expert-cert__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.expert-kind {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.expert-kind--compact {
  gap: 8px;
}

.expert-kind--compact .expert-kind__item {
  padding: 10px;
  align-items: center;
}

.expert-kind__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 14px 14px 12px;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
}

.expert-kind__item:has(input:checked),
.expert-kind__item.is-on {
  border-color: rgba(43, 90, 237, 0.55);
  background: #F8FAFF;
  box-shadow: 0 0 0 3px rgba(43, 90, 237, 0.08);
}

.expert-kind__item input {
  margin-top: 3px;
  accent-color: var(--brand-2);
}

.expert-kind__item strong {
  display: block;
  font-size: 14px;
  color: var(--brand);
}

.expert-kind__item em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.upload-grid {
  display: grid;
  gap: 12px;
}

.upload-grid--id,
.upload-grid--certs {
  grid-template-columns: 1fr 1fr;
}

.upload-tile {
  position: relative;
  display: block;
  min-height: 168px;
  border: 1px dashed #C7D2FE;
  border-radius: 12px;
  background: #F8FAFF;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--motion-fast), background var(--motion-fast);
}

.upload-tile:hover,
.upload-tile:focus-within {
  border-color: var(--brand-2);
  background: #EEF2FF;
}

.upload-tile.is-filled {
  border-style: solid;
  border-color: rgba(43, 90, 237, 0.2);
  background: #fff;
}

.upload-tile__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
}

.upload-tile__empty i {
  font-size: 22px;
  color: var(--brand-2);
}

.upload-tile__empty strong {
  font-size: 14px;
  color: var(--brand);
}

.upload-tile__empty em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.upload-tile__preview {
  display: block;
  height: 168px;
}

.upload-tile__preview[hidden],
.upload-tile__thumbs[hidden],
.upload-tile.is-filled .upload-tile__empty {
  display: none;
}

.upload-tile__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-tile__clear {
  position: absolute;
  right: 10px;
  bottom: 10px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(13, 27, 62, 0.78);
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

.upload-tile--multi {
  min-height: 148px;
}

.upload-tile--multi.is-filled {
  min-height: auto;
}

.upload-tile__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
}

.upload-tile__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #EEF2FF;
}

.upload-tile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-tile__add {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 1px dashed #C7D2FE;
  border-radius: 8px;
  color: var(--brand-2);
  font-size: 22px;
  background: #F8FAFF;
}

.expert-form__legal {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

.expert-form__legal a {
  color: var(--brand-2);
  font-weight: 600;
}

.expert-form__submit {
  width: 100%;
  height: 48px;
  font-size: 16px;
}

@media (max-width: 960px) {
  .expert-gain,
  .expert-apply {
    grid-template-columns: 1fr;
  }

  .expert-apply {
    padding: 24px 20px;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .expert-form__grid,
  .upload-grid--id,
  .upload-grid--certs,
  .expert-kind,
  .upload-tile__thumbs {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Mobile / Tablet enhancements (do not affect desktop >1024px)
   Breakpoints: phone <768 | tablet 768-1024 | desktop >1024
   ============================================================ */

img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .container,
  .nav,
  .hero__inner,
  .page-hero__inner,
  .auth__inner {
    width: min(100% - 32px, var(--max));
  }

  .nav-brand__text span {
    display: none;
  }

  .nav-brand__text {
    font-size: 14px;
  }

  .btn,
  .btn--sm,
  .auth__submit,
  .auth__tab,
  .auth__otp-send,
  .nav-actions .btn {
    min-height: 44px;
  }

  .auth__input,
  .auth__otp-input,
  input[type="text"],
  input[type="password"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  select,
  textarea {
    min-height: 44px;
    font-size: 16px; /* 防止 iOS 自动放大 */
  }

  .hero {
    min-height: auto;
  }

  .hero__features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__feature {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding: 12px 14px;
    min-height: 48px;
  }

  .hero__sub-list {
    justify-content: flex-start;
  }

  .hero__sub-note {
    text-align: left;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
    min-width: 0;
  }

  .hero__trust-pill {
    align-items: flex-start;
    border-radius: 14px;
    white-space: normal;
    line-height: 1.5;
  }

  /* 登录页：取消固定 460px 列，避免横向溢出 */
  .auth__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    align-items: start;
  }

  .auth__stage {
    min-height: 180px;
    order: -1;
  }

  .auth__bot {
    height: min(36vh, 260px);
  }

  .auth__card {
    padding: 24px 18px 20px;
    border-radius: 18px;
  }

  .auth__tabs {
    width: 100%;
  }

  .auth__tab {
    flex: 1;
  }

  .auth__submit {
    width: 100%;
  }

  /* 仅对非语义表格组件做块级滚动；bill-table 必须保持 table 布局 */
  .pricing-table,
  .knife-scan__table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table__head,
  .pricing-table__row {
    min-width: 520px;
  }

  /* 个人中心账单 / 开票表格 */
  .bill-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bill-table {
    display: table !important;
    width: 100% !important;
    min-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
  }

  .bill-table th,
  .bill-table td {
    white-space: nowrap;
    vertical-align: middle;
  }

  .bill-table .bill-service {
    white-space: nowrap;
    min-width: 4.5em;
  }

  .bill-table .bill-service span,
  .bill-table td.bill-service-cell {
    white-space: nowrap;
  }

  /* 消费明细列较多：给服务板块留宽，整体可横滑但不挤变形 */
  #bill-tbody,
  #invoice-tbody {
    /* anchor for specificity */
  }

  .account-card .bill-wrap > .bill-table {
    min-width: 560px;
  }

  /* 开票申请记录列少：铺满卡片，不强制超宽横滑 */
  .bill-table--apps {
    min-width: 100% !important;
    width: 100% !important;
    table-layout: fixed;
  }

  .bill-table--apps th:nth-child(1),
  .bill-table--apps td:nth-child(1) { width: 22%; }
  .bill-table--apps th:nth-child(2),
  .bill-table--apps td:nth-child(2) {
    width: 28%;
    white-space: normal;
    word-break: break-word;
  }
  .bill-table--apps th:nth-child(3),
  .bill-table--apps td:nth-child(3) { width: 14%; }
  .bill-table--apps th:nth-child(4),
  .bill-table--apps td:nth-child(4) { width: 12%; }
  .bill-table--apps th:nth-child(5),
  .bill-table--apps td:nth-child(5) {
    width: 14%;
    white-space: normal;
    word-break: break-word;
  }
  .bill-table--apps th:nth-child(6),
  .bill-table--apps td:nth-child(6) { width: 10%; }

  .service-map__track,
  .knives-grid,
  .three-col,
  .two-col,
  .metric-row,
  .insight-grid,
  .bound-grid,
  .page-viz__split,
  .page-viz__nodes,
  .account-manage__grid {
    grid-template-columns: 1fr !important;
  }

  .knife-scan {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 40px;
    --nav-h: 58px;
  }

  .nav {
    gap: 10px;
    height: var(--nav-h);
  }

  /* 极窄屏：登录按钮收进汉堡菜单区域旁，避免拥挤 */
  .nav-actions .btn--ghost {
    display: none;
  }

  .nav-actions .btn--sm {
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-links.is-open {
    padding: calc(var(--nav-h) + 16px) 20px 32px;
  }

  .nav-links.is-open .nav-link {
    min-height: 48px;
    padding: 12px 4px;
    font-size: 17px;
  }

  .nav-links.is-open .nav-drop a {
    min-height: 44px;
  }

  .section-title,
  .page-hero__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    word-break: break-word;
  }

  .hero__title {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
  }

  .auth__stage {
    display: none;
  }

  .auth {
    min-height: calc(100svh - var(--nav-h) - 40px);
    padding-top: calc(var(--nav-h) + 8px);
  }

  .auth__inner {
    width: min(100% - 24px, var(--max));
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .flow,
  .flow--3,
  .mini-flow {
    grid-template-columns: 1fr !important;
  }

  .dialog,
  .modal,
  [class*="dialog"],
  [class*="modal"] {
    max-width: calc(100vw - 32px);
  }
}

@media (max-width: 480px) {
  .container,
  .nav,
  .hero__inner,
  .page-hero__inner,
  .auth__inner {
    width: min(100% - 20px, var(--max));
  }

  .nav-brand__mark {
    width: 28px;
    height: 28px;
  }

  .hero__sub-list span {
    font-size: 12px;
    padding: 6px 10px;
  }
}