﻿:root {
  --bg: #080d0c;
  --panel: #0f1715;
  --panel-2: #121d1a;
  --ink: #e8f3ee;
  --muted: #8fa69f;
  --mint: #79f2c5;
  --mint-deep: #1f6b54;
  --line: rgba(232, 243, 238, 0.13);
  --line-strong: rgba(232, 243, 238, 0.26);
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier New", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  background-image:
    linear-gradient(rgba(121, 242, 197, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 242, 197, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%; height: auto; }

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin: 0;
}

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 13, 12, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.head-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  flex: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-domain {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--mint);
}

.site-nav .nav-cta {
  padding: 8px 18px;
  color: var(--bg);
  background: var(--mint);
  border-radius: 999px;
  font-weight: 700;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
}

/* 首屏 */
.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mint);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.h1-brand {
  color: var(--mint);
}

.lede {
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 17px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: var(--mint);
  color: #04120e;
  border-color: var(--mint);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: transparent;
  color: var(--mint);
}

.btn-ghost {
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--mint);
  color: var(--mint);
}

.panel {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(121, 242, 197, 0.06), rgba(121, 242, 197, 0));
  padding: 20px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.panel-id {
  color: var(--mint);
}

.panel-list {
  margin: 0;
  padding: 4px 0 8px;
}

.panel-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.panel-list dt {
  font-size: 13px;
  color: var(--muted);
}

.panel-list dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--mint);
}

.panel-note {
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* 区块 */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-alt {
  background: rgba(15, 23, 21, 0.6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.sec-head h2,
.index-intro h2,
.path-intro h2,
.detail-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.sec-desc {
  max-width: 46em;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
}

/* 行式列表 */
.lines {
  border-top: 1px solid var(--line-strong);
}

.line-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 16px 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.line-item:hover {
  background: rgba(121, 242, 197, 0.035);
}

.line-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mint);
  padding-top: 4px;
}

.line-body h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 8px;
}

.line-body p {
  max-width: 48em;
  color: var(--muted);
  font-size: 14.5px;
}

/* 分类索引 */
.index-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.index-intro p:last-child {
  max-width: 30em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.index-list {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.index-list > div {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.index-list dt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.index-list dt span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint);
  letter-spacing: 0.1em;
}

.index-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* 截图 */
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
}

.shot {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #040807;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(121, 242, 197, 0.06);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* 路径 */
.path-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.path-intro p:last-child {
  max-width: 26em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  border-left: 1px solid var(--line-strong);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 30px 20px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--mint);
}

.tl-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mint);
  padding-top: 2px;
}

.tl-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.tl-body p {
  color: var(--muted);
  font-size: 14px;
}

/* 细节 */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.detail-copy p:last-child {
  max-width: 26em;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}

.detail-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mint);
  padding-top: 2px;
}

.detail-list p {
  color: var(--muted);
  font-size: 14px;
}

/* 问答 */
.faq-wrap {
  max-width: 860px;
}

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 19px 44px 19px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 20px;
  color: var(--mint);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  max-width: 48em;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

/* 下载 */
.download {
  background: linear-gradient(180deg, rgba(121, 242, 197, 0.07), rgba(121, 242, 197, 0.01) 60%, transparent);
  border-top: 1px solid var(--line-strong);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.channel {
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.channel:not([hidden]) {
  display: flex;
}

.channel:hover,
.channel:focus-visible {
  background: var(--mint);
  border-color: var(--mint);
  color: #04120e;
}

.channel-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--mint);
}

.channel:hover .channel-tag,
.channel:focus-visible .channel-tag {
  color: #0b3b2d;
}

.channel strong {
  font-size: 21px;
}

.channel-note {
  font-size: 12.5px;
  color: var(--muted);
}

.channel:hover .channel-note,
.channel:focus-visible .channel-note {
  color: #0b3b2d;
}

/* 页脚 */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(44px, 6vw, 68px) 0 34px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 30px 48px;
  align-items: start;
}

.foot-name {
  font-size: 19px;
  font-weight: 700;
}

.foot-domain {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.foot-desc {
  max-width: 30em;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13.5px;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--mint);
}

.foot-legal {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(143, 166, 159, 0.7);
}

/* 入场动效 */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .channel,
  .line-item {
    transition: none;
  }
}

@media (max-width: 1000px) {
  .hero-grid,
  .index-grid,
  .path-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel {
    max-width: 520px;
  }

  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .head-inner {
    min-height: 66px;
  }

  .brand-text {
    font-size: 17px;
  }

  .brand-domain {
    font-size: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-strong);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-radius: 4px;
  }

  .hero {
    padding-top: 44px;
  }

  .line-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 22px 0;
  }

  .line-label {
    padding-top: 0;
  }

  .index-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .shots {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 0 14px;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .shot {
    flex: 0 0 190px;
    scroll-snap-align: center;
  }

  .detail-list li {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .shot {
    flex-basis: 170px;
  }
}

/* 404 */
.error-main {
  display: flex;
  align-items: center;
  min-height: 60vh;
  padding: 64px 0;
}

.error-card {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  padding: clamp(28px, 5vw, 54px);
  max-width: 620px;
}

.error-code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mint);
}

.error-card h1 {
  margin: 14px 0 16px;
  font-size: clamp(28px, 4.2vw, 40px);
}

.error-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.error-card .btn {
  margin-top: 24px;
}
