@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  --green: #87ff71;
  --yellow: #ffce5c;
  --ink: #192617;
  --paper: #f4ffe9;
  --paper2: #e6ffd8;
  --line: rgba(25, 38, 23, 0.22);
  --soft: rgba(25, 38, 23, 0.62);
  --dock-h: 78px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(25, 38, 23, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + 18px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 14px; }

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

.shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 18px 0;
}

/* ---------- 英雄区 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 34px);
  min-height: calc(100svh - 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(46px, 9vh, 96px) clamp(16px, 5vw, 48px) 0;
  background: var(--ink);
  background-image:
    repeating-linear-gradient(-45deg, rgba(135, 255, 113, 0.09) 0 12px, transparent 12px 30px);
  border-radius: 20px;
}

.hero-mark {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3.2rem, 17vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: rgba(135, 255, 113, 0.15);
  -webkit-text-stroke: 2px rgba(135, 255, 113, 0.4);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}

.short { display: none; }

.shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.shape-tri {
  top: 11%;
  left: 5%;
  width: clamp(56px, 9vw, 96px);
  height: clamp(56px, 9vw, 96px);
  background: var(--green);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(14deg);
  mix-blend-mode: screen;
}

.shape-ring {
  right: 6%;
  top: 16%;
  width: clamp(46px, 7vw, 82px);
  height: clamp(46px, 7vw, 82px);
  border-radius: 50%;
  border: 9px dotted var(--yellow);
  transform: rotate(-8deg);
}

.shape-blob {
  left: 12%;
  bottom: 26%;
  width: clamp(60px, 10vw, 110px);
  height: clamp(30px, 5vw, 54px);
  background: var(--yellow);
  border-radius: 60px 12px 60px 12px;
  transform: rotate(-12deg);
  mix-blend-mode: screen;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6.4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #f5ffec;
}

.hero-desc {
  margin: 0 auto;
  max-width: 40ch;
  color: rgba(235, 255, 226, 0.82);
  font-size: 1.02rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 26px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 5px 5px 0 var(--yellow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--yellow); }

.hero-copy::after {
  content: '';
  display: block;
  width: 132px;
  height: 12px;
  margin: 26px auto 0;
  background-image: radial-gradient(var(--green) 3px, transparent 3px);
  background-size: 14px 12px;
  opacity: 0.85;
}

.hero-figure {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 30px 0 0;
  padding: 0;
}

.hero-figure .hero-img {
  width: 100%;
  height: clamp(150px, 26vh, 250px);
  object-fit: cover;
  border-top: 4px dashed rgba(255, 206, 92, 0.6);
  border-bottom: 5px solid var(--yellow);
}

/* ---------- 内容区 ---------- */

.stage { padding: 34px 0 0; }

.rail {
  background: var(--paper2);
  border: 2px dashed var(--ink);
  border-radius: 10px;
  padding: 14px 14px 16px;
  margin-bottom: 26px;
}

.rail h2 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.rail hr {
  border: 0;
  height: 6px;
  margin: 0 0 12px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px);
}

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

.rail-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 12px;
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.rail-list a:hover { background: var(--green); transform: translateX(2px); }

.prose { max-width: 70ch; }

.prose > div {
  padding: 26px 0 30px;
  border-bottom: 3px solid var(--green);
  scroll-margin-top: 22px;
}

.prose > div:first-child { padding-top: 4px; }

.prose h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(1.32rem, 3.6vw, 1.88rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.prose h2::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 10px;
  background: var(--green);
  border: 2px solid var(--ink);
  transform: rotate(14deg) translateY(-1px);
}

.prose h3 {
  margin: 22px 0 6px;
  font-size: 1.14rem;
  letter-spacing: -0.01em;
}

.prose hr {
  border: 0;
  height: 7px;
  margin: 0 0 18px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px);
  opacity: 0.7;
}

.prose p,
.prose li { font-size: 1.04rem; }

.prose ul,
.prose ol { padding-left: 1.25em; margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: #4b6b32; }

.prose strong {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  font-weight: 700;
}

.prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: #ffffff;
  border-left: 7px solid var(--green);
  border-radius: 0 10px 10px 0;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose figure { margin: 20px 0; }
.prose img { border-radius: 10px; }

.prose a {
  text-decoration: none;
  border-bottom: 2px solid var(--green);
}

.prose a:hover { background: var(--green); }

.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.prose th, .prose td { border: 2px solid var(--ink); padding: 8px 10px; text-align: left; }
.prose th { background: var(--paper2); }

/* ---------- 页脚 ---------- */

.foot {
  margin: 44px auto 0;
  max-width: 1140px;
  padding: 0 18px;
  border-top: 4px solid var(--ink);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 24px;
}

.foot-huge {
  margin: 0;
  font-size: clamp(1.5rem, 5.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-shadow: 4px 4px 0 var(--yellow);
}

.foot-btn {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 26px;
  background: var(--ink);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  border-bottom: 5px solid var(--green);
  transition: transform 0.16s ease;
}

.foot-btn:hover { transform: translateY(-2px); }

.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  padding: 16px 0 12px;
  border-top: 2px dotted var(--line);
}

.foot-mark { margin: 0; display: inline-flex; align-items: center; }
.foot-mark img { border-radius: 8px; }
.foot-mark .dock-word { font-weight: 700; letter-spacing: -0.02em; }

.foot-nav { flex: 1 1 320px; }

.foot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.9rem;
  color: var(--soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.foot-list a:hover { color: var(--ink); border-bottom-color: var(--green); }

.foot-copy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--soft);
}

/* ---------- 底部固定条 ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: var(--ink);
  border-top: 3px solid var(--green);
  box-shadow: 0 -8px 24px rgba(25, 38, 23, 0.28);
}

.dock-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  margin-right: 2px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-right: 2px dotted rgba(135, 255, 113, 0.45);
}

.dock-brand img { border-radius: 6px; }
.dock-word { font-size: 0.95rem; letter-spacing: -0.02em; }

.dock-list {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.dock-list::-webkit-scrollbar { display: none; }

.dock-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: #e8ffdd;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.dock-list a:hover { background: rgba(135, 255, 113, 0.18); color: #ffffff; }

.dock-dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--green);
  transform: rotate(45deg);
  flex: none;
}

.dock-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  flex: none;
}

.dock-cta:hover { background: var(--green); }

/* ---------- 动效 ---------- */

.js .prose > div,
.js .foot-cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .prose > div.in,
.js .foot-cta.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mark { transform: none !important; }
  .js .prose > div,
  .js .foot-cta { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; }
}

/* ---------- 宽度断点 ---------- */

@media (min-width: 900px) {
  .shell { padding: 22px 26px 0; }

  .hero { min-height: calc(100vh - 44px); min-height: calc(100svh - 44px); }

  .stage {
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
    padding-top: 46px;
  }

  .rail { position: sticky; top: 26px; margin-bottom: 0; }

  .rail-list { display: grid; gap: 6px; }
  .rail-list a { width: 100%; }

  .prose { padding-bottom: 10px; }

  .foot { padding: 0 26px; }
}

@media (min-width: 1180px) {
  .hero-mark { letter-spacing: -0.06em; }
}

@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .shell { padding: 10px 14px 0; }
  .hero { border-radius: 16px; }
  .dock { gap: 5px; padding-left: 8px; padding-right: 8px; }
  .dock-brand { padding: 0 8px; }
  .dock-word { display: none; }
  .dock-cta { padding: 0 11px; font-size: 0.88rem; }
  .foot { padding: 0 14px; }
  .prose > div { padding: 22px 0 26px; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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