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

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

:root {
  --ink: #1f1f1f;
  --ink-soft: #4c4c4c;
  --ink-faint: #7a7a7a;
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: #e3e3e3;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-pill: 999px;
  --e1: 0 1px 3px rgba(31, 31, 31, 0.06), 0 1px 2px rgba(31, 31, 31, 0.04);
  --e2: 0 6px 18px rgba(31, 31, 31, 0.08), 0 2px 6px rgba(31, 31, 31, 0.05);
  --e3: 0 18px 40px rgba(31, 31, 31, 0.12), 0 6px 14px rgba(31, 31, 31, 0.06);
  --e4: 0 34px 72px rgba(31, 31, 31, 0.16), 0 10px 24px rgba(31, 31, 31, 0.08);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.82;
  color: var(--ink);
  background: var(--mist);
  padding-bottom: 108px;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(880px 460px at 10% -10%, rgba(31, 31, 31, 0.07), transparent 62%),
    radial-gradient(720px 420px at 96% 6%, rgba(31, 31, 31, 0.055), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, var(--mist) 38%, var(--mist) 100%);
}

a { color: inherit; }

img { max-width: 100%; }

/* ---------- 底部固定导航 ---------- */
.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(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border-top: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 -14px 34px rgba(31, 31, 31, 0.11);
}

.dock-brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

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

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

.dock-list li { flex: none; }

.dock-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-pill);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dock-list a:hover,
.dock-list a:focus-visible {
  color: var(--ink);
  background: rgba(31, 31, 31, 0.07);
  transform: translateY(-1px);
}

.dock-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  text-decoration: none;
  background: var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--e2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dock-cta:hover,
.dock-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--e3);
}

/* ---------- 主区 ---------- */
main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0 0 56px 56px;
  margin-bottom: 34px;
  box-shadow: var(--e3);
  isolation: isolate;
}

.hero-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 82% 10%, #5b5b5b 0%, #2b2b2b 55%, #161616 100%);
}

.hero-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(15, 15, 15, 0.18) 0%,
    rgba(15, 15, 15, 0.42) 46%,
    rgba(15, 15, 15, 0.74) 100%
  );
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transform-origin: center 30%;
  will-change: transform;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  padding: 96px 22px 54px;
  text-align: right;
  color: var(--paper);
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 7.6vw, 62px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.4);
  overflow-wrap: anywhere;
}

.hero-desc {
  margin: 16px 0 0;
  margin-left: auto;
  max-width: 34em;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}

.hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  z-index: 4;
  background: linear-gradient(90deg, #1f1f1f 0%, rgba(31, 31, 31, 0.16) 62%, transparent 100%);
}

/* ---------- 叠层舞台 ---------- */
.stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.prose {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.prose > section {
  position: relative;
  margin: 0 0 22px;
  padding: 26px 22px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--r-xl);
  box-shadow: var(--e2);
  scroll-margin-top: 26px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.prose > section:nth-child(1) { z-index: 4; box-shadow: var(--e3); }
.prose > section:nth-child(2) { z-index: 3; }
.prose > section:nth-child(3) { z-index: 2; }
.prose > section:nth-child(4) { z-index: 4; }
.prose > section:nth-child(5) { z-index: 3; }
.prose > section:nth-child(6) { z-index: 2; }
.prose > section:nth-child(7) { z-index: 1; }

.prose > section:hover {
  box-shadow: var(--e3);
  transform: translateY(-2px);
}

.prose h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 3.6vw, 31px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: clamp(19px, 2.6vw, 22px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.prose h2 + h3 { margin-top: 10px; }

.prose p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.prose section > :last-child { margin-bottom: 0; }

.prose small {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.prose ul,
.prose ol {
  margin: 0 0 14px;
  padding-left: 1.3em;
  color: var(--ink-soft);
}

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

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

.prose blockquote {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-left: 3px solid var(--ink);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: rgba(31, 31, 31, 0.045);
  color: var(--ink);
}

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

.prose a:hover { text-decoration-thickness: 2px; }

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

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose th { background: rgba(31, 31, 31, 0.05); font-weight: 700; }

.prose figure {
  margin: 0 0 16px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--e1);
}

/* ---------- 右侧栏 ---------- */
.side {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.side-card {
  padding: 20px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-xl);
  box-shadow: var(--e3);
  transform: translateZ(0);
}

.side-card-ghost {
  background: rgba(31, 31, 31, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--paper);
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.side-card small {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.side-card-ghost small { color: rgba(255, 255, 255, 0.62); }

.side-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: side;
}

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

.side-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 4px 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 31, 31, 0.07);
}

.side-list a::before {
  content: counter(side, decimal-leading-zero);
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-faint);
}

.side-list li:last-child a { border-bottom: 0; }

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

.side-cta { margin: 0; }

.side-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--r-pill);
  box-shadow: var(--e1);
}

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 36px 18px 30px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-top: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -20px 44px rgba(31, 31, 31, 0.07);
}

.foot-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.foot dl { margin: 0; min-width: 0; }

.foot dt {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.foot dd { margin: 0; font-size: 16px; color: var(--ink-soft); }

.foot-brand { font-weight: 700; color: var(--ink); }

.foot-links { display: grid; }

.foot-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
  text-decoration: none;
}

.foot-links a:hover { color: var(--ink); }

.foot-bar {
  max-width: 1140px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 31, 31, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 16px;
  color: var(--ink-faint);
}

.foot-top {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--r-pill);
  box-shadow: var(--e1);
}

/* ---------- 显现动效 ---------- */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.reveal-on .reveal:not(.in) {
  opacity: 0;
  transform: translateY(26px);
}

.reveal-on .side-card:nth-child(2) { transition-delay: 0.09s; }
.reveal-on .foot-grid dl:nth-child(2) { transition-delay: 0.06s; }
.reveal-on .foot-grid dl:nth-child(3) { transition-delay: 0.12s; }

.reveal-on .foot-grid dl {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on .foot-grid dl.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-on .reveal:not(.in),
  .reveal-on .foot-grid dl {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-img { transform: none !important; }
}

/* ---------- 断点 ---------- */
@media (max-width: 460px) {
  .dock { gap: 4px; padding-left: 10px; padding-right: 10px; }
  .dock-brand { font-size: 16px; padding: 0 2px; }
  .dock-list a { padding: 0 9px; }
  .dock-cta { padding: 0 13px; }
  .hero { border-radius: 0 0 40px 40px; min-height: 70vh; }
  .hero-copy { padding: 92px 16px 44px; }
  .stage { padding: 0 14px 34px; }
  .prose > section { padding: 22px 17px; }
  .foot { padding: 30px 14px 26px; border-radius: 32px 32px 0 0; }
  .foot-grid { gap: 12px; }
}

@media (min-width: 760px) {
  body { padding-bottom: 104px; }
  .dock { gap: 14px; padding: 10px 22px calc(10px + env(safe-area-inset-bottom)); }
  .dock-list { justify-content: center; }
  .stage {
    grid-template-columns: minmax(0, 1fr) 316px;
    gap: 28px;
    padding: 0 22px 56px;
    align-items: start;
  }
  .side { position: sticky; top: 28px; }
  .hero-copy { padding: 130px 40px 76px; }
  .prose > section { padding: 34px 34px; margin-bottom: 26px; }
  .foot { padding: 46px 26px 34px; }
  .foot-grid { gap: 30px; }
  .foot dl { padding-left: 14px; border-left: 1px solid rgba(31, 31, 31, 0.09); }
  .foot dl:first-child { border-left: 0; padding-left: 0; }
}

@media (min-width: 1100px) {
  .hero-copy { padding: 150px 56px 88px; }
  .prose > section { padding: 38px 42px; }
}

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