/* ============================================================
   麒麟智投 Kirin Focus — 官网样式 v2.1（深藕荷色版）
   设计方向（依据 KIRIN_WEBSITE_ENG_DESIGN_BRIEF_V1.0 §5）：
   Institutional AI · Decision system · Night research desk · Quiet luxury
   - 深藕荷底色：紫藕灰阶铺底 + 藕荷强调 + 淡紫罗兰高光，低饱和
   - 底色整体提亮（原近黑 #070B13 → #241D2E），保留深色气质但去除压抑感
   - 层级靠字号与字重，不靠花哨色块
   - 少阴影、细边或纯留白分区；模块间呼吸感强
   - 无外部字体 / CDN 依赖，系统字体栈
   ============================================================ */

:root {
  /* —— 底色：浅藕荷暖白为主体 ——
     深色不再铺满全站，只保留为「页脚 + UI 示意卡」两个锚点，
     以降低大面积深色的压抑感（呼应 Hebbia / AlphaSense 的浅底产品站气质）。 */
  --bg-0: #2A2236;   /* 深色锚点：页脚 / UI 示意卡 */
  --dark-1: #332A41;
  --dark-line: #453A55;
  --on-dark-1: #F7F3FA;  /* 深色区主文字 13.9:1 */
  --on-dark-2: #CFC6DC;  /* 深色区次要 9.3:1 */
  --on-dark-3: #9E92AE;  /* 深色区辅助 5.2:1 */

  --bg-1: #FAF8FC;   /* 页面底 */
  --bg-2: #F3EFF7;   /* 交替区 */
  --bg-3: #FFFFFF;   /* 卡片 */
  --bg-4: #F7F4FA;   /* 悬浮 / 输入框 */

  /* —— 线条 —— */
  --line-1: #E6DFEF; /* 细边 */
  --line-2: #D3C9E1; /* 较强边 */
  --line-3: #B8A9CC; /* 悬停边 */

  /* —— 文字（对页面底 ≥4.9:1，全部达 AA）—— */
  --text-1: #241B2E; /* 正文 / 标题 15.7:1 */
  --text-2: #4C4059; /* 次要 9.1:1 */
  --text-3: #6A5C7B; /* 辅助 5.8:1 */
  --text-4: #756684; /* 极辅助：标签、角标 5.0:1 */

  /* —— 强调：藕荷 + 紫罗兰 —— */
  --lotus: #96597F;
  --lotus-soft: #B87FA5;
  --lotus-deep: #82486B;   /* 小字号强调：页面 6.4:1 / 浅藕荷底 5.7:1 */
  --lotus-deep: #82486B;   /* 小字号强调：页面 6.4:1 / 浅藕荷底 5.7:1 */
  --lotus-dim: rgba(150, 89, 127, 0.10);
  --violet: #6F52A8;
  --accent: #6244B8;
  --accent-dim: rgba(98, 68, 184, 0.10);

  /* —— 状态（仅用于示意样本与状态徽章，不做涨跌主力色）—— */
  --up: #AF3A52;
  --down: #276E4A;
  --warn: #96597F;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(36, 27, 46, 0.06);
  --shadow-lift: 0 18px 44px rgba(36, 27, 46, 0.14);

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

  --header-h: 68px;
  --maxw: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-1);
  background: var(--bg-1);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--violet); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--text-1); text-decoration: none; }

ul, ol { padding-left: 1.3em; }
li { margin-bottom: 6px; }

strong { font-weight: 650; color: var(--text-1); }

/* 跳转链接（无障碍） */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--bg-0); color: var(--on-dark-1);
  border: 1px solid var(--dark-line); border-radius: 0 0 var(--radius-sm) 0;
  padding: 10px 18px;
}
.skip-link:focus { left: 0; }

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

/* ---------------- 布局容器 ---------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 820px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 252, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-1); background: rgba(250, 248, 252, 0.97); }
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--text-1); flex: none; }
.brand__logo {
  width: 34px; height: 34px; border-radius: 8px; object-fit: cover;
  border: 1px solid var(--line-2);
}
.brand__name { display: flex; flex-direction: column; line-height: 1.2; }
.brand__zh { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; }
.brand__en {
  font-size: 10px; color: var(--text-4); letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
}

.site-nav { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.site-nav__list li { margin: 0; }
.site-nav a {
  display: block; color: var(--text-2); font-size: 14.5px;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap; letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--text-1); background: var(--bg-3); }
.site-nav a.is-active { color: var(--lotus-deep); font-weight: 700; }
.site-nav a.site-nav__cta-link {
  background: var(--text-1); color: #FAF8FC; font-weight: 600;
  padding: 8px 16px; margin-left: 8px;
}
.site-nav a.site-nav__cta-link:hover { background: var(--accent); color: #FFFFFF; }

/* 语言切换 */
.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--line-1); }
.lang-switch a {
  font-size: 12.5px; letter-spacing: 0.1em; padding: 5px 9px;
  border-radius: 6px; color: var(--text-4); font-weight: 600;
}
.lang-switch a:hover { color: var(--text-2); background: var(--bg-3); }
.lang-switch a.is-current { color: var(--lotus); }

.nav-toggle {
  display: none; background: var(--bg-3); border: 1px solid var(--line-2);
  border-radius: 8px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 20px; height: 1.5px; background: var(--text-2); margin: 4px 0; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 74% 8%, rgba(111, 82, 168, 0.07), transparent 62%),
    radial-gradient(700px 420px at 12% 92%, rgba(150, 89, 127, 0.06), transparent 60%),
    var(--bg-1);
  padding: 92px 0 88px;
  border-bottom: 1px solid var(--line-1);
}
/* 极淡网格：结构感，不做装饰性纹理 */
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(36, 27, 46, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 27, 46, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(1000px 560px at 60% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(1000px 560px at 60% 30%, #000 20%, transparent 78%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.24em; color: var(--lotus);
  border: 1px solid rgba(150, 89, 127, 0.32); border-radius: 999px;
  padding: 5px 16px; margin-bottom: 26px; text-transform: uppercase; font-weight: 600;
}
.hero__title {
  font-size: clamp(34px, 4.4vw, 56px); font-weight: 700;
  line-height: 1.16; letter-spacing: 0.01em; color: var(--text-1);
}
.hero__subtitle {
  margin-top: 24px; font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--text-2); max-width: 34em; line-height: 1.85;
}
.hero__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 42px; display: flex; flex-wrap: wrap; gap: 8px 0;
  color: var(--text-3); font-size: 13.5px; letter-spacing: 0.06em;
}
.hero__trust span { position: relative; padding-right: 16px; margin-right: 16px; }
.hero__trust span:last-child { padding-right: 0; margin-right: 0; }
.hero__trust span + span::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 11px; background: var(--line-3);
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; border: 1px solid transparent;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--text-1); color: #FAF8FC; }
.btn--primary:hover { background: var(--accent); color: #FFFFFF; }
.btn--ghost { border-color: var(--line-2); color: var(--text-1); background: transparent; }
.btn--ghost:hover { border-color: var(--line-3); background: var(--bg-3); }
.btn--lotus { background: var(--lotus); color: #FFFFFF; }
.btn--lotus:hover { background: var(--lotus-soft); }
.btn--quiet { padding: 0; border: 0; background: none; color: var(--violet); font-weight: 500; }
.btn--quiet:hover { color: var(--text-1); }

/* ---------------- 区块通用 ---------------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); }
.section--seam { border-top: 1px solid var(--line-1); }
.section__head { margin-bottom: 52px; max-width: 62em; }
.section__kicker {
  font-size: 12px; letter-spacing: 0.22em; color: var(--lotus);
  font-weight: 600; margin-bottom: 14px; text-transform: uppercase;
}
.section__title {
  font-size: clamp(24px, 2.9vw, 34px); font-weight: 700;
  line-height: 1.35; letter-spacing: 0.01em; color: var(--text-1);
}
.section__lede { margin-top: 18px; color: var(--text-2); font-size: 17px; line-height: 1.85; }
.section--alt .section__title { color: var(--text-1); }

/* ---------------- Pipeline 步骤条 ---------------- */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; padding: 0; }
.pipeline > li { margin: 0; }
.pipeline__step { position: relative; padding: 26px 22px 26px 0; border-top: 1px solid var(--line-2); }
.pipeline__step:not(:last-child) { margin-right: 18px; }
.pipeline__no {
  font-size: 11.5px; letter-spacing: 0.2em; color: var(--lotus-deep);
  font-variant-numeric: tabular-nums; font-weight: 600; margin-bottom: 10px;
  font-family: var(--font-mono);
}
.pipeline__title { font-size: 17px; font-weight: 650; color: var(--text-1); margin-bottom: 8px; letter-spacing: 0.01em; }
.pipeline__en { font-size: 11.5px; letter-spacing: 0.14em; color: var(--text-4); text-transform: uppercase; margin-bottom: 10px; }
.pipeline__desc { font-size: 14px; color: var(--text-3); line-height: 1.7; }

/* ---------------- 能力四柱 ---------------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillar { border-top: 1px solid var(--line-2); padding-top: 24px; }
.pillar__zh { font-size: 26px; font-weight: 700; color: var(--text-1); letter-spacing: 0.06em; margin-bottom: 6px; }
.pillar__en { font-size: 12px; letter-spacing: 0.14em; color: var(--lotus); text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.pillar__desc { font-size: 14.5px; color: var(--text-2); line-height: 1.8; }

/* ---------------- 卡片（保留样例报告编译器依赖的类名） ---------------- */
.card-grid { display: grid; gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-3); border: 1px solid var(--line-1);
  border-radius: var(--radius); padding: 26px 24px;
}
.card__title { font-size: 17px; font-weight: 650; margin-bottom: 10px; color: var(--text-1); }
.card__text { color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.card--quiet { background: transparent; }
.card--rule { border-left: 2px solid var(--lotus); border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------------- 五岗角色 ---------------- */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.role {
  background: var(--bg-3); border: 1px solid var(--line-1);
  border-radius: var(--radius); padding: 24px 20px;
}
.role--lead { border-color: rgba(150, 89, 127, 0.38); }
.role__tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.16em;
  color: var(--text-4); text-transform: uppercase; margin-bottom: 12px; font-weight: 600;
}
.role--lead .role__tag { color: var(--lotus); }
.role__name { font-size: 16.5px; font-weight: 650; color: var(--text-1); margin-bottom: 4px; }
.role__en { font-size: 11.5px; letter-spacing: 0.1em; color: var(--text-4); margin-bottom: 14px; }
.role__desc { font-size: 13.5px; color: var(--text-3); line-height: 1.72; }

/* ---------------- Validation ---------------- */
.validation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric {
  background: var(--bg-3); border: 1px solid var(--line-1);
  border-radius: var(--radius); padding: 26px 24px;
}
.metric__label { font-size: 12px; letter-spacing: 0.15em; color: var(--text-4); text-transform: uppercase; margin-bottom: 12px; }
.metric__value { font-size: 34px; font-weight: 700; color: var(--text-1); line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.metric__value small { font-size: 16px; color: var(--lotus); margin-left: 3px; font-weight: 600; }
.metric__note { margin-top: 12px; font-size: 13.5px; color: var(--text-3); line-height: 1.7; }

/* 高级空态（样本不足） */
.empty-state {
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(243, 239, 247, 0.75));
  padding: 40px 32px; text-align: center;
}
.empty-state__title { font-size: 16px; font-weight: 650; color: var(--text-1); margin-bottom: 8px; letter-spacing: 0.02em; }
.empty-state__desc { font-size: 14px; color: var(--text-3); max-width: 44em; margin: 0 auto; line-height: 1.8; }

/* ---------------- Guardrails ---------------- */
.guardrails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guardrail {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 30px 26px; background: rgba(150, 89, 127, 0.04);
}
.guardrail__no {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em;
  color: var(--lotus-deep); margin-bottom: 14px; font-weight: 600;
}
.guardrail__title { font-size: 18px; font-weight: 650; color: var(--text-1); margin-bottom: 10px; letter-spacing: 0.01em; }
.guardrail__desc { font-size: 14.5px; color: var(--text-2); line-height: 1.8; }

/* ---------------- Insights ---------------- */
.insight-list { display: grid; gap: 14px; }
.insight {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  background: var(--bg-3); border: 1px solid var(--line-1);
  border-radius: var(--radius); padding: 22px 26px;
  transition: border-color 0.16s, background 0.16s;
}
.insight:hover { border-color: var(--line-3); background: var(--bg-4); }
.insight__main { min-width: 0; }
.insight__date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-4); margin-bottom: 7px; }
.insight__title { font-size: 16.5px; font-weight: 650; color: var(--text-1); margin-bottom: 6px; }
.insight__desc { font-size: 14px; color: var(--text-3); line-height: 1.7; }
.insight__cta { flex: none; font-size: 14px; color: var(--violet); white-space: nowrap; }

/* ---------------- 系统 UI 示意 ---------------- */
.demo-frame {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius);
  background-color: var(--bg-0);
  background-image: linear-gradient(180deg, var(--dark-1) 0%, var(--bg-0) 100%);
  box-shadow: var(--shadow-lift); overflow: hidden;
}
.demo-frame__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--line-1); background: rgba(36, 27, 46, 0.02);
}
.demo-frame__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.demo-frame__label {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--text-4); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 8px;
}
.demo-frame svg { width: 100%; height: auto; display: block; }

/* ---------------- 表格 ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-1); border-radius: var(--radius); background: var(--bg-3); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-1); vertical-align: top; }
table.data th { font-weight: 600; color: var(--text-2); background: rgba(36, 27, 46, 0.03); font-size: 13px; letter-spacing: 0.06em; white-space: nowrap; }
table.data tr:last-child td { border-bottom: none; }
table.data td { color: var(--text-2); }

/* 状态徽章（样例报告编译器依赖） */
.badge {
  display: inline-block; font-size: 12px; padding: 3px 11px;
  border-radius: 999px; border: 1px solid; white-space: nowrap; font-weight: 500; letter-spacing: 0.02em;
}
.badge--pending { color: #7A4463; background: rgba(150, 89, 127, 0.10); border-color: rgba(150, 89, 127, 0.32); }
.badge--ok { color: #276E4A; background: rgba(39, 110, 74, 0.10); border-color: rgba(39, 110, 74, 0.30); }
.badge--info { color: #4E3A9E; background: rgba(98, 68, 184, 0.10); border-color: rgba(98, 68, 184, 0.30); }
.badge--sample { color: #6B4FA0; background: rgba(111, 82, 168, 0.10); border-color: rgba(111, 82, 168, 0.30); }

/* ---------------- 图表卡（样例报告依赖） ---------------- */
.chart-card { background: var(--bg-3); border: 1px solid var(--line-1); border-radius: var(--radius); padding: 24px; }
.chart-card__title { font-size: 15.5px; font-weight: 650; margin-bottom: 4px; color: var(--text-1); }
.chart-card__note { font-size: 12.5px; color: var(--text-4); margin-bottom: 18px; }
.chart-card svg { width: 100%; height: auto; display: block; }

/* ---------------- 页面 hero（内页） ---------------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 380px at 82% -18%, rgba(111, 82, 168, 0.07), transparent 62%),
    var(--bg-1);
  padding: 68px 0 56px; border-bottom: 1px solid var(--line-1);
}
.page-hero__title { font-size: clamp(27px, 3.2vw, 40px); font-weight: 700; color: var(--text-1); letter-spacing: 0.01em; line-height: 1.3; }
.page-hero__lede { margin-top: 16px; color: var(--text-2); max-width: 54em; font-size: 16.5px; line-height: 1.85; }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { font-size: 13px; color: var(--text-4); padding: 20px 0 0; }
.breadcrumb a { color: var(--text-4); }
.breadcrumb a:hover { color: var(--text-2); }

/* ---------------- 报告正文（样例公开报告） ---------------- */
[data-public-contract="kirin.public_market_report.v1"] .feature-list { margin: 14px 0 0; padding-left: 1.2em; color: var(--text-2); }
[data-public-contract="kirin.public_market_report.v1"] .feature-list li { margin: 9px 0; line-height: 1.8; }
[data-public-contract="kirin.public_market_report.v1"] .notice {
  padding: 18px 20px; border: 1px solid var(--line-1); border-left: 3px solid var(--lotus);
  border-radius: var(--radius-sm); background: rgba(203, 159, 191,0.05); color: var(--text-2);
}
[data-public-contract="kirin.public_market_report.v1"] h2 { color: var(--text-1); }
[data-public-contract="kirin.public_market_report.v1"] h3 { color: var(--text-1); }
[data-public-contract="kirin.public_market_report.v1"] p { color: var(--text-2); }

.report-doc {
  background: var(--bg-3); border: 1px solid var(--line-1); border-radius: var(--radius);
  padding: 44px clamp(22px, 5vw, 56px); margin: 44px 0;
}
.report-doc__header { border-bottom: 1px solid var(--line-2); padding-bottom: 22px; margin-bottom: 30px; }
.report-doc__brand { font-size: 12px; letter-spacing: 0.2em; color: var(--lotus); font-weight: 600; text-transform: uppercase; }
.report-doc__title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-top: 10px; color: var(--text-1); }
.report-doc__sub { color: var(--text-4); font-size: 13.5px; margin-top: 8px; }
.report-doc h2 { font-size: 20px; margin: 38px 0 14px; padding-left: 12px; border-left: 3px solid var(--lotus); line-height: 1.4; }
.report-doc h3 { font-size: 16.5px; margin: 24px 0 10px; }
.report-doc p { color: var(--text-2); margin-bottom: 12px; }
.report-doc .muted { color: var(--text-3); font-size: 14px; }
.report-doc__footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-1); color: var(--text-4); font-size: 13px; line-height: 1.85; }

.brief-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.brief-list li {
  background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--radius-sm);
  padding: 11px 16px; font-size: 14.5px; color: var(--text-2);
}
.brief-list li::before { content: "·"; color: var(--lotus); font-weight: 700; margin-right: 8px; }

.risk-box {
  background: rgba(201, 122, 134, 0.07); border: 1px solid rgba(201, 122, 134, 0.28);
  border-radius: var(--radius-sm); padding: 18px 20px; margin: 14px 0;
}
.risk-box__title { color: #8E2F45; font-weight: 650; font-size: 15px; margin-bottom: 7px; }
.risk-box p, .risk-box li { font-size: 14px; color: var(--text-2); }

.accumulating {
  border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
  padding: 26px 24px; text-align: center; color: var(--text-3); background: rgba(36, 27, 46, 0.02);
}
.accumulating__title { font-weight: 650; color: var(--text-1); font-size: 15.5px; margin-bottom: 6px; }

/* ---------------- 分隔引言 ---------------- */
.pull-quote {
  border-left: 2px solid var(--lotus); padding: 6px 0 6px 24px;
  font-size: clamp(17px, 2vw, 21px); line-height: 1.7; color: var(--text-1); font-weight: 500;
}
.pull-quote cite { display: block; margin-top: 12px; font-size: 13px; color: var(--text-4); font-style: normal; letter-spacing: 0.08em; }

/* ---------------- 结尾 CTA ---------------- */
.cta-band {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: radial-gradient(700px 300px at 18% 0%, rgba(111, 82, 168, 0.06), transparent 66%), var(--bg-2);
  padding: 52px 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(21px, 2.4vw, 27px); color: var(--text-1); font-weight: 700; letter-spacing: 0.01em; }
.cta-band p { margin-top: 10px; color: var(--text-2); max-width: 42em; font-size: 15.5px; }

/* ---------------- 表单（私密反馈 / 迁移说明） ---------------- */
.form-card { background: var(--bg-3); border: 1px solid var(--line-1); border-radius: var(--radius); padding: 28px 26px; }
.form__field { margin-bottom: 16px; }
.form__field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--text-2); }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; padding: 11px 13px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--bg-2); color: var(--text-1);
}
.form__field textarea { resize: vertical; min-height: 150px; }
.form__field small { display: block; margin-top: 6px; color: var(--text-4); font-size: 12.5px; }
.form--disabled input, .form--disabled select, .form--disabled textarea { cursor: not-allowed; background: var(--bg-1); color: var(--text-4); }
.form .btn:disabled { background: var(--line-1); color: var(--text-3); cursor: not-allowed; }
.form__status { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-1); color: var(--text-3); font-size: 13.5px; line-height: 1.9; }
.feedback-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- 其它渠道（页脚轻链） ---------------- */
.channels { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 14px; }
.channels a { font-size: 13.5px; color: var(--text-3); }
.channels a:hover { color: var(--text-1); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--bg-0); border-top: 1px solid var(--line-1); }
.site-footer__inner { padding: 64px 0 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16.5px; letter-spacing: 0.04em; }
.site-footer__brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-footer__desc { margin-top: 16px; font-size: 13.5px; color: var(--text-3); max-width: 30em; line-height: 1.8; }
.site-footer h3 { color: var(--text-4); font-size: 11.5px; letter-spacing: 0.18em; margin-bottom: 16px; font-weight: 600; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a { color: var(--text-3); }
.site-footer a:hover { color: var(--text-1); }
.site-footer__legal { border-top: 1px solid var(--line-1); margin-top: 48px; padding-top: 24px; font-size: 12.5px; line-height: 1.9; color: var(--text-4); }
.site-footer__legal p { max-width: 82em; }
.site-footer__legal-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 12px; }

/* ---------------- 迁移提示页 ---------------- */
.moved {
  min-height: 52vh; display: flex; align-items: center;
  padding: 90px 0;
}
.moved__box { max-width: 46em; }
.moved__box h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--text-1); margin-bottom: 16px; }
.moved__box p { color: var(--text-2); font-size: 16px; margin-bottom: 26px; }

/* ---------------- 响应式 ---------------- */
/* 1180–1365px：英文导航（7 项 + CTA + 语言切换）字宽显著大于中文，
   此区间采用紧凑排版，保证完整桌面导航不溢出。 */
@media (min-width: 1180px) and (max-width: 1365px) {
  .container { padding: 0 22px; }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: 13.5px; padding: 8px 8px; }
  .site-nav__cta-link { font-size: 13.5px; padding: 8px 12px; margin-left: 4px; }
  .lang-switch { margin-left: 6px; padding-left: 10px; }
}

/* 折叠导航断点：1179px。
   中英双语下英文导航在 1024px 无法完整排布，若沿用 1023px 断点会在
   1024–1179px 区间横向溢出，故提高到 1179px。 */
@media (max-width: 1179px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line-1);
    padding: 12px 20px 20px; flex-direction: column; align-items: stretch; gap: 12px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 12px 12px; font-size: 16px; }
  .site-nav__cta-link { margin-left: 0; justify-content: flex-start; }
  .lang-switch { margin-left: 0; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-1); padding-top: 12px; }
}

@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
  .hero { padding: 72px 0 68px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .guardrails { grid-template-columns: 1fr; }
  .validation-grid { grid-template-columns: 1fr; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipeline__step { padding-right: 18px; }
}

@media (max-width: 639px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  /* 窄屏下长文本徽章（如英文法律页的主体信息）允许折行，避免撑破视口 */
  .badge { white-space: normal; }
  .hero { padding: 54px 0 50px; }
  .hero__actions .btn { width: 100%; }
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .pillars, .roles, .pipeline { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 40px; }
  .page-hero { padding: 52px 0 44px; }
  .cta-band { padding: 34px 24px; }
  .cta-band .btn { width: 100%; }
  .insight { flex-direction: column; align-items: flex-start; gap: 14px; }
  .report-doc { padding: 26px 18px; }
  .guardrail, .metric, .card { padding: 22px 20px; }
}

/* ---------------- 降低动效偏好 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------- 深色区域内的文字反色 ----------------
   页脚与 UI 示意卡保留深藕荷，其内部文字必须用浅色，不能跟随浅色主体。 */
.site-footer { color: var(--on-dark-2); border-top: 1px solid var(--dark-line); }
.site-footer__grid h3,
.site-footer h3 { color: var(--on-dark-3); }
.site-footer__desc,
.site-footer li,
.site-footer__legal p { color: var(--on-dark-2); }
.site-footer a,
.channels a,
.site-footer__legal a { color: var(--on-dark-2); }
.site-footer a:hover,
.channels a:hover { color: #FFFFFF; }
.site-footer__legal { color: var(--on-dark-3); }
.site-footer__brand { color: #FFFFFF; }
.demo-frame,
.demo-frame__bar { color: var(--on-dark-2); }
.demo-frame__label { color: var(--on-dark-3); }

/* ============================================================
   装饰层 v2.2（克制型质感装饰）
   约束（依据 brief §5.5）：无粒子、无循环动画、无自动轮播、无密集描边、
   无装饰性 K 线纹理；仅用光晕、渐变细边、几何纹与轻入场表现层次。
   ============================================================ */

/* —— 1. Hero：同心弧几何纹 + 光斑，营造「研究台」纵深 —— */
.hero::before {
  content: ""; position: absolute; right: -60px; top: -140px;
  width: 560px; height: 560px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at center,
    transparent 0 38px, rgba(150, 89, 127, 0.055) 38px 39px);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: min(560px, 62%);
  height: 1px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--lotus) 50%, transparent);
  opacity: 0.5;
}
.hero__inner { position: relative; z-index: 1; }

/* 眉题加一颗状态点，暗示「系统在运行」 */
.hero__eyebrow { position: relative; padding-left: 26px; }
.hero__eyebrow::before {
  content: ""; position: absolute; left: 12px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--lotus);
  box-shadow: 0 0 0 3px rgba(150, 89, 127, 0.16);
}

/* —— 2. UI 示意卡：轻微视差抬升 + 顶部高光 —— */
.demo-frame { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.demo-frame:hover { transform: translateY(-3px); box-shadow: 0 24px 56px rgba(36, 27, 46, 0.18); }
.demo-frame::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

/* —— 3. 分区：渐变细分隔线（中段藕荷提亮）—— */
.section--seam {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent,
    var(--line-2) 18%, rgba(150, 89, 127, 0.55) 50%, var(--line-2) 82%, transparent) 1;
}
.section--alt { position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 340px at 88% 0%, rgba(111, 82, 168, 0.05), transparent 64%);
}
.section--alt > .container { position: relative; z-index: 1; }

/* —— 4. 区块标题：前导短线 + 序号式标签底纹 —— */
.section__kicker { position: relative; padding-left: 22px; }
.section__kicker::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px;
  background: var(--lotus); transform: translateY(-50%);
}

/* —— 5. 卡片：hover 抬升 + 顶边高光 —— */
.card, .role, .metric, .pillar, .guardrail, .insight {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover, .role:hover, .metric:hover, .guardrail:hover {
  transform: translateY(-3px);
  border-color: var(--line-3);
  box-shadow: 0 10px 28px rgba(36, 27, 46, 0.09);
}
.metric::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--lotus), rgba(111, 82, 168, 0.35), transparent);
  opacity: 0.75;
}
.metric { position: relative; overflow: hidden; }

/* —— 6. Pipeline：步骤连接线 + 序号底纹 —— */
.pipeline__step { position: relative; }
.pipeline__no {
  display: inline-block; min-width: 30px; padding: 3px 8px; margin-bottom: 12px;
  border-radius: 6px; background: rgba(150, 89, 127, 0.07);
  border: 1px solid rgba(150, 89, 127, 0.18);
}
.pipeline__step:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 38px;
  width: 6px; height: 6px; border-right: 1px solid var(--line-3);
  border-top: 1px solid var(--line-3); transform: rotate(45deg);
}

/* —— 7. Guardrails：序号圆形底纹 —— */
.guardrail__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-bottom: 16px; border-radius: 50%;
  background: rgba(150, 89, 127, 0.08); border: 1px solid rgba(150, 89, 127, 0.22);
}

/* —— 8. 引言：上方大引号 —— */
.pull-quote { position: relative; padding-top: 26px; }
.pull-quote::before {
  content: "\201C"; position: absolute; left: 24px; top: -14px;
  font-size: 66px; line-height: 1; color: rgba(150, 89, 127, 0.22);
  font-family: Georgia, "Times New Roman", serif;
}

/* —— 9. CTA：1px 渐变描边 —— */
.cta-band { position: relative; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(150, 89, 127, 0.4), rgba(111, 82, 168, 0.22) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* —— 10. 页脚：品牌水印 —— */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "KIRIN FOCUS"; position: absolute; right: -8px; bottom: -18px;
  font-size: clamp(72px, 12vw, 148px); font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.028); pointer-events: none; white-space: nowrap;
  font-family: var(--font-sans);
}
.site-footer__inner { position: relative; z-index: 1; }

/* —— 11. 滚动轻入场（JS 加 .js-reveal 后才启用，避免脚本失效导致内容不可见）—— */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); }
.js-reveal .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  .demo-frame:hover, .card:hover, .role:hover, .metric:hover, .guardrail:hover { transform: none; }
}
