:root {
  --brand: #349873;
  --deep: #1c5c45;
  --ink: #25372e;
  --muted: #657168;
  --paper: #f8f9f3;
  --line: #dfe5d9;
  --serif:
    "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun",
    serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 6px;
  border-radius: 4px;
}
.shell {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 5;
  background: white;
  padding: 12px 20px;
}
.skip:focus {
  top: 12px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 105px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  border-radius: 11px;
}
.brand > span {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: 1px;
  line-height: 1.4;
}
.brand small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 400;
}
nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 500;
}
nav a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}
nav a:hover {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding-block: 48px 72px;
}
.hero-copy {
  padding-bottom: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}
.tiny-line {
  width: 24px;
  height: 1px;
  background: currentColor;
}
h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -1.5px;
}
h1 {
  font-size: clamp(46px, 5.25vw, 68px);
  line-height: 1.24;
}
.emphasis {
  color: var(--deep);
  position: relative;
  white-space: nowrap;
}
.emphasis::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.45em;
  bottom: -0.1em;
  height: 3px;
  border-radius: 50%;
  background: #c0d2b8;
  transform: rotate(-3deg);
}
.intro {
  margin: 30px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}
.small-only {
  display: none;
}
.availability {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.availability > span {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #82967d;
}
.hero-art {
  position: relative;
  margin: 0;
  background: #eaf0e2;
  width: 100%;
  max-width: 484px;
  justify-self: end;
  border-radius: 14px;
  padding: 24px 28px 28px;
  isolation: isolate;
}
.art-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #536a53;
}
.art-top > span:last-child {
  font-family: Georgia, serif;
  font-size: 9px;
  letter-spacing: 1px;
}
.growth-book {
  display: block;
  width: calc(100% + 36px);
  max-width: none;
  height: auto;
  margin: -10px -18px -24px;
}
.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding: 10px 2px 1px;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
}
.hero-art strong {
  font-size: 21px;
  font-weight: 500;
}
.art-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 43px;
  height: 43px;
  border: 1px solid #7c9574;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 3px;
  line-height: 1.3;
  transform: rotate(-8deg);
}
.about {
  padding-block: 32px 56px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 64px;
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 19px;
}
.section-index {
  margin-left: 12px;
  opacity: 0.75;
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 1px;
}
h2 {
  font-size: 38px;
}
.section-intro {
  max-width: 315px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature {
  display: flex;
  flex-direction: column;
  padding: 27px 27px 19px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  background: #e8f0e3;
  color: #427754;
  border-radius: 13px;
}
.feature-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.family-icon {
  background: #f3ead9;
  color: #967342;
}
.feature-number {
  color: #abb5a5;
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
}
.feature-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}
h3 {
  margin: 0 0 13px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.5;
}
.feature-description {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.feature-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e8ebe2;
  color: #536b58;
  font-size: 11px;
}
.status {
  border: 1px solid #d6dfcc;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 10px;
  white-space: nowrap;
}
.product-note {
  margin: 16px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.download {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 48px;
  padding: 36px 40px;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #edf2e7;
}
.download .eyebrow {
  margin-bottom: 24px;
}
.download-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.download-brand img {
  flex: 0 0 64px;
  border-radius: 16px;
}
.download h2 {
  font-size: 30px;
}
.download-brand p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.release-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--deep);
}
.release-status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.download-note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}
.download-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.download-platforms li {
  padding: 12px 14px;
  border-left: 1px solid #ced9c4;
}
.download-platforms strong,
.download-platforms span {
  display: block;
}
.download-platforms strong {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.download-platforms span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.footer {
  margin-top: 48px;
  padding-block: 28px 30px;
  border-top: 1px solid #e8ebe2;
}
.footer-legal {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.footer-legal p {
  margin: 0 0 4px;
}
.footer a {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 44px;
  font-size: 11px;
  white-space: nowrap;
}
.footer a:hover {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal {
  max-width: 760px;
  padding-block: 55px 70px;
}
.legal h1 {
  font-size: 44px;
}
.legal h2 {
  font-family: inherit;
  font-size: 21px;
  margin-top: 38px;
  letter-spacing: 0;
}
.legal p {
  color: var(--muted);
  font-size: 15px;
}
.draft {
  border-left: 3px solid var(--brand);
  padding: 16px 22px;
  background: #e7f3ee;
}
/* 分层渐入使用透明度和位移，不改变布局尺寸。 */
.hero-copy > * {
  animation: arrive 0.65s ease-out both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}
.hero-copy > :nth-child(5) {
  animation-delay: 0.3s;
}
.hero-art {
  animation: arrive 0.85s 0.18s ease-out both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feature {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .feature:hover {
    transform: translateY(-4px);
    border-color: #c3d3bf;
    box-shadow: 0 12px 28px #25372e0a;
  }
}
/* 只在桌面摆动叶片，书本和根部始终稳定。 */
@media (min-width: 761px) {
  .leaf-left {
    transform-origin: 294px 274px;
    animation: leaf-sway 7s ease-in-out infinite;
  }
  .leaf-right {
    transform-origin: 302px 236px;
    animation: leaf-sway 8s -2s ease-in-out infinite reverse;
  }
}
@keyframes leaf-sway {
  0%,
  100% {
    transform: rotate(-2.5deg);
  }
  50% {
    transform: rotate(2.5deg);
  }
}
@media (max-width: 1050px) {
  .small-only {
    display: initial;
  }
  .shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 35px;
    padding-block: 50px;
  }
  h1 {
    font-size: 51px;
  }
  .intro {
    font-size: 14px;
  }
  .hero-art {
    padding: 20px;
  }
  .art-top {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .art-top > span:last-child {
    font-size: 8px;
  }
  .hero-art strong {
    font-size: 19px;
  }
  .feature {
    padding: 22px 20px 17px;
  }
  h3 {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .download {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 24px;
    margin-bottom: 30px;
  }
  .download-brand {
    gap: 14px;
  }
  .download-brand img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 13px;
  }
  .download-note {
    font-size: 15px;
  }
  .download-platforms {
    grid-template-columns: 1.3fr 1fr 0.8fr;
    gap: 4px;
  }
  .download-platforms li {
    padding: 8px;
  }
  .download-platforms strong {
    font-size: 12px;
  }

  .shell {
    width: calc(100% - 40px);
  }
  .header {
    min-height: 82px;
    gap: 12px;
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand > span {
    font-size: 18px;
  }
  .brand small {
    display: none;
  }
  nav {
    gap: 20px;
    font-size: 11px;
  }
  nav a {
    gap: 4px;
  }
  .header nav a > span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 32px 44px;
  }
  .hero .eyebrow {
    margin-bottom: 22px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: clamp(42px, 9vw, 60px);
    line-height: 1.25;
  }
  .intro {
    margin: 22px 0;
    font-size: 15px;
  }
  .small-only {
    display: initial;
  }
  .hero-copy {
    padding: 0;
  }
  .availability {
    margin-top: 17px;
    font-size: 10px;
  }
  .hero-art {
    width: 100%;
    max-width: 400px;
    justify-self: center;
    padding: 17px 20px;
  }
  .art-top > span:last-child {
    font-size: 8px;
  }
  .growth-book {
    width: 100%;
    height: auto;
    margin: -8px 0 -24px;
  }
  .hero-art figcaption {
    display: flex;
    font-size: 12px;
  }
  .hero-art strong {
    font-size: 18px;
  }
  .art-stamp {
    flex-basis: 34px;
    height: 34px;
    font-size: 10px;
  }
  .about {
    padding-block: 32px 35px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading .eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
  }
  h2 {
    font-size: 31px;
  }
  .download h2 {
    font-size: 27px;
  }
  .section-intro {
    max-width: 430px;
    margin: 19px 0 0;
    font-size: 15px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature {
    padding: 21px 23px 17px;
  }
  .feature-top {
    margin-bottom: 14px;
  }
  .feature-icon {
    width: 43px;
    height: 43px;
    border-radius: 11px;
  }
  .feature-icon svg {
    width: 25px;
    height: 25px;
  }
  .feature-number {
    font-size: 23px;
  }
  h3 {
    font-size: 20px;
  }
  .feature-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .product-note {
    font-size: 10px;
    margin-top: 13px;
  }
  .footer {
    margin-top: 32px;
    padding-block: 24px;
  }
  .footer-legal {
    font-size: 12px;
  }
  .legal {
    padding-block: 35px 45px;
  }
  .legal h1 {
    font-size: 36px;
  }
  .legal p {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  nav {
    gap: 10px;
    font-size: 10px;
  }
  .brand > span {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy > *,
  .hero-art,
  .leaf-left,
  .leaf-right {
    animation: none;
  }
}

/* 备案链接保持文字行高，避免套用页脚返回按钮的点击布局。 */
.footer .icp-link {
  display: inline;
  min-height: 0;
  font-size: inherit;
}

.agreement-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.agreement-links a {
  min-height: 44px;
}
.footer {
  margin-top: 20px;
}
@media (max-width: 760px) {
  .agreement-links {
    gap: 0 20px;
    font-size: 12px;
  }
  .product-note {
    font-size: 12px;
    line-height: 1.8;
  }
  .footer {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature {
    transition: none;
  }
}

/* 主体靠上保持品牌关联，剩余留白留在版权前；窄屏按内容自然滚动。 */
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  padding-top: clamp(0px, 4vh, 48px);
}
@media (max-width: 760px) {
  main {
    flex: none;
    padding-top: 0;
  }
  .footer {
    margin-top: auto;
  }
}
.footer {
  margin-top: auto;
}

/* —— 第二轮微调 —— */

/* 说明文字：只在分句之间换行，并让各行长度尽量均衡 */
.intro {
  text-wrap: balance;
}

/* 桌面端：首屏内容在可用高度内垂直居中，h1 更大、说明更舒展 */
@media (min-width: 761px) {
  main {
    display: flex;
    align-items: center;
    padding-top: 0;
  }
  .hero {
    padding-block: 24px 48px;
  }
  h1 {
    font-size: clamp(52px, 6vw, 80px);
  }
}
@media (min-width: 761px) {
  .intro {
    margin-top: 36px;
  }
}
@media (min-width: 1051px) {
  .intro {
    max-width: 28em;
    margin-top: 44px;
    font-size: 18px;
    line-height: 1.85;
  }
}

/* 手机端：缩小说明文字与插画之间的间距 */
@media (max-width: 760px) {
  .hero {
    gap: 28px;
  }
}

/* 保证这一短句不被断开 */
.nb {
  white-space: nowrap;
}

/* —— 插画动效 ——
   1) 打开页面时：茎先长出来，三片叶子依次展开（一次性，手机端也有）
   2) 之后：整株植物轻轻摇摆，叶片再各自摆动；太阳向外散出光圈；星星闪烁（仅桌面端） */
.stem {
  transform-origin: 285px 352px;
  animation: stem-grow 0.9s 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.grow-1 {
  transform-origin: 294px 274px;
  animation: leaf-grow 0.9s 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}
.grow-2 {
  transform-origin: 302px 236px;
  animation: leaf-grow 0.9s 1.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}
.grow-3 {
  transform-origin: 303px 187px;
  animation: leaf-grow 0.8s 1.7s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}
@keyframes stem-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes leaf-grow {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(var(--sway, 3.5deg));
  }
  75% {
    transform: rotate(calc(var(--sway, 3.5deg) * -1));
  }
}
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@keyframes sun-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes star-twinkle {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.4);
    opacity: 0.2;
  }
}
.sun-ripple {
  opacity: 0;
}
@media (min-width: 761px) {
  .plant {
    transform-origin: 285px 352px;
    --sway: 1deg;
    animation: sway 7s 2.6s ease-in-out infinite;
  }
  .leaf-left {
    transform-origin: 294px 274px;
    --sway: 2.5deg;
    animation: sway 5.6s 2.6s ease-in-out infinite;
  }
  .leaf-right {
    transform-origin: 302px 236px;
    --sway: 2.5deg;
    animation: sway 6.4s 3s ease-in-out infinite reverse;
  }
  .sun,
  .sun-halo {
    animation: sun-float 7s ease-in-out infinite;
  }
  .sun-ripple {
    transform-origin: 425px 146px;
    animation: ripple 4.2s 1s ease-out infinite;
  }
  .star-a {
    transform-origin: 150px 168px;
    animation: star-twinkle 3.6s ease-in-out infinite;
  }
  .star-b {
    transform-origin: 422px 409px;
    animation: star-twinkle 3.6s -1.8s ease-in-out infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stem,
  .grow,
  .plant,
  .leaf-left,
  .leaf-right,
  .sun,
  .sun-halo,
  .sun-ripple,
  .star-a,
  .star-b {
    animation: none !important;
  }
  .sun-ripple {
    opacity: 0;
  }
}
