:root {
  /* Logo colours: mint background and the deep teal of the face. */
  --mint: #5DCAA5;
  --mint-hover: #4BBE96;
  --mint-deep: #04342C;
  --mint-100: #d9f3e9;
  --mint-50: #f0faf6;
  /* Playful companions to the mint, used for stickers, icons and confetti. */
  --sun: #FFD166;
  --coral: #FF8A80;
  --grape: #B39DFF;
  --sky: #74C9FF;
  --sun-100: #fff3cf;
  --coral-100: #ffe3e0;
  --grape-100: #ece6ff;
  --sky-100: #ddf1ff;
  --ink: #10241f;
  --ink-soft: #48605a;
  --line: #d5e8e0;
  --bg: #fffdf8;
  --card: #ffffff;
  --tint: var(--mint-50);
  --accent: #0e7a5f;          /* mint darkened enough to read as text on white */
  --btn-bg: var(--mint);
  --btn-ink: var(--mint-deep);
  --shadow: 0 1px 2px rgba(4, 52, 44, .06), 0 8px 24px rgba(4, 52, 44, .07);
  --pop: 0 4px 0 rgba(4, 52, 44, .9);   /* chunky "sticker" drop shadow */
  --radius: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e4f2ec;
    --ink-soft: #a3bdb3;
    --line: #23382f;
    --bg: #0b1714;
    --card: #11221d;
    --tint: #0e1d19;
    --mint-100: #173a30;
    --sun-100: #3a3016;
    --coral-100: #3a2120;
    --grape-100: #2a2542;
    --sky-100: #16303f;
    --accent: var(--mint);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --pop: 0 4px 0 rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* The tilted band and floating bubbles poke past the edges; clip without breaking the sticky top bar. */
html, body { overflow-x: clip; }
img { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

/* Language switching: only the spans for the current language show. */
html[lang="en"] [data-l="zh"],
html[lang="zh-CN"] [data-l="en"] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand img { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; padding: 6px 12px; border-radius: 999px; transition: background .15s; }
.nav a:hover { color: var(--ink); background: var(--mint-100); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-btn {
  font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  background: transparent; color: var(--ink);
  border: 2px solid var(--line); border-radius: 999px; padding: 5px 14px;
}
.lang-btn:hover { border-color: var(--mint); }

/* Buttons: pill-shaped and "pressable" */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn-bg); color: var(--btn-ink);
  border: 2px solid var(--mint-deep); border-radius: 999px;
  padding: 12px 24px; font-weight: 800; text-decoration: none;
  box-shadow: var(--pop);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(4, 52, 44, .9); background: var(--mint-hover); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(4, 52, 44, .9); }
.btn-small { padding: 6px 16px; font-size: .9rem; box-shadow: 0 3px 0 rgba(4, 52, 44, .9); }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--sun-100); }
.btn-dark { background: #111; color: #fff; border-color: #111; }
.btn-dark:hover { background: #2a2a2a; }
@media (prefers-color-scheme: dark) {
  .btn { border-color: transparent; }
  .btn-ghost { border-color: var(--line); }
  .btn-dark { background: #000; border-color: #3c5249; }
}
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    radial-gradient(700px 380px at 88% 12%, color-mix(in srgb, var(--mint) 30%, transparent), transparent 70%),
    radial-gradient(420px 260px at 60% 95%, color-mix(in srgb, var(--sun) 26%, transparent), transparent 70%),
    radial-gradient(500px 300px at 0% 80%, color-mix(in srgb, var(--grape) 18%, transparent), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint-deep); background: var(--sun); border: 2px solid var(--mint-deep);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 18px; transform: rotate(-2deg);
}
html[lang="zh-CN"] .eyebrow { letter-spacing: .15em; }
@media (prefers-color-scheme: dark) { .eyebrow { border-color: transparent; } }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); letter-spacing: -.02em; }
/* Hand-drawn style highlight under key words */
.hl {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 85%, transparent) 62%, color-mix(in srgb, var(--sun) 85%, transparent) 92%, transparent 92%);
  color: inherit; padding: 0 .08em;
}
@media (prefers-color-scheme: dark) {
  .hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--mint) 45%, transparent) 62%, color-mix(in srgb, var(--mint) 45%, transparent) 92%, transparent 92%); }
}
.wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: .9rem; font-weight: 700; }
.hero-points li { padding: 5px 12px; border-radius: 999px; color: var(--ink); }
.hero-points li:nth-child(1) { background: var(--mint-100); }
.hero-points li:nth-child(2) { background: var(--grape-100); }
.hero-points li:nth-child(3) { background: var(--sky-100); }

/* Confetti dots scattered over the hero */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; display: block; width: 12px; height: 12px; border-radius: 50%; opacity: .8; animation: bob 5s ease-in-out infinite; }
.confetti i:nth-child(1) { top: 14%; left: 6%;  background: var(--sun); }
.confetti i:nth-child(2) { top: 70%; left: 3%;  background: var(--grape); width: 18px; height: 18px; animation-delay: -1s; }
.confetti i:nth-child(3) { top: 8%;  left: 48%; background: var(--coral); width: 9px; height: 9px; animation-delay: -2s; }
.confetti i:nth-child(4) { top: 86%; left: 44%; background: var(--sky); animation-delay: -3s; }
.confetti i:nth-child(5) { top: 22%; left: 94%; background: var(--grape); width: 10px; height: 10px; animation-delay: -1.5s; }
.confetti i:nth-child(6) { top: 78%; left: 92%; background: var(--sun); width: 16px; height: 16px; border-radius: 4px; transform: rotate(20deg); animation-delay: -2.5s; }
.confetti i:nth-child(7) { top: 50%; left: 52%; background: var(--mint); width: 8px; height: 8px; animation-delay: -.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* Phone frame around the app screenshot, with floating chat bubbles */
.phone { position: relative; justify-self: center; width: min(290px, 100%); margin: 0; }
.phone-screen {
  position: relative; z-index: 1;
  border: 10px solid #1a1f1b; border-radius: 40px; overflow: hidden;
  background: #f6f8f4; line-height: 0;
  box-shadow: 14px 14px 0 var(--mint), var(--shadow);
  transform: rotate(3deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }
.phone-screen img { display: block; width: 100%; height: auto; }
.phone-note { text-align: center; font-size: .8rem; color: var(--ink-soft); margin-top: 22px; }

.bubble {
  position: absolute; z-index: 2; white-space: nowrap;
  font-size: .9rem; font-weight: 800; color: var(--mint-deep);
  padding: 8px 14px; border-radius: 18px; border: 2px solid var(--mint-deep);
  box-shadow: 0 3px 0 rgba(4, 52, 44, .9);
  animation: bob 4.5s ease-in-out infinite;
}
.bubble::after {
  content: ""; position: absolute; bottom: -8px; width: 12px; height: 12px;
  background: inherit; border-right: 2px solid var(--mint-deep); border-bottom: 2px solid var(--mint-deep);
}
.bubble-1 { top: 9%;  left: -64px; background: var(--sun); transform: rotate(-6deg); }
.bubble-1::after { right: 18px; transform: rotate(45deg); }
.bubble-2 { top: 46%; right: -58px; background: var(--grape); color: #1d1540; animation-delay: -1.5s; transform: rotate(5deg); }
.bubble-2::after { left: 18px; transform: rotate(45deg); }
.bubble-3 { bottom: 12%; left: -48px; background: var(--coral); color: #3b0f0b; animation-delay: -3s; transform: rotate(-4deg); }
.bubble-3::after { right: 22px; transform: rotate(45deg); }
@media (prefers-color-scheme: dark) {
  .bubble, .bubble::after { border-color: transparent; }
  .bubble { box-shadow: 0 3px 0 rgba(0, 0, 0, .5); }
}

/* Scrolling emoji band */
.band {
  background: var(--mint-deep); color: #fff; overflow: hidden;
  border-block: 3px solid var(--mint-deep); transform: rotate(-1.2deg); margin: -18px -10px 0;
  position: relative; z-index: 3;
}
.band-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.band-track span { padding: 12px 22px; font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.band-track span:nth-child(4n+1) { color: var(--sun); }
.band-track span:nth-child(4n+2) { color: var(--mint); }
.band-track span:nth-child(4n+3) { color: var(--grape); }
.band-track span:nth-child(4n+4) { color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 88px 0; position: relative; }
.section-tint { background: var(--tint); }
/* Wavy top and bottom edges on tinted sections */
.section-tint::before, .section-tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; background: var(--tint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C20 0 40 0 60 14s40 14 60 0v14z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 28px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C20 0 40 0 60 14s40 14 60 0v14z'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 28px;
}
.section-tint::before { top: -27px; }
.section-tint::after { bottom: -27px; transform: scaleY(-1); }
.section-tint + .section, .section + .section-tint { margin-top: 0; }
.section-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 46em; margin-bottom: 40px; }

/* Little doodle next to section titles */
.section h2::after {
  content: ""; display: block; width: 64px; height: 10px; margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'%3E%3Cpath d='M2 6c8-6 12 4 20 0s12-6 20 0 12 4 20-2' fill='none' stroke='%235DCAA5' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card, .scene, .dl-card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s, border-color .2s;
}
.card:hover, .scene:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--mint); box-shadow: 0 6px 0 var(--mint), var(--shadow); }
.card:nth-child(even):hover, .scene:nth-child(even):hover { transform: translateY(-6px) rotate(1deg); }
.card p, .scene p { color: var(--ink-soft); margin: 0; }
.icon {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; color: var(--mint-deep);
  transform: rotate(-6deg); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.card:hover .icon { transform: rotate(6deg) scale(1.12); }
.card:nth-child(6n+1) .icon { background: var(--mint-100); }
.card:nth-child(6n+2) .icon { background: var(--grape-100); }
.card:nth-child(6n+3) .icon { background: var(--sun-100); color: #7a5600; }
.card:nth-child(6n+4) .icon { background: var(--coral-100); }
.card:nth-child(6n+5) .icon { background: var(--sky-100); }
.card:nth-child(6n+6) .icon { background: var(--sun-100); }
@media (prefers-color-scheme: dark) { .icon, .card:nth-child(6n+3) .icon { color: var(--mint); } }

.scene { position: relative; overflow: hidden; }
.scene-emoji {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.2rem; margin-bottom: 14px;
}
.scene:nth-child(1) .scene-emoji { background: var(--sun-100); }
.scene:nth-child(2) .scene-emoji { background: var(--grape-100); }
.scene:nth-child(3) .scene-emoji { background: var(--sky-100); }
.scene:hover .scene-emoji { animation: jelly .6s; }
@keyframes jelly { 30% { transform: scale(1.2, .85); } 50% { transform: scale(.9, 1.1); } 70% { transform: scale(1.05, .95); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { display: flex; gap: 16px; }
.steps p { color: var(--ink-soft); margin: 0; }
.step-n {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  color: var(--mint-deep); font-weight: 900; font-size: 1.15rem;
  border: 2px solid var(--mint-deep); box-shadow: 0 3px 0 rgba(4, 52, 44, .9);
}
.steps li:nth-child(1) .step-n { background: var(--mint); transform: rotate(-6deg); }
.steps li:nth-child(2) .step-n { background: var(--sun); transform: rotate(4deg); }
.steps li:nth-child(3) .step-n { background: var(--grape); transform: rotate(-3deg); }
@media (prefers-color-scheme: dark) { .step-n { border-color: transparent; box-shadow: none; } }
.mesh svg { width: 100%; height: auto; display: block; }
.mesh-links line { stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; animation: flow 1s linear infinite; }
.mesh-nodes circle { stroke: var(--mint-deep); stroke-width: 2.5; animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.mesh-nodes circle:nth-child(1) { fill: var(--mint); }
.mesh-nodes circle:nth-child(2) { fill: var(--sun); animation-delay: .3s; }
.mesh-nodes circle:nth-child(3) { fill: var(--coral); animation-delay: .6s; }
.mesh-nodes circle:nth-child(4) { fill: var(--grape); animation-delay: .9s; }
.mesh-nodes circle:nth-child(5) { fill: var(--sky); animation-delay: 1.2s; }
@media (prefers-color-scheme: dark) { .mesh-nodes circle { stroke: transparent; } }
@keyframes flow { to { stroke-dashoffset: -12; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* Privacy facts */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 14px 18px 14px 52px; position: relative; }
.facts li::before { position: absolute; left: 16px; top: 13px; font-size: 1.15rem; line-height: 1.4; }
.facts li:nth-child(1)::before { content: "📵"; }
.facts li:nth-child(2)::before { content: "🔐"; }
.facts li:nth-child(3)::before { content: "🙈"; }

/* Download */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; }
.dl-card { display: flex; flex-direction: column; gap: 14px; }
.dl-card:first-child { background: linear-gradient(160deg, var(--mint-100), var(--card) 60%); }
.dl-card:last-child { background: linear-gradient(160deg, var(--grape-100), var(--card) 60%); }
.dl-head { display: flex; gap: 14px; align-items: flex-start; }
.dl-head h3 { margin: 0; }
.dl-head p { margin: 2px 0 0; font-size: .9rem; }
.dl-icon {
  flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--mint); color: var(--mint-deep);
  display: grid; place-items: center; font-size: 1.25rem; font-weight: 900; transform: rotate(-6deg);
}
.dl-card:last-child .dl-icon { background: var(--grape); color: #1d1540; transform: rotate(6deg); }
.dl-card .small { margin: 0; }
.soon {
  margin: -4px 0 0; font-size: .85rem; font-weight: 700; color: #8a5a00;
  background: #fff4d6; border: 2px dashed #e0b44c; border-radius: 12px; padding: 6px 10px; text-align: center;
}
.soon[hidden] { display: none; }
@media (prefers-color-scheme: dark) {
  .soon { color: #f3cf7a; background: #2e2610; border-color: #6b5520; }
}

/* FAQ */
details { background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 0 20px; margin-bottom: 12px; transition: border-color .2s; }
details:hover, details[open] { border-color: var(--mint); }
summary { cursor: pointer; padding: 16px 0; font-weight: 800; list-style: none; position: relative; padding-right: 40px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint-100); color: var(--accent); font-size: 1.2rem; line-height: 1;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
details[open] summary::after { transform: rotate(45deg); background: var(--sun-100); }
details p { color: var(--ink-soft); }

/* Footer */
.footer { padding: 56px 0 48px; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer p { margin: 0; }
.footer-love { font-weight: 800; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .hero { padding: 40px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .grid, .grid-3, .dl-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .phone { width: min(230px, 64%); }
  .bubble { font-size: .8rem; padding: 6px 10px; }
  .bubble-1 { left: -52px; }
  .bubble-2 { right: -54px; }
  .bubble-3 { left: -44px; }
}
