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

:root {
  --ink: #001e3c;
  --ink-deep: #001426;
  --ink-soft: #002a4f;
  --mint: #99ffcc;
  --neon: #00ff41;
  --paper: #e9fff6;
  --body: #d9f6ec;
  --muted: rgba(233, 255, 246, .66);
  --line: rgba(153, 255, 204, .22);
  --line-soft: rgba(153, 255, 204, .12);
  --r: 10px;
  --maxw: 1180px;
  --head-h: 118px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Open Sans", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--paper);
  background:
    radial-gradient(62vw 48vw at 10% 0%, rgba(153, 255, 204, .22), transparent 62%),
    radial-gradient(52vw 42vw at 92% 10%, rgba(0, 255, 65, .16), transparent 64%),
    linear-gradient(180deg, #04305a 0%, var(--ink) 38%, var(--ink-deep) 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: Poppins, "Open Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #f4fffa;
}

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

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

.page { overflow-x: clip; }

/* ---------- head ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 26, 50, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.head-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 20px 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  color: var(--paper);
  text-decoration: none;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: .05em;
}

.brand img,
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(153, 255, 204, .55), 0 0 22px rgba(0, 255, 65, .45);
}

.brand-mark {
  background: radial-gradient(circle at 32% 28%, var(--mint), var(--neon) 54%, #0a7a45);
  animation: breath 7s ease-in-out infinite;
}

.brand-txt { line-height: 1.2; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mint);
  font-size: .93rem;
  text-decoration: none;
  background: rgba(153, 255, 204, .07);
  transition: background .25s ease, color .25s ease;
}

.chip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.chip:hover { background: rgba(153, 255, 204, .2); color: #eafff6; }

.site-nav {
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.site-nav ol {
  display: flex;
  gap: 8px;
  padding: 0 0 2px;
  list-style: none;
}

.site-nav li { animation: rise .55s ease both; }
.site-nav li:nth-child(1) { animation-delay: .02s; }
.site-nav li:nth-child(2) { animation-delay: .07s; }
.site-nav li:nth-child(3) { animation-delay: .12s; }
.site-nav li:nth-child(4) { animation-delay: .17s; }
.site-nav li:nth-child(5) { animation-delay: .22s; }
.site-nav li:nth-child(6) { animation-delay: .27s; }
.site-nav li:nth-child(7) { animation-delay: .32s; }

.site-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .94rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.site-nav svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
  box-shadow: 0 0 22px rgba(153, 255, 204, .45);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 74px 20px 108px;
  overflow: hidden;
  text-align: center;
  border-radius: 0 0 52% 52% / 0 0 11% 11%;
  isolation: isolate;
}

.hero-fig {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
}

.hero-fig .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.hero-fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 70% at 50% 30%, rgba(0, 30, 60, .25), transparent 70%),
    linear-gradient(180deg, rgba(0, 30, 60, .62) 0%, rgba(0, 20, 38, .9) 72%);
}

.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(34px);
  opacity: .5;
  pointer-events: none;
}

.b1 {
  width: 300px;
  height: 300px;
  left: -70px;
  top: -40px;
  background: radial-gradient(circle, rgba(153, 255, 204, .85), transparent 70%);
  animation: breath 9s ease-in-out infinite;
}

.b2 {
  width: 340px;
  height: 340px;
  right: -90px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(0, 255, 65, .6), transparent 70%);
  animation: breath 11s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.18;
  background: linear-gradient(160deg, #ffffff 10%, var(--mint) 62%, #66e6a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 46px rgba(0, 255, 65, .22);
}

.hero-sub {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .01em;
}

/* ---------- stage ---------- */

.stage {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 20px 10px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.rail {
  position: sticky;
  top: calc(var(--head-h) + 14px);
  padding: 18px 16px 20px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--neon);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(153, 255, 204, .1), rgba(0, 30, 60, .58));
}

.rail-h {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--mint);
}

.rail-list { list-style: none; padding: 0; }

.rail-list li + li { margin-top: 2px; }

.rail-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 2px 7px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.rail-list a i {
  flex: 0 0 auto;
  font-family: Poppins, sans-serif;
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--neon);
}

.rail-list a:hover { color: var(--paper); background: rgba(153, 255, 204, .14); }

.content { min-width: 0; }

.content-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.content-head h2 {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--mint);
}

.content-head h2 > span { padding-bottom: 0; box-shadow: none; }

article[id] { scroll-margin-top: calc(var(--head-h) + 24px); }

.content > article { padding-top: 4px; }

.content article[id] {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}

.content article[id]:first-of-type { margin-top: 4px; padding-top: 0; border-top: 0; }

.content h2 {
  margin: 2em 0 .7em;
  font-size: clamp(1.34rem, 2.8vw, 1.82rem);
  letter-spacing: .01em;
}

.content h3 {
  margin: 1.7em 0 .55em;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--mint);
}

.content h2 > span,
.content h3 > span {
  padding-bottom: .1em;
  box-shadow: inset 0 -2px 0 rgba(0, 255, 65, .62);
}

.content p { color: var(--body); }

.content a { text-underline-offset: 3px; text-decoration-color: rgba(0, 255, 65, .5); }

.content ul,
.content ol { padding-left: 1.25em; }

.content li { margin: .4em 0; color: var(--body); }

.content li::marker { color: var(--neon); }

.content strong { color: #ffffff; }

.content blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--neon);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(153, 255, 204, .08);
  color: var(--paper);
}

.content figure {
  margin: 1.8em 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--mint);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .04);
}

.content figure img { width: 100%; }

.content figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: .86rem;
}

.content table {
  width: 100%;
  margin: 1.6em 0;
  border-collapse: collapse;
  font-size: .94rem;
}

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

.content th { color: var(--mint); font-weight: 600; }

.content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
}

/* ---------- foot ---------- */

.site-foot {
  margin-top: 70px;
  padding: 0 20px 40px;
  background: linear-gradient(180deg, rgba(0, 255, 65, .08), rgba(0, 18, 34, .92));
  border-top: 1px solid var(--line);
}

.foot-in { max-width: var(--maxw); margin: 0 auto; }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 38px 0;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--neon);
  border-radius: 14px;
  background:
    radial-gradient(80% 130% at 0% 0%, rgba(153, 255, 204, .26), transparent 70%),
    rgba(0, 30, 60, .62);
}

.cta p {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: #f6fffb;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 26px rgba(153, 255, 204, .4);
  transition: background .25s ease, box-shadow .25s ease;
}

.cta-btn:hover { background: var(--neon); box-shadow: 0 0 30px rgba(0, 255, 65, .55); }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.foot-dl { margin: 0; }

.foot-dl dt {
  margin-bottom: 8px;
  color: var(--neon);
  font-size: .78rem;
  letter-spacing: .2em;
}

.foot-dl dd { margin: 0; color: var(--muted); }

.foot-dl a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: .95rem;
  text-decoration: none;
  transition: color .2s ease;
}

.foot-dl a:hover { color: var(--mint); }

.foot-brand { color: var(--paper); font-weight: 600; }

.foot-key { font-size: .88rem; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  font-size: .9rem;
  color: var(--muted);
}

.copy { margin: 0; }

.foot-links { display: flex; gap: 6px; }

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--muted);
  text-decoration: none;
}

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

/* ---------- motion ---------- */

@keyframes breath {
  0%, 100% { transform: scale(1); opacity: .48; }
  50% { transform: scale(1.16); opacity: .72; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}

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

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-top: 46px;
  }

  .rail {
    position: static;
    order: -1;
    padding: 14px 14px 16px;
  }

  .rail-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .rail-list li + li { margin-top: 0; }

  .rail-list a {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
  }

  .rail-list a i { display: none; }

  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; }
}

@media (max-width: 620px) {
  html { font-size: 16px; }

  .head-in { padding: 6px 16px 0; }

  .brand { font-size: 1rem; }

  .chip { padding: 0 13px; font-size: .88rem; }

  .hero {
    padding: 56px 18px 84px;
    min-height: 66vh;
    border-radius: 0 0 44% 44% / 0 0 7% 7%;
  }

  .b1 { width: 210px; height: 210px; }
  .b2 { width: 230px; height: 230px; }

  .stage { padding: 40px 16px 0; }

  .cta { padding: 22px 20px; }

  .foot-cols { grid-template-columns: minmax(0, 1fr); }

  .foot-bottom { flex-direction: column; align-items: flex-start; }

  .site-foot { padding: 0 16px 34px; }
}

@media (min-width: 901px) {
  .hero { min-height: 70vh; }
}

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