/* Shared design tokens and layout for the merchant review site. */

:root {
  --ink: #0d1117;
  --ink-soft: #414b5a;
  --ink-mute: #6d7684;
  --line: #e5e8f0;
  --line-soft: #f0f2f8;
  --bg: #ffffff;
  --surface: #f7f8fc;
  --surface-2: #edf0f9;
  --brand: #3f3ac8;
  --brand-2: #7b3fe4;
  --brand-soft: #eeeeff;
  --warm: #ff6a3d;
  --ok: #0f9d58;
  --alipay: #1677ff;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;

  --sh-s: 0 1px 2px rgba(13, 17, 23, .05), 0 4px 14px rgba(13, 17, 23, .05);
  --sh-m: 0 14px 38px rgba(13, 17, 23, .10);
  --sh-brand: 0 12px 30px rgba(63, 58, 200, .22);

  --maxw: 1180px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

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

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */

.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .2px;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--sh-brand);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--ink-mute);
  line-height: 1;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-right: auto;
}

.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brand); }
.nav a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }

.head-side {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.16, 1, .3, 1), box-shadow .18s, background .18s, border-color .18s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(63, 58, 200, .3); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- section shells ---------- */

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.h2 {
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -.5px;
  margin: 0 0 14px;
  font-weight: 700;
}

.lede {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}

.sec-head { margin-bottom: 44px; }

/* ---------- feature list marker ---------- */

.ticks { list-style: none; margin: 0; padding: 0; }

.ticks li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}

/* ---------- footer ---------- */

.site-foot {
  background: #0d1117;
  color: #99a2b0;
  padding: 56px 0 34px;
  font-size: 13.5px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.foot-grid h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
  font-weight: 600;
}

.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a:hover { color: #fff; }

.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 14px; }

.foot-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: #79828f;
}

.biz-scope {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-s);
  background: rgba(255, 255, 255, .05);
  color: #b9c1cd;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .h2 { font-size: 27px; }
  .section { padding: 56px 0; }
}
