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

:root {
  --lime: #80ff00;
  --green: #00ff00;
  --ink: #1f2617;
  --bg: #12180d;
  --bg2: #1a2213;
  --txt: #e9f7dc;
  --dim: #a9bd96;
  --line: rgba(128, 255, 0, 0.28);
  --glass: rgba(128, 255, 0, 0.07);
  --rail: 236px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}

a { color: var(--lime); }
img { max-width: 100%; height: auto; }

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

.navopen {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(9, 13, 6, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#navopen:checked ~ .scrim {
  opacity: 1;
  pointer-events: auto;
}

/* 左侧竖排导航 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  width: min(86vw, 340px);
  padding: 16px 14px 26px;
  overflow-y: auto;
  background: linear-gradient(180deg, #1b2412, #0e1309 70%);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1), visibility 0.34s;
}

#navopen:checked ~ .rail {
  transform: none;
  visibility: visible;
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.rail-mark {
  font-size: 22px;
  color: var(--green);
  animation: spin 9s linear infinite;
}

.rail-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  transform: rotate(-1.5deg);
}

.rail-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rail-nav li {
  animation: fadeUp 0.5s both;
}

.rail-nav li:nth-child(1) { animation-delay: 0.02s; }
.rail-nav li:nth-child(2) { animation-delay: 0.06s; }
.rail-nav li:nth-child(3) { animation-delay: 0.1s; }
.rail-nav li:nth-child(4) { animation-delay: 0.14s; }
.rail-nav li:nth-child(5) { animation-delay: 0.18s; }
.rail-nav li:nth-child(6) { animation-delay: 0.22s; }
.rail-nav li:nth-child(7) { animation-delay: 0.26s; }

.rail-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--txt);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.rail-nav a:hover,
.rail-nav a:focus-visible {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--green);
  transform: rotate(-1.2deg) translateX(5px);
}

/* 顶栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(18, 24, 13, 0.84);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.row-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px dashed rgba(128, 255, 0, 0.18);
}

.brand {
  font-size: clamp(20px, 5.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lime);
  text-decoration: none;
  text-shadow: 0 0 22px rgba(128, 255, 0, 0.5);
}

.burger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--green);
  border-radius: 4px;
  transform: rotate(1.5deg);
  transition: transform 0.16s ease;
}

.burger:hover { transform: rotate(-2deg) scale(1.04); }

.row-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
}

.search {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
  color: var(--txt);
  background: rgba(128, 255, 0, 0.06);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.search input::placeholder { color: var(--dim); }

.search input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.16);
}

.search button {
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 4px;
  cursor: pointer;
}

.chip {
  display: none;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--green);
  border-radius: 4px;
  transform: rotate(-3deg);
  animation: jitter 3.4s ease-in-out infinite;
}

/* 首屏 */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 90px 18px 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(0, 255, 0, 0.14), transparent 55%),
    radial-gradient(circle at 82% 76%, rgba(128, 255, 0, 0.16), transparent 52%);
}

.ghost {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(-4deg);
  font-size: clamp(58px, 15vw, 180px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(128, 255, 0, 0.42);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.collage-piece {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg2);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.55);
  opacity: 0.92;
  mix-blend-mode: screen;
  transition: transform 0.4s ease;
}

.collage-piece img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(155%);
}

.p1 {
  width: min(44vw, 330px);
  aspect-ratio: 4 / 3;
  left: 4%;
  top: 13%;
  transform: rotate(-6deg);
}

.p2 {
  width: min(38vw, 280px);
  aspect-ratio: 1 / 1;
  right: 5%;
  bottom: 13%;
  transform: rotate(5deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 24ch;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 6.6vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--lime);
  text-shadow: 0 0 28px rgba(128, 255, 0, 0.42);
  text-wrap: balance;
}

/* 跑马灯 */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 9px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  animation: slide 28s linear infinite;
}

.marquee-track span { padding: 0 16px; }
.marquee-track b { opacity: 0.55; font-weight: 400; }

/* 正文流 */
.flow {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 960px;
  margin: 0 auto;
  padding: 34px 16px 64px;
}

.opener {
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--glass);
  backdrop-filter: blur(10px) saturate(140%);
  transform: rotate(-0.5deg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.opener h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 5vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--lime);
}

.subtitle {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--dim);
  line-height: 1.6;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.content > section {
  padding: clamp(18px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--glass);
  backdrop-filter: blur(9px) saturate(140%);
  scroll-margin-top: 120px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.content > section:nth-child(odd) { transform: rotate(-0.35deg); }
.content > section:nth-child(even) { transform: rotate(0.35deg); }
.content > section:hover { transform: rotate(0deg); border-color: var(--green); }

.content > section > :first-child { margin-top: 0; }
.content > section > :last-child { margin-bottom: 0; }

.content h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 3.4vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--lime);
}

.content h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 11px;
  background: var(--green);
}

.content h3 {
  margin: 24px 0 8px;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.3;
}

.content p {
  margin: 0 0 14px;
  max-width: 68ch;
}

.content ul,
.content ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.content li { margin: 0 0 8px; }

.content a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content strong { color: var(--lime); }

.content blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--lime);
  border-radius: 0 4px 4px 0;
  background: rgba(128, 255, 0, 0.07);
}

.content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 16px;
}

.content th,
.content td {
  padding: 9px 11px;
  border: 1px solid var(--line);
  text-align: left;
}

.content th { background: rgba(128, 255, 0, 0.12); color: var(--lime); }

.content img { border-radius: 4px; }

/* 页脚 */
.foot {
  margin-top: 12px;
  padding: 42px 16px 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #151c10, #0c1108);
}

.foot-grid {
  display: grid;
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

.foot-mark {
  display: inline-block;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lime);
  transform: rotate(-1.5deg);
}

.foot-desc {
  margin: 12px 0 16px;
  max-width: 46ch;
  font-size: 16px;
  color: var(--dim);
}

.sub {
  display: flex;
  gap: 8px;
  max-width: 380px;
}

.sub input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
  color: var(--txt);
  background: rgba(128, 255, 0, 0.06);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.sub input::placeholder { color: var(--dim); }

.sub button {
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  cursor: pointer;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.foot-cols dl { margin: 0; }

.foot-cols dt {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.foot-cols dd { margin: 0; }

.foot-cols a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--txt);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.foot-cols a:hover {
  color: var(--lime);
  transform: translateX(3px);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 960px;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(128, 255, 0, 0.2);
  font-size: 15px;
  color: var(--dim);
}

.totop {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--lime);
  border-radius: 4px;
  text-decoration: none;
  transform: rotate(-1.5deg);
}

/* 动效 */
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes jitter { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(2deg) scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* 断点 */
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .chip { display: inline-block; }
  .hero { padding: 100px 32px 72px; }
}

@media (min-width: 1000px) {
  body { padding-left: var(--rail); }

  .rail {
    width: var(--rail);
    transform: none;
    visibility: visible;
    padding: 18px 14px 26px;
  }

  #navopen:checked ~ .rail {
    width: 100vw;
    max-width: 100vw;
    padding: 28px max(24px, 6vw);
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.35);
  }

  #navopen:checked ~ .scrim {
    opacity: 0;
    pointer-events: none;
  }

  .row-brand { padding: 14px 28px; }
  .row-menu { padding: 12px 28px; }
  .flow { padding: 44px 24px 80px; }
  .foot { padding: 52px 24px 26px; }
  .hero { padding: 110px 40px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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