/* AGENT 2048 · 智能体调度中枢 —— 深色科技风（品牌色取自官网 gac.agent2048.com） */
@font-face { font-family:"MiSans A"; src:url("fonts/misans-vf-latin.woff2") format("woff2"); font-weight:100 900; font-display:swap; }
@font-face { font-family:"JB Mono"; src:url("fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight:100 800; font-display:swap; }
@font-face { font-family:"Noto Sans SC"; src:url("fonts/NotoSansSC-subset.woff2") format("woff2"); font-weight:100 900; font-display:swap; }

:root {
  --bg:#070B14; --bg-2:#0B1220; --bg-3:#101A2E;
  --line:rgba(150,175,220,.14); --line-2:rgba(150,175,220,.24);
  --text:#E8EDF7; --text-2:#B4BED2; --muted:#8B95A8; --dim:#5A6680;
  --electric:#175CE5; --electric-l:#5B8CFF;
  --teal:#2DD4BF; --gold:#D4AF6A; --gold-l:#F0D59A; --warn:#F2855E;
  --zh:"MiSans A", "Noto Sans SC", "PingFang SC", sans-serif;
  --mono:"JB Mono", "Noto Sans SC", ui-monospace, monospace;
  --r:16px;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; }
html, body { margin:0; }
body { font-family:var(--zh); background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased; min-height:100vh; display:flex; flex-direction:column; }
a { color:inherit; text-decoration:none; }
button, input, textarea, select { font:inherit; color:inherit; }
button { cursor:pointer; }
:focus-visible { outline:2px solid var(--teal); outline-offset:3px; border-radius:8px; }
main { flex:1; }
.wrap { width:100%; max-width:1240px; margin:0 auto; padding:0 32px; }

/* ── nav ── */
.nav { position:fixed; inset:0 0 auto; z-index:30; height:68px; display:flex; align-items:center; gap:40px; padding:0 32px; transition:background .3s, border-color .3s; border-bottom:1px solid transparent; }
.nav.solid { background:rgba(7,11,20,.82); backdrop-filter:blur(14px); border-color:var(--line); }
.logo { display:flex; align-items:baseline; gap:12px; }
.logo b { font-weight:800; letter-spacing:.06em; font-size:18px; }
.logo span { font-size:14px; color:var(--muted); }
.nav-links { display:flex; gap:28px; flex:1; }
.nav-links a { font-size:15px; color:var(--text-2); padding:6px 0; border-bottom:2px solid transparent; }
.nav-links a:hover { color:var(--text); }
.nav-links a.on { color:var(--text); border-color:var(--electric-l); }
.nav-right { display:flex; align-items:center; gap:14px; }
.demo-tag { font-family:var(--mono); font-size:12px; color:var(--muted); border:1px solid var(--line-2); padding:3px 8px; border-radius:6px; }

/* ── buttons & chips ── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:12px; padding:14px 24px; font-size:16px; font-weight:700; white-space:nowrap; transition:transform .15s, background .2s, border-color .2s; }
.btn:active { transform:translateY(1px); }
.btn.primary { background:var(--electric); color:#fff; box-shadow:0 8px 30px rgba(23,92,229,.35), inset 0 1px 0 rgba(255,255,255,.18); }
.btn.primary:hover { background:#2468F0; }
.btn.primary:disabled { background:#1B2B4F; color:#6E7C99; box-shadow:none; cursor:not-allowed; }
.btn.ghost { background:rgba(255,255,255,.04); border:1px solid var(--line-2); color:var(--text); }
.btn.ghost:hover { border-color:var(--text-2); }
.btn.gold { background:linear-gradient(180deg,#E7C987,#C9A15A); color:#1A1206; box-shadow:0 8px 30px rgba(212,175,106,.25); }
.btn.small { padding:9px 16px; font-size:14px; border-radius:10px; }
.chip { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; font-size:13px; font-weight:600; border:1px solid var(--line-2); color:var(--text-2); background:rgba(255,255,255,.03); white-space:nowrap; }
.chip.ind { color:#9DBBFF; border-color:rgba(91,140,255,.35); background:rgba(91,140,255,.10); }
.chip.cap { color:#7EE8DA; border-color:rgba(45,212,191,.35); background:rgba(45,212,191,.08); }
.chip.con { color:#C9B5FF; border-color:rgba(160,130,255,.35); background:rgba(160,130,255,.10); }
.chip button { border:0; background:none; padding:0 0 0 2px; color:inherit; opacity:.6; font-size:15px; line-height:1; }
.chip button:hover { opacity:1; }
.grade { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:var(--gold-l); border:1px solid rgba(212,175,106,.45); background:rgba(212,175,106,.10); padding:3px 9px; border-radius:6px; white-space:nowrap; }
.grade b { font-family:var(--mono); font-size:14px; }
.grade.none { color:var(--muted); border-color:var(--line-2); background:none; }
.status { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; padding:3px 9px; border-radius:6px; white-space:nowrap; }
.status::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.status.s-待匹配 { color:var(--muted); background:rgba(139,149,168,.12); }
.status.s-匹配中 { color:#9DBBFF; background:rgba(91,140,255,.14); }
.status.s-方案中 { color:#C9B5FF; background:rgba(160,130,255,.14); }
.status.s-演示中 { color:var(--teal); background:rgba(45,212,191,.12); }
.status.s-已落地 { color:var(--gold-l); background:rgba(212,175,106,.14); }
.mono { font-family:var(--mono); }
.panel { background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border:1px solid var(--line); border-radius:var(--r); }
.kicker { display:inline-flex; align-items:center; gap:10px; font-family:var(--mono); font-size:13px; letter-spacing:.12em; color:var(--text-2); }
.dot { width:8px; height:8px; border-radius:50%; background:var(--teal); box-shadow:0 0 12px var(--teal); animation:blink 2s infinite; }
@keyframes blink { 50% { opacity:.35; } }
.sample { font-family:var(--mono); font-size:11px; color:var(--muted); border:1px dashed var(--line-2); padding:2px 7px; border-radius:5px; letter-spacing:.04em; }

/* ── page head (inner pages) ── */
.page-head { padding:132px 0 36px; position:relative; overflow:hidden; }
.page-head::before { content:""; position:absolute; inset:-40% -10% auto; height:520px; background:radial-gradient(ellipse at 70% 30%, rgba(23,92,229,.32), transparent 60%), radial-gradient(ellipse at 20% 0%, rgba(45,212,191,.10), transparent 55%); pointer-events:none; }
.page-head .wrap { position:relative; }
.page-head h1 { margin:14px 0 10px; font-size:clamp(34px, 4.4vw, 56px); font-weight:800; letter-spacing:-.01em; line-height:1.15; }
.page-head p.sub { margin:0; font-size:18px; color:var(--text-2); max-width:720px; }

/* ── home: hero ── */
.hero { position:relative; min-height:92vh; display:flex; align-items:center; overflow:hidden; }
.hero canvas { position:absolute; inset:0; width:100%; height:100%; }
.hero::after { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse 60% 55% at 50% 52%, rgba(7,11,20,.88), rgba(7,11,20,.2) 70%, transparent), linear-gradient(transparent 70%, var(--bg)); }
.hero-in { position:relative; z-index:2; text-align:center; padding-top:80px; }
.hero-h { margin:22px 0 18px; font-size:clamp(40px, 6.2vw, 84px); font-weight:800; line-height:1.12; letter-spacing:-.02em; }
.hero-h span { display:block; }
.hero-h em { font-style:normal; background:linear-gradient(100deg, var(--gold-l), var(--gold) 60%, #B88D45); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-sub { margin:0 auto; max-width:680px; font-size:19px; color:var(--text-2); line-height:1.7; }
.hero-ask { margin:38px auto 0; max-width:820px; display:flex; gap:10px; padding:10px; border-radius:20px; background:rgba(16,26,46,.72); border:1px solid var(--line-2); backdrop-filter:blur(10px); box-shadow:0 30px 80px rgba(0,0,0,.45); }
.hero-ask:focus-within { border-color:rgba(45,212,191,.6); box-shadow:0 0 0 4px rgba(45,212,191,.12), 0 30px 80px rgba(0,0,0,.45); }
.hero-ask input { flex:1; min-width:0; border:0; background:none; outline:none; padding:12px 16px; font-size:18px; }
.hero-ask input::placeholder { color:var(--dim); }
.hero-ex { margin-top:18px; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; font-size:14px; color:var(--muted); align-items:center; }
.hero-ex button { border:1px solid var(--line-2); background:rgba(255,255,255,.03); border-radius:999px; padding:6px 14px; font-size:14px; color:var(--text-2); }
.hero-ex button:hover { border-color:var(--teal); color:var(--text); }
.hero-live { margin:18px 0 0; min-height:24px; font-family:var(--mono); font-size:14px; color:var(--teal); }

/* ticker */
.ticker { border-block:1px solid var(--line); background:rgba(11,18,32,.8); overflow:hidden; }
.ticker-track { display:flex; width:max-content; animation:tick 46s linear infinite; }
.ticker-item { display:flex; align-items:center; gap:10px; padding:14px 34px; font-family:var(--mono); font-size:13px; color:var(--text-2); white-space:nowrap; border-right:1px solid var(--line); }
.ticker-item b { color:var(--teal); font-weight:700; letter-spacing:.06em; }
.ticker-item b.g { color:var(--gold-l); }
@keyframes tick { to { transform:translateX(-50%); } }

/* sections */
.sec { padding:110px 0 0; }
.sec-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:36px; }
.sec-head h2 { margin:10px 0 0; font-size:clamp(28px, 3.2vw, 42px); font-weight:800; line-height:1.2; }
.sec-head p { margin:10px 0 0; color:var(--text-2); font-size:16px; max-width:560px; }
.sec-head a.more { font-size:15px; color:var(--electric-l); white-space:nowrap; }

.stats { display:grid; grid-template-columns:repeat(5, 1fr); padding:64px 0 0; }
.stat { padding:0 24px; border-left:1px solid var(--line); }
.stat:first-child { border-left:0; padding-left:0; }
.stat b { display:block; font-family:var(--mono); font-size:clamp(30px, 3.4vw, 46px); font-weight:700; letter-spacing:-.02em; }
.stat b i { font-style:normal; color:var(--teal); }
.stat span { display:block; margin-top:6px; font-size:14px; color:var(--muted); }

.how { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
.how-step { padding:26px; position:relative; }
.how-step .n { font-family:var(--mono); font-size:13px; color:var(--teal); letter-spacing:.1em; }
.how-step h3 { margin:16px 0 8px; font-size:22px; font-weight:800; }
.how-step p { margin:0; font-size:15px; color:var(--text-2); line-height:1.65; }
.how-step:not(:last-child)::after { content:"→"; position:absolute; right:-14px; top:28px; color:var(--dim); font-size:18px; z-index:1; }

.trust { display:grid; grid-template-columns:1fr 1.05fr; gap:56px; align-items:center; }
.trust-points { display:grid; gap:22px; margin-top:28px; }
.trust-points div { padding-left:18px; border-left:2px solid var(--gold); }
.trust-points h4 { margin:0 0 4px; font-size:18px; font-weight:800; }
.trust-points p { margin:0; color:var(--text-2); font-size:15px; line-height:1.6; }
.report { padding:28px; position:relative; overflow:hidden; }
.report::before { content:""; position:absolute; right:-80px; top:-80px; width:260px; height:260px; border-radius:50%; background:radial-gradient(circle, rgba(212,175,106,.18), transparent 70%); }
.report-top { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.report-top .t { font-size:13px; color:var(--muted); }
.report-top h4 { margin:6px 0 0; font-size:20px; font-weight:800; }
.report-grade { text-align:right; }
.report-grade b { display:block; font-family:var(--mono); font-size:64px; line-height:1; color:var(--gold-l); }
.report-grade span { font-family:var(--mono); font-size:14px; color:var(--text-2); }
.bars { display:grid; gap:12px; margin-top:24px; }
.bar-row { display:grid; grid-template-columns:96px 1fr 84px; gap:14px; align-items:center; font-size:14px; }
.bar-row span { color:var(--text-2); }
.bar-row .track { height:8px; border-radius:4px; background:rgba(255,255,255,.06); overflow:hidden; }
.bar-row .track i { display:block; height:100%; border-radius:4px; background:linear-gradient(90deg, var(--electric), var(--teal)); }
.bar-row.low .track i { background:var(--warn); }
.bar-row em { font-style:normal; font-family:var(--mono); text-align:right; color:var(--text); }
.bar-row.low em { color:var(--warn); }
.report-no { margin-top:22px; padding-top:16px; border-top:1px dashed var(--line-2); display:flex; justify-content:space-between; font-family:var(--mono); font-size:13px; color:var(--muted); }

.partners { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.partner { padding:30px; }
.partner h3 { margin:0 0 10px; font-size:22px; font-weight:800; }
.partner p { margin:0; color:var(--text-2); line-height:1.65; }
.partner .who { font-family:var(--mono); font-size:12px; color:var(--teal); letter-spacing:.1em; margin-bottom:14px; }

.cta-band { margin:120px 0 0; padding:72px 0; text-align:center; border-top:1px solid var(--line); background:radial-gradient(ellipse 50% 100% at 50% 100%, rgba(23,92,229,.25), transparent 70%); }
.cta-band h2 { margin:0 0 12px; font-size:clamp(28px, 3.4vw, 44px); font-weight:800; }
.cta-band p { margin:0 0 28px; color:var(--text-2); font-size:17px; }

/* ── agent cards / square ── */
.agent-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.agent { padding:22px; display:flex; flex-direction:column; gap:12px; transition:border-color .2s, transform .2s; }
.agent:hover { border-color:var(--line-2); transform:translateY(-2px); }
.agent-top { display:flex; align-items:center; gap:12px; }
.mark { flex:none; width:46px; height:46px; border-radius:12px; display:grid; place-items:center; font-weight:800; font-size:18px; color:#fff; }
.agent-top h3 { margin:0; font-size:17px; font-weight:800; line-height:1.35; }
.agent-top .meta { margin-top:3px; font-size:12px; color:var(--muted); }
.agent .pitch { margin:0; font-size:14px; color:var(--text-2); line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:44px; }
.agent .tags { display:flex; flex-wrap:wrap; gap:6px; }
.agent .serve { font-size:13px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.agent-foot { margin-top:auto; padding-top:14px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:10px; }
.agent-foot .nums { font-family:var(--mono); font-size:12px; color:var(--muted); display:flex; gap:14px; }
.agent-foot .nums b { color:var(--text); font-weight:700; }

.filters { display:flex; flex-direction:column; gap:14px; margin-bottom:26px; }
.filter-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.filter-row .k { font-size:13px; color:var(--muted); width:64px; flex:none; }
.pill { border:1px solid var(--line-2); background:rgba(255,255,255,.02); border-radius:999px; padding:6px 14px; font-size:14px; color:var(--text-2); }
.pill:hover { color:var(--text); border-color:var(--text-2); }
.pill[aria-pressed="true"] { background:var(--text); color:var(--bg); border-color:var(--text); }
.search { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.search input, .search select { border:1px solid var(--line-2); background:rgba(255,255,255,.03); border-radius:12px; padding:11px 16px; font-size:15px; outline:none; }
.search input { flex:1; min-width:240px; }
.search input:focus, .search select:focus { border-color:var(--teal); }
.search select option { background:var(--bg-2); }
.result-count { font-family:var(--mono); font-size:13px; color:var(--muted); margin:0 0 14px; }
.empty-state { padding:48px; text-align:center; color:var(--text-2); }

/* ── agent detail ── */
.idc { display:grid; grid-template-columns:320px 1fr; gap:0; overflow:hidden; }
.idc-side { padding:34px 28px; border-right:1px solid var(--line); background:rgba(0,0,0,.18); display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px; }
.idc-side .mark { width:96px; height:96px; border-radius:28px; font-size:38px; }
.idc-side h1 { margin:6px 0 0; font-size:26px; font-weight:800; line-height:1.3; }
.idc-side .org { font-size:14px; color:var(--muted); }
.idc-side .pid { font-family:var(--mono); font-size:13px; color:var(--text-2); }
.idc-side .btn { width:100%; margin-top:10px; }
.advisor-mini { margin-top:auto; padding-top:18px; border-top:1px solid var(--line); width:100%; font-size:13px; color:var(--muted); }
.advisor-mini b { color:var(--text); }
.idc-main { padding:34px 38px; }
.crumb { font-size:14px; color:var(--muted); display:flex; gap:8px; flex-wrap:wrap; }
.crumb b { font-family:var(--mono); color:var(--text); letter-spacing:.06em; }
.crumb span.c { color:var(--electric-l); }
.idc-desc { margin:18px 0 6px; padding:18px 20px; border-radius:14px; background:rgba(255,255,255,.035); color:var(--text-2); line-height:1.7; font-size:15px; }
.idc-sec { padding:20px 0 0; }
.idc-sec h3 { display:flex; align-items:center; gap:14px; margin:0 0 12px; font-size:17px; font-weight:800; }
.idc-sec h3::after { content:""; flex:1; height:1px; background:var(--line); }
.idc-sec ul { margin:0; padding:0; list-style:none; display:grid; gap:6px; color:var(--text-2); font-size:15px; }
.idc-sec li::before { content:"· "; color:var(--teal); }
.tags { display:flex; flex-wrap:wrap; gap:8px; }
.metrics { display:grid; grid-template-columns:repeat(4, 1fr); margin-top:24px; border:1px solid var(--line); border-radius:14px; }
.metrics div { padding:16px 18px; border-left:1px solid var(--line); }
.metrics div:first-child { border-left:0; }
.metrics dt { font-size:12px; color:var(--muted); }
.metrics dd { margin:6px 0 0; font-size:16px; font-weight:700; }
.detail-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:16px; margin-top:16px; }
.detail-grid .panel { padding:26px; }
.detail-grid h3 { margin:0 0 4px; font-size:18px; font-weight:800; }
.detail-grid .sub { margin:0 0 16px; font-size:13px; color:var(--muted); }
.mini-list { display:grid; gap:10px; }
.mini { display:flex; align-items:center; gap:12px; padding:12px; border-radius:12px; border:1px solid var(--line); }
.mini:hover { border-color:var(--line-2); }
.mini .mark { width:36px; height:36px; font-size:14px; border-radius:10px; }
.mini b { display:block; font-size:15px; }
.mini small { color:var(--muted); font-size:12px; }
.mini .grade { margin-left:auto; }
.back { display:inline-flex; gap:6px; font-size:14px; color:var(--muted); margin-bottom:18px; }
.back:hover { color:var(--text); }

/* ── tasks ── */
.task-stats { display:grid; grid-template-columns:repeat(4, 1fr); gap:0; margin-top:40px; border-block:1px solid var(--line); }
.task-stats div { padding:22px 26px; border-left:1px solid var(--line); }
.task-stats div:first-child { border-left:0; padding-left:0; }
.task-stats span { display:block; font-size:14px; color:var(--muted); }
.task-stats b { display:block; margin-top:8px; font-family:var(--mono); font-size:clamp(32px, 3.8vw, 52px); font-weight:700; letter-spacing:-.02em; }
.task-stats .live b { color:var(--teal); }
.task-stats .landed b { color:var(--gold-l); }
.task-layout { display:grid; grid-template-columns:1fr 340px; gap:24px; align-items:start; margin-top:30px; }
.task-list { display:grid; grid-template-columns:repeat(2, 1fr); gap:14px; }
.task { padding:20px; display:flex; flex-direction:column; gap:10px; transition:border-color .2s; }
.task:hover { border-color:var(--line-2); }
.task-top { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.task-type { font-family:var(--mono); font-size:12px; color:var(--muted); letter-spacing:.06em; }
.task-type.gold { color:var(--gold-l); }
.task h3 { margin:0; font-size:17px; font-weight:800; line-height:1.4; }
.task .org { font-size:13px; color:var(--muted); }
.task .desc { margin:0; font-size:14px; color:var(--text-2); line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.task-foot { margin-top:auto; padding-top:12px; border-top:1px solid var(--line); display:flex; justify-content:space-between; font-family:var(--mono); font-size:12px; color:var(--muted); }
.feed { position:sticky; top:92px; padding:22px; }
.feed h3 { margin:0 0 4px; display:flex; align-items:center; gap:10px; font-size:16px; font-weight:800; }
.feed .sub { margin:0 0 14px; font-size:12px; color:var(--muted); }
.feed ol { list-style:none; margin:0; padding:0; display:grid; }
.feed li { padding:12px 0; border-top:1px solid var(--line); font-size:14px; color:var(--text-2); line-height:1.55; }
.feed li time { display:block; font-family:var(--mono); font-size:11px; color:var(--dim); margin-bottom:3px; }
.feed li b { color:var(--text); font-weight:600; }
.feed li.new { animation:slidein .5s ease; }
@keyframes slidein { from { opacity:0; transform:translateY(-8px); background:rgba(45,212,191,.08); } }
.timeline { display:grid; grid-template-columns:repeat(5, 1fr); margin:28px 0 8px; }
.tl { position:relative; padding-top:28px; font-size:14px; color:var(--dim); }
.tl::before { content:""; position:absolute; top:7px; left:0; right:0; height:2px; background:var(--line-2); }
.tl::after { content:""; position:absolute; top:0; left:0; width:16px; height:16px; border-radius:50%; background:var(--bg); border:2px solid var(--line-2); }
.tl.done { color:var(--text); } .tl.done::before { background:var(--teal); } .tl.done::after { background:var(--teal); border-color:var(--teal); }
.tl.now { color:var(--teal); font-weight:700; } .tl.now::after { border-color:var(--teal); box-shadow:0 0 0 5px rgba(45,212,191,.18); }

/* ── match flow ── */
.flow-head { padding:110px 0 0; }
.flow-steps { display:flex; gap:10px; align-items:center; font-size:14px; color:var(--dim); margin-bottom:22px; }
.flow-steps button { border:0; background:none; padding:4px 0; display:flex; gap:8px; align-items:center; color:inherit; font-size:14px; font-weight:600; }
.flow-steps button:disabled { cursor:default; }
.flow-steps i { font-style:normal; font-family:var(--mono); width:22px; height:22px; border-radius:50%; display:inline-grid; place-items:center; font-size:12px; border:1.5px solid currentColor; }
.flow-steps .done { color:var(--text-2); } .flow-steps .done i { background:var(--text-2); color:var(--bg); border-color:var(--text-2); }
.flow-steps .now { color:var(--text); } .flow-steps .now i { background:var(--electric); border-color:var(--electric); color:#fff; }
.flow-steps .sep { width:28px; height:1px; background:var(--line-2); }
.flow-title { margin:0 0 8px; font-size:clamp(28px, 3.4vw, 44px); font-weight:800; line-height:1.2; }
.flow-sub { margin:0; color:var(--text-2); font-size:17px; }
.flow { padding-bottom:40px; }

.s1 { display:grid; grid-template-columns:minmax(0, 1.5fr) minmax(330px, 1fr); gap:28px; margin-top:28px; align-items:start; }
.say-box { position:relative; border:1px solid var(--line-2); border-radius:var(--r); background:rgba(16,26,46,.6); }
.say-box:focus-within { border-color:rgba(45,212,191,.6); box-shadow:0 0 0 4px rgba(45,212,191,.10); }
.say-mirror, .say-input { margin:0; padding:24px 26px; font-size:21px; line-height:1.8; white-space:pre-wrap; word-wrap:break-word; font-family:var(--zh); }
.say-mirror { position:absolute; inset:0; color:transparent; pointer-events:none; overflow:hidden; }
.say-input { position:relative; display:block; width:100%; min-height:230px; resize:vertical; border:0; background:transparent; outline:none; color:var(--text); }
.say-input::placeholder { color:var(--dim); }
mark { color:transparent; background:none; border-radius:2px; }
mark.ind { background:linear-gradient(transparent 64%, rgba(91,140,255,.45) 64%); }
mark.cap { background:linear-gradient(transparent 64%, rgba(45,212,191,.45) 64%); }
mark.con { background:linear-gradient(transparent 64%, rgba(160,130,255,.45) 64%); }
.legend { display:flex; gap:18px; margin:12px 4px 0; font-size:13px; color:var(--muted); }
.legend span::before { content:""; display:inline-block; width:14px; height:5px; margin-right:6px; border-radius:2px; vertical-align:middle; }
.legend .l-ind::before { background:rgba(91,140,255,.7); } .legend .l-cap::before { background:rgba(45,212,191,.7); } .legend .l-con::before { background:rgba(160,130,255,.7); }
.examples { margin-top:24px; }
.examples p { margin:0 0 10px; font-size:14px; color:var(--muted); }
.ex-list { display:flex; flex-wrap:wrap; gap:10px; }
.ex { text-align:left; border:1px solid var(--line); background:rgba(255,255,255,.02); border-radius:12px; padding:10px 14px; font-size:14px; color:var(--text-2); max-width:100%; }
.ex b { color:var(--text); margin-right:6px; }
.ex:hover { border-color:var(--teal); }
.actions { margin-top:28px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.actions small { color:var(--muted); font-size:14px; }

.needcard { position:sticky; top:92px; padding:24px; }
.needcard h2 { margin:0; font-size:19px; font-weight:800; }
.needcard .sub { margin:4px 0 14px; font-size:13px; color:var(--muted); }
.slot { padding:14px 0; border-top:1px dashed var(--line-2); }
.slot-k { font-size:12px; font-weight:700; color:var(--muted); margin-bottom:8px; letter-spacing:.04em; }
.slot-v { display:flex; flex-wrap:wrap; gap:8px; min-height:28px; align-items:center; }
.slot-v .empty { color:var(--dim); font-size:14px; }
.slot-v .problem { font-weight:600; line-height:1.5; }
.estimate { margin-top:6px; padding:16px; border-radius:12px; background:rgba(45,212,191,.06); border:1px solid rgba(45,212,191,.25); }
.estimate span { font-size:13px; color:var(--text-2); }
.estimate b { display:block; margin-top:4px; font-family:var(--mono); font-size:30px; color:var(--teal); }
.estimate small { font-size:12px; color:var(--muted); }
.pop { animation:pop .35s cubic-bezier(.2,.8,.3,1.2); }
@keyframes pop { from { transform:scale(.6); opacity:0; } }

.understand { margin-top:24px; padding:22px 26px; font-size:20px; line-height:1.9; border-left:4px solid var(--teal); }
.understand em { font-style:normal; font-weight:700; padding:1px 7px; border-radius:6px; }
.understand em.ind { color:#9DBBFF; background:rgba(91,140,255,.14); }
.understand em.cap { color:#7EE8DA; background:rgba(45,212,191,.12); }
.understand em.con { color:#C9B5FF; background:rgba(160,130,255,.14); }
.understand em.miss { color:var(--dim); background:rgba(255,255,255,.04); font-weight:500; }
.s2 { display:grid; grid-template-columns:minmax(0, 1.45fr) minmax(320px, 1fr); gap:24px; margin-top:22px; align-items:start; }
.edit { padding:6px 26px 20px; }
.field { padding:18px 0; border-bottom:1px solid var(--line); }
.field:last-child { border-bottom:0; }
.field > label, .field > .k { display:block; font-size:14px; font-weight:700; color:var(--text-2); margin-bottom:10px; }
.field input[type=text], .field textarea { width:100%; border:1px solid var(--line-2); border-radius:12px; padding:11px 14px; font-size:16px; background:rgba(255,255,255,.03); outline:none; }
.field input[type=text]:focus, .field textarea:focus { border-color:var(--teal); }
.field textarea { min-height:76px; resize:vertical; line-height:1.6; }
.pickers { display:flex; flex-wrap:wrap; gap:8px; }
.pick { border:1px solid var(--line-2); background:rgba(255,255,255,.02); border-radius:999px; padding:6px 13px; font-size:14px; color:var(--text-2); }
.pick:hover { color:var(--text); border-color:var(--text-2); }
.pick[aria-pressed="true"] { background:var(--text); border-color:var(--text); color:var(--bg); }
.pick.add { border-style:dashed; color:#7EE8DA; }
.toggle { display:flex; align-items:center; gap:10px; font-size:15px; }
.toggle input { width:18px; height:18px; accent-color:var(--gold); }
.side-stack { display:grid; gap:16px; position:sticky; top:92px; }
.meter { padding:22px; }
.meter-top { display:flex; justify-content:space-between; align-items:baseline; }
.meter-top span { font-size:14px; font-weight:700; }
.meter-top b { font-family:var(--mono); font-size:28px; color:var(--teal); }
.meter-bar { margin-top:10px; height:8px; border-radius:4px; background:rgba(255,255,255,.06); overflow:hidden; }
.meter-bar i { display:block; height:100%; background:linear-gradient(90deg, var(--electric), var(--teal)); transition:width .4s; }
.meter p { margin:10px 0 0; font-size:13px; color:var(--muted); }
.ask { padding:22px; }
.ask h3 { margin:0 0 4px; font-size:17px; font-weight:800; }
.ask .sub { margin:0 0 6px; font-size:13px; color:var(--muted); }
.q { padding:14px 0; border-top:1px dashed var(--line-2); }
.q p { margin:0 0 10px; font-size:15px; font-weight:600; }
.q.done p::after { content:"  ✓"; color:var(--teal); }
.insight { padding:22px; border-color:rgba(212,175,106,.35); background:linear-gradient(180deg, rgba(212,175,106,.08), rgba(212,175,106,.02)); }
.insight h3 { margin:0 0 6px; font-size:16px; font-weight:800; color:var(--gold-l); }
.insight p { margin:0 0 12px; font-size:14px; color:var(--text-2); line-height:1.6; }
.advisor { padding:20px; display:flex; gap:14px; align-items:center; }
.avatar { flex:none; width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-weight:800; background:linear-gradient(135deg, var(--electric), var(--teal)); color:#fff; }
.advisor b { display:block; font-size:15px; }
.advisor small { font-size:13px; color:var(--muted); line-height:1.5; }

/* results */
.report-head { margin-top:6px; display:flex; flex-wrap:wrap; gap:8px 22px; font-family:var(--mono); font-size:13px; color:var(--muted); }
.report-head b { color:var(--text-2); font-weight:600; }
.needbar { margin-top:24px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:14px 18px; }
.needbar .k { font-size:13px; color:var(--muted); margin-right:4px; }
.needbar .btn { margin-left:auto; }
.refine { margin-top:12px; padding:14px 18px; display:flex; flex-wrap:wrap; gap:8px; align-items:center; border-style:dashed; }
.refine .k { font-size:14px; font-weight:700; color:var(--text-2); margin-right:4px; }
.refine form { display:flex; gap:8px; flex:1; min-width:260px; }
.refine input { flex:1; border:1px solid var(--line-2); border-radius:10px; padding:9px 12px; font-size:15px; background:rgba(255,255,255,.03); outline:none; }
.tabs { display:flex; gap:4px; margin:28px 0 18px; border-bottom:1px solid var(--line); }
.tab { border:0; background:none; padding:12px 18px; font-size:16px; font-weight:700; color:var(--muted); border-bottom:2px solid transparent; margin-bottom:-1px; }
.tab[aria-selected="true"] { color:var(--text); border-color:var(--teal); }
.tab small { font-family:var(--mono); margin-left:4px; }
.tab .beta { font-size:11px; padding:2px 6px; border-radius:4px; background:rgba(160,130,255,.18); color:#C9B5FF; margin-left:6px; vertical-align:2px; }
.results { display:grid; gap:14px; }
.res { display:grid; grid-template-columns:56px minmax(0, 1fr) 170px; gap:22px; padding:24px; }
.res.updated { animation:flash 1.2s ease; }
@keyframes flash { 0% { box-shadow:0 0 0 2px var(--teal); } 100% { box-shadow:none; } }
.rank { font-family:var(--mono); font-size:26px; font-weight:700; color:var(--dim); }
.res:first-child .rank { color:var(--teal); }
.res h3 { margin:0; font-size:21px; font-weight:800; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.res .meta { margin:6px 0 0; font-size:13px; color:var(--muted); }
.res .pitch { margin:10px 0 0; font-size:15px; color:var(--text-2); line-height:1.6; }
.why { margin:16px 0 0; padding:14px 16px; border-radius:12px; background:rgba(255,255,255,.03); border:1px solid var(--line); }
.why > p { margin:0 0 10px; font-size:12px; font-weight:700; color:var(--muted); letter-spacing:.06em; }
.why ul { margin:0; padding:0; list-style:none; display:grid; gap:8px; }
.why li { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:15px; }
.why .arrow { color:var(--dim); }
.why .has { font-weight:700; }
.why li.gap { color:var(--muted); font-size:14px; }
.res .edge, .res .serve { margin:10px 0 0; font-size:14px; color:var(--text-2); }
.res .edge b { color:var(--warn); margin-right:6px; }
.res .serve b { color:var(--muted); margin-right:6px; }
.score { display:flex; flex-direction:column; align-items:flex-end; gap:10px; text-align:right; }
.score .pct { font-family:var(--mono); font-size:44px; font-weight:700; line-height:1; }
.score .pct small { font-size:18px; color:var(--muted); }
.score .lbl { font-size:12px; color:var(--muted); margin-top:-6px; }
.score .btn { width:100%; }
.empty-res { padding:40px; text-align:center; }
.empty-res p { color:var(--text-2); margin:8px 0 18px; }
.combo-note { padding:12px 16px; border-radius:12px; background:rgba(160,130,255,.10); border:1px solid rgba(160,130,255,.25); color:#D5C8FF; font-size:14px; margin-bottom:18px; }
.cflow { display:grid; grid-template-columns:200px 28px minmax(0, 1.2fr) 28px minmax(0, 1fr) 28px 200px; }
.node { padding:18px; border-radius:var(--r); border:1px solid var(--line-2); background:rgba(255,255,255,.03); }
.node .role { font-family:var(--mono); font-size:12px; letter-spacing:.08em; color:var(--muted); }
.node h4 { margin:6px 0; font-size:17px; font-weight:800; line-height:1.35; }
.node p { margin:0; font-size:14px; color:var(--text-2); line-height:1.55; }
.node.need { background:rgba(23,92,229,.18); border-color:rgba(91,140,255,.45); }
.node.lead { border:1.5px solid var(--teal); box-shadow:0 0 40px rgba(45,212,191,.12); } .node.lead .role { color:var(--teal); }
.node.out { background:rgba(212,175,106,.10); border-color:rgba(212,175,106,.4); } .node.out .role { color:var(--gold-l); }
.stack { display:grid; gap:12px; }
.link { display:grid; place-items:center; color:var(--dim); }
.base { margin-top:14px; display:flex; align-items:center; gap:16px; padding:14px 18px; border-radius:var(--r); border:1px dashed rgba(160,130,255,.4); }
.base .role { font-family:var(--mono); font-size:12px; letter-spacing:.08em; color:#C9B5FF; white-space:nowrap; }
.base h4 { margin:0; font-size:16px; font-weight:800; }
.base p { margin:2px 0 0; font-size:14px; color:var(--text-2); }
.cover { margin-top:20px; padding:20px 22px; display:flex; flex-wrap:wrap; gap:20px; align-items:center; }
.cover h4 { margin:0 0 10px; font-size:16px; font-weight:800; }
.cover ul { margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:8px 18px; font-size:14px; color:var(--text-2); }
.cover li b { color:var(--teal); margin-right:4px; }
.cover .btn { margin-left:auto; }
.next-band { margin-top:28px; padding:22px 24px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.next-band .avatar { width:52px; height:52px; }
.next-band div.t { flex:1; min-width:240px; }
.next-band b { font-size:17px; }
.next-band p { margin:4px 0 0; color:var(--text-2); font-size:14px; }

/* funnel / modal / toast */
.funnel { position:fixed; inset:0; z-index:60; display:grid; place-items:center; background:rgba(7,11,20,.9); backdrop-filter:blur(6px); }
.funnel-box { width:min(560px, 90vw); }
.funnel-title { margin:0 0 20px; font-family:var(--mono); font-size:14px; color:var(--teal); letter-spacing:.08em; }
.funnel-rows { list-style:none; margin:0; padding:0; }
.funnel-rows li { display:flex; align-items:baseline; gap:18px; padding:12px 0; border-bottom:1px solid var(--line); opacity:.2; transition:opacity .3s; }
.funnel-rows li.on { opacity:1; }
.funnel-rows b { font-family:var(--mono); font-size:34px; font-weight:700; min-width:150px; text-align:right; }
.funnel-rows li:last-child b { color:var(--teal); }
.funnel-rows span { font-size:16px; color:var(--text-2); }
.scrim { position:fixed; inset:0; z-index:70; background:rgba(3,6,12,.6); backdrop-filter:blur(3px); }
.modal { position:fixed; z-index:80; left:50%; top:50%; transform:translate(-50%, -50%); width:min(580px, 94vw); max-height:92vh; overflow:auto; background:var(--bg-2); border:1px solid var(--line-2); border-radius:20px; padding:30px; box-shadow:0 40px 100px rgba(0,0,0,.6); }
.modal h2 { margin:0 0 4px; font-size:23px; font-weight:800; }
.modal .sub { margin:0 0 16px; color:var(--text-2); font-size:15px; line-height:1.6; }
.modal .agents { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.form-row { margin-bottom:14px; }
.form-row label { display:block; font-size:14px; font-weight:700; margin-bottom:6px; color:var(--text-2); }
.form-row input, .form-row textarea { width:100%; border:1px solid var(--line-2); border-radius:12px; padding:11px 13px; font-size:16px; background:rgba(255,255,255,.03); outline:none; }
.form-row input:focus, .form-row textarea:focus { border-color:var(--teal); }
.form-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.err { color:var(--warn); font-size:14px; }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:8px; }
.done-mark { width:56px; height:56px; border-radius:50%; display:grid; place-items:center; background:rgba(45,212,191,.14); color:var(--teal); font-size:28px; font-weight:800; margin-bottom:14px; }
.toast { position:fixed; z-index:90; left:50%; bottom:28px; transform:translateX(-50%); background:var(--bg-3); border:1px solid var(--line-2); padding:12px 18px; border-radius:12px; font-size:15px; box-shadow:0 10px 30px rgba(0,0,0,.5); }

.site-foot { margin-top:100px; border-top:1px solid var(--line); padding:26px 0; font-size:12px; color:var(--dim); }
.foot-in { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.foot-in b { color:var(--text-2); }

/* ── responsive ── */
@media (max-width:1080px) {
  .stats { grid-template-columns:repeat(3, 1fr); row-gap:28px; } .stat:nth-child(4) { border-left:0; padding-left:0; }
  .how { grid-template-columns:repeat(2, 1fr); } .how-step::after { display:none; }
  .trust, .s1, .s2, .task-layout, .detail-grid { grid-template-columns:1fr; }
  .agent-grid { grid-template-columns:repeat(2, 1fr); }
  .needcard, .side-stack, .feed { position:static; }
  .cflow { grid-template-columns:1fr; } .link { height:26px; transform:rotate(90deg); }
}
@media (max-width:760px) {
  .wrap { padding:0 18px; } .nav { padding:0 18px; gap:16px; } .nav-links, .demo-tag, .logo span { display:none; }
  .hero-ask { flex-direction:column; } .hero-h { font-size:34px; } .hero-sub { font-size:16px; } .stats { grid-template-columns:repeat(2, 1fr); } .stat { border-left:0; padding-left:0; }
  .agent-grid, .task-list, .partners, .how { grid-template-columns:1fr; }
  .idc { grid-template-columns:1fr; } .idc-side { border-right:0; border-bottom:1px solid var(--line); }
  .metrics, .task-stats { grid-template-columns:repeat(2, 1fr); } .task-stats div { border-left:0; padding-left:0; }
  .res { grid-template-columns:1fr; } .score { align-items:flex-start; text-align:left; flex-direction:row; flex-wrap:wrap; } .score .btn { width:auto; }
  .timeline { grid-template-columns:1fr; gap:10px; } .tl { padding:0 0 0 28px; } .tl::before { display:none; }
  .form-2 { grid-template-columns:1fr; } .say-mirror, .say-input { font-size:18px; padding:16px; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none !important; transition:none !important; } html { scroll-behavior:auto; } }
