:root {
  --bg: #F4F7F5;
  --card: #FFFFFF;
  --ink: #15231C;
  --muted: #6B7A72;
  --line: #E4EBE6;
  --accent: #1F6F54;
  --accent-deep: #255C47;
  --accent-soft: #E7F4EE;
  --on-accent: #FFFFFF;
  --income: #1F8A5B;
  --expense: #D64545;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--on-accent) !important;
  border-radius: 999px;
  padding: 8px 14px;
}
.lang {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.lang:hover { color: var(--accent); border-color: var(--accent); }
html.i18n-pending body { visibility: hidden; }

.hero {
  background: linear-gradient(165deg, var(--accent-deep) 0%, var(--accent) 72%, #2E8B68 100%);
  color: var(--on-accent);
  border-radius: 28px;
  padding: 56px 48px 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.kicker {
  opacity: 0.78;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.lead {
  margin-top: 16px;
  max-width: 560px;
  font-size: 17px;
  opacity: 0.92;
}
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 750;
  background: #fff;
  color: var(--accent-deep);
}
.btn svg { width: 18px; height: 18px; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.fine {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.75;
}

.phone {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 28px;
  padding: 14px;
}
.phone-screen {
  background: var(--bg);
  color: var(--ink);
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
}
.phone-bar {
  background: var(--card);
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}
.phone-bar span { display: block; color: var(--muted); font-size: 12px; font-weight: 650; }
.phone-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.phone-row b { display: block; font-size: 14px; }
.phone-row em { color: var(--income); font-style: normal; font-weight: 800; }
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
  padding: 8px 0 12px;
}
.tabs .on { color: var(--accent); }

.section { padding: 54px 0 10px; }
.section h2 { font-size: 28px; letter-spacing: -0.03em; }
.section .sub { color: var(--muted); margin-top: 8px; max-width: 640px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
}
.card h3 { font-size: 17px; margin: 10px 0 6px; }
.card p { color: var(--muted); font-size: 14px; }
.icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.icon svg { width: 20px; height: 20px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.step h3 { margin: 12px 0 6px; }
.step p { color: var(--muted); font-size: 14px; }

.compare {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare th { color: var(--muted); font-weight: 700; }
.compare td:last-child, .compare th:last-child { color: var(--accent); font-weight: 800; }

.page-hero { padding: 12px 0 8px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 44px); color: var(--ink); }
.groups { display: grid; gap: 16px; margin: 22px 0 40px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 8px 18px 6px; }
.group h2 {
  font-size: 18px;
  padding: 14px 0 8px;
  border-bottom: 1px solid var(--line);
}
.group li {
  list-style: none;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.group li:last-child { border-bottom: 0; }
.group strong { font-weight: 750; }
.group span { color: var(--muted); }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 12px;
}
footer a { color: var(--accent); }

@media (max-width: 860px) {
  .hero, .grid, .steps { grid-template-columns: 1fr; }
  .hero { padding: 36px 22px 28px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .group li { grid-template-columns: 1fr; gap: 4px; }
}
