:root {
  --bg: #f4f1ea;
  --ink: #161513;
  --mute: #6d6860;
  --line: #e4dfd5;
  --lilac: #c9b0e0;
  --mint: #9ecfbe;
  --paper: #fffdf8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Instrument Sans", "PingFang SC", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
main { flex: 1; }

header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; width: min(1120px, calc(100% - 48px)); margin: 0 auto;
  font-size: 14px; letter-spacing: 0.04em;
}
.brand { font-weight: 600; }
nav ul { display: flex; gap: 28px; list-style: none; color: var(--mute); }
nav ul a:hover, nav ul a.on { color: var(--ink); }

.hero { padding: 72px 0 40px; text-align: center; }
.hero p.kicker {
  font-size: 13px; letter-spacing: 0.18em;
  color: var(--mute); margin-bottom: 18px;
}
.hero h1 {
  font-family: Newsreader, "Songti SC", serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
}
.hero .sub {
  margin-top: 18px; font-size: 20px; color: var(--mute); font-weight: 400;
}
.hero-shot {
  margin-top: 56px; background: var(--paper);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(22,21,19,0.06);
  position: relative; aspect-ratio: 16 / 9; cursor: pointer;
}
/* ---- Hero 轮播（2026-09-01）---- */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2;
  display: flex; justify-content: center; gap: 9px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 5px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 253, 248, 0.85);
  box-shadow: 0 2px 10px 2px rgba(22, 21, 19, 0.25);
  transition: all 0.3s ease;
}
.hero-dot.is-active { width: 24px; background: #f0c028; box-shadow: 0 2px 12px 3px rgba(22, 21, 19, 0.3); }
@media (max-width: 640px) { .hero-shot { aspect-ratio: 4 / 3; } }

.colors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 0 80px; }
.color-card {
  background: var(--paper); border-radius: 24px; padding: 28px 28px 8px;
  text-align: center;
}
.color-card img { margin: 0 auto; width: 100%; border-radius: 16px; display: block; }
.color-card h3 { font-size: 21px; font-weight: 600; margin: 28px auto 0; width: fit-content; position: relative; }
.color-card p { font-size: 16px; color: var(--mute); margin: 8px 0 20px; }
/* 色标绝对定位于文字盒左侧, 不参与标题居中计算, 文字保持正中 (2026-09-07 Joe) */
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  position: absolute; right: 100%; margin-right: 9px;
  top: 50%; transform: translateY(-50%);
}

.band { padding: 88px 0; }
.band.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.band h2 {
  font-family: Newsreader, "Songti SC", serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.15;
}
.band .copy p { margin-top: 16px; font-size: 18px; color: var(--mute); max-width: 36ch; }
.photo { background: var(--paper); border-radius: 24px; overflow: hidden; }
.photo img { width: 100%; }
/* 柠小檬板块大图：压低高度（Joe 2026-09-04），焦点带在中部（拿铁/设备/手机） */
.photo.ai-scene img { height: 460px; object-fit: cover; object-position: 50% 62%; }
/* 夜间板块：居中显示（Joe 2026-09-04 换新图后指定） */
.photo.night-slot img { height: 320px; object-fit: cover; object-position: 50% 50%; }


.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.mood {
  background: #141312;
  border-radius: 18px;
  padding: 18px 12px 14px;
  text-align: center;
}
.mood img {
  width: 150px; height: auto; margin: 0 auto;
  border-radius: 8px;
  background: #000;
}
.mood p { margin-top: 12px; font-size: 16px; color: #cfc8bc; }

.sensor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.sensor {
  background: var(--paper);
  border-radius: 18px;
  padding: 0 0 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* 真机屏幕 UI 还原图（320:172），通栏作卡片首屏 */
.sensor img { width: 100%; aspect-ratio: 320 / 172; object-fit: cover; display: block; background: #000; }
.sensor h3 { margin: 16px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }
.sensor-cap { margin-top: auto; padding: 10px 22px 0; font-size: 16px; color: var(--mute); }
.sensor-note { margin-top: 18px; font-size: 12px; color: var(--mute); }

.page { padding: 88px 0 120px; }
.page h1 {
  font-family: Newsreader, "Songti SC", serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
  max-width: 14ch;
}
.page .lead {
  margin-top: 28px; font-size: 20px; color: var(--mute);
  max-width: 36ch;
}
.page .body {
  margin-top: 40px; font-size: 18px; color: var(--ink);
  max-width: 42ch;
}
.page .body p + p { margin-top: 18px; }
.page-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start;
}
.page-split .photo { margin-top: 8px; }

.rows { margin-top: 64px; max-width: 560px; }
.row {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 16px; padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row dt { color: var(--mute); font-size: 14px; padding-top: 3px; }
.row a:hover { text-decoration: underline; }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 56px; color: var(--mute); font-size: 13px;
}
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }

@media (max-width: 800px) {
  .colors, .band.split, .page-split { grid-template-columns: 1fr; }
  .mood-grid, .sensor-grid { grid-template-columns: 1fr 1fr; }
  .sensor { padding: 0 0 16px; }
  .sensor h3 { margin: 14px 16px 0; }
  .sensor-cap { padding: 8px 16px 0; font-size: 14px; }
  .band.split, .page-split { gap: 28px; }
  nav ul { gap: 16px; }
  .row { grid-template-columns: 1fr; gap: 6px; }
}

:root { color-scheme: light; }

/* ===== 2026-08-29 改版新增：保持既有设计语言 ===== */

/* Hero 下锚点导航 */
.anchor-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 28px;
}
.anchor-strip a {
  font-size: 13px; letter-spacing: 0.06em;
  padding: 7px 16px; border-radius: 999px;
  background: var(--paper); color: var(--mute);
  border: 1px solid var(--line);
  transition: color .15s, border-color .15s;
}
.anchor-strip a:hover { color: var(--ink); border-color: var(--mute); }

/* 领养 9 植物网格 */
.plant-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 36px;
}
.plant {
  background: var(--paper); border-radius: 18px;
  padding: 6px 12px 8px; text-align: center;
}
/* 领养植物 V4 动图为透明底（2026-09-07 去掉黑色圆圈背景），
   不再做圆形裁切/垫底色，植物直接坐在卡片上 */
.plant img {
  width: 118px; height: auto; aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.plant h3 { margin-top: 6px; font-size: 19px; font-weight: 600; }
.plant p { margin-top: 3px; font-size: 15px; color: var(--mute); letter-spacing: 0.12em; }

/* 柠小檬对话演示 */
.chat-demo {
  background: #141312; border-radius: 24px;
  padding: 34px 30px 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.chat-demo p { font-size: 15px; line-height: 1.55; max-width: 82%; }
.chat-user {
  align-self: flex-end;
  background: var(--mint); color: #10241c;
  padding: 10px 16px; border-radius: 18px 18px 4px 18px;
}
.chat-bot {
  align-self: flex-start;
  background: #262421; color: #efe9dd;
  padding: 10px 16px; border-radius: 18px 18px 18px 4px;
}
.chat-sign {
  margin-top: 8px; align-self: flex-end;
  font-size: 12px; color: #8a8378; letter-spacing: 0.1em;
}

/* 即梦素材占位槽 */
.photo.night-slot, .photo.app-slot {
  min-height: 320px; display: flex; align-items: center; justify-content: center;
}

/* 预约 CTA */
.cta { text-align: center; padding: 96px 0 120px; }
.cta p { margin-top: 16px; font-size: 18px; color: var(--mute); }
.subscribe {
  margin: 36px auto 18px; display: flex; gap: 10px;
  max-width: 440px;
}
.subscribe input {
  flex: 1; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); font: inherit; font-size: 15px; color: var(--ink);
}
.subscribe input:focus { outline: none; border-color: var(--mute); }
.subscribe button {
  padding: 18px 26px; border: none; border-radius: 14px;
  background: var(--ink); color: var(--bg);
  font: inherit; font-size: 15px; cursor: pointer;
  /* 同 btn-primary：flex+line-height:1 垂直居中，padding 14→18 补偿外高 */
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.subscribe button:hover { opacity: 0.85; }
.sub-ok { font-size: 16px; color: var(--ink); padding: 10px 0; }
.fine { font-size: 13px !important; }

@media (max-width: 800px) {
  .plant-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  /* 手机端保持原卡片密度：恢复桌面端改大圆圈前的基础值 */
  .plant { padding: 20px 12px 16px; }
  .plant img { width: 88px; }
  .plant h3 { margin-top: 10px; }
  .plant p { margin-top: 3px; }
  .chat-demo { padding: 24px 18px 20px; }
  .subscribe { flex-direction: column; }
}

/* ===== 滚动渐显 ===== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== killer 气泡：它开口吱声 ===== */
#killer .photo { position: relative; }
.say-bubble {
  position: absolute; left: 7%; top: 15%;
  margin: 0;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px;
  font-size: clamp(13px, 1.5vw, 17px); font-weight: 600;
  letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: 0 10px 28px rgba(22, 21, 19, .14);
  animation: say-float 3.2s ease-in-out infinite;
}
.say-bubble::after {
  content: ""; position: absolute; right: 16px; bottom: -7px;
  width: 13px; height: 13px;
  background: var(--paper);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 0 0 4px 0;
  transform: rotate(45deg);
}
@keyframes say-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .say-bubble { animation: none; }
}

/* ===== hover 微动效 ===== */
.mood, .plant { transition: transform .2s ease, box-shadow .2s ease; }
.mood:hover, .plant:hover { transform: translateY(-3px); }

/* ===== 和它的一周 时间轴 ===== */
.week-track {
  margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; counter-reset: week;
}
.week-item {
  background: var(--paper); border-radius: 18px; padding: 20px 18px;
  position: relative;
}
.week-item .d {
  display: inline-block; font-size: 12px; letter-spacing: 0.14em;
  color: var(--mute); margin-bottom: 10px;
}
.week-item p { font-size: 14px; line-height: 1.65; color: var(--ink); }
@media (max-width: 800px) { .week-track { grid-template-columns: 1fr; } }

/* ===== 场景共鸣组 ===== */
.scene-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 14px; margin-top: 36px;
}
.scene-card {
  background: var(--paper); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
}
.scene-slot { aspect-ratio: 4 / 3; background: #ece7db; position: relative; }
.scene-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-card h3 { padding: 14px 16px 0; font-size: 15px; font-weight: 700; }
.scene-card p { padding: 6px 16px 16px; font-size: 13px; line-height: 1.7; color: var(--ink); }
@media (max-width: 800px) { .scene-grid { grid-template-columns: 1fr 1fr; } }

/* ===== 一周时间轴产品标签 ===== */
.week-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.week-tags .tag {
  font-size: 11px; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 999px;
  background: #f0ece2; color: var(--mute);
}
.week-tags .tag-alert { background: #f7e3d8; color: #a0522d; }
.week-tags .tag-ok { background: #e4efdf; color: #3f6b4f; }

/* ===== 一年的数字 ===== */
.num-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 40px;
}
.num-card {
  background: #141312; border-radius: 20px; padding: 28px 24px;
  color: #efe9dd;
}
.num-card .n {
  display: block; font-size: 34px; font-weight: 700; letter-spacing: -0.02em;
  color: #ffd700; margin-bottom: 10px;
}
.num-card p { font-size: 13px; line-height: 1.7; color: #cfc8bc; }
@media (max-width: 800px) { .num-grid { grid-template-columns: 1fr 1fr; } }

/* ===== 业界对标优化（2026-08-29 第二批） ===== */

/* Hero CTA */
.hero-cta { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-primary, .btn-ghost {
  font-size: 15px; padding: 17px 28px; border-radius: 14px;
  transition: opacity .15s, border-color .15s;
  /* 文字垂直居中：行盒度量来自字体栈首位拉丁字体，中文字形在其行盒内
     偏上（实测上距14.0/下距17.5）。flex+line-height:1 让文字由布局居中，
     padding 13→17 补偿外高（50.5→51.0）。实测 skew 归零，字形外观零变化
     （2026-09-07 Joe 指出）。 */
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { opacity: 0.85; }
.btn-ghost { border: 1px solid var(--line); color: var(--mute); background: transparent; }
.btn-ghost:hover { color: var(--ink); border-color: var(--mute); }

/* 心情段全宽黑底（Nothing/Apple 明暗交替） */
.band.full-dark {
  background: #1a1918; color: #efe9dd;
  padding: 88px 0;
}
.band.full-dark .copy h2 { color: #f5f1e8; }
.band.full-dark .copy p { color: #b3ac9f; }
.band.full-dark .mood-grid { margin-top: 40px; width: min(1120px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.band.full-dark .mood { background: #0d0c0b; }
.band.full-dark .mood p { color: #cfc8bc; }

/* FAQ */
.faq-list { margin-top: 40px; max-width: 760px; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item dt { font-size: 16px; font-weight: 650; }
.faq-item dd { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--mute); }

/* 规格表 TE 化：大数字编辑排版 */

/* 移动端吸底预约条 */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--ink); color: var(--bg);
  font-size: 15px; font-weight: 600;
  /* 同 btn-primary：flex+line-height:1 垂直居中（safe-area 留在 padding），
     padding 15→19 补偿外高 */
  align-items: center; justify-content: center;
  line-height: 1;
  padding: 19px 0; padding-bottom: calc(19px + env(safe-area-inset-bottom));
}
@media (max-width: 800px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 56px; }
}

/* ===== 回到顶部 ===== */
.back-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 45;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
  font-size: 18px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(22,21,19,0.14);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { border-color: var(--mute); }
@media (max-width: 800px) {
  .back-top { right: 14px; bottom: 72px; width: 42px; height: 42px; }
}

/* ===== 2026-09-01 品牌 LOGO 应用 ===== */
.brand { display: flex; align-items: center; gap: 9px; }
.brand-logo { height: 30px; width: auto; display: block; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 36px; width: auto; display: block; }
.about-logo { height: 52px; width: auto; display: block; margin-bottom: 22px; }

/* ===== 移动端抽柜菜单（2026-09-08）：≤800px 汉堡按钮 + header 下滑面板，
   桌面端零变化；面板锚定 sticky header 全宽展开，同款毛玻璃底 ===== */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 1px;
  background: var(--ink);
  transition: transform .25s ease;
}
header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
header.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  nav ul {
    gap: 0; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: 0; overflow: hidden; visibility: hidden;
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 0 solid var(--line);
    transition: max-height .28s ease, visibility 0s linear .28s,
                border-bottom-width .28s ease, box-shadow .28s ease;
  }
  header.menu-open nav ul {
    max-height: 300px; visibility: visible;
    border-bottom-width: 1px;
    box-shadow: 0 18px 30px rgba(22, 21, 19, 0.08);
    transition: max-height .28s ease, border-bottom-width .28s ease, box-shadow .28s ease;
  }
  nav ul a {
    display: block; padding: 15px 24px; font-size: 16px;
    border-top: 1px solid var(--line);
  }
  nav ul li:first-child a { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle span, nav ul, header.menu-open nav ul { transition: none; }
}
