:root {
  --ink: #0f172a;
  --muted: #56657a;
  --soft: #f8fafc;
  --line: #e9edf3;
  --accent: #ff8a2b;
  --accent-soft: #ffed9c;
  --blue: #0877b8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.site-shell {
  min-height: calc(100vh - 56px);
  padding: 64px 28px 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy,
.feature-item > div,
.hero-visual {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-logo {
  width: 104px;
  height: 62px;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #063b76;
}

h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 650px;
  margin: 0 0 34px;
  color: #111827;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.feature-list {
  display: grid;
  gap: 28px;
}

.feature-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.feature-dot {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
}

.feature-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-item h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

.feature-item p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.dashboard-window,
.analytics-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(232, 236, 244, 0.9);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.dashboard-window {
  width: min(100%, 370px);
  margin-left: auto;
  border-radius: 8px;
  padding: 10px 12px 20px;
  overflow: hidden;
}

.window-tabs {
  display: grid;
  grid-template-columns: 22px repeat(7, 1fr);
  align-items: center;
  height: 24px;
  background: #fff3bf;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  color: #313948;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
}

.window-tabs span,
.row span,
.toolbar span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-tabs .active {
  color: #e45d15;
  background: #ffe38a;
  height: 24px;
  display: grid;
  place-items: center;
}

.window-mark {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9e2d, #ff5f1f);
}

.toolbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.toolbar span {
  height: 13px;
  border-radius: 10px;
  color: #9aa4b2;
  background: #f0f3f8;
  font-size: 6px;
  line-height: 13px;
  padding-left: 8px;
}

.table {
  border: 1px solid #eff2f6;
  border-radius: 6px;
  overflow: hidden;
}

.row {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 0.7fr 0.7fr 0.7fr 1fr;
  min-height: 28px;
  align-items: center;
  border-top: 1px solid #eff2f6;
  color: #858fa2;
  font-size: 7px;
}

.row:first-child {
  border-top: 0;
}

.row span {
  padding: 0 7px;
}

.row.head {
  min-height: 18px;
  color: #637083;
  background: #fff;
  font-weight: 700;
}

.analytics-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  width: min(92%, 390px);
  border-radius: 8px;
  padding: 28px 20px 20px;
}

.analytics-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  border-radius: 8px 8px 0 0;
  background: var(--accent-soft);
}

.chart-block strong {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
}

.legend {
  color: #8c96a8;
  font-size: 7px;
}

.legend span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px 0 8px;
  border-radius: 2px;
  background: #ffd9cc;
}

.legend span:last-of-type {
  background: #ead5ff;
}

.line-chart {
  height: 86px;
  margin-top: 10px;
  background:
    linear-gradient(to bottom, transparent 24%, #edf2f8 25%, transparent 26%, transparent 49%, #edf2f8 50%, transparent 51%, transparent 74%, #edf2f8 75%, transparent 76%),
    radial-gradient(ellipse at 12% 62%, rgba(255, 153, 80, 0.3) 0 14%, transparent 15%),
    radial-gradient(ellipse at 34% 42%, rgba(255, 116, 96, 0.26) 0 18%, transparent 19%),
    radial-gradient(ellipse at 82% 30%, rgba(175, 108, 216, 0.26) 0 16%, transparent 17%),
    linear-gradient(135deg, transparent 0 10%, #ffcbb2 11% 12%, transparent 13% 26%, #ffcfb6 27% 28%, transparent 29% 46%, #ffd7c5 47% 48%, transparent 49% 68%, #f0c5ff 69% 70%, transparent 71% 100%);
  border-bottom: 1px solid #eef2f7;
}

.pie-block {
  position: relative;
  min-height: 128px;
}

.pie-chart {
  width: 96px;
  height: 96px;
  margin: 12px auto 0;
  border-radius: 50%;
  background: conic-gradient(#ffec91 0 76%, #b7caff 76% 100%);
}

.pie-label {
  position: absolute;
  color: #697386;
  font-size: 7px;
  line-height: 1.25;
}

.pie-label.left {
  left: 2px;
  bottom: 42px;
}

.pie-label.right {
  right: 0;
  bottom: 38px;
}

.site-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.site-footer a {
  color: #536173;
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--blue);
}

@media (max-width: 900px) {
  .site-shell {
    padding: 38px 20px 30px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .dashboard-window {
    margin: 0 auto;
  }

  .analytics-card {
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: 100%;
    max-width: 390px;
    margin: 0;
    padding: 28px 16px 24px;
  }

  .brand-logo {
    width: 94px;
    height: 56px;
  }

  h1 {
    font-size: 28px;
  }

  .lead,
  .feature-item p {
    font-size: 15px;
  }

  .feature-list {
    gap: 22px;
  }

  .hero-visual {
    min-height: auto;
  }

  .dashboard-window {
    width: 100%;
    padding: 10px 10px 16px;
  }

  .analytics-card {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 16px;
  }
}
