:root {
  color-scheme: dark;
  --bg: #0b0c12;
  --text: #f3f1fa;
  --muted: #adadbf;
  --fine: #9695aa;
  --line: #2a293a;
  --mint: #d8fda4;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
.shell { width: min(1440px, calc(100% - clamp(48px, 8vw, 152px))); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 5; padding: 9px 15px; transform: translateY(-170%); background: var(--mint); color: #161b15; }
.skip:focus { transform: none; }
.top { height: 84px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; border-radius: 12px; }
.logo img { display: block; }
nav { display: flex; gap: clamp(16px, 3vw, 43px); align-items: center; }
nav a, .footer a, .learn-head a { color: var(--muted); text-decoration: none; font-weight: 650; }
nav a { padding-block: 12px; }
nav a:hover, .footer a:hover, .learn-head a:hover { color: var(--mint); }
nav a span, .learn-head a span { margin-inline-start: .55em; color: var(--mint); }
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center; column-gap: clamp(14px, 2vw, 34px);
  min-height: min(743px, calc(100svh - 93px)); padding-block: 22px 40px;
}
.hero-copy { z-index: 1; padding-block: 23px 32px; }
h1 {
  max-inline-size: max-content; margin-inline-start: -.062em;
  font-size: clamp(56px, 7.4vw, 135px); line-height: .99; letter-spacing: -.09em; font-weight: 860;
  white-space: nowrap; color: #fbfaff;
}
h1 span {
  background: linear-gradient(145deg, #fbfaff 15%, #d8ccfa 70%, #ab99ea);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro { color: var(--muted); font-size: clamp(18px, 1.85vw, 27px); margin-top: clamp(14px, 2vw, 30px); line-height: 1.6; }
.intro strong { color: #eeebfa; font-weight: 710; }
.primary {
  display: inline-flex; gap: 18px; align-items: center; min-height: 49px; padding: 10px 18px;
  margin-top: clamp(18px, 2.5vw, 35px); border-radius: 6px; background: var(--mint); color: #171e13;
  text-decoration: none; font-weight: 790; transition: background-color .18s ease, translate .22s ease;
}
.primary:hover { background: #eaffc9; translate: 0 -2px; }
.experience { position: relative; min-width: 0; isolation: isolate; }
.stage {
  --haze: 81 54 182; --middle: 46 41 95; 
  position: relative; width: 100%; aspect-ratio: 1.135; overflow: hidden;
  background: radial-gradient(ellipse at 52% 49%, rgb(var(--haze) / .22), rgb(var(--middle) / .09) 56%, transparent 72%);
  touch-action: pan-y;
}
.stage[data-tone="planet"] { --haze: 52 129 140; --middle: 37 79 97; }
.stage[data-tone="variable"] { --haze: 105 137 51; --middle: 76 72 99; }
.stage::before {
  content: ""; position: absolute; inset: 5% -10%; pointer-events: none; opacity: .56;
  background-image: radial-gradient(circle, #a799dc47 .65px, transparent 1.35px);
  background-size: 23px 23px; mask-image: radial-gradient(ellipse, #000 3%, #0004 45%, transparent 69%);
}
#particle-stage { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.still {
  display: none; position: absolute; inset: 19% 20%; border-radius: 50%; border: 1px solid #bdacf991;
  box-shadow: inset 0 0 24px #cbb5ff64, 0 0 45px #947aff56; transform: rotate(-34deg);
}
.no-canvas .still { display: block; }
.no-canvas .console-actions, .no-canvas .hint { display: none; }
.console {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: -7px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.console-copy { display: flex; flex-direction: column; flex-shrink: 0; }
.console-copy strong { font-size: 15px; font-weight: 720; }
.hint { color: var(--fine); font-size: 12px; }
.hint-touch { display: none; }
.console-actions { display: flex; align-items: center; gap: 8px; }
.modes {
  display: flex; align-items: stretch; gap: 3px; padding: 4px; border-radius: 7px;
  border: 1px solid #333044; background: #15151e;
}
.modes button, .motion-control {
  border: 0; min-height: 37px; cursor: pointer; background: transparent; color: var(--muted);
  border-radius: 4px; font-size: 14px; font-weight: 650;
}
.modes button { padding-inline: 12px; white-space: nowrap; }
.modes button:hover, .motion-control:hover { color: var(--text); background: #232235; }
.modes button[aria-pressed="true"] { color: #171d12; background: var(--mint); }
.motion-control { display: grid; place-items: center; min-width: 39px; min-height: 45px; border: 1px solid #333044; border-radius: 7px; }
.motion-control .play-icon { display: none; }
.motion-control[data-paused="true"] .pause-icon { display: none; }
.motion-control[data-paused="true"] .play-icon { display: block; }
.screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.about, .learn { border-top: 1px solid var(--line); padding-block: clamp(43px, 7vw, 112px); scroll-margin-top: 18px; }
.about { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(17px, 5vw, 90px); }
h2 { font-size: clamp(30px, 5.2vw, 80px); line-height: 1.13; letter-spacing: -.075em; font-weight: 825; }
.about h2 span { color: var(--mint); }
.about-copy { max-inline-size: 34em; }
.about-copy p, .learn-head p { color: var(--muted); font-size: clamp(16px, 1.8vw, 22px); line-height: 1.7; }
.about-copy p + p { margin-top: 15px; }
.learn-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.learn-head p { margin-top: 16px; }
.learn-head a { flex: none; padding-block: 9px; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px;
  margin: clamp(28px, 5vw, 68px) 0 0; padding: 0; list-style: none;
}
.steps li { border-top: 1px solid #3a364a; padding: 18px 12px 0 0; }
.steps li span { color: var(--mint); font-size: 14px; font-weight: 700; }
.steps h3 { margin-top: 9px; font-size: clamp(23px, 2.75vw, 38px); letter-spacing: -.045em; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; max-inline-size: 20em; }
.footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-block: 24px 38px; color: var(--fine); font-size: 14px; }
.reveal.in-view { animation: arrive .69s cubic-bezier(.18,.76,.23,1) both; }
@keyframes arrive { from { opacity: .27; translate: 0 17px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); min-height: auto; padding-block: 66px 55px; }
  .console-copy .hint { display: none; }
  .modes button { padding-inline: 8px; }
  .about h2 { font-size: clamp(34px, 6.5vw, 68px); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .top { height: 63px; }
  .logo img { width: 34px; height: 34px; }
  nav { gap: 19px; }
  nav a { font-size: 14px; }
  .hero { grid-template-columns: 1fr; padding-block: 28px 46px; }
  .hero-copy { padding: 5px 0 0; }
  h1 { font-size: clamp(55px, 15.75vw, 108px); }
  .intro { margin-top: 15px; font-size: clamp(16px, 4.4vw, 22px); }
  .primary { margin-top: 15px; min-height: 44px; padding: 8px 13px; font-size: 14px; }
  .stage { aspect-ratio: 1.09; max-height: 500px; margin-top: 7px; }
  .console { margin-top: -3px; padding-top: 9px; gap: 7px; }
  .console-copy .hint-touch { display: inline; }
  .modes button { min-height: 40px; padding-inline: 9px; }
  .motion-control { min-width: 41px; min-height: 49px; }
  .about { grid-template-columns: 1fr; }
  .about br { display: none; }
  .learn-head { display: block; }
  .learn-head a { display: inline-block; margin-top: 7px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps p { max-inline-size: none; }
}
@media (max-width: 345px) {
  .shell { width: calc(100% - 32px); }
  .console-copy .hint-touch { display: none; }
  .console-actions { gap: 5px; }
  .modes button { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
