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

:root {
  --g: #00ff80;
  --b: #0000ff;
  --b2: #5a5aff;
  --k: #000000;
  --w: #ffffff;
}

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

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

body {
  margin: 0;
  background: var(--k);
  color: var(--w);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 500;
  padding-bottom: 112px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: var(--g); }
img { max-width: 100%; display: block; }
main { display: block; }

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

/* ---------- 底栏导航 ---------- */
nav.top {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--k);
  border-top: 4px solid var(--g);
}

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

.menu-l { justify-content: flex-start; }
.menu-r { justify-content: flex-start; }

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 9px;
  color: var(--w);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: background-color 0.08s linear, color 0.08s linear, border-color 0.08s linear;
}

.menu a:hover,
.menu a:focus-visible {
  background: var(--g);
  color: var(--k);
  border-color: var(--g);
}

.ico {
  width: 7px;
  height: 7px;
  background: var(--g);
  flex: none;
  transition: background-color 0.08s linear;
}

.menu a:hover .ico { background: var(--k); }
.menu li:nth-child(2n) .ico { transform: rotate(45deg); }
.menu li:nth-child(3n) .ico { width: 13px; height: 7px; }

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--g);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--g);
  white-space: nowrap;
  transition: background-color 0.08s linear, color 0.08s linear;
}

.brand:hover,
.brand:focus-visible {
  background: var(--g);
  color: var(--k);
}

.brand-img { width: 26px; height: 26px; object-fit: contain; }

.search {
  display: flex;
  justify-self: end;
}

.search-in {
  width: 128px;
  min-height: 44px;
  padding: 8px 10px;
  background: #0a0a0a;
  color: var(--w);
  font: inherit;
  font-size: 16px;
  border: 2px solid var(--g);
  border-right: 0;
  border-radius: 0;
}

.search-in::placeholder { color: #808080; }

.search-btn {
  min-height: 44px;
  padding: 0 12px;
  background: var(--g);
  color: var(--k);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid var(--g);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.08s linear, border-color 0.08s linear;
}

.search-btn:hover { background: var(--w); border-color: var(--w); }

/* ---------- 首屏 ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border-bottom: 4px solid var(--g);
}

.hero-fig {
  margin: 0;
  background: var(--b);
  border-right: 4px solid var(--g);
  overflow: hidden;
}

.hero-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.1);
}

.hero-mark {
  width: 100%;
  height: 100%;
  min-height: 45vh;
  background:
    repeating-linear-gradient(45deg, var(--g) 0 16px, transparent 16px 34px),
    var(--b);
}

.hero-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  text-align: right;
  padding: clamp(26px, 5vw, 76px);
}

.kicker {
  display: inline-block;
  padding: 4px 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--g);
  border: 2px solid var(--g);
}

.hero-txt h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  max-width: 38ch;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #ccffe3;
}

/* ---------- 正文区 ---------- */
.content-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  align-items: start;
  border-bottom: 4px solid var(--g);
}

.prose {
  min-width: 0;
  border-right: 4px solid var(--g);
}

.prose section {
  padding: clamp(30px, 4vw, 58px) clamp(18px, 4vw, 56px);
  border-bottom: 3px solid var(--g);
  scroll-margin-top: 20px;
}

.prose section:last-child { border-bottom: 0; }
.prose section:nth-child(even) { background: #060606; }
.prose section.flash { outline: 4px solid var(--w); outline-offset: -10px; }

.prose small {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--b2);
}

.prose h2 {
  margin: 0 0 18px;
  padding-left: 14px;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-left: 10px solid var(--g);
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--g);
}

.prose p { margin: 0 0 16px; max-width: 64ch; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; max-width: 64ch; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--g); font-weight: 700; }

.prose strong { color: var(--g); font-weight: 700; }

.prose a {
  color: var(--g);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose a:hover {
  background: var(--g);
  color: var(--k);
  text-decoration: none;
}

.prose blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  background: var(--b);
  border-left: 8px solid var(--g);
  font-weight: 600;
  max-width: 64ch;
}

.prose blockquote p { max-width: none; }
.prose blockquote p:last-child { margin: 0; }

.prose table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 16px;
}

.prose th, .prose td {
  border: 2px solid var(--g);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

.prose th { background: var(--g); color: var(--k); font-weight: 700; }

.prose figure { margin: 0 0 18px; }
.prose img { width: 100%; height: auto; border: 3px solid var(--g); }

.prose code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 15px;
  color: var(--g);
  background: #111;
  border: 2px solid #262626;
  padding: 1px 5px;
}

.prose hr { border: 0; border-top: 3px solid var(--g); margin: 26px 0; }

/* ---------- 侧栏 ---------- */
.side {
  position: sticky;
  top: 0;
  align-self: start;
  padding: 26px 20px;
  background: var(--b);
}

.side .kicker { color: var(--w); border-color: var(--w); letter-spacing: 0.18em; }

.side-h {
  margin: 12px 0 16px;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 700;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  counter-reset: s;
}

.side-list li { counter-increment: s; }

.side-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--k);
  color: var(--w);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--k);
  transition: background-color 0.08s linear, color 0.08s linear, border-color 0.08s linear;
}

.side-list a::before {
  content: counter(s, decimal-leading-zero);
  font-size: 15px;
  font-weight: 700;
  color: var(--g);
}

.side-list a:hover,
.side-list a:focus-visible {
  background: var(--g);
  color: var(--k);
  border-color: var(--g);
}

.side-list a:hover::before { color: var(--k); }

/* ---------- 页脚 ---------- */
footer {
  display: grid;
  grid-template-columns: 1.7fr 1.5fr 0.9fr 0.9fr;
  gap: 22px;
  align-items: start;
  padding: 36px 20px 26px;
  background: var(--k);
  border-top: 4px solid var(--g);
}

.f-brand {
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--g);
}

.f-nav { display: flex; flex-wrap: wrap; gap: 2px; }

.f-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 10px;
  color: var(--w);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #1f1f1f;
  transition: background-color 0.08s linear, border-color 0.08s linear;
}

.f-nav a:hover,
.f-nav a:focus-visible { background: var(--b); border-color: var(--g); }

.top-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  background: var(--g);
  color: var(--k);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.top-link:hover { background: var(--w); }

.f-copy {
  font-size: 16px;
  font-weight: 600;
  color: #9a9a9a;
  text-align: right;
}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes pop {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: none; }
  }

  .side-list li { animation: pop 0.18s steps(2, end) backwards; }
  .side-list li:nth-child(1) { animation-delay: 0.02s; }
  .side-list li:nth-child(2) { animation-delay: 0.05s; }
  .side-list li:nth-child(3) { animation-delay: 0.08s; }
  .side-list li:nth-child(4) { animation-delay: 0.11s; }
  .side-list li:nth-child(5) { animation-delay: 0.14s; }
  .side-list li:nth-child(6) { animation-delay: 0.17s; }
  .side-list li:nth-child(7) { animation-delay: 0.2s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 880px) {
  body { padding-bottom: 186px; }

  nav.top {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'brand search'
      'ml mr';
    gap: 4px 8px;
    padding: 5px 8px;
  }

  .brand { grid-area: brand; justify-self: start; font-size: 16px; padding: 8px 10px; }
  .search { grid-area: search; justify-self: end; }
  .menu-l { grid-area: ml; }
  .menu-r { grid-area: mr; justify-content: flex-end; }
  .menu a { padding: 8px 7px; font-size: 16px; gap: 5px; }
  .search-in { width: 98px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-fig { border-right: 0; border-bottom: 4px solid var(--g); height: 32vh; min-height: 170px; }
  .hero-txt { padding: 24px 18px 34px; gap: 14px; }
  .hero-txt h1 { font-size: clamp(30px, 9vw, 44px); }
  .lede { max-width: 100%; }

  .content-area { grid-template-columns: 1fr; }
  .prose { border-right: 0; }
  .side { position: static; padding: 24px 18px; }

  footer { grid-template-columns: 1fr 1fr; gap: 18px; padding: 30px 16px 24px; }
  .f-brand { grid-column: 1 / -1; }
  .f-copy { text-align: left; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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