:root {
  --brand: #2b7d8f;
  --brand-dark: #1f5f6d;
  --brand-soft: #e6f3f5;
  --ink: #191919;
  --muted: #667085;
  --line: #e8eef0;
  --bg: #ffffff;
  --soft: #f5f8f9;
  --ok: #1a7f4b;
  --warn: #b86a00;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(15, 40, 48, 0.08);
  --shadow-sm: 0 4px 16px rgba(15, 40, 48, 0.06);
  --font: "Noto Sans SC", "Manrope", system-ui, sans-serif;
  --font-num: "Manrope", "Noto Sans SC", system-ui, sans-serif;
  --max: 1160px;
  --header: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}
.container.narrow { width: min(100% - 40px, 760px); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo__img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo__img--on-dark {
  border-radius: 8px;
}
.nav {
  display: flex;
  gap: 8px;
  margin-left: 16px;
  flex: 1;
}
.nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
}
.nav a:hover,
.nav a.is-active {
  color: var(--brand);
}
.nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--brand);
  border-radius: 0;
  padding-bottom: 6px;
}
.header__actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
@media (max-width: 860px) {
  .nav { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(43,125,143,0.28);
}
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--outline:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn--primary-sm,
.btn--ghost-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--primary-sm {
  background: var(--brand);
  color: #fff;
}
.btn--primary-sm:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost-sm {
  background: transparent;
  color: var(--muted);
}
.btn--ghost-sm:hover { color: var(--brand); background: var(--brand-soft); }
.btn--light {
  background: #fff;
  color: var(--brand-dark);
}
.btn--light:hover { background: #f0f7f8; color: var(--brand-dark); }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Hero */
.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse 70% 80% at 90% 10%, rgba(43,125,143,0.12), transparent 55%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  /* Top-align so shorter hero titles (e.g. 管财务) don't vertically
     re-center the whole left column against the tall product mock. */
  align-items: start;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  min-height: 40px;
}
.pill {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pill.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pill:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hero__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  /* Reserve two lines so tab switches don't collapse height. */
  min-height: calc(1.25em * 2);
}
.hero__slogan {
  margin: 0 0 14px;
  max-width: 28em;
  color: var(--brand);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
}
.hero__sub {
  margin: 0 0 28px;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.hero__note {
  margin: 0;
  font-size: 13px;
  color: #8a97a0;
}
.hero__note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hero__note a:hover {
  color: var(--brand-dark);
}

/* Product mock */
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
@media (max-width: 960px) {
  .mock { transform: none; }
}
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f0f4f5;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.mock__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d5dde0;
}
.mock__chrome span:nth-child(1) { background: #ff6b6b; }
.mock__chrome span:nth-child(2) { background: #ffd166; }
.mock__chrome span:nth-child(3) { background: #06d6a0; }
.mock__chrome em {
  margin-left: 10px;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.mock__body { display: flex; min-height: 280px; }
.mock__side {
  width: 56px;
  padding: 16px 12px;
  background: var(--brand-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock__side i {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.22);
}
.mock__side i.on { background: #fff; }
.mock__main { flex: 1; padding: 18px; background: #fafcfc; }
.mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mock__kpis div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.mock__kpis b {
  display: block;
  font-family: var(--font-num);
  font-size: 18px;
  color: var(--brand-dark);
}
.mock__kpis small { color: var(--muted); font-size: 12px; }
.mock__table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.mock__tr {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.mock__tr.head {
  border-top: 0;
  background: var(--soft);
  color: var(--muted);
  font-weight: 600;
}
.tag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.tag--warn { background: #fff3df; color: var(--warn); }
.tag--ok { background: #e5f7ee; color: var(--ok); }

/* Strip */
.strip {
  padding: 8px 0 48px;
}
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.strip__item {
  background: #fff;
  padding: 22px 20px;
}
.strip__item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.strip__item span {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 800px) {
  .strip__inner { grid-template-columns: 1fr 1fr; }
}

/* Sections */
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section__head {
  max-width: 640px;
  margin-bottom: 36px;
}
.section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 800;
}
.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.feature-tabs__btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.feature-tabs__btn.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.feature-pane {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.feature-pane[hidden] { display: none; }
@media (max-width: 800px) {
  .feature-pane { grid-template-columns: 1fr; }
}
.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.art-card {
  background: linear-gradient(160deg, #fff, var(--brand-soft));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  min-height: 180px;
}
.art-card__bar {
  height: 8px;
  width: 40%;
  border-radius: 4px;
  background: var(--brand);
  margin-bottom: 28px;
  opacity: 0.85;
}
.art-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
}
.art-steps span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}
.art-steps span.done {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: transparent;
}
.art-steps span.now {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.art-steps i {
  width: 16px;
  height: 2px;
  background: var(--line);
}
.mes-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}
.mes-row em {
  font-style: normal;
  color: var(--brand);
  font-weight: 700;
}
.mes-bar {
  height: 10px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.mes-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--brand), #4aa3b5);
}
.inv {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.inv:last-child { border-bottom: 0; }
.inv b { font-family: var(--font-num); color: var(--brand-dark); }
.money-line {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(43,125,143,0.12);
  font-size: 14px;
}
.money-line:last-child { border-bottom: 0; }
.money-line b { font-family: var(--font-num); }
.money-line .ok { color: var(--ok); }
.money-line .warn { color: var(--warn); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
}
.steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.steps__n {
  display: inline-block;
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 12px;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Deploy */
.deploy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) {
  .deploy { grid-template-columns: 1fr; }
}
.deploy__card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.deploy__card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--brand-dark);
}
.deploy__card > p {
  margin: 0 0 18px;
  color: var(--muted);
}
.deploy__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.deploy__card li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 14px;
}
.deploy__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 56px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
}
.cta-band p {
  margin: 0;
  opacity: 0.88;
}
.cta-band__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Forms */
.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.form-tabs__tab {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.form-tabs__tab.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.form-panel[hidden] { display: none; }
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form__hint {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--brand-soft);
  border-radius: 10px;
  color: var(--brand-dark);
  font-size: 14px;
}
.form__hint a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  word-break: break-all;
}
.faq a {
  font-weight: 600;
  word-break: break-all;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.form__grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}
.form__status {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.form__status.is-ok { background: #e5f7ee; color: var(--ok); }
.form__status.is-err { background: #fff0e8; color: #a94416; }

/* Rail */
.rail {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.rail a {
  padding: 14px 12px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.12em;
}
.rail a:last-child { border-bottom: 0; }
.rail a:hover { background: var(--brand-soft); color: var(--brand-dark); }
@media (max-width: 720px) {
  .rail { display: none; }
}

/* Footer */
.footer {
  background: #0f1c1f;
  color: rgba(255,255,255,0.72);
  padding: 48px 0 28px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.logo--foot { color: #fff; margin-bottom: 8px; }
.footer__slogan {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.03em;
}
.footer__tag { margin: 0; font-size: 14px; }
.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__links a { color: rgba(255,255,255,0.8); font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__copy {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}
.footer__icp:empty { display: none; }
