:root {
  --lav: #a98adf;
  --lav-strong: #8b6cf6;
  --lav-mid: #c4aaee;
  --lav-light: #e8dcff;
  --lav-soft: #f4efff;
  --coral: #ee7a72;
  --coral-soft: #ffe8e6;
  --sage: #6dbb9f;
  --sage-soft: #dcf0e8;
  --gold: #e4b558;
  --gold-soft: #fff3d4;
  --ink: #251836;
  --ink-70: #6b5b8a;
  --ink-35: #c0b4d4;
  --surface: #fffdfd;
  --card: #ffffff;
  --border: rgba(168, 148, 214, 0.18);
  --shadow: 0 20px 60px rgba(70, 30, 110, 0.1);
  --shadow-soft: 0 12px 32px rgba(70, 30, 110, 0.07);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(196, 170, 238, 0.2), transparent 30%),
    linear-gradient(180deg, #fffdfd 0%, #fbf8ff 48%, #ffffff 100%);
}

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

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(168, 148, 214, 0.12);
  background: rgba(255, 253, 253, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(169, 138, 223, 0.26);
}

.brand span {
  font-size: 19px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-70);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--lav-strong);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--lav), var(--lav-strong));
  box-shadow: 0 14px 30px rgba(139, 108, 246, 0.22);
}

.button.secondary {
  color: #7e5fd1;
  background: #f7f3ff;
  border-color: #e7ddff;
}

.hero {
  padding: 72px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  color: #7e5fd1;
  background: var(--lav-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-eyebrow {
  color: #3e8f73;
  background: #f4fff9;
  border-color: rgba(109, 187, 159, 0.28);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

h1 {
  margin: 24px 0 16px;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: var(--ink-70);
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
}

.metric {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.metric-coral {
  border-color: rgba(238, 122, 114, 0.2);
  background: linear-gradient(180deg, #ffffff, #fff7f6);
}

.metric-sage {
  border-color: rgba(109, 187, 159, 0.22);
  background: linear-gradient(180deg, #ffffff, #f6fffb);
}

.metric-gold {
  border-color: rgba(228, 181, 88, 0.24);
  background: linear-gradient(180deg, #ffffff, #fffaf0);
}

.metric strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.metric span {
  color: var(--ink-70);
  font-size: 13px;
  line-height: 1.55;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: min(360px, 100%);
  border: 12px solid #241a2f;
  border-radius: 38px;
  background: #fffdfd;
  box-shadow: 0 34px 70px rgba(37, 24, 54, 0.22);
  overflow: hidden;
}

.phone-screen {
  padding: 22px 18px 18px;
  min-height: 640px;
  background: linear-gradient(180deg, #fffdfd, #fbf8ff);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.phone-title strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}

.phone-title span {
  color: var(--ink-70);
  font-size: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 18px;
  background: var(--lav-soft);
  border: 1px solid var(--lav-light);
}

.search-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  color: #a99ab7;
  font-size: 12px;
  margin-bottom: 14px;
}

.screen-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}

.screen-card.highlight {
  background: linear-gradient(135deg, #ffffff, #fcfaff 55%, var(--lav-soft));
}

.screen-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  color: #7e5fd1;
  font-size: 11px;
  font-weight: 800;
}

.screen-card h2 {
  margin: 12px 0 8px;
  font-size: 21px;
  line-height: 1.34;
}

.screen-card p {
  margin: 0;
  color: var(--ink-70);
  font-size: 13px;
  line-height: 1.7;
}

.screen-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.fake-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--lav), var(--lav-strong));
  font-size: 13px;
  font-weight: 800;
}

.fake-button.light {
  color: #7e5fd1;
  background: #f7f3ff;
  border: 1px solid #e7ddff;
  padding: 0 12px;
}

.food-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.food-thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--coral-soft), #f8d2b8);
}

.food-row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.tag.sage {
  color: #3e8f73;
  background: var(--sage-soft);
}

.tag.lav {
  color: #7e5fd1;
  background: var(--lav-soft);
}

.tag.gold {
  color: #9a7a28;
  background: var(--gold-soft);
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(244, 239, 255, 0.55), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(168, 148, 214, 0.1);
  border-bottom: 1px solid rgba(168, 148, 214, 0.1);
}

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

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin: 12px 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
}

.section-head p {
  margin: 0;
  color: var(--ink-70);
  font-size: 16px;
  line-height: 1.8;
}

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

.feature-card,
.step-card,
.legal-card,
.compliance-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #7e5fd1;
  background: var(--lav-soft);
  border: 1px solid var(--lav-light);
  margin-bottom: 16px;
}

.icon-box.sage-icon {
  color: #3e8f73;
  background: var(--sage-soft);
  border-color: rgba(109, 187, 159, 0.26);
}

.icon-box.coral-icon {
  color: #c26058;
  background: var(--coral-soft);
  border-color: rgba(238, 122, 114, 0.24);
}

.icon-box.gold-icon {
  color: #9a7a28;
  background: var(--gold-soft);
  border-color: rgba(228, 181, 88, 0.26);
}

.feature-card h3,
.step-card h3,
.legal-card h3,
.compliance-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-card p,
.step-card p,
.legal-card p,
.compliance-card p {
  margin: 0;
  color: var(--ink-70);
  font-size: 14px;
  line-height: 1.75;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--lav-soft);
  color: #7e5fd1;
  font-weight: 900;
  margin-bottom: 16px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compliance-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.list-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-70);
  font-size: 14px;
  line-height: 1.65;
}

.list-item i {
  color: var(--sage);
  margin-top: 3px;
}

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

.legal-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.legal-card .button {
  margin-top: auto;
  width: fit-content;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #fcfaff 54%, var(--lav-soft));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.cta-band p {
  margin: 0;
  color: var(--ink-70);
  line-height: 1.75;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(168, 148, 214, 0.14);
  background: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: var(--ink-70);
  font-size: 13px;
}

.beian {
  margin-top: 12px;
  color: var(--ink-70);
  font-size: 13px;
  line-height: 1.7;
}

.beian a {
  color: var(--ink-70);
}

.beian a:hover {
  color: var(--lav-strong);
}

.legal-page {
  padding: 54px 0 76px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.document {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.document h1 {
  margin-top: 0;
  font-size: clamp(32px, 5vw, 52px);
}

.document h2 {
  margin: 34px 0 12px;
  font-size: 22px;
}

.document p,
.document li {
  color: var(--ink-70);
  font-size: 15px;
  line-height: 1.85;
}

.document ul {
  padding-left: 20px;
}

.doc-meta {
  color: var(--ink-70);
  font-size: 14px;
  margin-bottom: 28px;
}

.side-note {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--lav-soft);
}

.side-note h3 {
  margin: 0 0 10px;
}

.side-note p {
  margin: 0 0 14px;
  color: var(--ink-70);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links .button {
    margin-top: 8px;
  }

  .hero {
    padding: 42px 0 46px;
  }

  .hero-grid,
  .compliance-grid,
  .footer-grid,
  .legal-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .feature-grid,
  .workflow,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    min-height: auto;
  }

  .section {
    padding: 56px 0;
  }

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

  .document {
    padding: 24px;
  }

  .side-note {
    position: static;
  }
}
