:root {
  --green: #00c86f;
  --green-dark: #00a85d;
  --ink: #2f2f37;
  --muted: #74747f;
  --line: #e6e6ea;
  --blue-soft: #eaf8fb;
  --blue-mid: #dff2f6;
  --cream: #fff5e8;
  --orange: #ff8a38;
  --red: #ff3d32;
  --shadow: 0 16px 38px rgba(26, 35, 40, 0.1);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.5;
}

body.blog-page {
  background:
    linear-gradient(#fff 0 122px, transparent 122px),
    radial-gradient(ellipse at 10% 108px, #eaf8fb 0 38px, transparent 39px),
    radial-gradient(ellipse at 78% 160px, #eaf8fb 0 54px, transparent 55px),
    #fff;
}

body.zh-page {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 10px rgba(31, 31, 36, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  width: 76px;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  color: #1f1f24;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--green);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.language-switch button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.language-switch a,
.language-switch button {
  color: var(--muted);
}

.language-switch a.active,
.language-switch a:hover,
.language-switch button.active,
.language-switch button:hover {
  color: var(--green);
}

[data-lang] {
  display: none;
}

html[lang="en"] [data-lang="en"],
html[lang="zh-CN"] [data-lang="zh-CN"] {
  display: revert;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
  padding: 36px 0 72px;
  position: relative;
}

.hero h1,
.page-title h1 {
  margin: 0 0 20px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 800;
}

.hero h1 strong,
.page-title strong,
.accent {
  color: var(--green);
}

.hero p,
.section-lede,
.page-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 42px;
  padding: 0 14px;
  border-radius: 7px;
  color: #fff;
  background: #000;
  font-size: 13px;
  font-weight: 800;
}

.store-badge span {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 320px;
  right: -180px;
  bottom: 22px;
  background: var(--blue-soft);
  border-radius: 58% 42% 45% 55%;
}

.phone {
  position: relative;
  z-index: 1;
  width: 254px;
  height: 500px;
  padding: 18px 14px;
  border: 6px solid #232328;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 74px;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #232328;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  padding-top: 20px;
}

.scan-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}

.product-pack {
  height: 82px;
  border-radius: 7px;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(155deg, #ff7b32 0%, #ffc94f 100%);
}

.product-pack.green {
  background: linear-gradient(155deg, #00bc70 0%, #a7e063 100%);
}

.product-pack.blue {
  background: linear-gradient(155deg, #2d86ff 0%, #7fd0ff 100%);
}

.score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 13px;
}

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

.phone-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.phone-row strong {
  color: var(--ink);
}

.carrot-helper,
.basket-helper {
  position: absolute;
  z-index: 1;
}

.carrot-helper {
  right: 24px;
  bottom: 92px;
}

.basket-helper {
  left: 52px;
  bottom: 104px;
}

.carrot-body {
  width: 76px;
  height: 112px;
  border-radius: 10px 10px 38px 38px;
  background: repeating-linear-gradient(0deg, #ff8a38 0 14px, #ff9d50 15px 24px);
  position: relative;
}

.carrot-body::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 28px;
  width: 20px;
  height: 38px;
  border-radius: 18px 18px 0 0;
  background: var(--green);
}

.carrot-body::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 38px;
  width: 28px;
  height: 13px;
  border-bottom: 3px solid #303035;
  border-radius: 0 0 28px 28px;
}

.basket-helper {
  width: 86px;
  height: 54px;
  border: 3px solid #8a8a91;
  border-top: 0;
  transform: rotate(-8deg);
}

.basket-helper::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -27px;
  width: 52px;
  height: 42px;
  border: 3px solid #8a8a91;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.section {
  padding: 76px 0;
}

.section.blue {
  background: var(--blue-soft);
}

.section.cream {
  background: var(--cream);
}

.center {
  text-align: center;
}

.section h2 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.1;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 44px;
}

.promise {
  text-align: center;
}

.round-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 42px;
  font-weight: 800;
}

.promise h3 {
  margin: 0 0 10px;
  font-family: "Brush Script MT", "Comic Sans MS", cursive;
  font-size: 28px;
  font-weight: 600;
}

.promise p,
.copy-block p,
.feature-list p,
.article-card p,
.article-feature p,
.tiny-copy {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 7px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.button:hover {
  background: var(--green-dark);
}

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

.copy-block h2 {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 18px;
}

.callouts {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.callout {
  width: fit-content;
  padding: 9px 16px;
  border-radius: 999px;
  background: #eeeeeb;
  color: #61616a;
  font-weight: 700;
  font-size: 14px;
}

.product-shot {
  position: relative;
  min-height: 300px;
}

.large-pack {
  width: 230px;
  height: 220px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fee05d, #ff8a38);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
}

.large-pack.tall {
  width: 130px;
  height: 330px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffca45, #ff7d32);
}

.score-label {
  position: absolute;
  top: 18px;
  right: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--green-dark);
  font-weight: 800;
}

.recommend-grid {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 40px;
}

.swap-card {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.swap-card.bad::before,
.swap-card.good::before {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}

.swap-card.bad::before {
  content: "x";
  background: var(--red);
}

.swap-card.good::before {
  content: "✓";
  background: #43bd50;
}

.arrow {
  text-align: center;
  color: #6d6d75;
  font-size: 42px;
}

.community {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.counter {
  display: flex;
  gap: 5px;
  margin: 14px 0;
}

.counter span {
  min-width: 24px;
  padding: 3px 4px;
  border-radius: 4px;
  background: #4e4e56;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  text-align: center;
}

.stars {
  color: #ff9b17;
  font-size: 24px;
}

.quote-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-card strong {
  color: var(--green-dark);
}

.press-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  color: #9a9aa2;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.impact {
  padding: 84px 0;
  background: var(--blue-soft);
  text-align: center;
}

.impact h2 {
  margin: 0 auto 24px;
  max-width: 720px;
  font-size: 42px;
  line-height: 1.15;
}

.impact strong {
  color: var(--green);
  font-family: "Brush Script MT", "Comic Sans MS", cursive;
  font-size: 56px;
  font-weight: 500;
}

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

.app-title {
  max-width: 760px;
  margin: 0 0 44px;
  font-size: 52px;
  line-height: 1.08;
}

.app-hero-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 30px;
}

.feature-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  align-items: start;
}

.line-icon {
  width: 54px;
  height: 54px;
  border: 2px solid currentColor;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 27px;
  font-weight: 800;
}

.feature-item h3 {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 18px;
}

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

.check-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 430px;
  min-height: 64px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(30, 40, 44, 0.06);
  font-weight: 700;
}

.check-pill::before {
  content: "✓";
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid #cdeee0;
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
}

.teacher {
  min-height: 300px;
  display: grid;
  place-items: center;
}

.board {
  width: 280px;
  height: 210px;
  border: 12px solid #ffd359;
  background: #202124;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  transform: rotate(3deg);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
  margin-top: 48px;
}

.premium-card {
  min-height: 300px;
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.premium-card .round-icon {
  background: #fff6e9;
}

.method-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 28px;
}

.method-link {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.method-link span {
  color: var(--green);
  font-size: 26px;
}

.page-title {
  padding: 74px 0 46px;
  text-align: center;
}

.blog-tabs {
  display: flex;
  gap: 42px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  font-weight: 800;
  color: #b3b3ba;
}

.blog-tabs a.active,
.blog-tabs a:hover {
  color: var(--green);
}

.article-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
  padding: 48px 0;
}

.single-post-card {
  min-height: 520px;
}

.single-post-card + .single-post-card {
  border-top: 1px solid var(--line);
}

.article-visual {
  min-height: 280px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.article-visual .product-pack {
  width: 72px;
  height: 150px;
}

.article-feature h2,
.article-card h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.18;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #358096;
  font-size: 13px;
  font-weight: 900;
}

.see-more {
  color: var(--green);
  font-weight: 900;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 32px;
  padding: 20px 0 68px;
}

.article-card img,
.article-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 18px;
}

.article-thumb {
  display: grid;
  place-items: center;
  background: var(--blue-soft);
}

.article-thumb.food {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent),
    #ffe7c7;
}

.article-thumb.green {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent),
    #dff7e8;
}

.article-thumb.blue {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent),
    #dff3fa;
}

.article-card h2 {
  font-size: 26px;
}

.article-card .meta {
  color: var(--muted);
  margin: 12px 0;
}

.pagination {
  display: flex;
  gap: 24px;
  padding: 28px 0 64px;
  border-top: 1px solid var(--line);
  color: #b7b7bd;
  font-size: 22px;
  font-weight: 900;
}

.pagination .active {
  color: var(--green);
}

.blog-article {
  padding: 64px 0 86px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--green);
  font-weight: 900;
}

.blog-article-header {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.blog-article-header h1 {
  margin: 18px 0 14px;
  font-size: 52px;
  line-height: 1.08;
}

.blog-hero-visual {
  min-height: 360px;
  margin: 0 auto 54px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent),
    var(--blue-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.article-phone {
  transform: rotate(-4deg);
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body p {
  margin: 0 0 24px;
  color: #50505a;
  font-size: 19px;
  line-height: 1.75;
}

.article-body h2 {
  margin: 48px 0 16px;
  font-size: 32px;
  line-height: 1.18;
}

.article-body blockquote {
  margin: 42px 0;
  padding: 28px 34px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
  font-weight: 800;
}

.article-body ul,
.article-body ol {
  margin: 0 0 28px 22px;
  padding: 0;
  color: #50505a;
  font-size: 19px;
  line-height: 1.75;
}

.article-body li + li {
  margin-top: 12px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 42px;
}

.insight-card {
  min-height: 140px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(26, 35, 40, 0.06);
}

.insight-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
  border-top: 1px solid var(--line);
}

.site-footer::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -70px;
  height: 140px;
  background: #55ad68;
  border-radius: 50% 50% 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  position: relative;
  z-index: 1;
}

.site-footer .brand {
  width: 108px;
}

.footer-grid h3 {
  color: var(--green);
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
  margin: 7px 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .header-inner {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .language-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .hero,
  .split,
  .community,
  .app-hero-grid,
  .database,
  .article-feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 44px;
  }

  .hero h1,
  .page-title h1,
  .app-title,
  .blog-article-header h1 {
    font-size: 44px;
  }

  .section h2,
  .copy-block h2,
  .impact h2 {
    font-size: 34px;
  }

  .promise-grid,
  .premium-grid,
  .article-grid,
  .insight-grid,
  .footer-grid,
  .press-row {
    grid-template-columns: 1fr;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .arrow {
    transform: rotate(90deg);
  }

  .method-links {
    grid-template-columns: 1fr;
  }

  .single-post-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .page-title h1,
  .app-title,
  .blog-article-header h1 {
    font-size: 36px;
  }

  .article-body p {
    font-size: 17px;
  }

  .article-body blockquote {
    font-size: 21px;
    padding: 22px;
  }

  .phone {
    width: 224px;
    height: 450px;
  }

  .hero-art::before {
    width: 420px;
    height: 260px;
    right: -170px;
  }

  .carrot-helper,
  .basket-helper {
    display: none;
  }

  .blog-tabs {
    gap: 18px;
    overflow-x: auto;
  }
}
