:root {
  --ink: #2f4c5c;
  --muted: #6f655c;
  --paper: #fff8ee;
  --cream: #f8e9d7;
  --sand: #f4d6a8;
  --leaf: #a8c7b8;
  --sun: #f6c86e;
  --clay: #d8834c;
  --coral: #e8785c;
  --white: #ffffff;
  --line: rgba(47, 76, 92, 0.16);
  --shadow: 0 18px 45px rgba(47, 76, 92, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper), #ffffff 44%, var(--paper));
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 238, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: radial-gradient(circle at 65% 25%, var(--sun) 0 24%, transparent 25%), var(--leaf);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(47, 76, 92, .12);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: rgba(47, 76, 92, .82);
}
.nav-links a[aria-current="page"] { font-weight: 800; color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.mobile-menu { display: none; border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 9px 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(47, 76, 92, .14); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-secondary { background: var(--white); color: var(--ink); }
.btn-soft { background: var(--paper); border-color: var(--line); }
.btn-small { min-height: 40px; padding: 8px 15px; font-size: 14px; }
.btn-full { width: 100%; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 20px 42px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(168, 199, 184, .32);
  border: 1px solid rgba(47, 76, 92, .12);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--clay);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}
.hero-lead {
  font-size: clamp(18px, 2vw, 23px);
  color: var(--muted);
  max-width: 680px;
}
.hero-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}
.hero-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(47, 76, 92, .9);
}
.hero-points li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--sun);
  border: 2px solid var(--ink);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-visual {
  position: relative;
}
.hero-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 76, 92, .12);
}
.float-card {
  position: absolute;
  left: -22px;
  bottom: 24px;
  max-width: 270px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 76, 92, .12);
}
.float-card strong { display: block; margin-bottom: 4px; }
.float-card p { margin: 0; color: var(--muted); font-size: 14px; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 62px 20px;
}
.section-tight { padding-top: 30px; }
.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-header h2, .page-title h1 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-header p, .page-title p, .muted { color: var(--muted); }
.section-header p { max-width: 520px; margin-bottom: 4px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 12px 26px rgba(47, 76, 92, .06);
}
.card h3 { margin-bottom: 8px; font-size: 22px; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border: 2px solid var(--ink);
  margin-bottom: 14px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 38px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.08fr .92fr; }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.panel h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 16px; }
.panel p { color: var(--muted); }
.story-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.story-list li {
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 16px;
  border: 1px solid var(--line);
}
.visual-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--cream); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.timeline-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}
.timeline-item .step {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
  margin-bottom: 14px;
}
.timeline-item h3 { margin-bottom: 6px; font-size: 18px; }
.timeline-item p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

.cta-band {
  max-width: var(--max);
  margin: 54px auto;
  padding: 0 20px;
}
.cta-inner {
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
  padding: clamp(30px, 5vw, 54px);
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-inner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(246, 200, 110, .22);
}
.cta-inner h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.04em; }
.cta-inner p { color: rgba(255,255,255,.78); margin: 0; max-width: 650px; }
.cta-inner .btn { z-index: 1; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 70px 20px 32px;
}
.page-title { max-width: 820px; }
.page-title h1 { margin-bottom: 16px; }
.page-title p { font-size: 20px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric {
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}
.metric strong { display: block; font-size: 28px; letter-spacing: -0.04em; }
.metric span { color: var(--muted); font-size: 14px; }
.progress-wrap {
  margin: 22px 0;
  height: 16px;
  background: rgba(47,76,92,.12);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar { height: 100%; width: 62%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--sun)); }
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reward, .product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 12px 28px rgba(47, 76, 92, .07);
}
.price { font-size: 34px; font-weight: 900; letter-spacing: -0.04em; margin: 8px 0 14px; }
.reward ul, .product ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.product-image { background: var(--cream); border-radius: 20px; padding: 14px; margin-bottom: 18px; }
.product h3 { margin-bottom: 4px; }
.product-meta { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.shop-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cart-box {
  position: sticky;
  top: 86px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.cart-item { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.cart-total { display: flex; justify-content: space-between; margin: 18px 0; font-weight: 900; font-size: 20px; }
.empty-cart { color: var(--muted); font-size: 14px; }
.notice {
  border-radius: 18px;
  background: rgba(168, 199, 184, .28);
  border: 1px solid rgba(47, 76, 92, .12);
  padding: 16px;
  color: var(--muted);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; margin-bottom: 14px; }
.form-field label { font-weight: 750; font-size: 14px; }
.form-field input, .form-field textarea, .form-field select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.full-span { grid-column: 1 / -1; }

.site-footer {
  margin-top: 50px;
  background: var(--ink);
  color: #fff;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 20px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .6fr);
  gap: 28px;
}
.footer-inner p, .footer-inner a { color: rgba(255, 255, 255, .74); }
.footer-inner h3, .footer-inner h4 { margin-bottom: 10px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; text-align: center; color: rgba(255,255,255,.62); font-size: 14px; }

@media (max-width: 940px) {
  .hero, .split, .split.reverse, .shop-layout { grid-template-columns: 1fr; }
  .card-grid, .reward-grid { grid-template-columns: 1fr 1fr; }
  .timeline, .metric-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
  .float-card { left: 18px; right: 18px; max-width: none; }
  .section-header, .cta-inner { align-items: flex-start; flex-direction: column; }
  .cart-box { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .mobile-menu { display: inline-flex; }
  .nav { align-items: flex-start; }
  .nav-links, .nav-actions { display: none; }
  .nav.open { flex-wrap: wrap; }
  .nav.open .nav-links, .nav.open .nav-actions {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero { padding-top: 38px; }
  .hero-ctas .btn { width: 100%; }
  .card-grid, .reward-grid, .timeline, .metric-grid, .footer-inner, .form-grid { grid-template-columns: 1fr; }
  .full-span { grid-column: auto; }
  h1 { letter-spacing: -0.045em; }
}
