:root {
  --cream: #f7f1e7;
  --ink: #2d2925;
  --muted: #766f65;
  --mint: #63bea5;
  --mint-dark: #2f927d;
  --mint-soft: #daf7ee;
  --white: #fffdfa;
  --line: rgba(45, 41, 37, 0.1);
  --shadow: 0 24px 80px rgba(69, 55, 39, 0.14);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 0%, rgba(99, 190, 165, 0.18), transparent 26rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--cream) 52%, #fffaf0 100%);
  color: var(--ink);
}

body.lang-zh [data-lang="en"],
body.lang-en [data-lang="zh"] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-scale-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float-softly {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.4deg);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(255, 253, 250, 0.78);
  box-shadow: 0 14px 40px rgba(63, 49, 34, 0.08);
  backdrop-filter: blur(20px);
  animation: soft-rise 520ms ease both;
}

.brand,
.site-header nav,
.header-tools,
.hero-actions,
.store-button,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 1.1rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.site-header nav {
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-header nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.site-header nav a:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.site-header nav a.active {
  background: var(--mint-soft);
  color: var(--mint-dark);
}

.header-tools {
  gap: 10px;
}

.menu-toggle {
  display: none;
  position: relative;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.menu-icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.menu-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.72);
}

.menu-toggle.open .menu-icon-bars {
  opacity: 0;
  transform: rotate(90deg) scale(0.72);
}

.menu-toggle.open .menu-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.language-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.72);
}

.language-switch::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 8px) / 2);
  border-radius: 999px;
  background: var(--mint-soft);
  content: "";
  transform: translateX(0);
  transition: transform 200ms ease;
}

body.lang-en .language-switch::before {
  transform: translateX(calc(100% + 2px));
}

.language-switch button {
  position: relative;
  z-index: 1;
  min-width: 36px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-switch button.active {
  color: var(--mint-dark);
}

.store-button {
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: #151515;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 16px 32px rgba(27, 27, 27, 0.14);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.store-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.store-button:hover {
  box-shadow: 0 20px 38px rgba(27, 27, 27, 0.18);
}

.store-button.large {
  min-height: 58px;
  padding: 9px 22px 9px 18px;
}

.store-button.dark {
  flex: 0 0 auto;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.05;
}

.store-button small {
  opacity: 0.82;
  font-size: 0.66rem;
  font-weight: 750;
}

.store-button strong {
  font-size: 1.02rem;
}

.apple-mark {
  width: 21px;
  height: 25px;
  flex: 0 0 auto;
  fill: currentColor;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.24fr);
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 90px) 0 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 500px;
  margin-bottom: 22px;
  font-size: clamp(2.05rem, 3.65vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.7vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero-text,
.section-copy p,
.site-footer p {
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.82;
}

.hero-text {
  max-width: 640px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 950;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.secondary-button:hover {
  box-shadow:
    inset 0 0 0 1px rgba(45, 41, 37, 0.14),
    0 14px 28px rgba(63, 49, 34, 0.08);
}

.hero-visual {
  position: relative;
  width: min(112%, 680px);
  margin: 0;
  animation: soft-scale-in 720ms 160ms ease both;
}

.hero-visual::before {
  position: absolute;
  inset: 10% -2% -4% 12%;
  z-index: -1;
  border-radius: 52px;
  background: rgba(218, 247, 238, 0.62);
  content: "";
  transform: rotate(-2deg);
  filter: blur(16px);
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 28px 54px rgba(69, 55, 39, 0.12));
  animation: float-softly 6s ease-in-out infinite;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 9%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 9%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

.hero-copy > * {
  animation: soft-rise 560ms ease both;
}

.hero-copy > :nth-child(1) {
  animation-delay: 80ms;
}

.hero-copy > :nth-child(2) {
  animation-delay: 150ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 220ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 290ms;
}

.feature-showcase,
.use-cases,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.use-cases {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 253, 250, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-weight: 950;
}

.feature-showcase {
  padding: 74px 0 24px;
}

.section-copy {
  max-width: 560px;
}

.centered {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.feature-story {
  display: grid;
  gap: 28px;
  margin-top: 46px;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  min-height: 330px;
  padding: clamp(18px, 2.6vw, 28px) 0;
}

.story-card figure,
.story-copy {
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.story-card.reverse figure {
  order: 2;
}

.story-card.reverse .story-copy {
  order: 1;
}

.story-card figure {
  position: relative;
  width: min(100%, 500px);
  margin: 0;
}

.story-card figure::before {
  content: none;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  opacity: 0.98;
  filter: drop-shadow(0 18px 34px rgba(69, 55, 39, 0.08));
  -webkit-mask-image:
    radial-gradient(ellipse 62% 58% at 50% 52%, #000 0 54%, rgba(0, 0, 0, 0.65) 64%, rgba(0, 0, 0, 0.18) 74%, transparent 86%);
  mask-image:
    radial-gradient(ellipse 62% 58% at 50% 52%, #000 0 54%, rgba(0, 0, 0, 0.65) 64%, rgba(0, 0, 0, 0.18) 74%, transparent 86%);
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.story-card:hover img {
  filter: drop-shadow(0 22px 40px rgba(69, 55, 39, 0.11));
  transform: translateY(-3px) scale(1.01);
}

.story-copy {
  max-width: 410px;
}

.story-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.14;
}

.story-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
}

.use-cases {
  position: relative;
  overflow: hidden;
  margin-top: 82px;
  margin-bottom: 42px;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 253, 250, 0.72), transparent 32%),
    linear-gradient(135deg, rgba(220, 244, 236, 0.9), rgba(255, 249, 238, 0.92));
}

.use-cases::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    repeating-linear-gradient(0deg, rgba(89, 122, 110, 0.038) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(89, 122, 110, 0.032) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(28deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 12px);
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.58;
  pointer-events: none;
}

.use-cases .section-copy {
  position: relative;
  z-index: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: start;
  padding: 32px 0 24px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 12px;
}

.site-footer p {
  max-width: 440px;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.footer-links {
  align-items: flex-start;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.powered {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 30px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  text-align: center;
  opacity: 0.76;
}

.powered a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.return-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.86);
  box-shadow: 0 16px 36px rgba(63, 49, 34, 0.14);
  color: var(--mint-dark);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-card.reveal {
  transform: translateY(28px);
}

.story-card.reveal figure {
  opacity: 0;
  transform: translateX(-18px) scale(0.985);
}

.story-card.reveal .story-copy {
  opacity: 0;
  transform: translateX(18px);
}

.story-card.reverse.reveal figure {
  transform: translateX(18px) scale(0.985);
}

.story-card.reverse.reveal .story-copy {
  transform: translateX(-18px);
}

.story-card.reveal.is-visible figure,
.story-card.reveal.is-visible .story-copy {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.return-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-header nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    justify-content: stretch;
    justify-items: stretch;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background: rgba(255, 253, 250, 0.94);
    box-shadow: 0 18px 44px rgba(63, 49, 34, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
    backdrop-filter: blur(18px);
  }

  .site-header nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header nav a {
    display: grid;
    width: 100%;
    justify-self: stretch;
    place-items: center;
    text-align: center;
  }

  .header-tools {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .menu-toggle {
    display: grid;
  }

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

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    width: min(100%, 720px);
    max-width: 720px;
  }

  .feature-showcase {
    padding: 78px 0;
  }

  .story-card,
  .story-card.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 18px;
  }

  .story-card.reverse figure,
  .story-card.reverse .story-copy {
    order: initial;
  }

  .story-copy {
    max-width: none;
  }

  .story-card figure {
    width: min(100%, 520px);
    margin-right: auto;
    margin-left: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 20px, 1120px);
    gap: 10px;
    margin-top: 10px;
    border-radius: 22px;
  }

  .brand span {
    font-size: 1rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .language-switch button {
    min-width: 32px;
  }

  .hero,
  .feature-showcase,
  .use-cases,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: clamp(1.8rem, 7.6vw, 2.12rem);
  }

  h2 {
    font-size: clamp(1.42rem, 6.4vw, 1.88rem);
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
  }

  .hero-visual img {
    aspect-ratio: 1.12;
    object-fit: cover;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 7%, #000 92%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 7%, #000 92%, transparent 100%);
  }

  .story-card.reveal figure,
  .story-card.reverse.reveal figure,
  .story-card.reveal .story-copy,
  .story-card.reverse.reveal .story-copy {
    transform: translateY(18px);
  }

  .use-cases {
    border-radius: 24px;
  }

  .feature-showcase {
    padding-top: 56px;
  }

  .use-cases {
    margin-top: 58px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .return-top {
    right: 14px;
    bottom: 14px;
  }
}

.policy-page {
  background:
    radial-gradient(circle at 82% 4%, rgba(99, 190, 165, 0.16), transparent 24rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--cream) 100%);
}

.policy-main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0 64px;
}

.policy-hero {
  margin-bottom: 34px;
}

.policy-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

.policy-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

.policy-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 253, 250, 0.84);
  box-shadow: var(--shadow);
}

.policy-section + .policy-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
}

.policy-section ul {
  margin: 0;
  padding-left: 1.15rem;
}

.policy-section li + li {
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .story-card.reveal figure,
  .story-card.reveal .story-copy,
  .story-card.reverse.reveal figure,
  .story-card.reverse.reveal .story-copy {
    opacity: 1;
    transform: none;
  }
}
