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

:root {
  --green: #87ff71;
  --cyan: #01cdfe;
  --pink: #ff71ce;
  --violet: #b967ff;
  --ink: #192617;
  --deep: #0a110c;
  --paper: #e7f5e4;
  --glass: rgba(23, 42, 28, 0.5);
  --line: rgba(135, 255, 113, 0.2);
  --radius: 18px;
  --dock: 64px;
  --serif: "Cormorant", Georgia, "Songti SC", "SimSun", serif;
  --sans: "Montserrat", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  padding-bottom: calc(var(--dock) + 28px);
  background:
    radial-gradient(95% 55% at 50% -12%, #2b3f25 0%, rgba(10, 17, 12, 0) 62%),
    var(--deep);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
  mix-blend-mode: overlay;
  opacity: 0.7;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

p { margin: 0 0 1.05em; }

.skip {
  position: absolute;
  top: -80px;
  left: 14px;
  z-index: 90;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #0a110c;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip:focus { top: 14px; }

.corner {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(10, 17, 12, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--green);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(135, 255, 113, 0.65);
}
.corner img { width: 32px; height: 32px; object-fit: contain; display: block; }

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

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 20px var(--dock);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto;
  height: 90%;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(1, 205, 254, 0.24), rgba(1, 205, 254, 0) 70%),
    radial-gradient(40% 55% at 20% 20%, rgba(255, 113, 206, 0.16), rgba(255, 113, 206, 0) 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(880px, 100%);
  margin-bottom: 24px;
  animation: rise 0.7s ease both;
}

.eyebrow {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(1, 205, 254, 0.5);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 9.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(1, 205, 254, 0.45),
    0 0 46px rgba(255, 113, 206, 0.32);
}

.lede {
  margin: 0;
  max-width: 34ch;
  font-size: 1.02rem;
  color: #c6dbc4;
}

.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 1040px;
  flex: 1 1 auto;
  min-height: 200px;
  margin: 0;
  pointer-events: none;
}

.hero-art::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4%;
  width: min(60vw, 400px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--pink) 0%, var(--violet) 48%, var(--cyan) 100%);
  opacity: 0.8;
  filter: blur(1px);
  box-shadow: 0 0 90px rgba(255, 113, 206, 0.45);
}

.hero-art::after {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: 0;
  height: 58%;
  background-image:
    linear-gradient(rgba(135, 255, 113, 0.45) 1px, rgba(0, 0, 0, 0) 1px),
    linear-gradient(90deg, rgba(1, 205, 254, 0.32) 1px, rgba(0, 0, 0, 0) 1px);
  background-size: 100% 42px, 64px 100%;
  transform: perspective(340px) rotateX(62deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 34%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 34%);
}

.hero-img {
  position: relative;
  z-index: 3;
  display: block;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(1, 205, 254, 0.35));
}

.band {
  flex: 0 0 auto;
  width: 100%;
  height: 10px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--pink), var(--violet) 34%, var(--cyan) 68%, var(--green));
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 78%);
  opacity: 0.92;
}

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

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 8px;
}

.prose { max-width: 760px; counter-reset: sec; }

.prose > article {
  position: relative;
  padding: 34px 0 12px;
  border-top: 1px solid rgba(135, 255, 113, 0.16);
  scroll-margin-top: 92px;
}
.prose > article:first-child { border-top: 0; padding-top: 4px; }

.prose > article::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  position: absolute;
  top: 8px;
  right: 0;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(135, 255, 113, 0.16);
}

.prose h2 {
  margin: 0 0 0.6em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 4.6vw, 2.15rem);
  line-height: 1.2;
  color: #f2fff0;
  text-shadow: 0 0 20px rgba(135, 255, 113, 0.22);
}

.prose h3 {
  margin: 1.4em 0 0.5em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  color: #e9ffe4;
}

.prose p { color: #cfe2cd; }

.prose ul,
.prose ol { margin: 0 0 1.1em; padding-left: 1.3em; color: #cfe2cd; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--green); }

.prose a { color: var(--green); text-underline-offset: 3px; }

.prose figure,
.prose aside {
  margin: 1.4em 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--glass);
  color: #cfe2cd;
}

.prose strong { color: #ffffff; font-weight: 600; }

.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--green);
  color: #b9d4b6;
}

/* ---------- rail ---------- */

.rail {
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.rail h2 {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #f2fff0;
}

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

.rail-list li { animation: rise 0.45s ease both; }
.rail-list li:nth-child(2) { animation-delay: 0.04s; }
.rail-list li:nth-child(3) { animation-delay: 0.08s; }
.rail-list li:nth-child(4) { animation-delay: 0.12s; }
.rail-list li:nth-child(5) { animation-delay: 0.16s; }
.rail-list li:nth-child(6) { animation-delay: 0.2s; }
.rail-list li:nth-child(7) { animation-delay: 0.24s; }

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  border-bottom: 1px dashed rgba(135, 255, 113, 0.18);
  color: #dff3dc;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.rail-list a:hover { color: var(--green); padding-left: 10px; }

/* ---------- footer ---------- */

.site-foot {
  position: relative;
  z-index: 6;
  margin-top: 64px;
  padding: 40px 20px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(25, 38, 23, 0.25), rgba(10, 17, 12, 0.92));
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.site-foot address {
  font-style: normal;
  max-width: 42ch;
}

.foot-brand {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
  text-shadow: 0 0 18px rgba(135, 255, 113, 0.4);
}

.foot-desc { margin: 0; font-size: 16px; color: #b7ceb4; }

.foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}

.foot-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: #d8ecd5;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid rgba(135, 255, 113, 0.1);
  transition: color 0.18s ease;
}
.foot-links a:hover { color: var(--cyan); }

.sub {
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.sub label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.sub-row { display: flex; flex-wrap: wrap; gap: 10px; }

.sub input {
  flex: 1 1 190px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(135, 255, 113, 0.3);
  border-radius: 12px;
  background: rgba(8, 14, 10, 0.75);
  color: var(--paper);
  font-family: inherit;
  font-size: 16px;
}

.sub button {
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--green), var(--cyan));
  color: #0a110c;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.18s ease;
}
.sub button:hover { filter: brightness(1.08); transform: translateY(-1px); }

.sub-note {
  min-height: 1.3em;
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--green);
}

.copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(135, 255, 113, 0.12);
  font-size: 16px;
  color: #9db69a;
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  text-decoration: none;
}
.to-top:hover { border-color: var(--green); }

/* ---------- dock ---------- */

.dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
}

.dock > summary {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--dock);
  list-style: none;
  cursor: pointer;
  border-top: 1px solid var(--line);
  background: rgba(8, 14, 10, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.24em;
}
.dock > summary::-webkit-details-marker { display: none; }

.bars { display: grid; gap: 4px; width: 22px; }
.bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.dock[open] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.dock[open] .bars i:nth-child(2) { opacity: 0; }
.dock[open] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.dock > menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 84px 22px calc(var(--dock) + 26px);
  overflow: auto;
  list-style: none;
  counter-reset: nav;
  background:
    radial-gradient(90% 60% at 50% 0%, #24361f 0%, rgba(10, 17, 12, 0) 70%),
    #0a110c;
  animation: fade 0.28s ease both;
}

.dock:not([open]) > menu { display: none; }

.dock > menu li { border-bottom: 1px solid rgba(135, 255, 113, 0.14); }

.dock > menu a {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 8px 2px;
  color: #eaffea;
  font-family: var(--serif);
  font-size: 1.42rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}
.dock > menu a::before {
  counter-increment: nav;
  content: counter(nav, decimal-leading-zero);
  min-width: 2.2rem;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green);
  opacity: 0.82;
}
.dock > menu a:hover { color: var(--pink); transform: translateX(6px); }

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

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- wider screens ---------- */

@media (min-width: 900px) {
  body { font-size: 18px; }

  .hero { padding: 110px 40px var(--dock); }
  .hero-art { min-height: 300px; }
  .hero h1 { letter-spacing: 0.02em; }

  .stage {
    grid-template-columns: minmax(0, 1fr) 316px;
    gap: 56px;
    padding: 72px 40px 12px;
  }

  .rail { position: sticky; top: 96px; }

  .foot-grid { grid-template-columns: 1.35fr 1fr; gap: 36px; }
  .site-foot { padding: 52px 40px 30px; }
  .sub { margin-top: 34px; }
}

@media (min-width: 1180px) {
  .hero h1 { font-size: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}

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