/* @site-style
style: 极简留白
styleId: minimal-editorial
type: layout
primary: #23fe06
accents: #1ab706, #e9f8e7, #5bc14e, #f6f9f6
confirmed: 2026-11-12
*/

:root {
  --brand: #23fe06;
  --brand-strong: #1ab706;
  --brand-soft: #e9f8e7;
  --accent: #5bc14e;
  --surface: #f6f9f6;
  --bg: #ffffff;
  --ink: #1e2b1d;
  --muted: #667e63;
  --line: #dde5dc;
  --wrap: 1180px;
  --head-h: 72px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: var(--ink);
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--brand-soft); color: var(--ink); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 12px; }

/* ---------- 站点头部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--head-h);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.brand:hover { color: var(--brand-strong); }
.brand .brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.brand .brand-en {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  position: relative;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brand-strong);
  transition: right 0.25s ease;
}
.nav a:hover,
.nav a.is-current { color: var(--ink); }
.nav a:hover::after,
.nav a.is-current::after { right: 0; }

.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.head-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.22s ease, top 0.22s ease;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle:hover { border-color: var(--ink); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 通用文字组件 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brand-strong);
  flex: none;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  max-width: 22em;
}

.lede {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 40em;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}
.section--plain { border-top: 0; }
.section--surface { background: var(--surface); }

.head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26em);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.head-row .lede { padding-bottom: 6px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--ink);
}
.button--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button--ghost:hover {
  background: var(--brand-soft);
  border-color: var(--brand-strong);
  color: var(--ink);
}
.button[disabled] { opacity: 0.6; cursor: default; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--brand-strong);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link:hover { color: var(--brand-strong); border-color: var(--ink); }

/* ---------- 入场动效（仅由脚本施加隐藏态，无脚本时内容可见） ---------- */
[data-reveal] {
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-hidden {
  opacity: 0;
  transform: translateY(16px);
}
.reveal-in {
  opacity: 1;
  transform: none;
}

/* ---------- 页脚 ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(52px, 6vw, 76px) 0 34px;
  background: var(--bg);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 44px;
}
.foot-brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.foot-brand-name .brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.foot-note {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 26em;
}
.foot-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.foot-col ul { display: grid; gap: 9px; }
.foot-col a,
.foot-col li {
  font-size: 0.9rem;
  color: var(--ink);
}
.foot-col a { transition: color 0.2s ease; }
.foot-col a:hover { color: var(--brand-strong); }

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 0.8rem;
  color: var(--muted);
}
.foot-bottom a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.foot-bottom a:hover { color: var(--ink); }
.foot-crawl {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.foot-tech { color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .head-row { grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    display: none;
  }
  body.nav-open .nav { display: flex; }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }
  .nav a::after { display: none; }
  .head-cta { display: none; }
  .foot-bottom { gap: 8px 16px; }
  .foot-crawl { margin-left: 0; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@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;
  }
  [data-reveal],
  .reveal-hidden { opacity: 1; transform: none; }
}
