@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Comic+Neue:wght@300;400;700&display=swap');

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --mint: #b4fde1;
  --sky: #add8e6;
  --ink: #172620;
  --deep: #0d2a1f;
  --green: #22684d;
  --paper: #f1fdf7;
  --card: #ffffff;
  --edge: rgba(23, 38, 32, 0.16);
  --edge-strong: rgba(23, 38, 32, 0.24);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sh-in: inset -3px -4px 9px rgba(255, 255, 255, 0.9), inset 3px 4px 9px rgba(23, 38, 32, 0.07);
  --sh-out: 0 8px 0 rgba(23, 38, 32, 0.08), 0 16px 30px rgba(23, 38, 32, 0.09);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Baloo 2", "Comic Neue", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  overflow-x: clip;
  background:
    radial-gradient(120% 70% at 0% 0%, #e7fff6 0%, rgba(231, 255, 246, 0) 55%),
    radial-gradient(90% 60% at 100% 8%, #e3f4fb 0%, rgba(227, 244, 251, 0) 52%),
    var(--paper);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.25; color: var(--deep); font-weight: 700; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 顶栏 */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 253, 248, 0.88);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 3px solid rgba(23, 38, 32, 0.1);
  transition: box-shadow 0.25s ease-out;
}
.site-head.is-stuck { box-shadow: 0 12px 26px rgba(23, 38, 32, 0.16); }

.head-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 4px 18px 4px 8px;
  border: 3px solid var(--edge-strong);
  border-radius: 999px;
  background: linear-gradient(150deg, var(--mint), var(--sky));
  box-shadow: var(--sh-out), var(--sh-in);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--pop);
}
.brand:hover { transform: translateY(-2px) rotate(-1deg); }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; }

.nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav-list,
.sub-list,
.rail-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list { flex-wrap: nowrap; }

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 3px solid var(--edge);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--sh-in), 3px 4px 0 rgba(23, 38, 32, 0.1);
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.18s var(--pop), background 0.18s ease-out;
}
.nav-list a:hover { background: var(--mint); transform: translateY(-2px); }

.find {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 14px;
  border: 3px solid var(--edge);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--sh-in);
}
.find-in {
  width: 118px;
  min-height: 38px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}
.find-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--sky), var(--mint));
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 1180px) { .find { display: flex; } }

.subbar {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px 10px;
  align-items: center;
  gap: 10px;
}
@media (min-width: 900px) { .subbar { display: flex; } }
.subbar-k {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
}
.sub-list { overflow-x: auto; scrollbar-width: none; }
.sub-list::-webkit-scrollbar { display: none; }
.sub-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 2px solid rgba(23, 38, 32, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
}
.sub-list a.is-on { background: var(--sky); border-color: var(--edge-strong); }

/* 首屏 */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 70vh;
  display: grid;
  align-items: end;
  justify-items: end;
  padding: clamp(16px, 4vw, 52px);
  overflow: hidden;
  border-radius: 0 0 44px 44px;
  background: linear-gradient(160deg, #cbfbea, #bfe3f2 58%, #9ed2e5);
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(192deg, rgba(180, 253, 225, 0.72), rgba(173, 216, 230, 0.4) 46%, rgba(23, 38, 32, 0.6));
}

.hero-ghost {
  position: absolute;
  left: clamp(10px, 3vw, 38px);
  top: clamp(6px, 2vw, 18px);
  z-index: 0;
  margin: 0;
  font-size: clamp(2.5rem, 8.6vw, 6.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: rgba(23, 38, 32, 0.18);
  text-shadow: 0 4px 0 rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(620px, 100%);
  padding: clamp(16px, 3vw, 32px);
  text-align: right;
  border: 4px solid var(--edge-strong);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow:
    0 10px 0 rgba(23, 38, 32, 0.14),
    inset -4px -6px 14px rgba(180, 253, 225, 0.9),
    inset 4px 6px 14px rgba(255, 255, 255, 0.95);
  animation: rise 0.55s var(--pop) both;
}
.hero-h1 {
  margin: 0 0 0.4em;
  font-size: clamp(1.8rem, 4.6vw, 3rem);
}
.hero-lead { margin: 0; font-size: 1.05rem; line-height: 1.7; color: #1d4636; }

/* 主体 */
.stage {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px) 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(18px, 2.6vw, 34px);
  align-items: start;
}
@media (max-width: 960px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
}

.stage-main { min-width: 0; }

.stage-main > article {
  margin: 0 0 clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3.2vw, 38px);
  border: 3px solid var(--edge);
  border-radius: 28px;
  background: var(--card);
  box-shadow:
    0 10px 0 rgba(23, 38, 32, 0.07),
    0 18px 34px rgba(23, 38, 32, 0.08),
    inset -4px -6px 14px rgba(180, 253, 225, 0.5);
  scroll-margin-top: 124px;
}
.stage-main > article:nth-child(even) {
  background: linear-gradient(170deg, #f5fffb, #effaff);
}
.stage-main > article > :last-child { margin-bottom: 0; }

.stage-main h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 0.7em;
  padding-bottom: 12px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.stage-main h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mint), var(--sky));
}

.stage-main h3 { font-size: 1.2rem; margin-top: 1.4em; }
.stage-main ul,
.stage-main ol { margin: 0 0 1em; padding-left: 1.35em; }
.stage-main li { margin: 0.35em 0; }
.stage-main blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 6px solid var(--sky);
  border-radius: 0 18px 18px 0;
  background: #f3fffb;
}
.stage-main figure { margin: 1.2em 0; }
.stage-main figure img { border-radius: 18px; }
.stage-main table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 1rem; }
.stage-main th,
.stage-main td { border: 2px solid rgba(23, 38, 32, 0.14); padding: 10px 12px; text-align: left; }
.stage-main th { background: #f0fff9; }

/* 侧栏 */
.rail {
  position: sticky;
  top: 132px;
  padding: 20px;
  border: 3px solid var(--edge);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 0 rgba(23, 38, 32, 0.08), inset -3px -5px 12px rgba(180, 253, 225, 0.7);
}
@media (max-width: 960px) {
  .rail { position: static; top: auto; }
}
.rail-h { margin: 0; font-size: 1.2rem; }
.rail-sub { margin: 0.1em 0 0.9em; font-size: 1rem; font-weight: 600; color: var(--green); }
.rail-list { flex-direction: column; gap: 6px; }
.rail-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 2px solid rgba(23, 38, 32, 0.1);
  border-radius: 14px;
  background: #f6fffb;
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.18s ease-out, transform 0.18s var(--pop);
}
.rail-list a:hover { background: var(--mint); transform: translateX(3px); }
.rail-back { margin: 14px 0 0; }
.rail-back a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--edge);
  border-radius: 999px;
  background: linear-gradient(140deg, var(--sky), var(--mint));
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

/* 收尾图 */
.closing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px 42px;
}
.closing-fig {
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--edge);
  border-radius: 32px;
  background: #ddf7ee;
  box-shadow: 0 12px 0 rgba(23, 38, 32, 0.08), inset -4px -6px 14px rgba(180, 253, 225, 0.7);
}
.closing-img { width: 100%; max-height: 420px; object-fit: cover; }

/* 页脚 */
.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 20px 22px;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1.4fr 1fr;
  gap: 18px 26px;
  border: 3px solid var(--edge);
  border-radius: 36px 36px 0 0;
  background: linear-gradient(160deg, #eafff7, #dcf2fb);
  box-shadow: inset -6px -8px 18px rgba(255, 255, 255, 0.9), 0 -8px 22px rgba(23, 38, 32, 0.06);
}
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot { grid-template-columns: 1fr; } }

.foot-brand { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--deep); }
.foot-desc { margin: 0; font-size: 1rem; line-height: 1.65; color: #1d4636; }
.foot-form { margin: 0; }
.signup { display: flex; flex-wrap: wrap; gap: 6px; }
.signup input {
  flex: 1 1 110px;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 3px solid var(--edge);
  border-radius: 999px;
  background: var(--card);
  font: inherit;
  font-size: 1rem;
  box-shadow: var(--sh-in);
}
.signup button {
  min-height: 44px;
  padding: 0 18px;
  border: 3px solid var(--edge-strong);
  border-radius: 999px;
  background: linear-gradient(140deg, var(--mint), var(--sky));
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(23, 38, 32, 0.12);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.signup button:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(23, 38, 32, 0.12); }
.foot-jump { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.foot-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 2px solid rgba(23, 38, 32, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 1rem;
  text-decoration: none;
}
.foot-copy {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 2px dashed rgba(23, 38, 32, 0.18);
  font-size: 1rem;
  color: #26543f;
}

/* 动效 */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
.nav-list li { animation: rise 0.45s var(--pop) both; }
.nav-list li:nth-child(2) { animation-delay: 0.04s; }
.nav-list li:nth-child(3) { animation-delay: 0.08s; }
.nav-list li:nth-child(4) { animation-delay: 0.12s; }
.nav-list li:nth-child(5) { animation-delay: 0.16s; }
.nav-list li:nth-child(6) { animation-delay: 0.2s; }
.nav-list li:nth-child(7) { animation-delay: 0.24s; }
.rail-list li { animation: rise 0.5s var(--pop) both; }
.rail-list li:nth-child(1) { animation-delay: 0.12s; }
.rail-list li:nth-child(2) { animation-delay: 0.17s; }
.rail-list li:nth-child(3) { animation-delay: 0.22s; }
.rail-list li:nth-child(4) { animation-delay: 0.27s; }
.rail-list li:nth-child(5) { animation-delay: 0.32s; }
.rail-list li:nth-child(6) { animation-delay: 0.37s; }

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

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { border-radius: 0 0 32px 32px; min-height: 68vh; }
  .hero-copy { border-radius: 26px; }
  .stage-main > article { border-radius: 24px; scroll-margin-top: 96px; }
  .foot { border-radius: 28px 28px 0 0; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
