:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --paper: #ffffff;
  --paper-soft: #eef3f1;
  --ink: #161a1d;
  --muted: #5d666d;
  --line: #dbe2e1;
  --line-strong: #bdcbc7;
  --green: #0f4b3f;
  --green-2: #197766;
  --green-soft: #e2f0eb;
  --red: #8f2636;
  --gold: #ad7a2d;
  --blue: #2457a6;
  --shadow: 0 28px 80px rgba(21, 33, 30, 0.13);
  --max: 1180px;
  --side-pad: clamp(18px, 4vw, 56px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body.zh {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
li,
td,
th {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

section[id] {
  scroll-margin-top: 116px;
}

.legal-main [id] {
  scroll-margin-top: 116px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--side-pad);
  background: rgba(245, 247, 248, 0.9);
  border-bottom: 1px solid rgba(219, 226, 225, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 790;
}

.brand img {
  width: 42px;
  height: 42px;
  padding: 3px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand span {
  font-size: 1.04rem;
  white-space: nowrap;
}

.site-nav,
.site-footer nav,
.lang-switch {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.nav-cta,
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 760;
}

.nav-cta {
  padding: 0 14px;
  color: #fff !important;
  background: var(--green);
  border: 1px solid rgba(15, 75, 63, 0.18);
}

.lang-switch {
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.lang-switch .active {
  color: #fff;
  background: var(--green);
}

.site-main {
  overflow: hidden;
}

.section,
.hero,
.page-hero {
  padding-right: var(--side-pad);
  padding-left: var(--side-pad);
}

.section {
  padding-top: clamp(68px, 9vw, 116px);
  padding-bottom: clamp(68px, 9vw, 116px);
}

.section.tight {
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.section.alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner,
.hero-inner,
.page-hero-inner {
  width: min(var(--max), calc(100vw - (var(--side-pad) * 2)));
  margin: 0 auto;
}

.hero {
  min-height: calc(88vh - 75px);
  display: flex;
  align-items: center;
  padding-top: clamp(60px, 8vw, 108px);
  padding-bottom: clamp(48px, 7vw, 88px);
  background:
    linear-gradient(115deg, rgba(226, 240, 235, 0.8), rgba(245, 247, 248, 0) 44%),
    radial-gradient(circle at 92% 14%, rgba(36, 87, 166, 0.1), transparent 34%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.hero-copy-block {
  min-width: 0;
  max-width: 720px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  line-height: 0.9;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
}

.hero-lede,
.page-lede,
.section-lede,
.card p,
.feature-row p,
.pricing-card p,
.site-footer {
  color: var(--muted);
  line-height: 1.68;
}

.hero-lede {
  max-width: 680px;
  margin: 30px 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 18px 38px rgba(15, 75, 63, 0.19);
}

.button.secondary {
  color: var(--green);
  background: #fff;
  border-color: rgba(15, 75, 63, 0.22);
}

.button.ghost {
  color: var(--green);
  background: transparent;
  border-color: var(--line-strong);
}

.text-link {
  justify-content: flex-start;
  min-height: auto;
  color: var(--green);
  font-size: 0.95rem;
}

.visual-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.brand-tile {
  overflow: hidden;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brand-tile img {
  width: 126px;
  height: 126px;
  object-fit: contain;
  padding: 10px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-tile strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.brand-tile span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.report-preview,
.app-preview,
.sample-preview {
  overflow: hidden;
  background: #15211e;
  border: 1px solid rgba(21, 33, 30, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: #27312e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d95f57;
}

.window-bar span:nth-child(2) {
  background: #d9ae4a;
}

.window-bar span:nth-child(3) {
  background: #66b577;
}

.app-body {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  min-height: 360px;
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 22px;
  color: rgba(255, 255, 255, 0.72);
  background: #1e2926;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar strong {
  margin-bottom: 12px;
  color: #fff;
}

.app-sidebar span {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
}

.app-sidebar span.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.app-panel {
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(25, 119, 102, 0.2), transparent 42%),
    linear-gradient(315deg, rgba(143, 38, 54, 0.18), transparent 52%),
    #15211e;
}

.app-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.app-panel-header strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 1.5rem;
}

.mini-table {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.mini-row {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 0.7fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.9rem;
}

.mini-row strong {
  color: #fff;
}

.mini-row .up {
  color: #8fe1bb;
  font-weight: 760;
}

.mini-row .down {
  color: #f1b2ad;
  font-weight: 760;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px;
  color: var(--green);
  background: var(--paper);
  font-weight: 780;
  text-align: center;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: end;
  margin-bottom: 38px;
}

.section-head > *,
.cta-band .section-inner > *,
.site-nav {
  min-width: 0;
}

.nowrap {
  white-space: nowrap;
}

.section-head.one-col {
  display: block;
  max-width: 820px;
}

.section-head h2,
.section-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-lede,
.page-lede {
  margin: 0;
  font-size: 1.08rem;
}

.page-hero {
  padding-top: clamp(62px, 9vw, 112px);
  padding-bottom: clamp(46px, 7vw, 82px);
  background:
    linear-gradient(115deg, rgba(226, 240, 235, 0.84), rgba(245, 247, 248, 0) 52%),
    radial-gradient(circle at 92% 8%, rgba(173, 122, 45, 0.12), transparent 32%);
  border-bottom: 1px solid var(--line);
}

.page-lede {
  max-width: 760px;
  margin-top: 26px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.pricing-card,
.doc-card,
.blog-card {
  min-width: 0;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card.accent,
.pricing-card.highlight {
  border-color: rgba(15, 75, 63, 0.3);
  box-shadow: 0 20px 54px rgba(15, 75, 63, 0.12);
}

.card.dark {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.card.dark p,
.card.dark .meta {
  color: rgba(255, 255, 255, 0.76);
}

.card h2,
.card h3,
.pricing-card h2,
.pricing-card h3,
.doc-card h3,
.blog-card h3 {
  margin: 0;
  letter-spacing: 0;
}

.card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.card h3,
.doc-card h3,
.blog-card h3,
.pricing-card h3 {
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.14;
}

.card p,
.pricing-card p,
.doc-card p,
.blog-card p {
  margin: 14px 0 0;
}

.meta,
.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-label {
  min-height: 30px;
  padding: 0 10px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(15, 75, 63, 0.18);
  border-radius: 8px;
  letter-spacing: 0;
  text-transform: none;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-row strong {
  color: var(--green);
  font-size: 1.04rem;
}

.feature-row p {
  margin: 0;
}

.workflow {
  counter-reset: step;
}

.workflow .card {
  min-height: 240px;
}

.workflow .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 820;
}

.sample-preview {
  background: #f8fafb;
  border-color: var(--line);
}

.sample-body {
  padding: 24px;
}

.sample-line {
  height: 11px;
  margin-top: 10px;
  background: #d9e3e1;
  border-radius: 999px;
}

.sample-line.wide {
  width: 92%;
}

.sample-line.mid {
  width: 68%;
}

.sample-line.short {
  width: 45%;
}

.sample-table {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.sample-table span {
  height: 34px;
  background: #eef3f1;
  border: 1px solid #dde6e4;
  border-radius: 8px;
}

.doc-group + .doc-group {
  margin-top: 46px;
}

.doc-group h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

.doc-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.doc-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.doc-viewer-main {
  width: min(980px, calc(100vw - (var(--side-pad) * 2)));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 84px) 0 clamp(72px, 9vw, 116px);
}

.doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.doc-article {
  padding: clamp(24px, 5vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(21, 33, 30, 0.08);
}

.doc-article h1 {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--green);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04;
}

.doc-article h2 {
  margin: 38px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--green);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.18;
}

.doc-article h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
}

.doc-article p,
.doc-article li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.76;
}

.doc-article a {
  color: var(--blue);
  border-bottom: 1px solid rgba(36, 87, 166, 0.28);
}

.doc-article ul {
  padding-left: 1.2rem;
}

.doc-article pre {
  overflow-x: auto;
  padding: 16px;
  background: #f2f5f5;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.doc-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.doc-table-wrap table {
  min-width: 680px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price {
  margin: 20px 0 0;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 830;
  letter-spacing: 0;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.plan-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.plan-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.plan-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 0.58em;
  background: var(--green-2);
  border-radius: 50%;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--green);
  background: var(--paper-soft);
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.blog-card .date {
  color: var(--green);
  font-weight: 780;
}

.cta-band {
  color: #fff;
  background: var(--green);
}

.cta-band .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.cta-band p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.cta-band .button.primary {
  color: var(--green);
  background: #fff;
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px var(--side-pad);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.94rem;
}

.legal-main {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 108px) 0;
}

.legal-main h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.legal-main h2 {
  margin-top: 46px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.legal-main a {
  color: var(--green);
  font-weight: 760;
}

.legal-main ul {
  padding-left: 1.2rem;
}

code {
  padding: 0.12em 0.34em;
  color: var(--green);
  background: rgba(15, 75, 63, 0.08);
  border-radius: 6px;
  font-size: 0.92em;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .hero-inner,
  .section-head,
  .cta-band .section-inner,
  .brand-tile,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 4.8rem);
  }

  .grid-4,
  .grid-3,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-actions,
  .action-row {
    width: 100%;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .proof-strip,
  .grid-2,
  .grid-3,
  .grid-4,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mini-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  .site-nav a:not(.nav-cta),
  .lang-switch {
    font-size: 0.9rem;
  }

  .site-nav {
    gap: 10px 12px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 3.8rem);
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 16vw, 4.2rem);
  }

  .card,
  .pricing-card,
  .doc-card,
  .blog-card,
  .brand-tile {
    padding: 22px;
  }
}
