:root {
  --ink: #10141c;
  --ink-soft: #2a3344;
  --muted: #6b7385;
  --line: #d5dbe8;
  --paper: #f3efe7;
  --panel: #ffffff;
  --brand: #0b6b52;
  --brand-deep: #064536;
  --accent: #c45c26;
  --sky: #e4ecf7;
  --max: 1120px;
  --nav-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 8% -8%, #d7e6f6 0%, transparent 55%),
    radial-gradient(800px 480px at 100% 0%, #f0e0cc 0%, transparent 50%),
    linear-gradient(180deg, #f7f3ec 0%, var(--paper) 45%, #ece6db 100%);
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 231, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 70%),
    var(--brand);
  position: relative;
  box-shadow: 0 8px 20px rgba(11, 107, 82, 0.25);
}
.mark::after {
  content: "";
  position: absolute;
  inset: 9px 8px 10px 11px;
  background: #f3efe7;
  clip-path: polygon(20% 100%, 45% 0, 70% 0, 100% 100%, 75% 100%, 58% 35%, 42% 35%, 25% 100%);
}
.brand-text strong {
  display: block;
  font-family: "Fraunces", "Instrument Serif", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-text span {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .86rem;
}
.nav-links a { color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.55);
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .4rem .65rem;
  cursor: pointer;
  line-height: 1;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.on {
  background: var(--ink);
  color: #fff;
}
a.lang-btn { text-decoration: none; }
.nav-links a.active { font-weight: 700; }
html[data-lang="zh"] body {
  font-family: "Noto Sans SC", "DM Sans", system-ui, sans-serif;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }

/* Hero */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(560px, 70vw);
  height: min(560px, 70vw);
  background: conic-gradient(from 200deg, #0b6b5228, #c45c2622, #2a4a7a18, #0b6b5228);
  border-radius: 42% 58% 50% 50%;
  filter: blur(2px);
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate(0,0) rotate(0); }
  to { transform: translate(-20px, 24px) rotate(10deg); }
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: end;
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; }
.pill {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .78rem;
  font-weight: 700;
}
.pill.ok { border-color: #0b6b52; color: var(--brand-deep); background: #e8f5ef; }
.pill.warn { border-color: var(--accent); color: #8a3d12; background: #f8efe6; }
.status-table td:first-child { width: 28%; font-weight: 600; }
.road-steps { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .road-steps { grid-template-columns: 1fr; } }
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .85rem;
}
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brand);
}
.lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.5rem; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  color: var(--muted);
  font-size: .86rem;
}
.trust-row b { color: var(--ink-soft); }

.panel-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 18px 40px rgba(16, 20, 28, 0.06);
}
.panel-card h3 {
  margin: 0 0 .75rem;
  font-size: .95rem;
}
.saas-mock {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .78rem;
  background: #151a22;
  color: #d7e0ea;
  border-radius: 10px;
  padding: .9rem;
  line-height: 1.55;
}
.saas-mock .ok { color: #7dcea0; }
.saas-mock .dim { color: #8090a4; }

/* Sections */
section { padding: 4rem 0; }
section.alt { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.35); }
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0 0 .75rem;
}
.section-lead { color: var(--muted); max-width: 36rem; margin: 0 0 1.75rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem;
}
.feature .tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}
.feature h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
.step {
  background: var(--ink);
  color: #f3efe7;
  padding: 1.1rem;
  min-height: 140px;
}
.step b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: .35rem;
}
.step span { font-size: .88rem; opacity: .85; }

table.price {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .92rem;
}
table.price th, table.price td {
  border: 1px solid var(--line);
  padding: .7rem .75rem;
  text-align: left;
  vertical-align: top;
}
table.price th { background: var(--sky); }
table.price .amt {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
}

.callout {
  border-left: 3px solid var(--brand);
  background: #fff;
  padding: .95rem 1.05rem;
  margin: 1.25rem 0;
}
.callout.warn { border-color: var(--accent); }

.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 550;
  margin: 0 0 .6rem;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: .84rem;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 800px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site strong { color: var(--ink); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: .78rem;
}

.console-shell {
  background: #12171f;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2a3444;
  box-shadow: 0 24px 50px rgba(0,0,0,.18);
}
.console-bar {
  display: flex;
  gap: .4rem;
  padding: .7rem 1rem;
  background: #1b222d;
  border-bottom: 1px solid #2a3444;
}
.console-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #445;
  display: inline-block;
}
.console-bar i:nth-child(1){background:#e07a5f}
.console-bar i:nth-child(2){background:#f2cc8f}
.console-bar i:nth-child(3){background:#81b29a}
.console-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
}
@media (max-width: 800px) { .console-body { grid-template-columns: 1fr; } }
.console-side {
  background: #171d27;
  color: #9aa8bc;
  padding: 1rem .85rem;
  font-size: .86rem;
}
.console-side a {
  display: block;
  color: #c5d0de;
  padding: .45rem .55rem;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: .2rem;
}
.console-side a.on { background: #0b6b5233; color: #9fe0c4; }
.console-main { padding: 1.1rem 1.15rem; color: #dce4ef; }
.console-main h3 { margin: 0 0 .8rem; font-size: 1rem; color: #fff; }
.drop {
  border: 1.5px dashed #3a465a;
  border-radius: 10px;
  padding: 2rem 1rem;
  text-align: center;
  color: #8b9aaf;
  margin-bottom: 1rem;
}
.meta-line { font-size: .82rem; color: #8b9aaf; }
