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

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

:root {
  --ink: #001e3c;
  --ink-2: #02294a;
  --mint: #99ffcc;
  --green: #00ff41;
  --txt: #e9fff7;
  --dim: #a6c9d6;
  --line: rgba(153, 255, 204, .22);
  --glass: rgba(5, 46, 76, .55);
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: transparent;
  color: var(--txt);
  font-family: 'Be Vietnam Pro', 'Noto Sans', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: .01em;
  padding-bottom: 92px;
}

a { color: var(--mint); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

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

/* 背景细胞流体 */
.bio {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bio span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  animation: breathe 17s ease-in-out infinite;
}
.bio span:nth-child(1) {
  width: 46vmax; height: 46vmax; left: -14vmax; top: -12vmax;
  background: radial-gradient(circle at 45% 45%, rgba(0, 255, 65, .55), rgba(0, 255, 65, 0) 70%);
}
.bio span:nth-child(2) {
  width: 38vmax; height: 38vmax; right: -12vmax; top: 22vh;
  background: radial-gradient(circle at 50% 50%, rgba(153, 255, 204, .5), rgba(153, 255, 204, 0) 70%);
  animation-delay: -6s;
}
.bio span:nth-child(3) {
  width: 54vmax; height: 54vmax; left: 14vw; bottom: -22vmax;
  background: radial-gradient(circle at 50% 50%, rgba(0, 128, 255, .48), rgba(0, 128, 255, 0) 72%);
  animation-delay: -11s;
}
@keyframes breathe {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.13) translate3d(0, -2vh, 0); }
}

/* 底部固定条 */
header {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(1, 26, 50, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(153, 255, 204, .08);
}
.mark-svg, .mark-img { width: 26px; height: 26px; }

.dock {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dock-list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.dock-list::-webkit-scrollbar { display: none; }
.dock-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--txt);
  font-size: .95rem;
  white-space: nowrap;
}
.dock-list a:hover, .dock-list a:focus-visible {
  background: rgba(153, 255, 204, .14);
  color: var(--mint);
}
.dock-btn { display: none; }
.cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  background: linear-gradient(120deg, var(--mint), var(--green));
  color: #002a1b;
  font-size: .95rem;
  font-weight: 600;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: clamp(22px, 6vw, 64px);
  padding-bottom: calc(clamp(40px, 9vw, 90px) + 64px);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #023055, #001e3c 58%, #013a2a);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(215deg, rgba(0, 30, 60, .12), rgba(0, 22, 44, .94) 78%);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  filter: saturate(1.15);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(680px, 94%);
  text-align: right;
  animation: rise .9s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.mark-word {
  margin: 0;
  color: var(--mint);
  font-size: .92rem;
  letter-spacing: .3em;
  text-transform: none;
}
.hero h1 {
  margin: .28em 0 .7em;
  font-size: clamp(1.9rem, 6.4vw, 3.5rem);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.01em;
  background: linear-gradient(120deg, #f2fffa, var(--mint) 52%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--mint);
  border-radius: 4px;
  color: var(--mint);
  font-size: .95rem;
}
.hero-jump:hover { background: rgba(153, 255, 204, .14); }

/* 正文骨架 */
.sheet {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 44px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 32px);
}

.rail {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 14px;
}
.rail h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: .08em;
  color: var(--mint);
}
.subtitle {
  margin: .1em 0 1em;
  font-size: .93rem;
  color: var(--dim);
}
.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rail-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--txt);
  font-size: .95rem;
}
.rail-list a:hover, .rail-list a:focus-visible {
  border-color: var(--line);
  background: rgba(153, 255, 204, .1);
  color: var(--mint);
}

.body { min-width: 0; }
main div { scroll-margin-top: 88px; }
.body h2 {
  position: relative;
  margin: 2.1em 0 .55em;
  padding-left: 15px;
  font-size: clamp(1.32rem, 3.4vw, 1.72rem);
  line-height: 1.38;
  font-weight: 600;
  color: #f4fffb;
  scroll-margin-top: 88px;
}
.body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--green), var(--mint));
}
.body h3 {
  margin: 1.6em 0 .5em;
  font-size: 1.12rem;
  color: var(--mint);
  font-weight: 600;
}
.body p { color: #dbf5ee; max-width: 64ch; }
.body ul, .body ol { padding-left: 1.25em; max-width: 64ch; }
.body li { margin: .42em 0; }
.body a { border-bottom: 1px solid rgba(153, 255, 204, .45); }
.body a:hover { color: var(--green); }
.body strong { color: var(--mint); }
.body blockquote {
  margin: 1.4em 0;
  padding: 12px 16px;
  border-left: 3px solid var(--green);
  background: rgba(153, 255, 204, .07);
  border-radius: 0 4px 4px 0;
  color: #d6f3ea;
}
.body img { border-radius: 4px; margin: 1.2em 0; }
.body figure { margin: 1.2em 0; }
.body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(153, 255, 204, .12);
  padding: .1em .35em;
  border-radius: 4px;
  font-size: .93em;
}

/* 页脚 */
.foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 8vw, 100px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(2, 42, 70, .55), rgba(0, 18, 38, .94));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.foot-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px) clamp(16px, 4vw, 32px);
}
.foot-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}
.foot-brand {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--mint);
  letter-spacing: .06em;
}
.foot-form { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-form input {
  flex: 1 1 160px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 30, 60, .6);
  color: var(--txt);
  font: inherit;
  font-size: .95rem;
}
.foot-form input::placeholder { color: var(--dim); }
.foot-form button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--mint);
  border-radius: 4px;
  background: var(--mint);
  color: #00281a;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
}
.foot-form button:hover { background: var(--green); border-color: var(--green); }

.foot-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 24px;
  padding: 24px 0;
}
.foot-cols dt {
  color: var(--mint);
  font-size: .88rem;
  letter-spacing: .16em;
  margin-bottom: .5em;
}
.foot-cols dd {
  margin: 0 0 .2em;
  color: var(--dim);
  font-size: .95rem;
}
.foot-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--txt);
  font-size: .95rem;
}
.foot-cols a:hover { color: var(--mint); }

.foot-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--dim);
  font-size: .9rem;
}
.foot-bottom p { margin: 0; }

/* 滚动渐显 */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.rv.in { opacity: 1; transform: none; }

/* 断点 */
@media (min-width: 640px) {
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; }
}
@media (min-width: 900px) {
  .sheet { grid-template-columns: 236px 1fr; align-items: start; }
  .rail { position: sticky; top: 24px; }
  .rail-list { flex-direction: column; flex-wrap: nowrap; }
  .rail-list a { width: 100%; }
  .hero { padding-bottom: calc(clamp(40px, 7vw, 80px) + 72px); }
}
@media (min-width: 880px) {
  .dock-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: rgba(153, 255, 204, .1);
    color: var(--mint);
    font: inherit;
    font-size: .95rem;
    cursor: pointer;
  }
  .dock-btn:hover { background: rgba(153, 255, 204, .2); }
  .dock-list {
    display: none;
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    min-width: 300px;
    max-height: 62vh;
    overflow: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 10px;
    background: rgba(2, 34, 60, .97);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  }
  .dock.open .dock-list { display: grid; }
  .dock-list a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

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