:root {
  --bg: #f4f6f9;
  --paper: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --sidebar: #101923;
  --sidebar-soft: #162331;
  --blue: #2864ff;
  --cyan: #21b6df;
  --green: #0a9b73;
  --red: #d24949;
  --radius: 10px;
  --sans: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 14px; background: white; color: var(--blue); }
.skip-link:focus { top: 12px; }

/* Homepage: selected evidence-first direction. */
.site-header { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 3.8vw; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.brand, .site-header nav { display: flex; align-items: center; gap: 26px; border: 0; background: transparent; }
.brand { gap: 12px; cursor: pointer; }
.brand-mark { width: 35px; fill: none; stroke: var(--blue); stroke-width: 2; }
.brand span { font-size: 17px; font-weight: 750; }
.nav-link, .avatar-button { border: 0; background: transparent; cursor: pointer; }
.nav-link { padding: 10px 0; font-size: 13px; }
.nav-link:hover { color: var(--blue); }
.avatar-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; }
.home-view { min-height: 100vh; background: #fff; }
.home-hero { min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(0, 2fr) minmax(350px, 1fr); }
.home-entry { padding: 74px 7vw 56px; }
.home-outcome { padding: 58px 2.6vw 42px; border-left: 1px solid var(--line); background: #fcfdff; }
.eyebrow { margin: 0; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.home-entry h1 { margin: 26px 0 21px; font-size: clamp(54px, 5.2vw, 78px); line-height: 1.14; letter-spacing: -.055em; }
.home-entry h1 em { color: var(--blue); font-style: normal; }
.hero-description { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.research-box { position: relative; margin-top: 46px; padding: 22px 18px 24px; border: 1px solid #d8dee8; border-radius: 8px; background: white; box-shadow: 0 16px 42px rgba(40,65,110,.06); }
.research-box label { display: block; margin-bottom: 11px; font-size: 12px; font-weight: 700; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 10px; }
.search-row input { min-width: 0; height: 74px; padding: 0 14px; border: 1px solid var(--line); border-radius: 7px; outline: none; color: var(--ink); font-size: 12px; }
.search-row input:focus { border-color: #8aabff; box-shadow: 0 0 0 3px rgba(40,100,255,.1); }
.primary-button { min-width: 132px; border: 0; border-radius: 7px; background: var(--blue); color: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.primary-button:hover { background: #164fe0; }
.primary-button:active { transform: translateY(1px); }
.primary-button:disabled { background: #9db4f7; cursor: not-allowed; }
.search-help { margin-top: 16px; }
.search-help > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 600; }
.search-help > div { display: flex; gap: 8px; flex-wrap: wrap; }
.search-help button { padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: white; color: #3f4b5e; font-size: 10px; cursor: pointer; }
.search-help button:hover { border-color: #9eb7ff; color: var(--blue); }
.search-help button b { margin-left: 6px; color: #98a2b3; font-weight: 500; }
.search-results { position: absolute; left: 18px; right: 160px; top: 116px; z-index: 10; display: none; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: 0 14px 35px rgba(16,24,40,.12); overflow: hidden; }
.search-results--open { display: block; }
.search-results > button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; }
.search-results > button:hover { background: #f5f8ff; }
.search-results strong, .search-results small { display: block; }
.search-results strong { font-size: 11px; }
.search-results small, .search-results em { color: var(--muted); font-size: 8px; font-style: normal; }
.selected-company { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 10px; border-radius: 6px; background: #f4f7ff; }
.selected-company .company-monogram { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--blue); color: white; font-size: 9px; }
.selected-company strong, .selected-company small { display: block; }
.selected-company strong { font-size: 10px; }
.selected-company small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.selected-company .verified { color: var(--green); font-size: 9px; }
.home-proof { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border: 1px solid var(--line); border-radius: 8px; }
.home-proof > div { padding: 28px 16px; text-align: center; }
.home-proof > div + div { border-left: 1px solid var(--line); }
.home-proof strong, .home-proof span { display: block; }
.home-proof strong { font-size: 21px; letter-spacing: -.03em; }
.home-proof span { margin-top: 7px; color: var(--muted); font-size: 9px; }
.home-disclaimer { margin: 21px 0 0; color: #526077; font-size: 10px; }

.home-outcome > header h2, .home-outcome > header p { margin: 0; }
.home-outcome > header h2 { font-size: 17px; }
.home-outcome > header p { margin-top: 6px; color: var(--muted); font-size: 11px; }
.outcome-flow { position: relative; margin-top: 32px; }
.outcome-flow::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 178px; width: 1px; background: #a9c0ff; }
.outcome-step { position: relative; min-height: 0; padding-bottom: 38px; }
.outcome-step + .outcome-step { margin-top: 0; }
.step-copy { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.step-copy > span { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--blue); color: white; font-size: 11px; font-weight: 700; }
.step-copy h3 { margin: 1px 0 9px; color: var(--blue); font-size: 14px; }
.step-copy p { margin: 0; color: #526077; font-size: 11px; line-height: 1.75; }
.step-copy small, .step-copy b { display: block; }
.step-copy small { margin-top: 13px; color: var(--muted); font-size: 9px; }
.step-copy b { margin-top: 9px; color: #5b687c; font-size: 9px; }
.step-copy button { margin-top: 14px; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 9px; font-weight: 700; cursor: pointer; }
.framework-tags { display: flex; gap: 9px; margin-top: 11px; flex-wrap: wrap; }
.framework-tags i { color: #526077; font-size: 9px; font-style: normal; }
.preview-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 10px 28px rgba(28,45,78,.04); overflow: hidden; }
.outcome-step--report .report-preview { margin: 6px 0 0 40px; }
.outcome-report-link { margin: 14px 0 0 40px; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 700; cursor: pointer; }
.report-preview { padding: 17px 16px; }
.report-preview-title { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; }
.pdd-badge { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 7px; background: #df3035; color: white; font-size: 8px; }
.report-preview-title small { color: var(--blue); font-size: 7px; }
.report-preview-title h3, .report-preview-title p { margin: 0; }
.report-preview-title h3 { margin-top: 2px; font-size: 14px; }
.report-preview-title p { margin-top: 2px; color: var(--muted); font-size: 7px; }
.mini-score { display: grid; grid-template-columns: auto auto; align-items: end; }
.mini-score span { grid-column: 1 / -1; color: var(--muted); font-size: 7px; }
.mini-score strong { margin-top: 3px; color: var(--blue); font: 25px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.mini-score em { color: var(--muted); font-size: 8px; font-style: normal; }
.mini-thesis { margin-top: 15px; padding: 16px 14px; border: 1px solid #c8d5fb; border-radius: 6px; background: #f8faff; }
.mini-thesis span, .mini-thesis strong, .mini-thesis button { display: block; }
.mini-thesis span { color: var(--blue); font-size: 7px; }
.mini-thesis strong { margin-top: 8px; color: #2456ce; font-size: 10px; }
.mini-thesis button { margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 7px; }
.modal-layer { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(16,24,40,.5); }
.modal-card { width: min(460px, 90vw); padding: 34px; border-radius: 14px; background: white; }
.modal-close { float: right; border: 0; background: none; font-size: 24px; }
.auth-button, .demo-login { width: 100%; margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.auth-button--wechat { background: var(--ink); color: white; }
.research-view { min-height: 100vh; background: var(--sidebar); color: white; }
.research-shell { width: min(980px, 90vw); margin: auto; padding: 80px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.timeline-item { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.timeline-node { color: #5aa8ff; }
.outline-button { padding: 14px; border: 1px solid #5aa8ff; background: transparent; color: white; }

/* Report workspace: direction 3 navigation + direction 2 information design. */
.atlas-shell { min-height: 100vh; display: grid; grid-template-columns: 216px minmax(0, 1fr) 272px; background: var(--bg); }
.atlas-sidebar { position: sticky; top: 0; height: 100vh; z-index: 30; display: flex; flex-direction: column; padding: 22px 14px 16px; background: var(--sidebar); color: #d8e0e8; border-right: 1px solid #273442; }
.atlas-brand { display: flex; align-items: center; gap: 11px; width: 100%; padding: 0 8px 20px; border: 0; border-bottom: 1px solid #2a3744; background: transparent; text-align: left; color: white; cursor: pointer; }
.atlas-wordmark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--blue); color: white; font-size: 21px; font-weight: 800; }
.atlas-brand b, .atlas-brand small { display: block; }
.atlas-brand b { font-size: 16px; }
.atlas-brand small { margin-top: 3px; color: #7d8c9b; font-size: 8px; letter-spacing: .13em; }
.atlas-sidebar nav { margin-top: 16px; display: grid; gap: 4px; }
.atlas-nav-item { display: grid; grid-template-columns: 26px 1fr 28px; align-items: center; gap: 8px; min-height: 58px; padding: 8px 9px; border: 1px solid transparent; border-radius: 7px; color: #8998a8; text-decoration: none; transition: .2s ease; }
.atlas-nav-item > b { color: #556574; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.atlas-nav-item strong, .atlas-nav-item small { display: block; }
.atlas-nav-item strong { color: #d4dce4; font-size: 13px; font-weight: 600; }
.atlas-nav-item small { margin-top: 4px; font-size: 9px; }
.atlas-nav-item em { font-size: 11px; font-style: normal; text-align: right; }
.atlas-nav-item:hover { background: #182635; }
.atlas-nav-item.active { background: #2864ff; color: white; box-shadow: 0 10px 25px rgba(31,92,255,.22); }
.atlas-nav-item.active > b, .atlas-nav-item.active strong, .atlas-nav-item.active small { color: white; }
.atlas-side-foot { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid #2a3744; }
.atlas-side-foot span, .atlas-side-foot b, .atlas-side-foot small { display: block; }
.atlas-side-foot span { color: #657687; font-size: 9px; }
.atlas-side-foot b { margin: 6px 0; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.atlas-side-foot small { color: #657687; font-size: 9px; }
.atlas-side-foot button { width: 100%; margin-top: 16px; padding: 10px; border: 1px solid #415364; border-radius: 6px; background: transparent; color: #cdd6de; font-size: 11px; cursor: pointer; }

.atlas-workspace { min-width: 0; }
.atlas-topbar { position: sticky; top: 0; z-index: 20; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); color: var(--muted); font-size: 10px; }
.atlas-topbar div { display: flex; align-items: center; gap: 14px; }
.atlas-topbar b { padding: 7px 10px; border-radius: 4px; background: #eef3ff; color: var(--blue); font-size: 9px; }
.atlas-topbar button { display: none; border: 1px solid var(--line); border-radius: 5px; background: white; }
.user-dot { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #98a2b3; border-radius: 50%; color: var(--ink); font-size: 11px; }
.atlas-content { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 70px; }
.atlas-section { padding: 70px 0 80px; border-bottom: 1px solid #d8dee7; scroll-margin-top: 58px; }
.hero-section { padding-top: 50px; }

.company-lockup { display: flex; align-items: center; gap: 16px; }
.company-badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: #e22127; color: white; font-size: 13px; font-weight: 800; }
.company-lockup p, .company-lockup h1, .company-lockup small { margin: 0; }
.company-lockup p { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.company-lockup h1 { margin: 4px 0 3px; font-size: 33px; letter-spacing: -.04em; }
.company-lockup small { color: var(--muted); }
.quality-score { float: right; width: 240px; margin-top: -58px; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 7px; }
.quality-score strong { color: var(--blue); font: 70px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.09em; }
.quality-score > span { padding-bottom: 10px; color: var(--muted); font-size: 16px; }
.quality-score b, .quality-score small { grid-column: 1 / -1; }
.quality-score b { margin-top: 8px; font-size: 17px; }
.quality-score small { margin-top: 3px; color: var(--muted); }
.thesis-card { clear: both; margin-top: 38px; padding: 23px 25px; border: 1px solid #bfd0ff; border-radius: var(--radius); background: #f8faff; box-shadow: 0 12px 36px rgba(40,100,255,.06); }
.thesis-card > span, .section-title > span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.thesis-card h2 { margin: 9px 0 7px; color: #1b4fd3; font-size: 20px; letter-spacing: -.02em; }
.thesis-card p { max-width: 820px; margin: 0; color: #506078; font-size: 12px; line-height: 1.8; }
.thesis-card button { margin-top: 14px; padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 700; cursor: pointer; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.metric-card { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.metric-card span, .metric-card strong, .metric-card em { display: block; }
.metric-card span { color: var(--muted); font-size: 10px; }
.metric-card strong { margin: 13px 0 8px; font: 25px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.05em; }
.metric-card em { color: var(--green); font-size: 9px; font-style: normal; }
.metric-card em.down { color: var(--red); }

.main-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .85fr); gap: 14px; }
.workspace-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.workspace-card > header { min-height: 68px; display: flex; align-items: flex-start; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.workspace-card header span { color: var(--muted); font-size: 9px; }
.workspace-card h3 { margin: 4px 0 0; font-size: 14px; }
.chart-panel canvas { display: block; width: 100%; height: 265px; }
.chart-panel footer { display: flex; justify-content: space-around; padding: 9px 30px 13px; color: #98a2b3; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.chart-legend { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 8px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.chart-legend i.cyan { background: var(--cyan); }
.chart-legend i.gray { background: #98a2b3; }
.chart-legend i.line { width: 14px; height: 2px; border-radius: 0; background: #153b76; }
.drivers-panel { padding-bottom: 8px; }
.drivers-panel > header { display: block; }
.factor-card { width: calc(100% - 24px); min-height: 59px; margin: 8px 12px 0; display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: white; text-align: left; cursor: pointer; }
.factor-card:hover { border-color: #a8bfff; box-shadow: 0 6px 16px rgba(40,100,255,.07); }
.factor-card .signal { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.factor-card .signal.neutral { background: #98a2b3; }
.factor-card strong, .factor-card small { display: block; }
.factor-card strong { font-size: 10px; }
.factor-card small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.factor-card em { padding: 4px 6px; border-radius: 4px; background: #eef3ff; color: var(--blue); font-size: 8px; font-style: normal; }

.section-title { display: grid; grid-template-columns: 1fr 310px; align-items: end; margin-bottom: 28px; }
.section-title > span { grid-column: 1 / -1; margin-bottom: 15px; }
.section-title h2 { margin: 0; font-size: clamp(28px, 3vw, 43px); line-height: 1.16; letter-spacing: -.045em; }
.section-title p { margin: 0 0 3px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.business-grid, .governance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.business-grid article, .governance-grid article { min-height: 170px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.business-grid span, .governance-grid span { color: var(--muted); font-size: 9px; }
.business-grid strong, .governance-grid strong { display: block; margin: 28px 0 9px; font-size: 18px; }
.business-grid p, .governance-grid p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.comparison-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.comparison-head, .comparison-card > button { display: grid; grid-template-columns: 1.1fr .9fr 80px 1.25fr; gap: 20px; align-items: center; width: 100%; min-height: 66px; padding: 0 20px; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; }
.comparison-head { min-height: 42px; background: #f8fafc; color: var(--muted); font-size: 9px; }
.comparison-card > button { cursor: pointer; }
.comparison-card > button:hover { background: #f8faff; }
.comparison-card button > strong { font-size: 11px; }
.comparison-card button > span { display: flex; align-items: center; gap: 8px; }
.comparison-card button > span::before { content: ""; flex: 1; height: 3px; background: #e6ebf2; }
.comparison-card button > span i { position: absolute; width: calc(var(--score) * .7); max-width: 115px; height: 3px; background: var(--blue); }
.comparison-card button > span b { width: 24px; font-size: 10px; }
.comparison-card button em { color: var(--green); font-size: 10px; font-style: normal; }
.comparison-card button small { color: var(--muted); font-size: 9px; }

.growth-list { padding: 20px; }
.growth-list > span { color: var(--muted); font-size: 9px; }
.growth-list h3 { margin: 5px 0 16px; }
.growth-list ol { margin: 0; padding: 0; list-style: none; }
.growth-list li { padding: 13px 0; border-top: 1px solid var(--line); }
.growth-list li b { font-size: 11px; }
.growth-list li em { float: right; color: var(--green); font-size: 8px; font-style: normal; }
.growth-list li p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.data-table { border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; }
.data-table > div { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); min-height: 50px; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); }
.data-table .data-head { min-height: 38px; background: #f8fafc; color: var(--muted); }
.data-table b, .data-table strong, .data-table span { font-size: 10px; }
.data-table span, .data-table b:not(:first-child) { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.governance-grid { grid-template-columns: repeat(4, 1fr); }
.governance-grid article { min-height: 155px; }
.governance-grid strong { color: var(--blue); }
.risk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.risk-list button { min-height: 112px; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-align: left; cursor: pointer; }
.risk-list button:hover { border-color: #f0a0a0; }
.risk-list span { color: var(--red); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.risk-list strong { font-size: 12px; }
.risk-list em { color: var(--red); font-size: 9px; font-style: normal; }
.risk-list p { grid-column: 2 / -1; margin: 0; color: var(--muted); font-size: 10px; }
.atlas-report-foot { display: flex; justify-content: space-between; padding-top: 26px; color: #98a2b3; font-size: 9px; }

.evidence-drawer { position: sticky; top: 0; height: 100vh; background: white; border-left: 1px solid var(--line); overflow-y: auto; }
.evidence-drawer > header { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.evidence-drawer header button { display: none; border: 0; background: transparent; color: var(--muted); }
.evidence-topic, .confidence, .evidence-body, .evidence-metrics { padding: 20px 18px; border-bottom: 1px solid var(--line); }
.evidence-topic small, .confidence > span, .evidence-body > span, .evidence-metrics > span { color: var(--muted); font-size: 9px; }
.evidence-topic h2 { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }
.confidence strong { float: right; color: var(--blue); font-size: 10px; }
.confidence i { clear: both; display: flex; gap: 4px; padding: 15px 0 8px; }
.confidence i b { flex: 1; height: 4px; border-radius: 2px; background: var(--blue); }
.confidence i b.off { background: #e5e9ef; }
.confidence small { color: var(--muted); font-size: 8px; }
.evidence-body blockquote { margin: 13px 0; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: #fafbfc; color: #3b485c; font-size: 10px; line-height: 1.9; }
.evidence-body small { color: var(--muted); font-size: 8px; }
.evidence-body button { width: 100%; margin-top: 15px; padding: 9px; border: 1px solid #bfd0ff; border-radius: 5px; background: #f5f8ff; color: var(--blue); font-size: 9px; }
.evidence-metrics p { display: flex; justify-content: space-between; margin: 12px 0 0; font-size: 9px; }
.evidence-metrics p b { color: var(--muted); font-weight: 500; }
.export-toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; padding: 13px 17px; border-radius: 7px; background: var(--ink); color: white; font-size: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.export-toast.show { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-entry { padding: 58px 7vw; }
  .home-outcome { padding: 48px 7vw; border-top: 1px solid var(--line); border-left: 0; }
  .outcome-step { grid-template-columns: 250px minmax(0, 1fr); }
}

@media (max-width: 1240px) {
  .atlas-shell { grid-template-columns: 192px minmax(0, 1fr); }
  .evidence-drawer { position: fixed; right: 0; z-index: 60; width: 310px; transform: translateX(100%); box-shadow: -20px 0 50px rgba(16,24,40,.14); transition: transform .25s; }
  .atlas-shell.drawer-open .evidence-drawer { transform: none; }
  .evidence-drawer header button, .atlas-topbar button { display: inline-block; }
}

@media (max-width: 820px) {
  .site-header { padding: 0 20px; }
  .site-header nav { gap: 16px; }
  .home-entry, .home-outcome { padding: 44px 22px; }
  .home-entry h1 { font-size: clamp(43px, 10vw, 62px); }
  .outcome-step { grid-template-columns: 1fr; gap: 14px; }
  .outcome-flow::before { bottom: auto; height: 590px; }
  .outcome-step + .outcome-step { margin-top: 36px; }
  .atlas-shell { display: block; }
  .atlas-sidebar { position: sticky; height: auto; padding: 10px 12px; }
  .atlas-brand { padding-bottom: 9px; }
  .atlas-sidebar nav { display: flex; overflow-x: auto; margin-top: 9px; }
  .atlas-nav-item { flex: 0 0 90px; min-height: 48px; grid-template-columns: 1fr auto; }
  .atlas-nav-item > b, .atlas-nav-item small { display: none; }
  .atlas-side-foot { display: none; }
  .atlas-topbar { top: 116px; }
  .atlas-content { width: calc(100% - 28px); }
  .quality-score { float: none; width: 100%; margin: 25px 0 0; }
  .metric-grid, .business-grid, .governance-grid { grid-template-columns: 1fr 1fr; }
  .main-grid, .section-title, .risk-list { grid-template-columns: 1fr; }
  .section-title p { margin-top: 18px; }
  .comparison-head, .comparison-card > button { grid-template-columns: 1fr 1fr 55px; }
  .comparison-head b:last-child, .comparison-card button small { display: none; }
}

@media (max-width: 520px) {
  .brand span { font-size: 15px; }
  .nav-link { font-size: 11px; }
  .avatar-button { display: none; }
  .home-entry h1 { font-size: 42px; }
  .hero-description { font-size: 13px; }
  .search-row { grid-template-columns: 1fr; }
  .primary-button { min-height: 48px; }
  .search-results { right: 18px; top: 146px; }
  .home-proof { grid-template-columns: 1fr; }
  .home-proof > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .outcome-flow::before { display: none; }
  .step-copy { grid-template-columns: 26px 1fr; }
  .preview-row { min-width: 390px; }
  .data-preview { overflow-x: auto; }
  .atlas-topbar > span { display: none; }
  .metric-grid, .business-grid, .governance-grid { grid-template-columns: 1fr; }
  .atlas-section { padding: 50px 0; }
  .company-lockup h1 { font-size: 28px; }
  .section-title h2 { font-size: 30px; }
  .chart-legend { display: none; }
  .data-table { overflow-x: auto; }
  .data-table > div { min-width: 620px; }
  .atlas-report-foot { display: grid; gap: 8px; }
  .research-shell { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
