:root {
  --green: #13774b;
  --ink: #172722;
  --muted: #69766f;
  --line: #e4e9e5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    16px/1.6 Arial,
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 28px;
}
.top {
  background: #f0f6f1;
  padding: 8px 28px;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 14px;
}
.top a {
  color: var(--green);
  font-weight: bold;
}
header {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
}
.logo {
  font-size: 30px;
  letter-spacing: -1.4px;
  font-weight: 900;
  white-space: nowrap;
}
.logo span {
  color: var(--green);
}
.logo i {
  font-size: 14px;
  color: #b9e557;
  margin-left: 4px;
}
.search {
  flex: 1;
  border: 1px solid var(--line);
  background: #f7f9f7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  gap: 10px;
}
.search span {
  font-size: 28px;
}
input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
}
select,
.cart {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 10px;
}
.cart b {
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 14px;
}
nav {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  overflow: auto;
}
nav button {
  border: 0;
  border-radius: 6px;
  padding: 8px 18px;
  white-space: nowrap;
  background: transparent;
  color: var(--muted);
}
nav button.active {
  color: var(--green);
  background: #edf5ee;
  font-weight: bold;
}
.hero {
  margin-top: 20px;
  background: #edf4ed;
  border-radius: 16px;
  min-height: 390px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  padding: 48px 50px;
  overflow: hidden;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  max-width: 570px;
  margin: 0 0 20px;
  letter-spacing: -1.6px;
}
.hero p:not(.eyebrow) {
  color: var(--muted);
  max-width: 470px;
}
.primary {
  display: inline-block;
  border: 0;
  border-radius: 7px;
  padding: 13px 24px;
  background: var(--green);
  color: white;
  font-weight: bold;
}
.hero-tags {
  display: flex;
  gap: 18px;
  font-size: 14px;
  margin-top: 26px;
  color: #63776a;
}
.hero-art {
  position: relative;
  height: 280px;
  max-width: 400px;
  width: 100%;
  margin: auto;
}
.feature-card {
  position: absolute;
  left: 10px;
  top: 5px;
  width: 230px;
  height: 270px;
  background: #132c36;
  border-radius: 14px;
  color: #fff;
  padding: 25px;
  transform: rotate(-8deg);
  box-shadow: 0 18px 28px #17352a25;
  display: flex;
  flex-direction: column;
}
.feature-card small,
.mini-card small {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
}
.feature-card strong {
  font-size: 38px;
  margin-top: 24px;
}
.feature-card span {
  font-size: 12px;
}
.feature-card b {
  font-size: 44px;
  margin-top: auto;
}
.mini-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 205px;
  height: 145px;
  background: #c5e958;
  border-radius: 12px;
  padding: 22px;
  transform: rotate(8deg);
  box-shadow: 0 14px 28px #17352a20;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mini-card strong {
  font-size: 26px;
  line-height: 1;
}
.mini-card span {
  font-size: 12px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  gap: 25px;
}
.benefits div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.benefits b {
  color: var(--green);
  font-size: 14px;
  border: 1px solid #dbe7dc;
  border-radius: 50%;
  padding: 9px;
}
section {
  margin-bottom: 48px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 36px 0 22px;
}
.section-head span {
  font-size: 14px;
  color: var(--muted);
}
h2 {
  font-size: 28px;
  margin: 0;
  line-height: 1.3;
}
h3 {
  font-size: 18px;
}
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product {
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px #17352a12;
}
.product-cover {
  height: 170px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
  color: var(--fg);
}
.product-cover strong {
  font-size: 26px;
  line-height: 1.2;
}
.product-cover small {
  font-size: 12px;
  letter-spacing: 1px;
}
.product-copy {
  padding: 18px;
}
.product-copy p {
  margin: 6px 0;
  font-size: 14px;
  color: var(--muted);
}
.product-copy .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price b {
  font-size: 20px;
}
.price span {
  color: var(--green);
  font-size: 14px;
}
.steps {
  margin-top: 48px;
  padding: 28px;
  background: #f7f9f7;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 25px;
}
.steps b {
  color: var(--green);
}
.steps h3 {
  margin: 8px 0;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.faq {
  max-width: 800px;
  margin: 50px auto;
}
.faq h2 {
  margin-bottom: 20px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: bold;
}
details p {
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
#campaign {
  margin: 0;
  background: #123f2e;
  color: white;
  padding: 64px 0;
}
.campaign-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
#campaign .eyebrow {
  color: #c4e95b;
}
#campaign h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -1px;
}
#campaign p {
  color: #d5e4dc;
}
#campaign small {
  display: block;
  font-size: 12px;
  color: #c3d7cc;
}
.event-panel {
  padding: 26px;
  border: 1px solid #ffffff30;
  background: #ffffff09;
  border-radius: 14px;
}
#tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
#tiers button {
  background: transparent;
  border: 1px solid #ffffff40;
  border-radius: 8px;
  color: white;
  padding: 14px 5px;
  font-size: 20px;
}
#tiers button.active {
  background: #c5e958;
  color: #163e2d;
  border-color: #c5e958;
}
.event-panel .primary {
  background: #c5e958;
  color: #163e2d;
  width: 100%;
  margin-bottom: 12px;
}
.event-panel strong {
  font-size: 28px;
  color: #c5e958;
}
dialog {
  border: 0;
  border-radius: 16px;
  padding: 30px;
  width: calc(100% - 32px);
  max-width: 480px;
  color: var(--ink);
  box-shadow: 0 20px 80px #0003;
}
dialog::backdrop {
  background: #11291dc0;
}
.close {
  float: right;
  background: #f0f3f0;
  border: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 22px;
}
.note {
  font-size: 14px;
  color: var(--muted);
}
#detail label {
  display: block;
  margin: 18px 0 8px;
}
#detail select,
#detail input {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 6px;
  width: 100%;
}
#detail .primary {
  width: 100%;
  margin-top: 20px;
}
.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 14px;
}
.cart-row button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #172722;
  color: white;
  border-radius: 8px;
  padding: 10px 22px;
  display: none;
  z-index: 10;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #76b990;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  header {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  .search {
    order: 4;
    flex-basis: 100%;
  }
  header .logo {
    margin-right: auto;
  }
  .hero {
    padding: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-art {
    transform: scale(0.8);
    transform-origin: center;
  }
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .campaign-inner {
    gap: 30px;
  }
  .benefits {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 18px;
  }
  .top {
    padding: 8px 18px;
    font-size: 12px;
    gap: 16px;
  }
  .top span {
    max-width: 65%;
  }
  .logo {
    font-size: 27px;
  }
  select,
  .cart {
    font-size: 14px;
    padding: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
    min-height: 0;
  }
  .hero-art {
    height: 235px;
    transform: scale(0.85);
    margin-top: 20px;
  }
  .hero-tags {
    gap: 12px;
    font-size: 12px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }
  .benefits b {
    padding: 4px 8px;
  }
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .product-cover {
    height: 140px;
    padding: 16px;
  }
  .product-cover strong {
    font-size: 22px;
  }
  .product-copy {
    padding: 12px;
  }
  .price b {
    font-size: 18px;
  }
  .price span {
    font-size: 12px;
  }
  .section-head {
    align-items: start;
    gap: 10px;
  }
  .section-head span {
    max-width: 100px;
    font-size: 12px;
  }
  h2 {
    font-size: 25px;
  }
  .steps {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
  .campaign-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .footer-inner span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  #campaign {
    padding: 42px 0;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .cart-row {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
