:root {
  --ink: #14181d;
  --ink-soft: #3c444d;
  --muted: #6b7280;
  --paper: #ffffff;
  --paper-warm: #f7f6f3;
  --line: #e4e2dc;
  --accent: #0c6b52;
  --accent-soft: #e9f2ee;
  --gold: #b08a3e;
  --radius: 8px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img, svg { max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: 0; }

p { margin: 0; }

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin: 0 auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand-mark { color: var(--accent); display: flex; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; font-weight: 600; }
.brand-text small { font-size: 10px; letter-spacing: 0.14em; color: var(--muted); margin-top: 3px; }

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 15px;
  color: var(--ink-soft);
}

.nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s; }
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 24, 29, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 24, 29, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.15));
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.15));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 96px 0 84px;
  max-width: 860px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 54px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-lead {
  margin-top: 24px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s, background .18s, border-color .18s;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0a5a45; }

.btn-ghost { border: 1px solid #cfded8; color: var(--accent); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 46px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 48px; }

.section h2 {
  font-size: 36px;
  line-height: 1.35;
}

.section-desc {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

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

.card {
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .18s, transform .18s;
}

.card:hover { border-color: #bcd3ca; transform: translateY(-2px); }

.icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}

.card h3 { font-size: 18px; margin-bottom: 12px; }
.card p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.about-grid h2 { margin-bottom: 24px; }
.about-grid > div > p { margin-bottom: 18px; font-size: 15.5px; line-height: 1.95; color: var(--ink-soft); }
.about-grid > div > p:last-child { margin-bottom: 0; }

.about-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.about-panel h3 { font-size: 16px; margin-bottom: 20px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.check-list li { padding-left: 26px; position: relative; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.check-list strong { display: block; font-size: 14.5px; font-weight: 600; }
.check-list span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.steps li {
  position: relative;
  padding: 28px 24px 30px;
  border-top: 2px solid var(--ink);
  background: var(--paper-warm);
  border-radius: 0 0 var(--radius) var(--radius);
}

.step-no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.steps h3 { font-size: 17px; margin-bottom: 10px; }
.steps p { font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ---------- contact ---------- */
.download-section {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
}

.download-facts {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.download-facts li {
  position: relative;
  padding-left: 20px;
}

.download-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.download-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.download-app-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-app-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.download-app-head strong {
  display: block;
  font-size: 19px;
  line-height: 1.4;
}

.download-app-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.download-specs {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.download-specs div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.download-specs div:last-child { border-bottom: 0; }
.download-specs dt { color: var(--muted); }
.download-specs dd { margin: 0; color: var(--ink); font-weight: 600; }

.download-btn {
  width: 100%;
  margin-top: 24px;
}

.download-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
  text-align: center;
}

.section-contact { background: var(--ink); color: #eeece7; }
.section-contact .eyebrow { color: #74c3a8; }
.section-contact h2 { color: #fff; }
.section-contact .section-desc { color: #a9b1b8; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-card {
  background: #1d232a;
  border: 1px solid #2c343c;
  border-radius: var(--radius);
  padding: 12px 30px;
}

.contact-card dl { margin: 0; }
.contact-card dl > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #2c343c;
}
.contact-card dl > div:last-child { border-bottom: 0; }
.contact-card dt { font-size: 13.5px; color: #8f9aa3; }
.contact-card dd { margin: 0; font-size: 15px; color: #fff; }
.contact-card dd a { color: #74c3a8; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #0e1216; color: #8f9aa3; padding: 44px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand strong { display: block; color: #d7dde1; font-size: 15px; font-weight: 600; }
.footer-brand span { display: block; margin-top: 6px; font-size: 13px; }

.footer-meta { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; text-align: right; }
.footer-meta a { color: #9fc7b8; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero h1 { font-size: 42px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid, .download-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .header-inner { height: 64px; gap: 16px; }
  .header-phone { font-size: 14px; }
  .hero-inner { padding: 64px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 26px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .card { padding: 24px 22px 26px; }
  .contact-card { padding: 6px 20px; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .download-panel { padding: 24px 20px; }
  .footer-meta { text-align: left; }
}

/* ---------- legal pages ---------- */
.legal { padding: 72px 0 96px; }

.legal .wrap { max-width: 820px; }

.legal h1 {
  font-size: 40px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.legal-date {
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 20px;
  margin: 40px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}

.legal p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.legal ol,
.legal ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal li {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.legal strong { color: var(--ink); font-weight: 600; }

.legal-contact {
  list-style: none;
  padding: 22px 24px;
  margin: 18px 0 0;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-contact li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 14.5px;
}

.legal-contact li:last-child { margin-bottom: 0; }

.legal-contact span { color: var(--muted); }

.legal-contact a { color: var(--accent); }

@media (max-width: 640px) {
  .legal { padding: 48px 0 64px; }
  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 18px; margin-top: 32px; }
  .legal p, .legal li { font-size: 15px; }
  .legal-contact li { grid-template-columns: 1fr; gap: 2px; }
}
