:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #142845;
  background: #f7f9fc;
  --ink: #142845;
  --muted: #536983;
  --blue: #245ce7;
  --blue-dark: #1b47c2;
  --line: #dbe5f2;
  --paper: #fff;
  --soft-blue: #eef4ff;
  --focus: #2e68ee;
  --green: #116e5c;
  --amber: #845112;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
.wrap { max-width: 1216px; margin-inline: auto; padding-inline: 32px; }
h1, h2, h3, p { margin: 0; }
h1 { letter-spacing: -.035em; }
h2 { font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner {
  max-width: 1216px;
  padding: 0 32px;
  min-height: 74px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.brand { width: 193px; display: flex; align-items: center; margin-left: -12px; }
.brand img { width: 100%; height: auto; display: block; }
nav { display: flex; gap: 6px; }
nav a { display: grid; place-items: center; padding: 10px 15px; min-height: 43px; border-radius: 8px; color: #405673; font-weight: 600; font-size: 15px; }
nav a:hover, nav a[aria-current] { background: var(--soft-blue); color: var(--blue-dark); }
.demo-mark { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: #eef4ff; color: #214ca8; border: 1px solid #d6e3fd; border-radius: 24px; font-size: 13px; white-space: nowrap; font-weight: 650; }
.demo-mark i, .dot-label::before { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: inline-block; }
.hero { background: #edf4ff; border-bottom: 1px solid #d8e6f6; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(36px, 5.4vw, 86px); align-items: center; min-height: 525px; padding-block: 60px; }
.product-name { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 760; color: #2454a8; margin-bottom: 18px; }
.product-name span { width: 20px; height: 3px; border-radius: 2px; background: var(--blue); }
.hero h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.17; font-weight: 800; }
.hero h1 em { color: #2459d6; font-style: normal; }
.hero-lede { color: #425b79; font-size: 18px; line-height: 1.85; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; border-radius: 9px; padding: 11px 17px; line-height: 1.3; font-weight: 680; font-size: 15px; text-align: center; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.hero-actions .button { min-height: 51px; padding-inline: 19px; }
.primary { background: var(--blue); color: white; }
.primary:hover:not(:disabled) { background: var(--blue-dark); box-shadow: 0 4px 9px #173d9a24; }
.secondary { border-color: #c3d4ef; color: #25477f; background: white; }
.secondary:hover { background: #f0f5ff; border-color: #92afdf; }
.button.text { color: #4b5f7e; background: transparent; }
.button.text:hover { background: #f0f4fb; }
.hero-preview { padding: 24px 25px 17px; border: 1px solid #d3e1f4; border-radius: 15px; background: white; box-shadow: 0 17px 40px #204b9020, 0 2px 4px #204b900b; display: block; transition: transform .18s ease, box-shadow .18s ease; min-width: 0; }
.hero-preview:hover { transform: translateY(-3px); box-shadow: 0 23px 43px #204b9027; }
.preview-top, .section-title, .preview-chart-title, .preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.preview-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
.preview-heading strong { display: block; font-size: 16px; }
.preview-heading small { display: block; color: var(--muted); margin-top: 4px; font-size: 13px; }
.preview-icon, .auth-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; flex: 0 0 auto; color: var(--blue); background: #edf4ff; font-size: 24px; font-weight: 720; }
.sample-tag { flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 6px; color: #315386; background: #eff4fa; font-size: 12px; line-height: 1.2; font-weight: 670; padding: 6px 8px; white-space: nowrap; }
.preview-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid #e2eaf7; padding-block: 16px; margin-block: 19px 15px; }
.preview-kpis > div { display: grid; gap: 5px; padding-inline: 13px; }
.preview-kpis > div:first-child { padding-left: 0; }
.preview-kpis > div + div { border-left: 1px solid #e2eaf7; }
.preview-kpis .value { font-size: clamp(18px, 2.1vw, 27px); font-weight: 780; }
.preview-kpis .label, .preview-chart-title, .preview-foot { font-size: 13px; color: var(--muted); }
.preview-chart-title > span:first-child { font-weight: 690; color: #334f78; }
.dot-label { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.dot-label::before { content: ""; width: 6px; height: 6px; }
.preview-chart { height: 142px; margin-top: 7px; }
canvas { display: block; width: 100%; height: 100%; }
.preview-foot { padding-top: 13px; border-top: 1px solid #e5edf8; margin-top: 4px; }
.preview-foot span:last-child { color: var(--blue-dark); font-weight: 700; white-space: nowrap; }
.home-details { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding-block: 34px 37px; }
.home-path + .home-path { border-left: 1px solid var(--line); padding-left: 33px; }
.home-path h2 { font-size: 19px; margin-bottom: 6px; }
.home-path p { color: var(--muted); line-height: 1.65; font-size: 15px; }
.home-path a { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; min-height: 30px; color: var(--blue-dark); font-weight: 700; font-size: 14px; }
.home-path a:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { min-height: 65px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.inner-page { padding-top: 33px; padding-bottom: 50px; }
.back-link { display: inline-flex; align-items: center; min-height: 32px; color: #365789; font-size: 14px; font-weight: 650; margin-bottom: 11px; }
.back-link:hover { text-decoration: underline; }
.page-heading { margin-bottom: 26px; }
.page-heading h1 { font-size: clamp(31px, 3.5vw, 46px); line-height: 1.2; font-weight: 800; }
.page-heading p { margin-top: 10px; color: var(--muted); line-height: 1.7; font-size: 16px; }
.steps { margin: 0 0 19px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; max-width: 785px; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 9px; border-bottom: 2px solid #dbe5f2; min-width: 0; padding: 0 5px 13px; font-weight: 625; color: #586d88; font-size: 15px; }
.steps li span { display: grid; place-items: center; width: 26px; height: 26px; font-size: 13px; flex: 0 0 auto; border-radius: 50%; background: #e8eff8; }
.steps li[aria-current="step"] { color: #204eb8; border-bottom-color: var(--blue); }
.steps li[aria-current="step"] span { color: white; background: var(--blue); }
.steps li.complete { color: var(--green); border-bottom-color: #a5d6c9; }
.steps li.complete span { background: #e4f4ef; }
.operation-layout { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(215px, 1fr); gap: 26px; align-items: start; }
.panel { border-radius: 11px; background: white; border: 1px solid var(--line); min-width: 0; }
.operation-main { padding: clamp(21px, 3.3vw, 34px); }
.section-note, .quiet-copy { font-size: 14px; color: var(--muted); line-height: 1.65; }
.section-note { margin-top: 7px; }
.side-note { padding: 21px 18px 0 22px; border-left: 2px solid #dbe8fb; margin-top: 6px; }
.cap { color: #254f98; font-size: 15px; font-weight: 740; }
.plain-tasks { list-style: none; padding: 0; margin-block: 10px 0; }
.plain-tasks li { padding: 13px 0; }
.plain-tasks li + li { border-top: 1px solid #e0e8f4; }
.plain-tasks strong { font-size: 15px; }
.plain-tasks p { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.65; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 17px; margin-top: 23px; }
label { display: grid; gap: 7px; font-weight: 680; font-size: 14px; }
input:not([type="checkbox"]), select { width: 100%; min-width: 0; height: 45px; border: 1px solid #c8d7eb; border-radius: 8px; background: #fff; color: #233d60; padding: 9px 11px; font-weight: 470; }
input::placeholder { color: #637690; }
.full-field { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.details-list { margin: 19px 0 0; border-block: 1px solid #e3ebf5; }
.details-list > div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; padding: 11px 0; gap: 10px; align-items: baseline; font-size: 14px; }
.details-list > div + div { border-top: 1px solid #e7edf5; }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; font-weight: 640; overflow-wrap: anywhere; }
.confirmation { display: flex; gap: 9px; align-items: flex-start; margin-top: 20px; color: #435675; font-weight: 520; line-height: 1.6; }
.confirmation input { accent-color: var(--blue); width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; }
.status-pill { display: inline-flex; align-items: center; width: fit-content; font-size: 13px; font-weight: 700; border-radius: 6px; padding: 4px 8px; }
.status-pill.warning { color: var(--amber); background: #fff1d9; }
.receipt-status { padding: 18px 19px; background: #f2f6ff; margin-top: 19px; border-radius: 9px; }
.receipt-status h3 { margin-top: 8px; font-size: 22px; }
.receipt-status p { margin-top: 5px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.auth-icon { margin-bottom: 14px; }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-heading h1 { font-size: clamp(31px, 3.2vw, 41px); }
.data-controls { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 14px 17px; display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1.7fr) minmax(0,1fr) auto; gap: 13px; align-items: end; }
.data-controls .sample-tag { align-self: center; }
.scope-note { margin-block: 11px 17px; font-size: 13px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.kpi-strip { padding: 21px 24px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--line); background: white; border-radius: 11px; margin-bottom: 16px; }
.kpi-strip > div { display: grid; gap: 5px; padding-inline: 19px; min-width: 0; }
.kpi-strip > div:first-child { padding-left: 0; }
.kpi-strip > div + div { border-left: 1px solid #e2eaf5; }
.label { color: #516a8a; font-size: 14px; }
.value { font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.kpi-strip .value { font-size: clamp(22px, 2.75vw, 34px); font-weight: 800; letter-spacing: -.018em; }
.kpi-strip > div:last-child .value { color: #2458cb; }
.kpi-meta { font-size: 12px; color: var(--muted); }
.analysis-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.trend-panel, .findings-panel, .campaigns-panel, .chat-panel { padding: 19px 22px; }
.dashboard-chart { height: 247px; margin-top: 13px; }
.toggle { display: inline-flex; align-self: flex-start; gap: 2px; background: #eff4fb; border-radius: 8px; padding: 3px; }
.toggle button { border: 0; padding: 7px 12px; min-height: 35px; background: transparent; border-radius: 6px; font-size: 13px; font-weight: 650; color: #4d6382; white-space: nowrap; }
.toggle button[aria-pressed=true] { color: #204eb8; background: white; box-shadow: 0 1px 3px #284d8626; }
.hint-status { color: #416084; font-size: 12px; font-weight: 670; white-space: nowrap; }
.finding { display: grid; grid-template-columns: 58px 1fr; gap: 11px; padding: 13px 0; border-bottom: 1px solid #e4ebf4; align-items: start; }
.finding:last-child { border-bottom: 0; padding-bottom: 0; }
.finding:first-child { margin-top: 5px; }
.finding p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.57; }
.finding button { display: inline; text-align: left; border: 0; background: none; padding: 0; color: #254982; font-size: 14px; font-weight: 710; }
.finding button:hover { text-decoration: underline; }
.status-pill.good { background: #e6f5ef; color: var(--green); }
.status-pill.neutral { background: #edf3fc; color: #3d5a83; }
.campaigns-panel, .chat-panel { margin-top: 16px; }
.table-scroll { overflow-x: auto; margin-top: 12px; }
table { width: 100%; min-width: 670px; border-collapse: collapse; font-size: 14px; text-align: left; }
th { color: #506686; font-size: 13px; background: #f3f6fc; padding: 12px 11px; font-weight: 670; white-space: nowrap; }
td { padding: 12px 11px; border-bottom: 1px solid #e6edf7; white-space: nowrap; font-variant-numeric: tabular-nums; }
td:first-child { font-weight: 640; }
td button { border: 1px solid #d8e4f7; border-radius: 7px; color: #2353b0; background: #f6f9ff; padding: 7px 9px; min-height: 34px; font-size: 13px; font-weight: 670; }
td button:hover { background: #eaf2ff; }
.quick-asks { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.quick-asks .button { font-size: 13px; min-height: 38px; padding: 7px 12px; }
.messages { display: grid; gap: 10px; align-items: start; margin-top: 12px; max-height: 380px; overflow: auto; }
.messages:empty { display: none; }
.message { margin: 0; padding: 11px 14px; border-radius: 9px; line-height: 1.62; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; background: #f1f5fd; }
.message.user { justify-self: end; background: #eaf1ff; max-width: 85%; }
.message.assistant { max-width: 100%; }
.message strong { display: block; margin-bottom: 4px; }
.chat-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; margin-top: 15px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
dialog { width: min(500px,calc(100% - 24px)); padding: 24px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); box-shadow: 0 24px 70px #1a3a6740; }
dialog::backdrop { background: #152c4b70; }
dialog > p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 9px; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-list { color: #314d75; padding-left: 21px; font-size: 15px; line-height: 1.8; }
.icon-button { width: 40px; height: 40px; border: 1px solid #dbe6f6; background: white; border-radius: 8px; color: #38517a; font-size: 23px; line-height: 1; }
[data-metric]:hover, .icon-button:hover { background: #e7effd; }
@media (max-width: 950px) {
  .hero-grid { gap: 29px; min-height: 475px; padding-block: 44px; }
  .hero h1 { font-size: clamp(37px,5.6vw,56px); }
  .hero-preview { padding-inline: 17px; }
  .hero-lede { font-size: 16px; }
  .preview-kpis > div { padding-inline: 9px; }
  .operation-layout { gap: 16px; }
}
@media (max-width: 715px) {
  .wrap, .header-inner { padding-inline: 21px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 2px 15px; padding-block: 4px 8px; min-height: 0; }
  .brand { width: 170px; }
  nav { grid-row: 2; grid-column: 1 / -1; gap: 8px; }
  nav a { padding: 7px 12px; font-size: 14px; min-height: 37px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 33px 28px; gap: 27px; }
  .hero h1 { font-size: clamp(34px, 8.25vw, 54px); }
  .product-name { margin-bottom: 13px; font-size: 14px; }
  .hero-lede { margin-top: 16px; }
  .hero-actions { margin-top: 20px; gap: 8px; }
  .hero-actions .button { padding-inline: 11px; min-height: 46px; font-size: 14px; gap: 6px; }
  .hero-preview { padding: 16px 15px 12px; }
  .preview-kpis .value { font-size: clamp(18px,5.3vw,26px); }
  .preview-chart { height: 124px; }
  .home-details { padding-block: 24px; gap: 18px; grid-template-columns: 1fr; }
  .home-path + .home-path { padding: 17px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .operation-layout, .analysis-grid { grid-template-columns: 1fr; }
  .side-note { margin-top: 5px; }
  .inner-page { padding-block: 22px 36px; }
  .page-heading { margin-bottom: 17px; }
  .page-heading p { font-size: 14px; }
  .steps li { font-size: 12px; gap: 5px; }
  .steps li span { width: 20px; height: 20px; font-size: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 70px; }
  .data-controls { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .data-controls .sample-tag { justify-self: end; align-self: end; margin-bottom: 7px; }
  .kpi-strip { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 15px; row-gap: 12px; }
  .kpi-strip > div { padding-inline: 11px; }
  .kpi-strip > div:nth-child(3) { border-left: none; padding-left: 0; }
  .kpi-strip > div:nth-child(n + 3) { border-top: 1px solid #dce7f5; padding-top: 12px; }
  .dashboard-chart { height: 210px; }
  .dashboard-heading .button { font-size: 13px; padding-inline: 10px; max-width: 110px; }
  .trend-panel, .findings-panel, .campaigns-panel, .chat-panel { padding: 16px; }
}
@media (max-width: 390px) {
  .wrap, .header-inner { padding-inline: 15px; }
  .field-grid { grid-template-columns: 1fr; gap: 14px; }
  .operation-main { padding-inline: 16px; }
  .preview-kpis .label { font-size: 12px; }
  .preview-heading small { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.demo-live-link { color: #214ca8; font-weight: 700; }
.demo-live-link:hover { text-decoration: underline; }
