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

:root {
  --ink: #1c1726;
  --violet: #6514ff;
  --magenta: #bf00ff;
  --lime: #ccff33;
  --paper: #f5f1ff;
  --soft: #fbf7ff;
  --r: 10px;
  --f: "Figtree", "Noto Sans", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink);
  border-bottom: 3px solid var(--magenta);
}

.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-l { justify-self: end; }

.bar-r {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid rgba(233, 226, 255, .22);
  color: #efe9ff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.pill:hover,
.pill:focus-visible,
.pill[aria-current="true"] {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  transform: translateY(-2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
}

.find {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px 3px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
}
.find-l { font-size: 16px; color: #cdc2ef; }
.find-i {
  width: 108px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}
.find-i::placeholder { color: #a99fca; }
.find:focus-within { background: rgba(255, 255, 255, .2); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 12% 16%, rgba(191, 0, 255, .24), transparent 46%),
    radial-gradient(circle at 84% 82%, rgba(101, 20, 255, .26), transparent 52%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -45%;
  background-image:
    linear-gradient(90deg, rgba(101, 20, 255, .13) 1px, transparent 1px),
    linear-gradient(rgba(101, 20, 255, .13) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: drift 26s linear infinite;
  pointer-events: none;
}
@keyframes drift {
  to { transform: translate3d(64px, 64px, 0); }
}

.ghost {
  position: absolute;
  left: -.06em;
  top: 4%;
  margin: 0;
  font-size: clamp(72px, 17vw, 216px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.045em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(101, 20, 255, .3);
  pointer-events: none;
}

.hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 20px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { text-align: left; }

.h1 {
  margin: 0 0 28px;
  font-size: clamp(38px, 6.2vw, 74px);
  line-height: 1.03;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.cta:hover { background: var(--magenta); transform: translateY(-2px); }

.collage { position: relative; min-height: 330px; }
.collage:empty { display: none; }

.shot {
  border-radius: var(--r);
  background: var(--violet);
  filter: grayscale(.9) contrast(1.12);
  box-shadow: 0 22px 46px -22px rgba(28, 23, 38, .62);
}
.shot-a { width: 74%; transform: rotate(-3deg); }
.shot-b {
  position: absolute;
  right: 0;
  bottom: -6%;
  width: 60%;
  transform: rotate(4deg);
  border: 6px solid var(--lime);
}

/* ---------- 主体骨架 ---------- */
.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 72px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.rail {
  position: sticky;
  top: 98px;
  padding: 20px 18px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: 0 24px 44px -34px rgba(28, 23, 38, .7);
}

.rail-h {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 18px;
  letter-spacing: .06em;
}

.subtitle {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.62;
  color: #5c5273;
}

.rail-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail-list a {
  display: block;
  min-height: 40px;
  padding: 9px 10px;
  border-left: 3px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.rail-list a:hover,
.rail-list a[aria-current="true"] {
  background: var(--paper);
  border-left-color: var(--magenta);
  color: var(--violet);
}

.main { min-width: 0; }

.sheet { margin: 0; }

.body > section {
  margin: 0 0 48px;
  padding: 36px 34px;
  border-radius: var(--r);
  border-top: 8px solid var(--violet);
  background: #fff;
  box-shadow: 0 26px 54px -44px rgba(28, 23, 38, .85);
  scroll-margin-top: 108px;
}
.body > section:nth-of-type(even) {
  border-top-color: var(--magenta);
  background: var(--soft);
}
.body > section:last-child { margin-bottom: 0; }

.body h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.3vw, 38px);
  line-height: 1.16;
  letter-spacing: -.02em;
}
.body h3 {
  margin: 26px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}
.body p { margin: 0 0 18px; }
.body p:last-child { margin-bottom: 0; }
.body ul, .body ol { margin: 0 0 18px; padding-left: 22px; }
.body li { margin: 0 0 8px; }
.body a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.body strong { color: var(--ink); }
.body img { margin: 0 0 18px; border-radius: var(--r); }
.body blockquote {
  margin: 0 0 20px;
  padding: 14px 20px;
  border-left: 6px solid var(--magenta);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--paper);
}
.body blockquote p:last-child { margin-bottom: 0; }
.body time { font-variant-numeric: tabular-nums; color: #6c6185; }
.body p.subtitle,
.body p.desc,
.body p.lead { font-size: 17px; color: #5c5273; }

/* ---------- 页脚 ---------- */
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px;
  background: var(--ink);
  color: #e9e2ff;
  font-size: 16px;
}
.foot p { margin: 0; }
.foot small {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 16px;
}
.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .22);
  transition: background .2s ease, border-color .2s ease;
}
.foot a:hover { background: var(--violet); border-color: var(--violet); }

/* ---------- 入场 ---------- */
html.js .body > section {
  opacity: 0;
  transform: translateY(16px);
}
html.js .body > section.in {
  opacity: 1;
  transform: none;
  transition: opacity .28s ease, transform .28s ease;
}

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .top { position: static; }
  .bar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px;
  }
  .brand { order: -1; font-size: 20px; }
  .menu-l { justify-self: start; }
  .bar-r { justify-content: flex-start; }
  .find-i { width: 100%; min-width: 90px; }
  .find { flex: 1 1 190px; }

  html { scroll-padding-top: 16px; }
  .hero-in {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 52px 16px 56px;
  }
  .ghost { top: 2%; font-size: clamp(64px, 19vw, 120px); }
  .collage {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .shot-a, .shot-b { width: 100%; position: static; border-width: 0; transform: none; }
  .shot-b { border: 5px solid var(--lime); }

  .shell {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 16px 48px;
  }
  .rail { position: static; padding: 16px; }
  .body > section { padding: 24px 18px; margin-bottom: 26px; }
  .body > section { scroll-margin-top: 14px; }
  .foot { padding: 18px 16px; }
}

@media (max-width: 520px) {
  .menu { gap: 6px; }
  .pill { padding: 8px 12px; }
  .collage { grid-template-columns: 1fr; }
  .shot-b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  html.js .body > section { opacity: 1; transform: none; transition: none; }
  .pill, .cta, .rail-list a, .foot a { transition: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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