/* ============ BAITUO SKIN — 拜托拜托 ============ */
/* Art direction: 会飞的家庭便签 — 暖纸底 + 墨字 + 柿红，
   像一块温暖而有秩序的家庭公告板；与深色主站形成家族对比。 */
:root {
  --bg: #F6F1E6;
  --bg-2: #FCF8ED;
  --ink: #1D1B16;
  --ink-dim: rgba(29, 27, 22, 0.74);
  --ink-faint: rgba(29, 27, 22, 0.60);
  --line: rgba(29, 27, 22, 0.15);
  --accent: #E8590C;
  --accent-ink: #FDF7EC;
  --f-display: "Noto Serif SC", "Songti SC", "STSong", serif;
  --f-sans: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --f-mono: "JetBrains Mono", "Noto Sans SC", ui-monospace, "SF Mono", monospace;
}

.accent { color: var(--accent); }
section[id], header[id], :target { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* 浅色纸底：去掉 difference 混合，保证导航可读 */
.nav { mix-blend-mode: normal; color: var(--ink); }
.nav__brand .ic { color: var(--accent); }
.grain { opacity: 0.035; }

/* 公告板质感：卡片带一点纸的圆角 */
.card { border-radius: 14px; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: clip;
}
.notes {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.hero__inner,
.hero__marquee { position: relative; z-index: 2; }
.hero__inner {
  padding-top: calc(var(--nav-h) + 4vh);
  padding-bottom: clamp(28px, 5vh, 60px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3.6vh, 46px);
}
.hero__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.hero__title {
  font-weight: 800;
  font-size: clamp(44px, 8.2vw, 126px);
  line-height: 1.16;
  letter-spacing: 0.015em;
  max-width: 12em;
}
.hero__v {
  flex: none;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 32px);
  letter-spacing: 0.62em;
  color: var(--accent);
  border-right: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding-right: 14px;
  margin-bottom: 1em;
}
.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero__emo {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.9;
  color: var(--ink);
}
.hero__emo::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  vertical-align: 0.32em;
  margin-right: 14px;
}
.hero__side { display: flex; flex-direction: column; gap: 18px; max-width: 34em; }
.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__chips .ic { color: var(--accent); }
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__hint { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-faint); }
.hero__hint::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: 1px;
  animation: hint-pulse 2.4s var(--e-in-out) infinite;
}
@keyframes hint-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: 0.45; } }
.hero__marquee {
  border-block: 1px solid var(--line);
  padding-block: 14px;
  font-size: 13px;
  letter-spacing: 0.34em;
  color: var(--ink-dim);
}
.hero__marquee .ic { color: var(--accent); margin-inline: 10px; width: 12px; height: 12px; }

/* ================= SECTIONS ================= */
.sec-head {
  display: grid;
  grid-template-columns: minmax(90px, 170px) 1fr;
  gap: clamp(20px, 3vw, 56px);
  align-items: start;
  margin-bottom: clamp(48px, 6.6vw, 104px);
}
.sec-no {
  font-size: clamp(64px, 8vw, 148px);
  line-height: 0.9;
  font-weight: 700;
  user-select: none;
}
.sec-head__text { display: flex; flex-direction: column; gap: 20px; }
.sec-head .display-2 { max-width: 15em; letter-spacing: 0.01em; line-height: 1.2; }

/* ================= 01 SAY / 说一句 ================= */
.sec--flow { overflow: clip; }
.say { max-width: 900px; margin-inline: auto; }
.say__stage { position: relative; display: grid; }

.say__badge {
  position: absolute;
  z-index: 3;
  top: -17px;
  right: clamp(6px, 4%, 30px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--e-out), transform 0.4s var(--e-out);
  pointer-events: none;
}
.say.is-thinking .say__badge,
.say.is-card .say__badge { opacity: 1; transform: none; }
.say__badge .ic { width: 13px; height: 13px; color: var(--accent); animation: badge-spin 1.3s linear infinite; }
.say.is-card .say__badge .ic { animation: none; }
@keyframes badge-spin { to { transform: rotate(360deg); } }
.say__badge-a { display: inline; }
.say__badge-b { display: none; color: var(--accent); }
.say.is-card .say__badge-a { display: none; }
.say.is-card .say__badge-b { display: inline; }

.say__bar,
.say__card { grid-area: 1 / 1; }
.say__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px 18px 18px;
  background: #FFFDF6;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, var(--line));
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(29, 27, 22, 0.09);
  transition: opacity 0.55s var(--e-out), transform 0.55s var(--e-out);
}
.say__plus,
.say__mic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.say__plus { border: 1px solid var(--line); color: var(--ink-dim); }
.say__plus .ic { width: 18px; height: 18px; }
.say__mic { background: var(--accent); color: var(--accent-ink); }
.say__mic .ic { width: 17px; height: 17px; }
.say__typed-wrap {
  flex: 1;
  min-height: 1.6em;
  font-family: var(--f-serif);
  font-size: clamp(17px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}
.say__ph { color: var(--ink-faint); font-weight: 400; }
.say.has-text .say__ph { display: none; }
.say__caret {
  display: inline-block;
  width: 2.5px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: -0.16em;
  margin-left: 3px;
  border-radius: 2px;
  animation: caret-blink 1.05s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.say__card {
  align-self: start;
  background: var(--bg-2);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, var(--line));
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 34px 70px rgba(29, 27, 22, 0.13);
  opacity: 0;
  transform: translateY(28px) scale(0.965) rotate(0.8deg);
  transition: opacity 0.55s var(--e-out), transform 0.75s var(--e-spring);
  pointer-events: none;
}
.say__card::before {
  /* 便签胶带 */
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 74px;
  height: 18px;
  background: rgba(232, 89, 12, 0.16);
  border: 1px solid rgba(232, 89, 12, 0.14);
  transform: translateX(-50%) rotate(-2deg);
}
.say.is-card .say__bar { opacity: 0; transform: translateY(-16px) scale(0.98); pointer-events: none; }
.say.is-card .say__card { opacity: 1; transform: none; pointer-events: auto; }

.say__card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--e-out) 0.08s, transform 0.6s var(--e-out) 0.08s;
}
.say.is-card .say__card-head { opacity: 1; transform: none; }
.say__card-title { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; }
.say__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #FAE3B4;
  color: #5C430E;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.say__state .ic { width: 13px; height: 13px; }

.say__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  padding-block: 20px 6px;
}
.say__field {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--e-out), transform 0.6s var(--e-out);
}
.say__field--wide { grid-column: 1 / -1; }
.say.is-card .say__field { opacity: 1; transform: none; }
.say.is-card .say__field:nth-child(1) { transition-delay: 0.18s; }
.say.is-card .say__field:nth-child(2) { transition-delay: 0.28s; }
.say.is-card .say__field:nth-child(3) { transition-delay: 0.38s; }
.say__field dt {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 6px;
}
.say__field dd { font-size: clamp(16px, 1.8vw, 21px); font-weight: 500; }
.say__card-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  opacity: 0;
  transition: opacity 0.5s var(--e-out) 0.5s;
}
.say.is-card .say__card-foot { opacity: 1; }
.say__card-foot .ic { width: 13px; height: 13px; color: var(--accent); flex: none; }

.say__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.say__replay {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.say__replay:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.say__replay .ic { width: 14px; height: 14px; }
.say__note { font-size: 10.5px; letter-spacing: 0.22em; color: var(--ink-faint); }

/* 01 steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(48px, 6vw, 90px);
}
.steps .card { padding: clamp(22px, 2.4vw, 34px); }
.steps__no { display: block; font-size: 11px; letter-spacing: 0.3em; color: var(--ink-faint); margin-bottom: 26px; }
.steps .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: 18px; }
.steps h3 { font-family: var(--f-serif); font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.steps p { font-size: 14px; line-height: 1.9; color: var(--ink-dim); }

/* ================= 02 FAMILY ================= */
.sec--family {
  background: color-mix(in srgb, var(--accent) 3%, var(--bg));
  border-block: 1px solid var(--line);
}
.family {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.family__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.family__grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: clamp(130px, 13vw, 178px);
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.55s var(--e-out), border-color 0.4s, box-shadow 0.55s var(--e-out);
}
.family__grid li::after {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 58px;
  height: 15px;
  background: rgba(232, 89, 12, 0.13);
  border: 1px solid rgba(232, 89, 12, 0.1);
  transform: translateX(-50%) rotate(-2deg);
  transition: transform 0.55s var(--e-spring);
}
.family__grid li:hover {
  transform: translateY(-5px) rotate(-0.6deg);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  box-shadow: 0 22px 44px rgba(29, 27, 22, 0.1);
}
.family__grid li:hover::after { transform: translateX(-50%) rotate(1.5deg); }
.family__grid .ic { width: 24px; height: 24px; color: var(--accent); margin-bottom: auto; }
.family__grid h3 { font-family: var(--f-serif); font-size: 20px; font-weight: 700; }
.family__grid span { font-size: 9.5px; letter-spacing: 0.26em; color: var(--ink-faint); }
.family__aside {
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.family__aside h3 { font-size: clamp(21px, 2.2vw, 28px); font-weight: 700; }
.family__aside p { font-size: 14.5px; line-height: 1.95; color: var(--ink-dim); }
.family__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.family__chips .ic { color: var(--accent); }

/* ================= 03 HONESTY ================= */
.states li {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(22px, 2.8vw, 34px) 0;
  border-top: 1px solid var(--line);
}
.states li:last-child { border-bottom: 1px solid var(--line); }
.state__pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: transform 0.5s var(--e-spring), box-shadow 0.5s var(--e-out);
}
.states li:hover .state__pill { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 16px 34px rgba(29, 27, 22, 0.1); }
.state__pill .ic { width: 17px; height: 17px; }
.state--saved .state__pill { background: #FFFCF0; border: 1.5px dashed rgba(29, 27, 22, 0.32); color: var(--ink); }
.state--saved .state__pill .ic { color: var(--accent); }
.state--synced .state__pill { background: #FAE3B4; color: #5C430E; }
.state--synced .state__pill .ic { color: #B67A0E; }
.state--scheduled .state__pill { background: #F9D3BC; color: #6E330C; }
.state--scheduled .state__pill .ic { color: var(--accent); }
.state--done .state__pill { background: #DFEDC4; color: #3D5416; }
.state--done .state__pill .ic { color: #55801C; }
.state__text h3 { font-family: var(--f-serif); font-size: clamp(18px, 1.9vw, 22px); font-weight: 700; margin-bottom: 6px; }
.state__text p { font-size: 14.5px; line-height: 1.85; color: var(--ink-dim); max-width: 34em; }
.state__en { font-size: 10px; letter-spacing: 0.32em; color: var(--ink-faint); justify-self: end; }

/* ================= 04 STANDARD ================= */
.bars li {
  display: grid;
  grid-template-columns: clamp(48px, 6vw, 90px) 1fr;
  gap: clamp(14px, 2.5vw, 32px);
  padding: clamp(26px, 3.6vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.bars li:last-child { border-bottom: 1px solid var(--line); }
.bars__no { font-size: clamp(13px, 1.4vw, 16px); color: var(--ink-faint); padding-top: 0.6em; }
.bars__line {
  font-size: clamp(27px, 5.2vw, 78px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.bars__line .bars__seg { display: inline; }
.bars__seg + .bars__seg { margin-left: 0.06em; }
.bars__note { margin-top: 14px; font-size: 14.5px; line-height: 1.9; color: var(--ink-dim); max-width: 40em; }

/* ================= 05 JOIN ================= */
.sec--join {
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--accent) 9%, var(--bg)) 100%);
}
.join__title {
  font-size: clamp(38px, 7.2vw, 112px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 26px 0 clamp(24px, 3vw, 40px);
}
.join__lead { margin-bottom: clamp(30px, 4vw, 48px); }
.join__row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn--big { padding: 20px 42px; font-size: 13px; }
.join__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.join__chips .ic { color: var(--accent); }

/* ================= FOOTER ================= */
.footer__top { align-items: flex-start; }
.footer__v { font-size: 10px; letter-spacing: 0.46em; color: var(--ink-faint); }
.footer__about { font-size: 14px; line-height: 1.95; color: var(--ink-dim); max-width: 26em; }
.footer__sig { letter-spacing: 0.3em; }

/* ================= REDUCED MOTION ================= */
html.wx-reduced .say__caret { display: none; }
html.wx-reduced .say__badge,
html.wx-reduced .say__card-head,
html.wx-reduced .say__field,
html.wx-reduced .say__card-foot { opacity: 1; transform: none; transition: none; }
html.wx-reduced .say.is-card .say__card { transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1060px) {
  .family { grid-template-columns: 1fr; }
  .states li { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .state__en { justify-self: start; }
}
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .sec-no { font-size: clamp(52px, 12vw, 90px); }
  .steps { grid-template-columns: 1fr; }
  .family__grid { grid-template-columns: 1fr 1fr; }
  .hero__v { display: none; }
  .hero__title { font-size: clamp(38px, 10.5vw, 64px); }
  .say__fields { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .family__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .family__grid li { min-height: 118px; padding: 14px 16px; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .state__pill { padding: 13px 24px; }
}
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(30px, 8.4vw, 36px);
    word-break: keep-all;
    overflow-wrap: normal;
  }
}
