/* 版面：左对齐的编辑式版面。品牌首页把每个 App 当成一颗椰子摆出来；产品页手机下沿出画，标题前半句浅灰、重点那半句黑。
   页面本身只有黑白灰，颜色只来自 App 图标。 */
:root {
  --bg: #ffffff;          /* 纯白 */
  --bg-deep: #f5f5f4;     /* 浅灰色带 */
  --surface: #ffffff;
  --ink: #1a1a1a;         /* 近黑 */
  --ink-soft: #6b6b6b;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.22);
  --stamp: #c2410c;
  --leaf: #3e7d32;
  --coco: #7a4524;
  --flesh: #fff8ec;
  --device: #1a1a1a;
  --device-edge: rgba(255, 255, 255, 0);
  --strap: #d6d3cf;
  --shadow: rgba(0, 0, 0, 0.2);
  --on-ink: #ffffff;
  --qr-bg: #ffffff;

  --voice: #a87400;
  --notify: #2463d6;
  --screenshot: #3e7d32;
  --block: #c2410c;

  --font-display: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;

  --step-hero: clamp(2.3rem, 1.4rem + 4vw, 4.4rem);
  --step-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --step-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --step-body: 1.0625rem;
  --step-small: 0.875rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111111; --bg-deep: #1a1a1a; --surface: #1f1f1f;
    --ink: #f2f2f2; --ink-soft: #a3a3a3;
    --line: rgba(255, 255, 255, 0.1); --line-strong: rgba(255, 255, 255, 0.24);
    --stamp: #f2804a; --leaf: #8cc97e;
    --coco: #8a5330; --flesh: #f6ead6;
    --device: #000000; --device-edge: rgba(255, 255, 255, 0.16); --strap: #57534e;
    --shadow: rgba(0, 0, 0, 0.6); --on-ink: #111111;
    --voice: #f2c14b;
    --notify: #85b3ff;
    --screenshot: #8cc97e;
    --block: #f2804a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111111; --bg-deep: #1a1a1a; --surface: #1f1f1f;
  --ink: #f2f2f2; --ink-soft: #a3a3a3;
  --line: rgba(255, 255, 255, 0.1); --line-strong: rgba(255, 255, 255, 0.24);
  --coco: #8a5330; --flesh: #f6ead6;
  --device: #000000; --device-edge: rgba(255, 255, 255, 0.16); --strap: #57534e;
  --shadow: rgba(0, 0, 0, 0.6); --on-ink: #111111;
  --voice: #f2c14b;
  --notify: #85b3ff;
  --screenshot: #8cc97e;
  --block: #f2804a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.75 var(--font-body);
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 900; text-wrap: balance; margin: 0; letter-spacing: 0.01em; }
h1 { font-size: var(--step-hero); line-height: 1.22; }
h2 { font-size: var(--step-h2); line-height: 1.3; }
h3 { font-size: var(--step-h3); line-height: 1.4; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-soft); max-width: 34em; }
.eyebrow { font-size: var(--step-small); letter-spacing: 0.12em; color: var(--ink-soft); font-weight: 600; }

/* 两段式标题：前半句浅灰，重点那半句用正文黑，不加底色 */
h1:has(mark), h2:has(mark), h3:has(mark) { color: var(--ink-soft); }
mark { color: var(--ink); background: none; padding: 0; }

/* 导航 */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .cm-leaf { fill: none; stroke: var(--leaf); stroke-width: 2.4; stroke-linecap: round; }
.brand .cm-shell { fill: var(--coco); }
.brand .cm-flesh { fill: var(--flesh); }
.brand small { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: var(--on-ink); }
@media (max-width: 600px) { .nav-links a:not(.btn) { display: none; } }
.theme-toggle { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); background: none; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--bg-deep); }
.theme-toggle svg { width: 18px; height: 18px; }
@media (max-width: 420px) { .brand small { display: none; } }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; background: none; color: var(--ink);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 产品标签 */
.app-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.app-pill img { width: 34px; height: 34px; border-radius: 9px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.8rem; line-height: 1; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-soft); white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.status.soon::before { background: transparent; border: 1.5px dashed var(--ink-soft); }
.app-icon { border-radius: 22.5%; box-shadow: 0 14px 30px -14px var(--shadow), 0 0 0 1px var(--line); display: block; }

/* 设备外框 */
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 1179 / 2556;
  padding: 3.4%;
  border-radius: 15% / 7%;
  background: var(--device);
  box-shadow: 0 0 0 1px var(--device-edge), 0 36px 60px -28px var(--shadow);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12% / 5.6%; }
.watch { position: relative; isolation: isolate; aspect-ratio: 396 / 484; padding: 9%; border-radius: 30% / 25%; background: var(--device); box-shadow: 0 0 0 1px var(--device-edge), 0 26px 40px -18px var(--shadow); }
.watch::before, .watch::after { content: ""; position: absolute; left: 20%; right: 20%; height: 42%; background: var(--strap); z-index: -1; }
.watch::before { top: -36%; border-radius: 30% 30% 0 0; }
.watch::after { bottom: -36%; border-radius: 0 0 30% 30%; }
.watch img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 22% / 18%; }

/* 区块 */
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 5vw, 52px); max-width: 40em; }
.band { background: var(--bg-deep); }

/* 页脚 */
.footer { border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: 0.9rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-blurb { margin-top: 10px; }
.footer h4 { margin: 0 0 12px; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.8rem; }
.email { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.95em; user-select: all; overflow-wrap: anywhere; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

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

/* ---------- 品牌首页 ---------- */
.home-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.home-hero .copy { display: grid; gap: 22px; min-width: 0; }
.orchard { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1 / 0.92; justify-self: end; }
.orchard .tree { position: absolute; display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); transition: transform 0.25s ease; }
.orchard .tree:hover { transform: translateY(-6px) rotate(0deg) !important; }
.orchard .tree img { width: 100%; height: auto; aspect-ratio: 1; }
.orchard .t-voice { left: 1%; top: 2%; width: 37%; transform: rotate(-6deg); }
.orchard .t-screenshot { left: 45%; top: 0; width: 26%; transform: rotate(5deg); }
.orchard .t-notify { left: 72%; top: 26%; width: 25%; transform: rotate(7deg); }
.orchard .t-block { left: 13%; top: 57%; width: 26%; transform: rotate(-3deg); }
.orchard .t-next { left: 49%; top: 55%; width: 17%; transform: rotate(-8deg); }
.next-seed { width: 100%; aspect-ratio: 1; border-radius: 22.5%; border: 2px dashed var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink-soft); }

.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.app-card { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.app-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-card .app-icon { width: 76px; height: 76px; }
.app-card p { color: var(--ink-soft); }
.app-card .links { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.app-card.next { grid-column: 1 / -1; background: transparent; border: 2px dashed var(--line-strong); grid-template-rows: none; grid-template-columns: auto 1fr; align-items: center; column-gap: 22px; row-gap: 6px; }
.app-card.next .next-seed { grid-row: span 2; width: 76px; font-size: 1.6rem; }
@media (max-width: 560px) { .app-card.next { grid-template-columns: 1fr; } .app-card.next .next-seed { grid-row: auto; } }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.promise { display: grid; gap: 12px; align-content: start; min-width: 0; }
.promise p { color: var(--ink-soft); }
.promise svg { width: 40px; height: 40px; color: var(--coco); }

.closing { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.closing .copy { display: grid; gap: 14px; min-width: 0; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-row .email { font-size: 1.05rem; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }

@media (max-width: 860px) {
  .home-hero .wrap { grid-template-columns: 1fr; }
  .orchard { justify-self: center; max-width: 420px; }
  .apps, .promises { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; }
}

/* ---------- 产品页 ---------- */
.product-hero { overflow: hidden; }
.product-hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(20px, 4vw, 56px); align-items: end; padding-top: clamp(36px, 6vw, 80px); }
.product-hero .copy { display: grid; gap: 22px; justify-items: start; padding-bottom: clamp(40px, 7vw, 96px); min-width: 0; }
.platforms { font-size: var(--step-small); color: var(--ink-soft); }
.stage { position: relative; height: clamp(380px, 46vw, 560px); }
.stage .phone { position: absolute; width: 47%; max-width: 290px; }
.stage .p-back { left: 2%; top: 9%; transform: rotate(-5deg); }
.stage .p-front { right: 3%; top: 2%; transform: rotate(4deg); }
.stage .watch { position: absolute; left: 37%; bottom: 14%; width: 25%; max-width: 150px; z-index: 2; }

.mp-panel { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; max-width: 360px; }
.qr { display: block; width: 96px; height: 96px; padding: 4px; border-radius: 12px; background: var(--qr-bg); border: 1px solid var(--line); }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(36px, 6vw, 72px); border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature .copy { display: grid; gap: 16px; align-content: center; min-width: 0; }
.feature .copy p { color: var(--ink-soft); max-width: 30em; }
.feature.flip .media { order: -1; }
.media { position: relative; display: flex; justify-content: center; align-items: flex-start; height: clamp(340px, 38vw, 460px); padding-top: 40px; border-radius: 28px; background: var(--bg-deep); overflow: hidden; min-width: 0; }
.media .phone { width: min(62%, 270px); }
.tag { font-size: var(--step-small); font-weight: 700; letter-spacing: 0.1em; color: var(--voice); }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: clamp(36px, 6vw, 72px); border-top: 1px solid var(--line); }
.tile { display: grid; grid-template-rows: auto 1fr; gap: 22px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px) 0; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.tile .copy { display: grid; gap: 12px; }
.tile .copy p { color: var(--ink-soft); }
.tile .media { background: transparent; height: clamp(260px, 30vw, 340px); padding-top: 8px; border-radius: 0; }
.tile .media .phone { width: min(58%, 230px); }
.tile .media.watch-media { align-items: center; padding-top: 0; }
.tile .media .watch { width: min(38%, 170px); }
.stamp {
  position: absolute; right: 9%; top: 18%; z-index: 2;
  width: 98px; height: 98px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  border: 2.5px solid var(--stamp); color: var(--stamp);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  font: 900 0.98rem/1.35 var(--font-display);
  transform: rotate(-12deg);
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--surface) 80%, transparent), inset 0 0 0 5.5px var(--stamp);
}

.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line-strong); }
.spec { padding: 24px 20px 26px 0; display: grid; gap: 4px; min-width: 0; }
.spec + .spec { padding-left: 20px; border-left: 1px solid var(--line); }
.spec dt { font-size: var(--step-small); color: var(--ink-soft); }
.spec dd { margin: 0; font: 900 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.spec dd small { font-size: 0.5em; font-weight: 700; margin-left: 4px; }
.spec dd.text { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.5; padding-top: 0.35em; }

.faq { display: grid; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--ink-soft); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); max-width: 40em; }

.cta-band .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 32px); align-items: center; padding-block: clamp(48px, 7vw, 80px); }
.cta-band .app-icon { width: clamp(72px, 9vw, 104px); height: auto; }
.cta-band .copy { display: grid; gap: 16px; min-width: 0; }
.policy-links { font-size: var(--step-small); color: var(--ink-soft); }
.policy-links a { color: var(--ink); text-underline-offset: 3px; }
.cta-qr { margin: 0; display: grid; justify-items: center; gap: 8px; font-size: var(--step-small); color: var(--ink-soft); }
.cta-qr .qr { width: 128px; height: 128px; padding: 6px; }

@media (max-width: 860px) {
  .product-hero .wrap { grid-template-columns: 1fr; }
  .product-hero .copy { padding-bottom: 8px; }
  .stage { height: clamp(360px, 92vw, 480px); }
  .feature { grid-template-columns: 1fr; }
  .feature.flip .media { order: 0; }
  .pair { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-qr { justify-items: start; }
}

/* ---------- 多语言页（通知君） ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 0.9rem; color: var(--ink); white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; min-width: 180px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px var(--shadow); }
.nav-links .lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); }
.nav-links .lang-menu a:hover { background: var(--bg-deep); }
.lang-menu a[aria-current="page"], .lang-list a[aria-current="page"] { font-weight: 700; }
.note { margin-top: 28px; font-size: var(--step-small); color: var(--ink-soft); max-width: 46em; }
.code { margin: 0; padding: 20px 22px; border-radius: 18px; background: var(--device); color: #f2f2f2; font: 0.88rem/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; }
.code .c { color: #9a9a9a; }
@media (max-width: 420px) { .lang-menu summary { padding: 0 10px; } }
.hero-compact h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
:lang(ja) { --font-display: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif; }
:lang(ko) { --font-display: "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", serif; }
:lang(zh-TW) { --font-display: "Songti TC", "PMingLiU", "Noto Serif TC", serif; }
:lang(ko) { word-break: keep-all; }
