:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  color: #f3f1fa;
  background: #101019;
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #cabcff; outline-offset: 5px; border-radius: 5px; }
p, h1, h2, h3, figure { margin: 0; }
.wrap { width: min(1100px, calc(100% - 96px)); margin-inline: auto; }

.header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2a2937;
}
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 1.04rem; font-weight: 700; }
.brand-mark {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #b9a5ff;
}
.brand-mark i { width: 3px; height: 9px; border-radius: 2px; background: #21183e; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 12px; }
.header-link { color: #cbc7dc; font-size: .9rem; padding: 10px 0 10px 12px; }
.header-link:hover { color: #f6efff; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: 89px 102px;
}
.eyebrow { margin-bottom: 22px; color: #bbabff; font-size: .86rem; font-weight: 650; letter-spacing: .12em; }
h1 {
  font-size: clamp(2.6rem, 5.15vw, 4.55rem);
  line-height: 1.17;
  letter-spacing: -.056em;
  font-weight: 800;
}
h1 span { color: #c3b0ff; }
.intro {
  max-width: 29rem;
  margin-top: 24px;
  color: #cbc7dc;
  font-size: 1.08rem;
  line-height: 1.9;
}
.download { display: flex; flex-wrap: wrap; gap: 13px 19px; align-items: center; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 22px;
  border-radius: 11px;
  background: #c7b5ff;
  color: #1b1331;
  font-size: 1rem;
  font-weight: 750;
}
.button:hover { background: #ded0ff; }
.button:active { background: #ad96f3; }
.requirements { color: #a7a1bb; font-size: .82rem; line-height: 1.6; }

.preview { min-width: 0; }
.preview-scene {
  position: relative;
  min-height: 338px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #403556;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 69% 16%, #3d3071, transparent 65%),
    linear-gradient(137deg, #151723, #1d182e 67%, #24213d);
}
.preview-scene::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(#b4a3f50c 1px, transparent 1px), linear-gradient(90deg, #b4a3f50c 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(#000, transparent 94%);
}
.studio {
  position: absolute;
  inset: 57px 33% -4px -21px;
  overflow: hidden;
  border: 1px solid #494264;
  border-radius: 15px 15px 0 0;
  background: #191927;
  box-shadow: 0 16px 40px #09071280;
  transform: rotate(-5deg);
  opacity: .88;
}
.studio-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding-left: 46px; border-bottom: 1px solid #39334b; background: #232137; }
.studio-bar span { width: 7px; height: 7px; background: #8a7ba6; border-radius: 50%; }
.studio-track { height: 65px; margin: 8px 12px 0 39px; border-radius: 6px; background: #292441; display: flex; align-items: center; }
.studio-track:nth-child(3) { background: #1b3037; }
.wave {
  width: 86%;
  height: 37px;
  margin-left: 12px;
  background: repeating-linear-gradient(90deg, #a68aff 0 3px, transparent 3px 7px);
  clip-path: polygon(0 48%, 5% 38%, 10% 43%, 15% 7%, 18% 32%, 22% 11%, 27% 45%, 32% 34%, 37% 53%, 44% 44%, 48% 15%, 53% 2%, 57% 38%, 61% 24%, 65% 43%, 70% 35%, 74% 11%, 77% 22%, 82% 42%, 88% 32%, 92% 49%, 100% 49%, 100% 54%, 92% 59%, 88% 69%, 82% 57%, 77% 78%, 74% 93%, 70% 65%, 65% 58%, 61% 78%, 57% 60%, 53% 98%, 48% 89%, 44% 59%, 37% 54%, 32% 66%, 27% 54%, 22% 87%, 18% 64%, 15% 94%, 10% 59%, 5% 65%, 0 53%);
}
.wave-green { background: repeating-linear-gradient(90deg, #71cbb2 0 3px, transparent 3px 7px); height: 28px; }
.wave-short { width: 67%; }
.menu-preview { position: absolute; width: min(290px, calc(100% - 42px)); top: 66px; right: 24px; }
.menu-bar { display: flex; justify-content: flex-end; margin-right: 9px; }
.menu-bar > span { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #665784; border-radius: 8px; background: #33294c; font-size: .9rem; font-weight: 650; }
.menu-bar b { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; line-height: 1; border-radius: 50%; color: #271824; background: #ff9ba3; }
.menu-card {
  margin-top: 7px;
  padding: 8px 15px 10px;
  border: 1px solid #625779;
  border-radius: 14px;
  background: #191624;
  box-shadow: 0 18px 40px #0e0a1e96;
}
.menu-title { display: flex; gap: 8px; align-items: center; padding: 8px 0 11px; border-bottom: 1px solid #393249; font-size: .95rem; font-weight: 700; }
.menu-symbol { color: #c6b3ff; }
.menu-row { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding-top: 13px; font-size: .88rem; }
.state { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; white-space: nowrap; }
.state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.busy { color: #ffd391; }
.idle { color: #a4e6c5; }
.menu-foot { color: #aca5c2; border-top: 1px solid #393249; margin-top: 12px; padding-top: 9px; font-size: .8rem; }
figcaption { margin-top: 12px; text-align: right; color: #aaa3bf; font-size: .8rem; }

.setup { background: #171621; border-block: 1px solid #2b2939; scroll-margin-top: 24px; }
.setup-inner { padding-block: 53px 47px; }
.setup-heading h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.steps { list-style: none; counter-reset: setup; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 26px 0 22px; }
.steps li { position: relative; counter-increment: setup; border-top: 1px solid #454055; padding-top: 16px; }
.steps h3 { display: flex; gap: 11px; align-items: center; font-size: 1.05rem; }
.steps h3::before {
  content: counter(setup);
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #32274d;
  color: #ded0ff;
  border-radius: 50%;
  font-size: .8rem;
}
.steps p { margin: 9px 12px 0 0; color: #c2bcd3; font-size: 1rem; line-height: 1.7; }
.status-note { color: #c3bdd6; padding: 13px 16px; border-left: 2px solid #a391e9; background: #201c30; font-size: .94rem; line-height: 1.65; }
.status-note strong { color: #eee9fa; }
.install-note { margin-top: 13px; color: #b4adc8; font-size: .875rem; line-height: 1.65; }
.install-note a { color: #d7caff; text-decoration: underline; text-underline-offset: 3px; }
.install-note a:hover { color: #eee6ff; }
.footer { display: flex; justify-content: space-between; gap: 10px; padding-block: 24px 30px; color: #a7a1bb; font-size: .87rem; }
.footer span:first-child { color: #e4dcf9; font-weight: 650; }

.invite-panel { max-width: 700px; margin-block: clamp(48px, 11vw, 130px); }
.invite-panel h1 { font-size: clamp(2.1rem, 7vw, 3.7rem); }
.invite-panel .intro { max-width: 32rem; }
.invite-panel .download { align-items: baseline; }
.invite-download { color: #d7caff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 24px; padding-block: 63px 68px; }
  .preview-scene { min-height: 302px; }
  .menu-preview { right: 16px; top: 46px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: 63px; }
  .hero { grid-template-columns: 1fr; gap: 31px; padding-block: 43px 50px; }
  .eyebrow { margin-bottom: 16px; }
  h1 { font-size: clamp(2.15rem, 9.4vw, 4rem); }
  .intro { margin-top: 16px; font-size: 1rem; }
  .download { margin-top: 23px; }
  .studio { right: 27%; }
  .setup-inner { padding-block: 37px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps p { margin-right: 0; }
  .footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
