@font-face {
  font-family: "AaBill Headline SC";
  src: url("./fonts/noto-sans-sc-headline.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+3002, U+5904, U+677E, U+695A, U+6E05, U+76EE, U+76F8, U+8D26, U+8F7B, U+FF0C;
}

.marketing {
  --ink: #102e27;
  --muted: #52655b;
  --paper: #fafaf5;
  --white: #fff;
  --rule: #d6dfd6;
  --mint: #e7efe2;
  --lime: #d9f485;
  --green: #246445;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.marketing :focus-visible {
  outline-color: #d28b19;
}

.marketing .skip-link {
  z-index: 40;
}

.marketing [id] {
  scroll-margin-top: 92px;
}

.marketing svg:not(.icon-definitions) {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.home-wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  color: var(--paper);
  border-color: #ffffff25;
}

.home-header .header-inner {
  min-height: 76px;
}

.home-brand {
  gap: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.home-brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.home-brand small {
  display: block;
  font-size: 11px;
  letter-spacing: .02em;
  font-weight: 500;
  margin-top: 3px;
}

.home-header .home-brand {
  margin-right: auto;
}

.home-header .language-switch {
  order: 2;
  border-color: #ffffff40;
  border-radius: 100px;
}

.home-header .language-switch a {
  min-width: 34px;
  min-height: 34px;
  border-radius: 100px;
  color: var(--paper);
}

.home-header .language-switch a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
}

.home-header .site-nav {
  align-items: center;
  gap: clamp(15px, 2.2vw, 34px);
  background: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.home-header a:hover,
.home-hero .text-action:hover {
  color: var(--lime);
}

.home-header .nav-download {
  border: 1px solid #ffffff60;
  border-radius: 100px;
  padding: 7px 15px;
}

.home-header .nav-toggle {
  order: 3;
  min-height: 44px;
  border-radius: 100px;
  border-color: #ffffff40;
  color: var(--paper);
  background: transparent;
}

.home-hero {
  background: var(--ink);
  color: var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(26px, 5vw, 82px);
  padding-block: 60px 38px;
}

.hero-copy {
  padding-bottom: 24px;
}

.product-intro {
  color: var(--lime);
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 21px;
}

.home-hero h1 {
  max-width: none;
  margin: 0 0 26px;
  font-size: clamp(49px, 6.5vw, 100px);
  line-height: 1.1;
  letter-spacing: -.065em;
  font-weight: 750;
}

html[lang="en"] .home-hero h1 {
  font-size: clamp(43px, 5.8vw, 86px);
  line-height: 1.01;
}

.hero-description {
  max-width: 34ch;
  margin: 0 0 30px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: #c4d7ca;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 60px;
  padding: 10px 17px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.store-button img {
  width: 22px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.store-button small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 3px;
}

.store-button:hover {
  background: var(--green);
  color: var(--white);
}

.home-hero .store-button {
  color: var(--ink);
  background: var(--lime);
}

.home-hero .store-button img {
  filter: brightness(0);
}

.home-hero .store-button:hover {
  background: #e8ffa7;
}

.text-action,
.care-copy a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.marketing .text-action svg,
.marketing .care-copy a svg {
  width: 17px;
  height: 17px;
}

.store-status {
  margin: 14px 0 0;
  font-size: 12px;
  color: #c4d7ca;
}

.hero-note {
  margin: 28px 0 0;
  padding-top: 17px;
  border-top: 1px solid #ffffff30;
  color: #c4d7ca;
  font-size: 13px;
}

.hero-note strong {
  color: var(--paper);
}

.hero-product {
  min-width: 0;
  margin: 0;
  container-type: inline-size;
}

.product-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.06;
  border-radius: 22px;
  background-color: #b8d7ad;
  background-image:
    linear-gradient(90deg, #102e2712 1px, transparent 1px),
    linear-gradient(#102e2712 1px, transparent 1px);
  background-size: 34px 34px;
  border: 1px solid #ffffff40;
}

.product-stage::before {
  position: absolute;
  content: "";
  top: 15%;
  right: 7%;
  width: 27%;
  height: 19%;
  background: linear-gradient(to bottom, #eaf7dc 0 33%, transparent 33% 67%, #eaf7dc 67%);
  transform: rotate(-13deg);
  border-radius: 4px;
}

.device {
  position: absolute;
  top: 9%;
  left: 11%;
  width: 43%;
  border: clamp(4px, 1.25cqw, 8px) solid #19332c;
  border-radius: clamp(20px, 5.6cqw, 38px);
  overflow: hidden;
  background: white;
  box-shadow: 0 22px 44px #102e2740;
  transform: rotate(-9deg);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
}

.split-slip {
  position: absolute;
  right: 7%;
  bottom: 11%;
  width: 46%;
  padding: 4.2cqw 4.1cqw;
  background: #faffeb;
  color: var(--ink);
  box-shadow: 0 15px 30px #102e2738;
  transform: rotate(7deg);
  font-size: clamp(10px, 2.55cqw, 14px);
}

.split-slip::after {
  position: absolute;
  content: "";
  inset: auto 0 -7px;
  height: 8px;
  background: conic-gradient(from -45deg at bottom, #faffeb 90deg, transparent 0) 0 0 / 12px 100%;
}

.slip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--green);
}

.marketing .slip-label svg {
  width: 1.15em;
  height: 1.15em;
}

.slip-title {
  font-size: 1.48em;
  font-weight: 750;
  line-height: 1.25;
  margin: .55em 0 .8em;
}

.slip-breakdown {
  margin: 0;
  padding: .6em 0;
  border-block: 1px dashed #a4b499;
}

.slip-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.slip-breakdown dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}

.slip-share {
  margin: .7em 0 0;
}

.slip-share strong {
  display: block;
  font-size: 2.15em;
  line-height: 1.1;
  letter-spacing: -.06em;
}

.hero-product figcaption {
  color: #c4d7ca;
  text-align: right;
  font-size: 12px;
  margin-top: 10px;
}

.product-strip {
  background: var(--mint);
  border-bottom: 1px solid var(--rule);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strip-inner span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 6px;
  font-size: 14px;
  font-weight: 650;
}

.strip-inner span + span {
  border-left: 1px solid var(--rule);
}

.strip-inner svg {
  color: var(--green);
}

.home-section {
  padding-block: clamp(64px, 8vw, 116px);
}

.marketing h2 {
  font-size: clamp(32px, 4.1vw, 59px);
  line-height: 1.13;
  letter-spacing: -.055em;
  font-weight: 750;
  margin: 0 0 17px;
}

.marketing h3 {
  line-height: 1.35;
}

.section-kicker {
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 13px;
}

.marketing .section-copy > p:not(.section-kicker),
.scenario-copy > p,
.feature-columns p,
.how-steps p,
.faq-list details p {
  font-size: 15px;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 35px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
  margin-bottom: 26px;
}

.scenario-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 53px;
  padding: 8px 5px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.marketing .scenario-tabs svg {
  width: 18px;
  height: 18px;
}

.scenario-tabs button:hover,
.scenario-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--mint);
}

.scenario-tabs button[aria-selected="true"] {
  border-bottom-color: var(--green);
}

.scenario-layout,
.feature-story,
.care-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 7vw, 104px);
}

.scenario-layout {
  background: var(--mint);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 72px);
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--green);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.scenario-copy h3 {
  font-size: clamp(24px, 3.1vw, 43px);
  margin: 16px 0 12px;
}

.scenario-copy > p {
  max-width: 34ch;
  margin: 0;
}

.scenario-promise {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  margin-top: 22px;
}

.marketing .scenario-promise svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.sample-ledger {
  --ledger-gutter: clamp(14px, 2.4vw, 27px);
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 12px 30px #102e2710;
  overflow: hidden;
}

.ledger-heading,
.ledger-columns,
.ledger-entries li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ledger-heading {
  padding: 17px var(--ledger-gutter);
  border-bottom: 1px solid var(--rule);
}

.ledger-label,
.ledger-columns,
.ledger-entries small,
.ledger-total > span,
.sample-caption {
  font-size: 12px;
  color: var(--muted);
}

.ledger-heading h4 {
  font-size: 17px;
  margin: 2px 0 0;
}

.member-count {
  white-space: nowrap;
  background: var(--mint);
  padding: 3px 9px;
  border-radius: 30px;
  font-size: 12px;
}

.ledger-columns {
  padding: 10px var(--ledger-gutter) 0;
}

.ledger-entries {
  margin: 0;
  padding: 0 var(--ledger-gutter);
  list-style: none;
}

.ledger-entries li {
  padding-block: 10px;
  font-size: 14px;
}

.ledger-entries li + li {
  border-top: 1px solid var(--rule);
}

.ledger-entries small {
  display: block;
}

.ledger-total {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 13px var(--ledger-gutter);
  background: var(--lime);
  font-variant-numeric: tabular-nums;
}

.ledger-total strong {
  display: block;
  color: var(--ink);
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: -.045em;
}

.sample-caption {
  padding: 10px var(--ledger-gutter);
  margin: 0;
}

.feature-section {
  background: var(--white);
}

.feature-story {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.receipt-preview {
  position: relative;
  overflow: hidden;
  min-height: 345px;
  height: min(490px, 42vw);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 38px);
  background: #d8e7cc;
}

.receipt-preview-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 650;
}

.receipt-window {
  width: min(100%, 322px);
  margin-inline: auto;
  border: 6px solid var(--white);
  border-radius: 21px 21px 0 0;
  overflow: hidden;
  box-shadow: 0 12px 30px #102e2725;
}

.receipt-window img {
  display: block;
  width: 100%;
  height: auto;
}

.review-label {
  position: absolute;
  bottom: 16px;
  right: 16px;
  left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.check-list {
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 9px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}

.marketing .check-list svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: clamp(35px, 6vw, 76px);
}

.feature-columns article {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.feature-columns h3,
.how-steps h3 {
  font-size: 20px;
  margin: 13px 0 8px;
}

.feature-columns p,
.how-steps p {
  margin: 0;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-steps li {
  padding-top: 13px;
  border-top: 1px solid var(--rule);
}

.how-steps li > span {
  font-size: 26px;
  letter-spacing: -.05em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.care-section {
  color: var(--paper);
  background: var(--ink);
  padding-block: clamp(55px, 7vw, 97px);
}

.care-section .section-kicker,
.care-copy a {
  color: var(--lime);
}

.care-section h2 {
  margin-bottom: 0;
}

.care-copy p {
  color: #c4d7ca;
  margin: 0 0 12px;
}

.faq-layout {
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--rule);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding: 19px 30px 19px 0;
  cursor: pointer;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  font-size: 20px;
  color: var(--green);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0 26px 19px 0;
}

.download-section {
  background: var(--lime);
  padding-block: clamp(48px, 7vw, 94px);
}

.download-layout,
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}

.download-copy img {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  margin-bottom: 18px;
}

.download-copy p {
  margin: 0;
}

.download-action {
  flex: none;
}

.download-action > p {
  margin: 12px 0 0;
  font-size: 12px;
}

.home-footer {
  background: var(--paper);
  border: 0;
  color: var(--muted);
  padding-block: 34px 20px;
}

.footer-top {
  padding-bottom: 27px;
}

.home-footer .home-brand {
  color: var(--ink);
}

.home-footer .footer-links {
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 13px;
}

.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 17px;
  font-size: 12px;
}

.marketing [data-wechat-hint] {
  color: #a42222;
}

.home-hero [data-wechat-hint] {
  color: #ffb9a8;
}

/* Chinese uses its own type scale and spacing for full-width glyphs. */
html[lang="zh-CN"] .marketing {
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}

html[lang="zh-CN"] .home-hero h1 {
  font-family: "AaBill Headline SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(46px, 6.1vw, 88px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
}

html[lang="zh-CN"] .marketing :is(h2, h3, .slip-title) {
  font-weight: 600;
  letter-spacing: -.015em;
}

html[lang="zh-CN"] .hero-description {
  max-width: 24em;
  line-height: 1.85;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .home-wrap {
    width: calc(100% - 48px);
  }

  .home-header .header-inner {
    gap: 9px;
  }
}

@media (max-width: 767px) {
  .home-wrap {
    width: calc(100% - 40px);
  }

  .home-header .header-inner {
    min-height: 64px;
  }

  .home-header .language-switch,
  .home-header .nav-toggle {
    order: 0;
  }

  .home-header .site-nav {
    top: 58px;
    align-items: stretch;
    gap: 4px;
    border: 1px solid #ffffff40;
    border-radius: 12px;
  }

  .home-header .site-nav a {
    padding: 10px;
  }

  .home-header .nav-download {
    text-align: center;
  }

  .hero-layout,
  .scenario-layout,
  .feature-story,
  .care-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .hero-layout {
    padding-block: 41px 24px;
  }

  .hero-copy {
    padding: 0;
  }

  .home-hero h1 {
    font-size: clamp(48px, 10.9vw, 76px);
    margin-bottom: 18px;
  }

  html[lang="zh-CN"] .home-hero h1 {
    font-size: clamp(42px, 10.8vw, 70px);
  }

  html[lang="en"] .home-hero h1 {
    font-size: clamp(45px, 10vw, 70px);
  }

  .hero-description {
    margin-bottom: 22px;
  }

  .hero-note {
    margin-top: 20px;
    padding-top: 12px;
  }

  .hero-product {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }

  .strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-inner span {
    justify-content: flex-start;
    padding-left: 12px;
  }

  .strip-inner span:nth-child(3) {
    border-left: 0;
  }

  .strip-inner span:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .scenario-tabs button {
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
    line-height: 1.2;
  }

  .scenario-layout {
    padding: 17px;
  }

  .feature-story-copy {
    grid-row: 1;
  }

  .feature-columns,
  .how-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .receipt-preview {
    height: 385px;
  }

  .how-steps li {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 13px;
  }

  .how-steps h3 {
    margin: 4px 0;
  }

  .how-steps p {
    grid-column: 2;
  }

  .download-layout,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (max-width: 359px) {
  .home-wrap {
    width: calc(100% - 32px);
  }

  .home-header .header-inner,
  .home-header .home-brand {
    gap: 6px;
  }

  .home-header .language-switch a {
    min-width: 29px;
    padding-inline: 3px;
  }

  .home-header .home-brand {
    font-size: 15px;
  }

  .scenario-layout {
    padding: 12px;
  }
}
