:root {
  color-scheme: light;
  --bg: #f7f0df;
  --bg-soft: #fff9ec;
  --ink: #1d2b24;
  --muted: #66766d;
  --line: rgba(29, 43, 36, 0.14);
  --green: #0b8f5a;
  --green-dark: #07603f;
  --green-soft: #d9f4e6;
  --orange: #f0a13a;
  --orange-soft: #ffe5bd;
  --cream: #fffaf0;
  --card: rgba(255, 250, 240, 0.88);
  --shadow: 0 24px 70px rgba(66, 48, 25, 0.16);
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 229, 189, 0.92) 0, rgba(255, 229, 189, 0) 34%),
    radial-gradient(circle at 88% 18%, rgba(217, 244, 230, 0.9) 0, rgba(217, 244, 230, 0) 36%),
    linear-gradient(135deg, #faf1dc 0%, #f4ead1 54%, #edf5e9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(29, 43, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 43, 36, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 32px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(29, 43, 36, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 16px 40px rgba(64, 48, 24, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 24px;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    var(--green);
  box-shadow: inset 0 -6px 18px rgba(7, 96, 63, 0.28);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #415149;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green-dark);
  background: rgba(11, 143, 90, 0.09);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: stretch;
  padding: 78px 0 30px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid rgba(29, 43, 36, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0)),
    var(--card);
  box-shadow: var(--shadow);
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -155px;
  width: 360px;
  height: 360px;
  border: 42px solid rgba(11, 143, 90, 0.11);
  border-radius: 50%;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 62px;
  bottom: 78px;
  width: 92px;
  height: 92px;
  border-radius: 34px;
  background: var(--orange-soft);
  transform: rotate(12deg);
  box-shadow: 96px -68px 0 rgba(217, 244, 230, 0.9);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  letter-spacing: -0.04em;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.98;
}

.hero-lead {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-bottom: 34px;
  color: #405249;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-pill,
.copy-link,
.jump-scan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(29, 43, 36, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.copy-pill {
  padding: 0 18px;
}

.copy-pill.primary,
.jump-scan {
  color: #fff;
  border-color: transparent;
  background: var(--green);
  box-shadow: 0 16px 32px rgba(11, 143, 90, 0.24);
}

.copy-pill:hover,
.copy-link:hover,
.jump-scan:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(64, 48, 24, 0.12);
}

.copy-pill.primary:hover,
.jump-scan:hover {
  background: var(--green-dark);
}

.scan-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 24px;
  border: 1px solid rgba(29, 43, 36, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(11, 143, 90, 0.08), rgba(255, 255, 255, 0)),
    rgba(255, 250, 240, 0.9);
  box-shadow: var(--shadow);
}

.scan-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.scan-label,
.scan-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.scan-label {
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.scan-status {
  color: var(--muted);
}

.qr-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  padding: 16px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 229, 189, 0.9), rgba(217, 244, 230, 0.8)),
    #fff;
}

.qr-frame img {
  display: block;
  width: 100%;
  max-width: 292px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(29, 43, 36, 0.14);
}

.scan-card p {
  margin: 24px 0 18px;
  color: #405249;
  font-size: 16px;
  line-height: 1.7;
}

.copy-link {
  width: 100%;
  padding: 0 18px;
  margin-top: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 80px;
}

.trust-strip div {
  padding: 22px;
  border: 1px solid rgba(29, 43, 36, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.72);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.6;
}

.section-block {
  margin-bottom: 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
}

.section-heading.compact {
  display: block;
}

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

.feature-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid rgba(29, 43, 36, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 50px rgba(64, 48, 24, 0.1);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card.accent {
  color: #f8fff9;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 229, 189, 0.38), transparent 32%),
    var(--green-dark);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 42px;
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  background: var(--green-soft);
}

.feature-card.accent .card-index {
  color: var(--green-dark);
  background: #f6e8bd;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.feature-card p {
  margin-bottom: 0;
  color: #52655b;
  line-height: 1.75;
}

.feature-card.accent p {
  color: rgba(248, 255, 249, 0.82);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(29, 43, 36, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, 0.76);
}

.step > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 28px;
  font-weight: 900;
  background: var(--orange);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(29, 43, 36, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(217, 244, 230, 0.82), rgba(255, 250, 240, 0.78)),
    var(--cream);
}

.privacy-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}

.privacy-copy p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: #405249;
  line-height: 1.8;
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list div {
  padding: 20px;
  border: 1px solid rgba(29, 43, 36, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.privacy-list strong,
.privacy-list span {
  display: block;
}

.privacy-list strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.privacy-list span {
  color: var(--muted);
  line-height: 1.65;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: var(--radius-lg);
  color: #f8fff9;
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 229, 189, 0.28), transparent 36%),
    linear-gradient(135deg, #0c6d49, #09442f);
  box-shadow: 0 28px 70px rgba(9, 68, 47, 0.22);
}

.final-cta .eyebrow {
  color: #d9f4e6;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.jump-scan {
  flex: 0 0 auto;
  min-width: 132px;
  padding: 0 22px;
  color: var(--green-dark);
  background: #f6e8bd;
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 10px;
  color: #52655b;
  font-size: 14px;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 16px;
}

.beian-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.beian-links a {
  color: #52655b;
}

.beian-links a:hover {
  color: var(--green-dark);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 50;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(29, 43, 36, 0.92);
  box-shadow: 0 18px 40px rgba(29, 43, 36, 0.18);
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100% - 24px, 720px);
  }

  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .privacy-block {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy,
  .scan-card {
    min-height: auto;
  }

  .trust-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.wide {
    grid-column: auto;
  }

  .section-heading {
    display: block;
  }

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 18px, 460px);
    padding-top: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-copy {
    padding: 28px 22px;
    border-radius: 28px;
  }

  .hero-copy::before,
  .hero-copy::after {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 16vw, 60px);
  }

  .copy-pill {
    width: 100%;
  }

  .scan-card,
  .feature-card,
  .privacy-block,
  .final-cta {
    border-radius: 26px;
  }

  .trust-strip {
    margin-bottom: 56px;
  }

  .section-block {
    margin-bottom: 64px;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .step > span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 22px;
  }
}
