/* ============================================================
   JackMKT · 统一设计系统 (JackConf 同族视觉)
   纯黑白灰 / 无彩色主色 / 半透明卡片 + 柔和阴影 / 1080 容器
   来源：reports/active/介绍_JackMKT_虚拟消费者实验室引擎_2026-08-13.html 设计语言
   适用：所有前端页面共用，替代内联 style
   ============================================================ */
:root{
  --ink:#111111; --ink2:#333333; --gray:#666666; --gray2:#767676;
  --line:rgba(0,0,0,0.08); --line2:rgba(0,0,0,0.12);
  --card:rgba(255,255,255,0.82);
  --bg:#ffffff; --bg-soft:#fafafa;
  /* 受访者方阵 · 受控 8 色板（--ph-*：深底沙盘档；--phl-*：浅底图表档，同序同组异深浅） */
  --ph-c1:#4FC3F7; --ph-c2:#7E57C2; --ph-c3:#66BB6A; --ph-c4:#FFA726;
  --ph-c5:#EC407A; --ph-c6:#26C6DA; --ph-c7:#FFD54F; --ph-c8:#A1887F;
  --phl-c1:#0288D1; --phl-c2:#5E35B1; --phl-c3:#2E7D32; --phl-c4:#EF6C00;
  --phl-c5:#C2185B; --phl-c6:#00838F; --phl-c7:#F9A825; --phl-c8:#6D4C41;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink); background:var(--bg); line-height:1.6;
  -webkit-font-smoothing:antialiased; letter-spacing:-0.01em;
}
a{color:inherit;}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px;position:relative;}

/* ---------- Hero（无顶部导航栏） ---------- */
.hero{position:relative;overflow:hidden;padding:88px 0 72px;border-bottom:1px solid var(--line);}
.hero::before,.hero::after{content:"";position:absolute;background:rgba(0,0,0,0.06);}
.hero::before{width:1px;height:240px;top:-40px;left:18%;transform:rotate(18deg);}
.hero::after{width:1px;height:200px;bottom:-30px;right:22%;transform:rotate(-14deg);}
.brand{font-size:24px;font-weight:800;letter-spacing:-0.02em;color:var(--ink);margin-bottom:8px;}
.slogan-en{font-size:15px;font-weight:600;letter-spacing:0.08em;color:var(--gray);margin-bottom:14px;}
h1{font-size:40px;line-height:1.2;font-weight:700;letter-spacing:-0.03em;margin:0 0 18px;max-width:100%;}
.hero-pos{font-size:16px;font-weight:600;color:var(--ink);max-width:680px;margin-bottom:16px;letter-spacing:-0.01em;}
.lede{font-size:17px;color:var(--gray);max-width:640px;margin-bottom:30px;}

/* ---------- CTA 按钮 ---------- */
.cta{display:inline-block;padding:13px 28px;background:var(--ink);color:#fff;border-radius:8px;font-size:15px;font-weight:600;text-decoration:none;transition:background .2s;cursor:pointer;border:none;}
.cta:hover{background:#333;}
.cta.ghost{background:transparent;color:var(--ink);border:1px solid var(--line2);margin-left:12px;}
.cta.ghost:hover{background:rgba(0,0,0,0.04);}
.cta:disabled{opacity:.5;cursor:not-allowed;}

/* ---------- Section ---------- */
section{padding:64px 0;border-bottom:1px solid var(--line);}
.eyebrow{font-size:13px;font-weight:600;letter-spacing:0.08em;color:var(--gray2);text-transform:uppercase;margin-bottom:10px;}
h2{font-size:30px;font-weight:700;letter-spacing:-0.02em;margin-bottom:12px;}
.sec-sub{font-size:15px;color:var(--gray);max-width:680px;margin-bottom:32px;}

/* ---------- Grid & Card ---------- */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 4px 20px rgba(0,0,0,0.04);}
.card h3{font-size:17px;font-weight:700;margin-bottom:6px;}
.card p{font-size:13.5px;color:var(--gray);}
.tag{display:inline-block;font-size:12px;color:var(--gray2);border:1px solid var(--line2);border-radius:999px;padding:3px 10px;margin-bottom:12px;}
.note{font-size:12px;color:var(--gray2);margin-top:18px;}

footer{padding:48px 0;text-align:center;border-top:1px solid var(--line);}
footer .brand{font-size:15px;font-weight:600;margin-bottom:4px;}
footer .slogan{font-size:13px;color:var(--gray);letter-spacing:0.08em;}

/* ============================================================
   以下为交互/应用页（对话式推演、框架卡、简报、看板）专用组件
   ============================================================ */

/* ---------- 顶部应用栏（极简，仅品牌+登录态） ---------- */
.appbar{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid var(--line);}
.appbar .brand{margin-bottom:0;font-size:20px;cursor:pointer;}
.appbar .who{font-size:13px;color:var(--gray);}
.appbar .who button{margin-left:10px;}

/* ---------- 页面容器（应用页用，非营销 hero） ---------- */
.app{padding:32px 0 64px;}
.app .wrap{max-width:880px;}

/* ---------- 表单 ---------- */
.field{margin-bottom:18px;}
.field label{display:block;font-size:13px;font-weight:600;color:var(--ink2);margin-bottom:7px;}
input[type=text],input[type=password],input[type=number],textarea,select{
  width:100%;padding:12px 14px;border:1px solid var(--line2);border-radius:8px;
  font-size:15px;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s;
}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--ink);}
textarea{resize:vertical;min-height:96px;line-height:1.5;}
.secondary{background:transparent;color:var(--ink);border:1px solid var(--line2);border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s;}
.secondary:hover{background:rgba(0,0,0,0.04);}

/* ---------- 极简首页大输入框 ---------- */
.home{min-height:78vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 24px;text-align:center;}
.home .kicker{font-size:13px;font-weight:600;letter-spacing:0.08em;color:var(--gray2);text-transform:uppercase;margin-bottom:14px;}
.home h1{font-size:44px;max-width:760px;}
.home .lede{text-align:center;margin-left:auto;margin-right:auto;}
.home .composer{width:100%;max-width:680px;margin-top:28px;position:relative;}
.home textarea{min-height:64px;font-size:17px;padding-right:120px;line-height:1.5;}
.home .composer .cta{position:absolute;right:8px;bottom:8px;padding:10px 22px;}
.rotate-hint{margin-top:18px;font-size:15px;color:var(--gray);min-height:24px;transition:opacity .4s;}
.rotate-hint b{color:var(--ink);font-weight:600;}
.home .mini{margin-top:14px;font-size:13px;color:var(--gray2);}

/* ---------- 对话气泡（阶段2 澄清） ---------- */
.chat{display:flex;flex-direction:column;gap:14px;margin:24px 0;}
.bubble{max-width:78%;padding:14px 18px;border-radius:16px;font-size:15px;line-height:1.6;}
.bubble.sys{align-self:flex-start;background:var(--card);border:1px solid var(--line);border-bottom-left-radius:4px;}
.bubble.user{align-self:flex-end;background:var(--ink);color:#fff;border-bottom-right-radius:4px;}
.bubble .q-title{font-weight:700;margin-bottom:4px;}
.bubble .q-desc{font-size:13px;color:var(--gray);}

/* ---------- 选择题组件 ---------- */
.choices{display:flex;flex-direction:column;gap:10px;margin:10px 0;}
.choice{display:flex;align-items:flex-start;gap:12px;padding:13px 16px;border:1px solid var(--line2);border-radius:10px;cursor:pointer;transition:border-color .15s,background .15s;background:#fff;}
.choice:hover{border-color:var(--ink);background:rgba(0,0,0,0.02);}
.choice.selected{border-color:var(--ink);background:rgba(0,0,0,0.04);}
.choice input{margin-top:3px;flex:none;}
.choice .c-label{font-size:14.5px;color:var(--ink2);}
.choice .c-desc{font-size:12.5px;color:var(--gray);margin-top:2px;}
.choice .c-input{flex:1;}

/* ---------- 进度 / 加载 ---------- */
.progress{height:4px;background:var(--line);border-radius:999px;overflow:hidden;margin:18px 0;}
.progress > i{display:block;height:100%;background:var(--ink);width:0;transition:width .3s;}
.steps{font-size:13px;color:var(--gray2);margin-bottom:6px;}
.spinner{width:22px;height:22px;border:2px solid var(--line2);border-top-color:var(--ink);border-radius:50%;animation:spin .8s linear infinite;display:inline-block;vertical-align:middle;margin-right:8px;}
@keyframes spin{to{transform:rotate(360deg);}}

/* ---------- 框架卡 / 六要素 ---------- */
.frame-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:18px 0;}
.frame{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:0 4px 20px rgba(0,0,0,0.04);}
.frame h4{font-size:14px;font-weight:700;margin-bottom:8px;display:flex;align-items:center;gap:8px;}
.frame h4 .idx{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border:1px solid var(--line2);border-radius:6px;font-size:12px;color:var(--gray2);}
.frame .body{font-size:14px;color:var(--ink2);line-height:1.65;}
.frame .body ul{margin:0;padding-left:18px;}

/* ---------- honesty 横幅（常驻，不抢眼但可见） ---------- */
.honesty{display:flex;gap:10px;align-items:flex-start;background:var(--bg-soft);border:1px solid var(--line);border-left:3px solid var(--ink);border-radius:8px;padding:12px 14px;font-size:13px;color:var(--ink2);line-height:1.6;margin:16px 0;}
.honesty b{color:var(--ink);}

/* ---------- verdict 终屏卡（阶段5） ---------- */
.verdict{margin:28px 0;padding:28px;border:1px solid var(--ink);border-radius:16px;background:var(--ink);color:#fff;box-shadow:0 10px 40px rgba(0,0,0,0.12);}
.verdict .v-label{font-size:13px;font-weight:600;letter-spacing:0.08em;color:rgba(255,255,255,0.7);text-transform:uppercase;margin-bottom:10px;}
.verdict .v-win{font-size:34px;font-weight:800;letter-spacing:-0.02em;margin-bottom:10px;}
.verdict .v-concl{font-size:17px;line-height:1.6;margin-bottom:16px;}
.verdict .v-risk{font-size:14px;color:rgba(255,255,255,0.85);line-height:1.7;}
.verdict .v-risk b{color:#fff;}

/* ---------- 调试/示例标注（DEMO） ---------- */
.demo-banner{background:#111;color:#fff;font-size:13px;font-weight:600;padding:9px 16px;text-align:center;letter-spacing:0.02em;}
.warn-line{font-size:12px;color:var(--gray);margin-top:14px;text-align:center;}
.debug-only{margin-top:28px;border-top:1px dashed var(--line2);padding-top:16px;}
.debug-only summary{cursor:pointer;color:#B71C1C;font-size:13px;font-weight:700;}
.debug-only pre{background:#fff5f5;padding:10px;border-radius:6px;font-size:11px;max-height:320px;overflow:auto;white-space:pre-wrap;word-break:break-all;}

/* ---------- 响应式 ---------- */
@media (max-width:640px){
  .wrap{padding:0 20px;}
  .hero{padding:56px 0 44px;}
  .brand{font-size:22px;}
  .slogan-en{font-size:13px;}
  h1{font-size:30px;line-height:1.25;}
  .lede{font-size:15px;max-width:100%;}
  .cta{display:block;width:100%;text-align:center;box-sizing:border-box;}
  .cta.ghost{margin-left:0;margin-top:12px;}
  section{padding:44px 0;}
  h2{font-size:23px;}
  .sec-sub{max-width:100%;}
  .grid3,.grid2,.frame-grid{grid-template-columns:1fr;}
  .card{padding:18px;}
  .card h3{font-size:16px;}
  .card p{font-size:13px;}
  .home h1{font-size:30px;}
  .home textarea{padding-right:14px;}
  .home .composer .cta{position:static;width:100%;margin-top:10px;}
}
