:root {
  --bg: #06101a;
  --bg-soft: #0a1724;
  --panel: rgba(14, 29, 44, 0.84);
  --panel-solid: #0e1d2c;
  --panel-bright: #13283b;
  --line: rgba(155, 188, 214, 0.16);
  --line-strong: rgba(155, 188, 214, 0.28);
  --text: #eff7fb;
  --muted: #8fa7b7;
  --muted-2: #60798b;
  --cyan: #67e4e5;
  --blue: #6d9cff;
  --violet: #a995ff;
  --amber: #ffcb78;
  --green: #6cdaa3;
  --red: #f58b9f;
  --sans: Inter, "SF Pro Display", "PingFang SC", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% -5%, rgba(80, 132, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 6% 28%, rgba(76, 220, 216, 0.08), transparent 28rem),
    var(--bg);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.page-shell { min-height: 100vh; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font: 11px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }
.section { padding: 110px 0; position: relative; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(29px, 4vw, 48px); line-height: 1.08; letter-spacing: -.055em; }
.section-heading p { color: var(--muted); max-width: 420px; margin: 0; line-height: 1.8; }
.section-kicker { color: var(--muted-2); font: 11px var(--mono); letter-spacing: .08em; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid rgba(154, 189, 213, .11);
  background: rgba(6, 16, 26, .78);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 184px; }
.brand-mark { width: 34px; height: 34px; position: relative; border: 1px solid rgba(103, 228, 229, .7); border-radius: 10px; display: grid; place-items: center; color: var(--cyan); font: 12px var(--mono); box-shadow: inset 0 0 24px rgba(103, 228, 229, .08); }
.brand-mark::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.brand-copy strong { display: block; font-size: 15px; letter-spacing: -.03em; }
.brand-copy span { display: block; color: var(--muted-2); font: 9px var(--mono); letter-spacing: .08em; margin-top: 1px; }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { color: var(--muted); font-size: 12px; transition: color .2s; }
.site-nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-note { color: var(--muted-2); font: 10px var(--mono); }
.mobile-toggle { display: none; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 7px; padding: 8px 10px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 7px; padding: 11px 16px;
  color: var(--text); background: rgba(18, 39, 57, .7); font-size: 12px; transition: .2s;
}
.button:hover { border-color: rgba(103, 228, 229, .7); transform: translateY(-1px); }
.button.primary { color: #062027; background: var(--cyan); border-color: var(--cyan); font-weight: 700; box-shadow: 0 8px 28px rgba(103, 228, 229, .16); }
.button.primary:hover { background: #87f5ef; box-shadow: 0 12px 36px rgba(103, 228, 229, .24); }
.button.ghost { background: transparent; color: var(--muted); }
.button.small { padding: 8px 11px; font-size: 11px; }
.button .arrow { font-size: 16px; line-height: 0; }

.hero { padding: 92px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); align-items: center; gap: 70px; }
.hero h1 { max-width: 690px; font-size: clamp(46px, 6.1vw, 78px); line-height: 1.04; letter-spacing: -.075em; margin: 21px 0 24px; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(110deg, var(--cyan), #86b4ff 70%); background-clip: text; -webkit-background-clip: text; }
.hero-lede { color: #b2c5d1; font-size: 16px; line-height: 1.9; max-width: 580px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-proof strong { display: block; font: 21px var(--mono); letter-spacing: -.05em; }
.hero-proof span { color: var(--muted-2); font-size: 11px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 10% -12% -12% 8%; background: radial-gradient(circle, rgba(87, 150, 255, .2), transparent 67%); filter: blur(12px); pointer-events: none; }
.signal-terminal { position: relative; padding: 18px; border: 1px solid rgba(138, 186, 217, .25); border-radius: 13px; background: linear-gradient(155deg, rgba(22, 46, 67, .92), rgba(9, 21, 33, .92)); box-shadow: var(--shadow); overflow: hidden; }
.signal-terminal::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 300px; height: 300px; border: 1px solid rgba(103, 228, 229, .16); border-radius: 50%; box-shadow: 0 0 0 28px rgba(103, 228, 229, .025), 0 0 0 64px rgba(103, 228, 229, .02); }
.terminal-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #385165; }
.window-dots i:first-child { background: var(--cyan); }
.terminal-label { color: var(--muted-2); font: 10px var(--mono); letter-spacing: .09em; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font: 10px var(--mono); }
.live::before { content: ""; width: 6px; height: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px var(--green); }
.terminal-body { position: relative; z-index: 1; }
.terminal-head { display: flex; justify-content: space-between; align-items: end; padding: 22px 0 16px; }
.terminal-head p { color: var(--muted); font-size: 11px; margin: 0 0 4px; }
.terminal-head h3 { font-size: 25px; letter-spacing: -.05em; margin: 0; }
.terminal-head b { color: var(--cyan); font: 25px var(--mono); }
.chart { width: 100%; height: 150px; border-top: 1px solid rgba(139, 175, 200, .08); border-bottom: 1px solid rgba(139, 175, 200, .08); background: linear-gradient(180deg, rgba(103, 228, 229, .03), transparent), repeating-linear-gradient(to bottom, transparent 0 37px, rgba(143, 174, 197, .08) 38px), repeating-linear-gradient(to right, transparent 0 68px, rgba(143, 174, 197, .07) 69px); }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-labels { display: flex; justify-content: space-between; color: var(--muted-2); font: 9px var(--mono); padding-top: 8px; }
.terminal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.terminal-metric { padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(6, 17, 27, .46); }
.terminal-metric label { display: block; color: var(--muted-2); font-size: 10px; margin-bottom: 7px; }
.terminal-metric strong { font: 16px var(--mono); }
.terminal-metric span { display: block; color: var(--green); font-size: 10px; margin-top: 3px; }
.terminal-footer { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted-2); font: 10px var(--mono); }

.ticker-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(12, 25, 38, .6); overflow: hidden; }
.ticker-inner { display: flex; gap: 34px; min-height: 48px; align-items: center; white-space: nowrap; overflow: auto; scrollbar-width: none; }
.ticker-inner::-webkit-scrollbar { display: none; }
.ticker-item { color: var(--muted); font: 11px var(--mono); }
.ticker-item b { color: var(--text); font-weight: 500; margin-right: 8px; }
.up { color: var(--green) !important; }
.down { color: var(--red) !important; }

.radar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.radar-card { position: relative; padding: 21px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; }
.radar-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent, var(--cyan)); }
.radar-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.radar-name { font-size: 16px; font-weight: 700; letter-spacing: -.035em; }
.status { border-radius: 3px; padding: 4px 7px; font: 10px var(--mono); }
.status.cyan { color: var(--cyan); background: rgba(103, 228, 229, .11); }
.status.amber { color: var(--amber); background: rgba(255, 203, 120, .1); }
.status.red { color: var(--red); background: rgba(245, 139, 159, .1); }
.radar-value { display: flex; align-items: baseline; gap: 8px; margin: 27px 0 12px; }
.radar-value strong { font: 35px var(--mono); letter-spacing: -.08em; }
.radar-value span { color: var(--muted); font-size: 11px; }
.meter { height: 4px; background: #1b2d3c; border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--width); background: var(--accent, var(--cyan)); border-radius: inherit; }
.radar-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted-2); font-size: 11px; }
.radar-foot b { color: var(--muted); font-weight: 500; }
.lock-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 214px; border-style: dashed; background: linear-gradient(145deg, rgba(21, 43, 59, .48), rgba(10, 22, 34, .55)); }
.lock-card p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 8px 0 22px; }
.lock-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--amber); margin-bottom: 13px; }

.chain-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; align-items: start; }
.chain-layout > div:first-child { position: sticky; top: 86px; }
.chain-list { display: grid; gap: 10px; }
.chain-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 15px; align-items: center; padding: 17px 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); cursor: pointer; transition: .2s; }
.chain-item:hover, .chain-item.selected { border-color: rgba(103, 228, 229, .56); background: linear-gradient(100deg, rgba(38, 75, 95, .65), rgba(14, 29, 44, .82)); transform: translateX(3px); }
.chain-number { color: var(--accent); font: 16px var(--mono); }
.chain-item h3 { font-size: 15px; margin: 0 0 3px; }
.chain-item p { color: var(--muted); font-size: 11px; margin: 0; }
.chain-item b { color: var(--muted); font: 10px var(--mono); font-weight: 400; white-space: nowrap; }
.chain-detail { padding: 27px; border: 1px solid var(--line-strong); border-radius: 11px; background: radial-gradient(circle at 80% 0%, rgba(100, 145, 255, .12), transparent 50%), var(--panel); min-height: 100%; }
.detail-label { color: var(--muted-2); font: 10px var(--mono); letter-spacing: .08em; }
.chain-detail h3 { font-size: 28px; margin: 12px 0 7px; letter-spacing: -.055em; }
.chain-detail > p { color: var(--muted); line-height: 1.8; margin: 0; }
.detail-points { display: grid; gap: 11px; margin-top: 25px; }
.detail-point { display: flex; align-items: start; gap: 10px; color: #bdcfda; font-size: 12px; line-height: 1.6; }
.detail-point::before { content: "↗"; display: grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; color: var(--cyan); background: rgba(103, 228, 229, .1); font-size: 11px; }
.detail-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chip { border: 1px solid var(--line); border-radius: 4px; padding: 5px 8px; color: var(--muted); font: 10px var(--mono); }

.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.case-card { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg, rgba(17, 37, 55, .82), rgba(9, 20, 31, .88)); }
.case-card .case-year { color: var(--cyan); font: 10px var(--mono); }
.case-card h3 { font-size: 17px; letter-spacing: -.04em; margin: 14px 0 8px; }
.case-ticker { display: block; color: var(--muted-2); font: 10px var(--mono); margin-bottom: 10px; }
.case-card p { color: var(--muted); min-height: 54px; font-size: 11px; line-height: 1.65; margin: 0; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--line); }
.case-stats span { display: block; color: var(--muted-2); font-size: 10px; margin-bottom: 3px; }
.case-stats b { font: 17px var(--mono); }
.case-card small { display: block; color: var(--amber); font-size: 10px; line-height: 1.5; margin-top: 18px; }
.section-footnote { color: var(--muted-2); font-size: 11px; margin-top: 17px; }
.research-module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 16px; }
.research-module { min-height: 178px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: rgba(14, 29, 44, .62); }
.research-module > span { color: var(--cyan); font: 10px var(--mono); }
.research-module h3 { font-size: 14px; margin: 16px 0 7px; }
.research-module p { color: var(--muted); font-size: 11px; line-height: 1.65; min-height: 66px; margin: 0 0 13px; }

.workflow { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.workflow-step { min-height: 156px; padding: 20px 16px; border-right: 1px solid var(--line); background: rgba(15, 32, 48, .65); }
.workflow-step:last-child { border-right: 0; }
.workflow-step span { color: var(--cyan); font: 11px var(--mono); }
.workflow-step h3 { font-size: 14px; margin: 21px 0 7px; }
.workflow-step p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }

.assistant-promo { display: grid; grid-template-columns: 1fr .95fr; gap: 18px; padding: 28px; border: 1px solid rgba(103, 228, 229, .22); border-radius: 12px; background: radial-gradient(circle at 93% 12%, rgba(104, 142, 255, .2), transparent 37%), linear-gradient(145deg, rgba(21, 54, 70, .85), rgba(12, 24, 39, .93)); }
.assistant-promo h2 { font-size: clamp(27px, 3.5vw, 41px); line-height: 1.1; letter-spacing: -.055em; margin: 14px 0 14px; }
.assistant-promo p { color: #abc1cd; line-height: 1.8; max-width: 500px; margin: 0; }
.assistant-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 27px; }
.chat-preview { align-self: center; padding: 16px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(5, 15, 24, .46); }
.chat-preview-head { display: flex; justify-content: space-between; color: var(--muted-2); font: 10px var(--mono); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-bubble { max-width: 88%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; color: #c9d8e1; font-size: 11px; line-height: 1.7; margin-top: 12px; }
.chat-bubble.user { margin-left: auto; border-color: rgba(103, 228, 229, .3); background: rgba(103, 228, 229, .08); }
.chat-bubble b { color: var(--cyan); font: 10px var(--mono); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.price-card.featured { border-color: rgba(103, 228, 229, .64); background: linear-gradient(155deg, rgba(26, 60, 73, .84), rgba(13, 29, 43, .9)); box-shadow: 0 16px 50px rgba(103, 228, 229, .08); }
.price-card .badge { position: absolute; top: 15px; right: 15px; color: #062027; background: var(--cyan); border-radius: 4px; padding: 4px 7px; font: 9px var(--mono); }
.price-card h3 { margin: 0; font-size: 17px; }
.price-card > p { color: var(--muted); font-size: 11px; min-height: 35px; margin: 8px 0 19px; }
.price { font: 27px var(--mono); letter-spacing: -.06em; }
.price.long { font-size: 19px; letter-spacing: 0; font-family: var(--sans); font-weight: 600; color: var(--cyan); }
.price small { color: var(--muted-2); font: 11px var(--sans); }
.price-list { display: grid; gap: 10px; margin: 23px 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-list span { color: #bfd0da; font-size: 11px; }
.price-list span::before { content: "✓"; color: var(--cyan); margin-right: 8px; }
.price-card .button { width: 100%; }

.footer { padding: 35px 0 48px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: start; }
.footer-brand { color: var(--muted); font-size: 12px; }
.footer-brand b { color: var(--text); font-size: 15px; }
.footer-links { display: flex; gap: 24px; color: var(--muted-2); font-size: 11px; }
.footer-note { color: var(--muted-2); font-size: 10px; line-height: 1.7; margin-top: 30px; max-width: 760px; }

/* workspace */
.workspace-shell { min-height: 100vh; display: grid; grid-template-columns: 228px 1fr; background: #07111b; }
.workspace-side { position: sticky; top: 0; height: 100vh; padding: 23px 15px; border-right: 1px solid var(--line); background: #08131f; display: flex; flex-direction: column; }
.workspace-brand { padding: 0 10px 22px; border-bottom: 1px solid var(--line); }
.workspace-brand .brand-copy strong { font-size: 14px; }
.workspace-nav { display: grid; gap: 3px; padding-top: 20px; }
.workspace-nav .nav-group { display: grid; gap: 3px; padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid rgba(155,188,214,.09); }
.workspace-nav .nav-group:last-child { border-bottom: 0; }
.workspace-nav button { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 6px; padding: 10px 11px; background: transparent; color: var(--muted); text-align: left; font-size: 12px; }
.workspace-nav button:hover, .workspace-nav button.active { color: var(--text); background: #142739; box-shadow: inset 2px 0 var(--cyan); }
.workspace-nav i { width: 18px; color: var(--cyan); font-style: normal; font-family: var(--mono); }
.workspace-side-foot { margin-top: auto; padding: 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.workspace-content { min-width: 0; }
.workspace-topbar { height: 64px; display: flex; justify-content: space-between; align-items: center; padding: 0 35px; border-bottom: 1px solid var(--line); background: rgba(7, 17, 27, .84); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.workspace-crumb { color: var(--muted); font: 11px var(--mono); }
.workspace-crumb b { color: var(--text); font-weight: 500; }
.workspace-top-actions { display: flex; align-items: center; gap: 9px; }
.demo-badge { border: 1px solid var(--line); padding: 6px 9px; color: var(--amber); border-radius: 4px; font: 10px var(--mono); }
.workspace-page { width: min(1260px, calc(100% - 68px)); margin: 0 auto; padding: 38px 0 65px; }
.workspace-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
.workspace-title h1 { font-size: 34px; letter-spacing: -.06em; margin: 5px 0 6px; }
.workspace-title p { color: var(--muted); margin: 0; font-size: 12px; }
.workspace-title .date { color: var(--muted-2); font: 10px var(--mono); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.stat-card label { display: block; color: var(--muted-2); font-size: 10px; margin-bottom: 12px; }
.stat-card strong { display: inline-block; font: 25px var(--mono); letter-spacing: -.07em; }
.stat-card small { color: var(--green); font-size: 10px; margin-left: 6px; }
.workspace-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 14px; margin-top: 14px; }
.work-panel { padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.work-panel h2 { font-size: 16px; letter-spacing: -.03em; margin: 0; }
.work-panel .panel-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 18px; }
.panel-head p { color: var(--muted-2); font-size: 10px; margin: 5px 0 0; }
.signal-table { width: 100%; border-collapse: collapse; }
.signal-table th, .signal-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 11px; }
.signal-table th { color: var(--muted-2); font: 9px var(--mono); letter-spacing: .06em; }
.signal-table td { color: #c6d2db; }
.signal-table tr:last-child td { border-bottom: 0; }
.signal-table .signal-title { color: var(--text); font-weight: 600; }
.signal-table .sub { display: block; color: var(--muted-2); font-size: 10px; margin-top: 3px; }
.work-list { display: grid; gap: 12px; }
.work-list-item { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.work-list-item:last-child { padding-bottom: 0; border: 0; }
.work-list-item strong { display: block; font-size: 12px; font-weight: 500; }
.work-list-item span { display: block; color: var(--muted-2); font-size: 10px; margin-top: 4px; }
.work-list-item b { color: var(--cyan); font: 11px var(--mono); white-space: nowrap; }
.todo { display: grid; gap: 9px; }
.todo-item { display: flex; align-items: start; gap: 9px; padding: 11px 0; border-bottom: 1px solid var(--line); color: #c3d1da; font-size: 11px; }
.todo-item:last-child { border: 0; }
.todo-item::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; border: 1px solid var(--cyan); }
.todo-item.done { color: var(--muted-2); text-decoration: line-through; }
.todo-item.done::before { background: var(--cyan); box-shadow: 0 0 10px rgba(103, 228, 229, .6); }
.workspace-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.company-work-card { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.company-work-card .company-top { display: flex; justify-content: space-between; align-items: start; }
.company-work-card h3 { margin: 12px 0 3px; font-size: 16px; }
.company-work-card p { color: var(--muted); font-size: 11px; line-height: 1.6; min-height: 39px; margin: 13px 0; }
.company-work-card .meta { display: flex; justify-content: space-between; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 10px; }
.company-work-card .meta b { color: var(--text); font-weight: 500; }
.work-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.work-search { min-width: 210px; border: 1px solid var(--line); border-radius: 5px; padding: 9px 10px; color: var(--text); background: #091723; outline: 0; font-size: 11px; }
.work-search:focus { border-color: rgba(103, 228, 229, .6); }
.filter-row { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); color: var(--muted); border-radius: 4px; padding: 7px 9px; background: transparent; font-size: 10px; }
.filter.active { color: var(--cyan); border-color: rgba(103, 228, 229, .5); background: rgba(103, 228, 229, .08); }
.portfolio-summary { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.holding-table { width: 100%; border-collapse: collapse; }
.holding-table th, .holding-table td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--line); font-size: 11px; }
.holding-table th { color: var(--muted-2); font: 9px var(--mono); }
.holding-table td { color: #c7d3da; }
.holding-table .name { color: var(--text); font-weight: 600; }
.allocation { display: grid; gap: 12px; }
.allocation-row { display: grid; grid-template-columns: 79px 1fr 36px; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); }
.allocation-row i { height: 6px; border-radius: 99px; background: var(--bar); width: var(--w); }
.allocation-row b { color: var(--text); font: 10px var(--mono); text-align: right; }
.risk-box { margin-top: 14px; padding: 14px; border: 1px solid rgba(255, 203, 120, .25); border-radius: 7px; background: rgba(255, 203, 120, .06); }
.risk-box strong { display: block; color: var(--amber); font-size: 12px; margin-bottom: 5px; }
.risk-box p { color: var(--muted); font-size: 10px; line-height: 1.65; margin: 0; }
.assistant-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; }
.chat-window { min-height: 560px; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-head { padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.chat-head b { font-size: 12px; }
.chat-head span { color: var(--muted-2); font: 10px var(--mono); }
.chat-messages { flex: 1; padding: 19px; overflow: auto; }
.chat-message { max-width: 82%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 12px; color: #c9d7df; font-size: 11px; line-height: 1.7; }
.chat-message.user { margin-left: auto; border-color: rgba(103, 228, 229, .24); background: rgba(103, 228, 229, .07); }
.chat-message strong { display: block; color: var(--cyan); font: 10px var(--mono); margin-bottom: 4px; }
.chat-composer { padding: 12px 14px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.chat-composer input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: #091723; padding: 10px; outline: 0; font-size: 11px; }
.chat-composer input:focus { border-color: rgba(103, 228, 229, .55); }
.quick-row { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 12px; }
.context-panel { display: grid; gap: 14px; align-content: start; }
.context-panel .work-panel { padding: 17px; }
.context-list { display: grid; gap: 10px; }
.context-list div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 10px; }
.context-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.context-list span { color: var(--muted-2); }
.context-list b { color: var(--text); font-weight: 500; text-align: right; }
.workspace-footer { color: var(--muted-2); font-size: 10px; padding-top: 25px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(2, 8, 14, .76); backdrop-filter: blur(8px); }
.modal { width: min(450px, 100%); padding: 25px; border: 1px solid var(--line-strong); border-radius: 11px; background: #0d1d2b; box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 15px; }
.modal h2 { font-size: 22px; letter-spacing: -.05em; margin: 0; }
.modal p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 9px 0 21px; }
.modal-close { width: 28px; height: 28px; border: 1px solid var(--line); background: transparent; border-radius: 5px; color: var(--muted); }
.modal-form { display: grid; gap: 9px; }
.modal-form input { width: 100%; border: 1px solid var(--line); border-radius: 5px; color: var(--text); background: #081520; padding: 11px; outline: 0; font-size: 12px; }
.modal-form input:focus { border-color: rgba(103, 228, 229, .6); }
.modal-caption { color: var(--muted-2); font-size: 10px; margin-top: 12px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 120; padding: 11px 14px; border: 1px solid rgba(103, 228, 229, .45); border-radius: 6px; background: #102738; color: var(--text); box-shadow: var(--shadow); font-size: 11px; animation: toast-in .24s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* live research and local workspace interactions */
.live-section { padding-top: 72px; }
.research-hub { padding-top: 40px; }
.hub-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.hub-card { padding:20px; border:1px solid var(--line); border-radius:10px; background:rgba(14,29,44,.62); }
.hub-icon { display:grid; place-items:center; width:28px; height:28px; border:1px solid rgba(103,228,229,.45); border-radius:7px; color:var(--cyan); font-size:16px; }
.hub-card h3 { margin:15px 0 7px; font-size:15px; }
.hub-card p { color:var(--muted); min-height:52px; font-size:11px; line-height:1.65; margin:0 0 13px; }
.hub-flow { display:flex; justify-content:center; align-items:center; gap:14px; margin-top:18px; padding:13px; border:1px solid var(--line); border-radius:8px; color:var(--muted); font-size:11px; }
.hub-flow i { color:var(--cyan); font-style:normal; }
.live-heading { margin-top: 58px; }
.decision-card { display:grid; grid-template-columns:1.1fr .9fr; gap:18px; padding:22px; border:1px solid rgba(103,228,229,.28); border-radius:11px; background:linear-gradient(135deg,rgba(22,54,70,.82),rgba(12,27,41,.92)); }
.decision-label { color:var(--cyan); font:10px var(--mono); letter-spacing:.08em; }
.decision-main h3 { font-size:26px; line-height:1.2; letter-spacing:-.055em; margin:12px 0 10px; }
.decision-main p { color:#b8cbd4; font-size:12px; line-height:1.75; max-width:560px; margin:0; }
.decision-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.decision-grid div { padding:12px; border:1px solid var(--line); border-radius:7px; background:rgba(5,15,24,.3); }
.decision-grid span,.decision-grid small { display:block; color:var(--muted-2); font-size:10px; }
.decision-grid b { display:block; color:var(--text); font-size:13px; margin:6px 0 3px; }
.decision-grid small { color:var(--muted); line-height:1.4; }
.watchlist-entry { display:grid; grid-template-columns:1fr 210px auto; gap:18px; align-items:center; margin-top:14px; padding:17px 20px; border:1px solid var(--line); border-radius:10px; background:rgba(14,29,44,.62); }
.watchlist-entry h3 { margin:7px 0 4px; font-size:16px; }
.watchlist-entry p { color:var(--muted); font-size:11px; margin:0; }
.watchlist-preview { padding-left:16px; border-left:1px solid var(--line); }
.watchlist-preview span,.watchlist-preview small { display:block; color:var(--muted-2); font-size:10px; }
.watchlist-preview b { display:block; color:var(--cyan); font:20px var(--mono); margin:4px 0; }
.watchlist-preview small { line-height:1.55; color:var(--muted); }
.fact-label,.judgment-label,.action-label,.risk-label { display:inline-block; border-radius:3px; padding:2px 5px; font-size:9px; font-weight:500; }
.fact-label { color:var(--cyan); background:rgba(103,228,229,.1); }
.judgment-label { color:var(--amber); background:rgba(255,203,120,.1); }
.action-label { color:var(--green); background:rgba(108,218,163,.1); }
.risk-label { color:var(--red); background:rgba(245,139,159,.1); }
.stale-snapshot { opacity:.72; }
.live-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.live-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: 10px var(--mono); }
.live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 203, 120, .09); }
.live-status.online { color: var(--cyan); }
.live-status.online i { background: var(--cyan); box-shadow: 0 0 0 4px rgba(103, 228, 229, .09); }
.live-status.offline { color: var(--muted-2); }
.live-status.offline i { background: var(--muted-2); box-shadow: none; }
.live-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.live-feed { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(14, 29, 44, .62); }
.live-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.live-panel-title h3 { margin: 0; font-size: 14px; }
.live-count { color: var(--muted-2); font: 10px var(--mono); }
.live-list { display: grid; gap: 9px; padding-top: 10px; }
.live-item { padding: 13px 0; border-bottom: 1px solid rgba(155, 188, 214, .1); }
.live-item:last-child { border-bottom: 0; padding-bottom: 0; }
.live-item-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.live-item time { color: var(--muted-2); font: 10px var(--mono); }
.live-item h4 { margin: 9px 0 5px; font-size: 13px; }
.live-item p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0; white-space: pre-wrap; }
.live-item small { display: block; color: var(--muted-2); font-size: 10px; line-height: 1.5; margin-top: 8px; }
.live-empty { color: var(--muted-2); font-size: 11px; line-height: 1.7; margin: 0; }
.todo-list { display: grid; gap: 7px; }
.todo-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid transparent; border-radius: 5px; padding: 10px 11px; background: rgba(10, 24, 37, .62); color: var(--muted); text-align: left; font-size: 11px; cursor: pointer; }
.todo-item:hover { border-color: var(--line-strong); color: var(--text); }
.todo-item.done { color: var(--muted-2); text-decoration: line-through; }
.todo-item i { flex: 0 0 auto; color: var(--amber); font: 9px var(--mono); font-style: normal; text-decoration: none; }
.todo-item.done i { color: var(--cyan); }
.inline-form { display: flex; gap: 7px; margin-top: 11px; }
.inline-form input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 5px; padding: 9px 10px; color: var(--text); background: #081520; outline: 0; font-size: 11px; }
.inline-form input:focus { border-color: rgba(103, 228, 229, .55); }
.link-button { border: 0; padding: 0; color: var(--cyan); background: transparent; font: 10px var(--mono); cursor: pointer; }
.meta .link-button { margin-left: auto; }
.choice-list { display: grid; gap: 7px; max-height: 330px; overflow: auto; margin-bottom: 8px; }
.choice-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(8, 21, 32, .68); cursor: pointer; }
.choice-row:has(input:checked) { border-color: rgba(103, 228, 229, .52); background: rgba(103, 228, 229, .08); }
.choice-row input { accent-color: var(--cyan); }
.choice-row span { display: grid; gap: 2px; }
.choice-row b { color: var(--text); font-size: 11px; font-weight: 500; }
.choice-row small { color: var(--muted-2); font-size: 10px; }

@media (max-width: 1000px) {
  .site-nav { gap: 14px; }
  .header-note { display: none; }
  .hero-grid { gap: 38px; }
  .chain-layout, .assistant-promo, .live-grid { grid-template-columns: 1fr; }
  .chain-layout > div:first-child { position: static; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .workflow-step:nth-child(3) { border-right: 0; }
  .workflow-step:nth-child(n+4) { border-top: 1px solid var(--line); }
  .workspace-grid, .portfolio-summary { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 30px, 620px); }
  .section { padding: 74px 0; }
  .nav-wrap { height: 63px; }
  .site-nav { display: none; position: absolute; top: 63px; left: 15px; right: 15px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #0a1724; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; gap: 3px; }
  .site-nav a { padding: 9px; }
  .mobile-toggle { display: block; }
  .header-actions .button.ghost { display: none; }
  .hero { padding: 65px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(43px, 12vw, 63px); }
  .hero-lede { font-size: 14px; }
  .hero-visual { margin-top: 12px; }
  .signal-terminal { padding: 14px; }
  .terminal-metrics { grid-template-columns: repeat(3, 1fr); }
  .section-heading { display: block; }
  .section-heading p { margin-top: 14px; }
  .radar-grid, .pricing-grid { grid-template-columns: 1fr; }
  .chain-item { grid-template-columns: 36px 1fr; }
  .chain-item b { grid-column: 2; }
  .chain-detail { min-height: 315px; }
  .case-grid { grid-template-columns: 1fr; }
  .research-module-grid { grid-template-columns: 1fr 1fr; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .workflow-step:nth-child(3) { border-right: 1px solid var(--line); }
  .workflow-step:nth-child(even) { border-right: 0; }
  .workflow-step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .assistant-promo { padding: 21px; }
  .footer-top { display: block; }
  .footer-links { margin-top: 20px; gap: 15px; flex-wrap: wrap; }
  .live-toolbar { align-items: flex-start; flex-direction: column; }
  .decision-card { grid-template-columns:1fr; padding:17px; }
  .decision-main h3 { font-size:22px; }
  .watchlist-entry { grid-template-columns:1fr; gap:12px; }
  .watchlist-preview { padding:11px 0 0; border-left:0; border-top:1px solid var(--line); }
  .hub-grid { grid-template-columns:1fr; }
  .hub-flow { flex-wrap:wrap; gap:8px; }
  .workspace-shell { display: block; }
  .workspace-side { position: relative; width: 100%; height: auto; padding: 13px 15px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-brand { border: 0; padding: 0; }
  .workspace-side-foot { display: none; }
  .workspace-nav { display: none; grid-template-columns: repeat(2, 1fr); padding-top: 12px; }
  .workspace-nav.open { display: grid; }
  .workspace-nav .nav-group { grid-template-columns: repeat(2, 1fr); grid-column: 1 / -1; padding-bottom: 8px; margin-bottom: 4px; }
  .workspace-topbar { height: 55px; padding: 0 15px; }
  .workspace-page { width: calc(100% - 30px); padding: 25px 0 45px; }
  .workspace-title { display: block; }
  .workspace-title .date { display: block; margin-top: 10px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .workspace-card-grid { grid-template-columns: 1fr; }
  .research-module-grid { grid-template-columns: 1fr; }
  .assistant-workspace { grid-template-columns: 1fr; }
  .chat-window { min-height: 510px; }
  .chat-message { max-width: 92%; }
  .signal-table { min-width: 560px; }
  .work-panel.table-wrap { overflow-x: auto; }
}
.opinion-card h4 {font-size:19px;line-height:1.6;}
.opinion-card ul {padding-left:20px;font-size:14px;line-height:1.8;color:var(--muted);}
.opinion-card summary {padding:14px 0;cursor:pointer;font-size:13px;color:var(--muted-2);}
.opinion-card details p {display:block;overflow:visible;-webkit-line-clamp:unset;font-size:14px;overflow-wrap:anywhere;}
.company-tags { display:flex; flex-wrap:wrap; gap:5px; margin:9px 0; }
.company-tags span { padding:3px 7px; border:1px solid rgba(255,203,120,.35); border-radius:999px; color:var(--amber); font-size:10px; }
.admin-todo { display:flex; align-items:center; gap:12px; border-top:1px solid #456; padding:14px 0; }
.admin-todo > div { flex:1; }
.admin-todo p { margin:4px 0; white-space:pre-wrap; }
.admin-todo small { color:#9bb4c0; }
.admin-todo.done { opacity:.6; }
.admin-todo.done strong { text-decoration:line-through; }
.outlook-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.outlook-card { padding:18px; border:1px solid rgba(155,188,214,.14); background:rgba(10,27,42,.55); border-radius:10px; }
.outlook-card h3 { margin:13px 0 10px; font-size:17px; line-height:1.55; }
.outlook-card ul { margin:0 0 12px; padding-left:20px; color:var(--muted); font-size:13px; line-height:1.8; }
.outlook-card small { color:var(--muted-2); line-height:1.6; }
.industry-tree { padding:20px; border:1px solid var(--line-strong); border-radius:14px; background:linear-gradient(180deg, rgba(10,24,38,.92), rgba(8,20,32,.86)); box-shadow:var(--shadow); }
.tree-root { padding:16px 18px 14px; margin-bottom:18px; border:1px solid rgba(103,228,229,.45); border-radius:12px; text-align:center; color:var(--cyan); background:linear-gradient(135deg, rgba(103,228,229,.12), rgba(109,156,255,.08)); }
.tree-root span { display:block; font-size:15px; font-weight:600; letter-spacing:.06em; }
.tree-root small { display:block; margin-top:5px; color:var(--muted-2); font-size:11px; }
.tree-branches { display:grid; gap:14px; }
.tree-branch { position:relative; padding-left:16px; }
.tree-branch::before { content:""; position:absolute; left:0; top:6px; bottom:6px; width:2px; border-radius:2px; background:linear-gradient(180deg, rgba(103,228,229,.55), rgba(103,228,229,.06)); }
.tree-node { display:flex; width:100%; justify-content:space-between; align-items:center; gap:10px; text-align:left; border:1px solid rgba(155,188,214,.2); border-radius:10px; background:rgba(19,42,59,.85); color:var(--text); padding:12px 14px; cursor:pointer; transition:border-color .18s, background .18s, transform .18s; }
.tree-node:hover, .tree-child:hover { border-color:rgba(103,228,229,.6); transform:translateY(-1px); }
.tree-node.active, .tree-child.active { border-color:var(--cyan); background:linear-gradient(135deg, rgba(42,101,110,.4), rgba(30,70,90,.35)); box-shadow:0 0 0 1px rgba(103,228,229,.25), 0 6px 18px rgba(0,0,0,.25); }
.tree-node-main { display:flex; align-items:center; gap:10px; min-width:0; }
.tree-idx { font:11px var(--mono); color:var(--muted-2); }
.tree-node.active .tree-idx { color:var(--cyan); }
.tree-node b { font-size:13.5px; font-weight:600; }
.tree-node small { color:var(--muted-2); font-size:10px; white-space:nowrap; }
.tree-children { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin:9px 0 2px 14px; }
.tree-child { display:flex; width:100%; flex-direction:column; align-items:flex-start; gap:3px; text-align:left; border:1px solid rgba(155,188,214,.14); border-radius:8px; background:rgba(15,32,46,.7); color:var(--text); padding:9px 11px; cursor:pointer; font-size:12px; transition:border-color .18s, background .18s, transform .18s; }
.tree-child span { font-weight:500; }
.tree-child small { color:var(--muted-2); font-size:10.5px; }
.tree-child.active small { color:rgba(103,228,229,.85); }
.tree-company-list { display:grid; gap:12px; margin:14px 0; }
.tree-company-card { padding:16px 18px; border:1px solid rgba(155,188,214,.18); border-left:3px solid rgba(103,228,229,.5); border-radius:10px; background:rgba(13,28,42,.72); transition:border-color .18s, transform .18s; }
.tree-company-card:hover { border-color:rgba(103,228,229,.45); transform:translateY(-1px); }
.tcc-head { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.tcc-head b { font-size:15px; }
.tcc-tier { padding:2px 9px; border-radius:999px; font:10.5px var(--mono); color:var(--cyan); background:rgba(103,228,229,.12); border:1px solid rgba(103,228,229,.35); white-space:nowrap; }
.tcc-sub { margin-top:4px; color:var(--muted-2); font:11px var(--mono); }
.tree-company-card p { color:var(--muted); line-height:1.75; margin:10px 0 8px; font-size:13px; }
.tcc-verify { display:block; color:var(--amber); font-size:11px; }
.tree-toggle { display:block; width:100%; margin-top:2px; padding:10px 12px; border:1px dashed rgba(155,188,214,.35); border-radius:9px; background:rgba(15,32,46,.5); color:var(--cyan); font-size:12.5px; cursor:pointer; transition:border-color .18s, background .18s; }
.tree-toggle:hover { border-color:var(--cyan); background:rgba(42,101,110,.25); }
@media(max-width:760px) { .tree-children { grid-template-columns:1fr; } }
@media(max-width:760px) { .outlook-grid { grid-template-columns:1fr; } }
.assistant-admin { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.assistant-admin-chat { min-height:260px; max-height:520px; overflow:auto; padding:14px; border:1px solid #456; border-radius:6px; background:#071520; }
.assistant-admin-chat pre { white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:760px) { .assistant-admin { grid-template-columns:1fr; } }

