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

:root {
  --neon: #69ff69;
  --cyan: #00ffff;
  --ink: #172617;
  --deep: #0b170d;
  --glass: rgba(255, 255, 255, 0.07);
  --line: rgba(105, 255, 105, 0.22);
  --text: #e8ffe9;
  --muted: #a9c9ae;
  --mono: 'Fira Code', ui-monospace, 'Courier New', monospace;
  --sans: 'Fira Sans', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --r: 18px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 0 calc(112px + env(safe-area-inset-bottom));
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(0, 255, 255, 0.18), transparent 62%),
    radial-gradient(760px 520px at 6% 104%, rgba(105, 255, 105, 0.16), transparent 60%),
    var(--deep);
  background-attachment: fixed;
}

a { color: var(--neon); text-decoration: none; }
a:hover { color: var(--cyan); }

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--mono);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.7em;
}

h2 { font-size: clamp(1.28rem, 2.5vw, 1.7rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.28rem); }

h2 > span,
h3 > span {
  padding: 0 2px;
  background: linear-gradient(transparent 62%, rgba(0, 255, 255, 0.32) 62%);
  text-shadow: 0 0 18px rgba(105, 255, 105, 0.35);
}

p { margin: 0 0 1em; }

.chrome {
  background: linear-gradient(178deg, #ffffff 4%, #d8ffe2 22%, #69ff69 46%, #0e3a1c 52%, #c9fff0 60%, #00ffff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 255, 255, 0.35));
}

.page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 34px 0 10px;
}

.hero-art {
  order: 2;
  position: relative;
  display: grid;
  place-items: center;
  padding: 8px;
}

.hero-copy { order: 1; text-align: right; }

.hero-kicker {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  color: var(--cyan);
  margin: 0 0 10px;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.5);
}

.hero h1 {
  font-size: clamp(1.75rem, 5.4vw, 3rem);
  margin: 0 0 16px;
  text-shadow: 0 0 26px rgba(105, 255, 105, 0.3);
}

.hero-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 40ch;
  margin-left: auto;
  margin-bottom: 22px;
}

.orb {
  width: min(78vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, #ffffff 2%, #ccffe0 15%, #69ff69 38%, #00ffff 60%, #103a1f 86%);
  box-shadow: 0 0 100px rgba(0, 255, 255, 0.4), inset 0 -26px 70px rgba(0, 0, 0, 0.5);
  animation: float 7s ease-in-out infinite;
}

.hero-frame {
  width: min(80vw, 380px);
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(0, 255, 255, 0.5), rgba(105, 255, 105, 0.6));
  box-shadow: 0 0 90px rgba(0, 255, 255, 0.35);
}

.hero-frame img,
.hero-img {
  border-radius: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--neon);
  border-radius: 3px;
  box-shadow: 0 0 16px var(--cyan);
  transform: rotate(45deg);
}
.spark-a { top: 8%; right: 12%; animation: blink 3.4s ease-in-out infinite; }
.spark-b { bottom: 12%; left: 8%; background: var(--cyan); animation: blink 4.6s ease-in-out 0.8s infinite; }

@keyframes blink {
  0%, 100% { opacity: 0.25; transform: rotate(45deg) scale(0.8); }
  50% { opacity: 1; transform: rotate(45deg) scale(1.15); }
}

@keyframes float {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}

/* ---------- glossy button ---------- */
.btn-gloss,
.dock-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, var(--neon) 46%, #2fd14f);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 26px rgba(105, 255, 105, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-gloss:hover,
.dock-cta:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 255, 255, 0.45), inset 0 1px 0 #fff;
}

/* ---------- stage / article grid ---------- */
.stage { padding: 26px 0 0; }

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.rail {
  grid-row: 1;
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rail-h {
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  color: var(--cyan);
  margin: 0 0 12px;
}

.rail-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.94rem;
  color: var(--text);
  border: 1px solid rgba(105, 255, 105, 0.2);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.rail-list a:hover {
  color: var(--ink);
  background: var(--neon);
  border-color: var(--neon);
  transform: translateX(3px);
}

.rail-top {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- content sections ---------- */
.shell > div {
  grid-column: 1;
  position: relative;
  padding: 24px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 46%, rgba(0, 255, 255, 0.06));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 40px rgba(0, 0, 0, 0.34);
  scroll-margin-top: 20px;
  overflow: hidden;
}

.shell > div::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--neon), transparent);
  opacity: 0.75;
}

.shell > div p:last-child,
.shell > div ul:last-child { margin-bottom: 0; }

.shell > div ul,
.shell > div ol { padding-left: 1.2em; }

/* ---------- footer ---------- */
.foot {
  margin-top: 64px;
  padding: 44px 0 30px;
  border-top: 1px solid rgba(0, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.07), transparent 70%);
}

.foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.foot-word {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(2.3rem, 10vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.foot-addr {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.foot-h {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--cyan);
  margin: 0 0 10px;
}

.foot-list,
.foot-mini {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.foot-list a,
.foot-mini a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text);
  font-size: 0.96rem;
  border-bottom: 1px solid transparent;
}

.foot-list a:hover,
.foot-mini a:hover { border-bottom-color: var(--neon); }

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(105, 255, 105, 0.16);
}

.copy {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- dock ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(11, 26, 14, 0.82);
  backdrop-filter: blur(16px) saturate(1.5);
  border-top: 1px solid rgba(105, 255, 105, 0.34);
  box-shadow: 0 -10px 44px rgba(0, 255, 255, 0.14);
}

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

.dock-item { position: relative; flex: 0 0 auto; }
.dock-item:nth-child(4) { margin-left: auto; }

.dock-item > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}

.dock-item > a:hover {
  color: var(--ink);
  background: var(--cyan);
}

.has-sub > a::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.dock-sub {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  min-width: 158px;
  display: none;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 255, 0.32);
  background: rgba(12, 30, 16, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.has-sub:hover .dock-sub,
.has-sub:focus-within .dock-sub { display: flex; }

.dock-sub a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.96rem;
  color: var(--text);
}

.dock-sub a:hover { background: var(--neon); color: var(--ink); }

.dock-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--neon);
  text-shadow: 0 0 14px rgba(105, 255, 105, 0.6);
}

.dock-cta { flex: 0 0 auto; font-size: 0.95rem; padding: 0 14px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .shell > div,
  .rail {
    animation: rise 0.52s cubic-bezier(0.2, 0.8, 0.25, 1) both;
  }
  .rail { animation-delay: 0.02s; }
  .shell > div:nth-child(2) { animation-delay: 0.06s; }
  .shell > div:nth-child(3) { animation-delay: 0.1s; }
  .shell > div:nth-child(4) { animation-delay: 0.14s; }
  .shell > div:nth-child(5) { animation-delay: 0.18s; }
  .shell > div:nth-child(6) { animation-delay: 0.22s; }
  .shell > div:nth-child(7) { animation-delay: 0.26s; }
  .shell > div:nth-child(8) { animation-delay: 0.3s; }
  .shell > div:nth-child(n + 9) { animation-delay: 0.34s; }
  .hero-copy { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.25, 1) both; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .spark { animation: none; }
  .btn-gloss:hover, .dock-cta:hover, .rail-list a:hover { transform: none; }
}

/* ---------- breakpoints ---------- */
@media (min-width: 780px) {
  .foot-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 70vh;
    padding: 40px 0 20px;
  }
  .hero-art { order: 1; }
  .hero-copy { order: 2; }
  .shell > div { padding: 30px 28px; }
}

@media (min-width: 940px) {
  .shell {
    grid-template-columns: 214px minmax(0, 1fr);
    gap: 34px;
  }
  .shell > aside {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    position: sticky;
    top: 24px;
  }
  .shell > div { grid-column: 2; }
  .rail-list { flex-direction: column; flex-wrap: nowrap; }
  .rail-list a { border-radius: 10px; }
  .dock-brand { display: flex; }
}

@media (max-width: 560px) {
  .page { padding: 0 14px; }
  .dock-item > a { padding: 0 8px; font-size: 0.98rem; }
  .dock-cta { padding: 0 12px; font-size: 0.9rem; min-height: 44px; }
  .hero-lead { margin-left: 0; }
  .hero-copy { text-align: left; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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