:root {
  --ink: #102027;
  --text: #24343b;
  --muted: #60727b;
  --line: #dbe5e2;
  --soft: #f4f8f6;
  --panel: #ffffff;
  --green: #0b7a46;
  --green-dark: #065c35;
  --mint: #dff3e9;
  --gold: #d69a22;
  --blue: #23678d;
  --red: #a33a3a;
  --shadow: 0 18px 50px rgba(16, 32, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--text);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  color: var(--ink);
  font-size: 22px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}

.brand-preview {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 20px;
  background: #fff;
  display: block;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.links a {
  text-decoration: none;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.auth-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  border: 1px solid var(--green);
}

.auth-btn.login {
  background: #fff;
  color: var(--green);
}

.auth-btn.register {
  background: var(--gold);
  border-color: var(--gold);
  color: #102027;
  box-shadow: 0 10px 22px rgba(214, 154, 34, 0.26);
}

.hero-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-auth .auth-btn {
  min-height: 52px;
  padding: 0 22px;
  font-size: 16px;
}

.hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(228, 244, 235, 0.96)),
    url("data:image/svg+xml,%3Csvg width='900' height='520' viewBox='0 0 900 520' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='900' height='520' fill='%23e8f4ef'/%3E%3Cpath d='M0 380 C190 300 270 430 470 350 C650 278 720 296 900 230 L900 520 L0 520 Z' fill='%23cfeadb'/%3E%3Cpath d='M0 260 C210 190 318 310 510 224 C690 146 780 170 900 118' fill='none' stroke='%2384c7a5' stroke-width='18' stroke-linecap='round' opacity='.7'/%3E%3Ccircle cx='720' cy='95' r='56' fill='%23f2c45d' opacity='.85'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 620px;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 13px;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  margin: 16px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  margin: 0 0 12px;
}

.lead {
  max-width: 680px;
  color: #465961;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.btn.alt {
  background: #fff;
  color: var(--green);
}

.proof-row {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.proof {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.proof strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.proof span {
  color: var(--muted);
  font-size: 13px;
}

.phone {
  width: min(390px, 100%);
  justify-self: center;
  border: 1px solid #c9d8d2;
  border-radius: 28px;
  padding: 16px;
  background: #fefefe;
  box-shadow: var(--shadow);
}

.screen {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #f7fbf8;
}

.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 900;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  background: #edf2f4;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 9px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
}

.wallet {
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}

.wallet h3 {
  color: #fff;
}

.app-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.app-item b {
  display: block;
}

.app-item small {
  color: var(--muted);
}

section {
  padding: 54px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

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

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

.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card p,
.card li,
.panel p,
.panel li {
  color: var(--muted);
}

.metric {
  font-size: 32px;
  line-height: 1;
  color: var(--green);
  font-weight: 900;
  margin-bottom: 8px;
}

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

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

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

th {
  background: #edf3f0;
  color: var(--ink);
}

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

.route {
  font-family: Consolas, "Courier New", monospace;
  background: #eef4f1;
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.notice {
  border-left: 4px solid var(--gold);
  background: #fff8e9;
  padding: 16px;
  border-radius: 8px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
}

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 38px 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #c9d6dc;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 20px;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 6px;
}

.page-hero {
  padding: 52px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  max-width: 980px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 92px;
}

.list {
  margin: 0;
  padding-left: 20px;
}

.list li {
  margin-bottom: 8px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
}

.search-box {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  max-width: 560px;
  color: var(--ink);
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumb span:not(:last-child)::after,
.breadcrumb a::after {
  content: "/";
  color: #9aa8ad;
  margin-left: 8px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid,
  .grid.two,
  .content-layout,
  .footer-grid,
  .cta-row,
  .proof-row,
  .checklist {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .links {
    justify-content: flex-start;
  }

  .auth-actions,
  .hero-auth {
    width: 100%;
  }

  .auth-actions .auth-btn,
  .hero-auth .auth-btn {
    flex: 1 1 140px;
  }

  .hero-grid {
    min-height: auto;
    padding: 44px 0;
  }

  .sidebar {
    position: static;
  }
}
