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

:root {
  --ink: #172617;
  --ink-deep: #0b140b;
  --lime: #69ff69;
  --cyan: #00ffff;
  --pink: #ff69b4;
  --paper: #f3fff0;
  --dim: #c6e5c9;
  --r: 28px;
  --chrome: linear-gradient(135deg, #ffffff 0%, #d8f5d8 26%, #94bda0 50%, #eefff2 72%, #ffffff 100%);
  --chrome-2: linear-gradient(135deg, #69ff69 0%, #00ffff 52%, #ff69b4 100%);
  --glow: 0 22px 52px -20px rgba(0, 255, 255, 0.35), 0 10px 26px -16px rgba(105, 255, 105, 0.45);
  --display: "Anton", "Impact", system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Epilogue", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding-bottom: 104px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.78;
  color: #e9ffe9;
  overflow-x: hidden;
  background:
    radial-gradient(900px 620px at 88% -8%, rgba(0, 255, 255, 0.17), transparent 62%),
    radial-gradient(760px 520px at 2% 24%, rgba(105, 255, 105, 0.14), transparent 64%),
    radial-gradient(620px 480px at 60% 108%, rgba(255, 105, 180, 0.12), transparent 66%),
    linear-gradient(180deg, #0a130a 0%, #172617 52%, #0a130a 100%);
  background-attachment: fixed;
}

body.locked {
  overflow: hidden;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 120;
  padding: 10px 18px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink-deep);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 12px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 108px 22px 152px;
  overflow: hidden;
  text-align: center;
}

.hero-figure {
  position: absolute;
  inset: -7% 0 0;
  z-index: -2;
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.04);
  transform: translate3d(0, var(--py, 0px), 0) scale(1.08);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58% 58% at 50% 44%, rgba(23, 38, 23, 0.28), rgba(10, 19, 10, 0.9) 78%),
    linear-gradient(180deg, rgba(10, 19, 10, 0.86) 0%, rgba(0, 255, 255, 0.14) 58%, rgba(10, 19, 10, 0.96) 100%);
}

.hero-copy {
  position: relative;
  max-width: 920px;
}

.hero-tag {
  display: inline-block;
  margin: 0;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  color: var(--ink-deep);
  background: var(--chrome);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(105, 255, 105, 0.45), 0 12px 28px -12px rgba(0, 255, 255, 0.9);
}

.hero h1 {
  margin: 0.36em 0 0.3em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.35rem, 8.2vw, 5.3rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #e2ffe2 34%, #69ff69 62%, #00ffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(0, 255, 255, 0.5));
}

.hero-lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.72;
  color: #d8f2da;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, rgba(0, 255, 255, 0.42) 46%, rgba(105, 255, 105, 0.06) 74%);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.55), 0 0 46px rgba(0, 255, 255, 0.4);
  pointer-events: none;
}

.hero-orb.o1 {
  width: 132px;
  height: 132px;
  top: 18%;
  right: 6%;
  opacity: 0.62;
}

.hero-orb.o2 {
  width: 84px;
  height: 84px;
  bottom: 24%;
  left: 7%;
  opacity: 0.45;
}

.spark {
  position: absolute;
  font-size: 1.1rem;
  color: #ffffff;
  text-shadow: 0 0 16px var(--cyan), 0 0 38px var(--lime);
  animation: twinkle 3.6s ease-in-out infinite;
  pointer-events: none;
}

.spark.s1 { top: 22%; left: 12%; }
.spark.s2 { top: 34%; right: 18%; animation-delay: 0.8s; }
.spark.s3 { bottom: 30%; left: 22%; animation-delay: 1.6s; }
.spark.s4 { bottom: 20%; right: 12%; animation-delay: 2.4s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.18); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 258px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 74px) clamp(16px, 4vw, 34px) 96px;
}

.rail {
  position: sticky;
  top: 26px;
  overflow: hidden;
  padding: 26px 20px 30px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(243, 255, 240, 0.09), rgba(243, 255, 240, 0.035));
  border: 1px solid rgba(105, 255, 105, 0.3);
  box-shadow: var(--glow);
  backdrop-filter: blur(7px);
}

.rail-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--cyan);
}

.rail-title {
  margin: 0.1em 0 0.72em;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.52rem;
  letter-spacing: 0.07em;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(105, 255, 105, 0.62);
}

.rail-list {
  list-style: none;
  counter-reset: rl;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.rail-list li {
  counter-increment: rl;
}

.rail-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 9px 8px;
  border-radius: 14px;
  font-size: 0.96rem;
  color: #dcffdc;
  text-decoration: none;
  border-bottom: 1px dashed rgba(105, 255, 105, 0.2);
}

.rail-list a::before {
  content: counter(rl, decimal-leading-zero);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--lime);
  opacity: 0.9;
}

.rail-list a:hover,
.rail-list a:focus-visible {
  background: rgba(0, 255, 255, 0.16);
  color: #ffffff;
}

.rail-orb {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff, rgba(255, 105, 180, 0.4) 52%, rgba(0, 255, 255, 0.08) 76%);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 34px rgba(255, 105, 180, 0.45);
  opacity: 0.6;
  pointer-events: none;
}

.flow {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 4vw, 46px);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(243, 255, 240, 0.1), rgba(243, 255, 240, 0.045));
  border: 1px solid rgba(0, 255, 255, 0.25);
  box-shadow: var(--glow);
  backdrop-filter: blur(9px);
}

.flow::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--chrome-2);
  opacity: 0.9;
}

.flow section[id] {
  scroll-margin-top: 26px;
}

.flow > section + section {
  margin-top: clamp(34px, 5vw, 60px);
  padding-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid rgba(105, 255, 105, 0.24);
}

.flow h2 {
  margin: 0.2em 0 0.6em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.26;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-shadow: 0 0 22px rgba(0, 255, 255, 0.38);
}

.flow h2::before {
  content: "◆";
  margin-right: 0.5em;
  font-size: 0.62em;
  color: var(--lime);
  vertical-align: 0.16em;
}

.flow h3 {
  margin: 1.5em 0 0.5em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--lime);
}

.flow p {
  margin: 0 0 1.05em;
}

.flow a {
  color: var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.flow strong {
  color: #ffffff;
}

.flow ul,
.flow ol {
  margin: 0 0 1.05em;
  padding-left: 1.35em;
}

.flow li {
  margin: 0.34em 0;
}

.flow li::marker {
  color: var(--lime);
}

.flow figure {
  margin: 1.5em 0;
}

.flow img {
  border-radius: var(--r);
  box-shadow: 0 18px 40px -22px rgba(0, 255, 255, 0.55);
}

.flow blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 20px 20px 0;
  background: rgba(0, 255, 255, 0.09);
}

.flow table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.flow th,
.flow td {
  padding: 10px 13px;
  border: 1px solid rgba(105, 255, 105, 0.28);
  text-align: left;
}

.flow th {
  background: rgba(105, 255, 105, 0.13);
  color: #ffffff;
}

.flow pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 20px;
  background: rgba(10, 19, 10, 0.72);
  border: 1px solid rgba(105, 255, 105, 0.24);
}

.flow.is-anim > section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.flow.is-anim > section.in {
  opacity: 1;
  transform: none;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(14px, 4vw, 28px) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(23, 38, 23, 0.84), rgba(10, 19, 10, 0.96));
  border-top: 1px solid rgba(0, 255, 255, 0.4);
  box-shadow: 0 -20px 44px -24px rgba(0, 255, 255, 0.65);
  backdrop-filter: blur(14px);
}

.dock-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  font-family: var(--display);
  font-size: 1.06rem;
  color: var(--ink-deep);
  text-decoration: none;
  background: var(--chrome);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 24px rgba(105, 255, 105, 0.6);
}

.dock-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.burger {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  margin: 0;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.62);
  background: rgba(0, 255, 255, 0.12);
  color: #eafff0;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.burger-lines {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #eafff0;
}

.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #eafff0;
  transition: transform 0.25s ease, top 0.25s ease;
}

.burger-lines::before { top: -6px; }
.burger-lines::after { top: 6px; }

.burger[aria-expanded="true"] .burger-lines {
  background: transparent;
}

.burger[aria-expanded="true"] .burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  color: var(--ink-deep);
  text-decoration: none;
  background: var(--chrome-2);
  box-shadow: 0 12px 28px -12px rgba(0, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(105, 255, 105, 0.95), inset 0 0 0 1px #ffffff;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  align-content: center;
  overflow-y: auto;
  padding: 92px clamp(18px, 6vw, 48px) 140px;
  background:
    radial-gradient(700px 520px at 74% 8%, rgba(0, 255, 255, 0.2), transparent 62%),
    radial-gradient(640px 520px at 8% 92%, rgba(255, 105, 180, 0.18), transparent 64%),
    rgba(8, 16, 8, 0.95);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.menu-nav ol {
  counter-reset: mn;
  list-style: none;
  display: grid;
  gap: 6px;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
}

.menu-nav li {
  counter-increment: mn;
}

.menu-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 10px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: clamp(1.22rem, 4.6vw, 1.9rem);
  letter-spacing: 0.06em;
  color: #eafff0;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.menu-nav a::before {
  content: counter(mn, decimal-leading-zero);
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
}

.menu-nav a:hover,
.menu-nav a:focus-visible {
  background: rgba(105, 255, 105, 0.13);
  border-color: rgba(0, 255, 255, 0.55);
  transform: translateX(5px);
}

.foot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  margin-top: 26px;
  padding-block: clamp(34px, 6vw, 64px) 118px;
  padding-inline: max(clamp(16px, 4vw, 34px), calc((100% - 1180px) / 2));
  border-top: 1px solid rgba(0, 255, 255, 0.32);
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.08), rgba(10, 19, 10, 0.6));
}

.foot-nav {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 28px);
}

.foot-nav dl {
  margin: 0;
}

.foot-nav dt {
  margin-bottom: 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.04rem;
  letter-spacing: 0.05em;
  color: var(--lime);
}

.foot-nav dd {
  margin: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 0.95rem;
  color: #d8f6da;
  text-decoration: none;
}

.foot-nav a:hover,
.foot-nav a:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 14px var(--cyan);
}

.foot-brand {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  overflow: hidden;
}

.foot-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 0 22px rgba(0, 255, 255, 0.6);
}

.foot-badge {
  font-size: 1.15rem;
  color: var(--pink);
  text-shadow: 0 0 18px var(--pink);
}

.foot-bubble {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff, rgba(0, 255, 255, 0.4) 50%, rgba(105, 255, 105, 0.06) 74%);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 32px rgba(0, 255, 255, 0.4);
  opacity: 0.6;
}

.foot-bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 38px);
  padding-top: 18px;
  border-top: 1px dashed rgba(105, 255, 105, 0.3);
  font-size: 0.9rem;
  color: #b9d9bb;
}

.copy {
  margin: 0;
}

.foot-bar .top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cyan);
  text-decoration: none;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 60px;
  }

  .rail {
    position: static;
  }

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

  .foot-nav {
    grid-column: 1 / -1;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16.5px;
    padding-bottom: 112px;
  }

  .hero {
    padding: 96px 18px 140px;
  }

  .hero-orb.o1 { width: 96px; height: 96px; right: 3%; }
  .hero-orb.o2 { width: 64px; height: 64px; }
  .spark.s2, .spark.s3 { display: block; opacity: 0.7; }
  .spark.s1 { left: 7%; }

  .dock {
    gap: 9px;
  }

  .burger {
    padding: 0 13px;
    font-size: 0.88rem;
  }

  .cta {
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .foot {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 132px;
  }

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

  .flow {
    padding: 20px 16px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spark {
    animation: none;
  }

  .hero-figure img {
    transform: none;
  }

  .flow.is-anim > section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cta,
  .menu-nav a {
    transition: none;
  }
}

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