:root {
  color-scheme: dark;
  --page-gutter: clamp(16px, 2vw, 32px);
  --ink: #f0f2fa;
  --muted: #a1aabd;
  --paper: #080c15;
  --blue: #a4bdff;
  --line: #ffffff1c;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
::selection { color: white; background: #4058aa; }
.skip { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 14px; background: #18233d; transform: translateY(-160%); }
.skip:focus { transform: none; }
.bar {
  height: 86px;
  display: flex;
  align-items: center;
  padding-inline: var(--page-gutter);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #ffffff0d;
  background: #080c15c9;
  backdrop-filter: blur(22px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 19px; font-weight: 620; letter-spacing: -.6px; }
.brand img { border-radius: 8px; filter: grayscale(1) brightness(1.8); }
.account { margin-inline-start: auto; }
.register { display: inline-flex; gap: 16px; align-items: center; padding: 11px 19px; font-size: 13px; border: 1px solid #ffffff30; border-radius: 100px; background: #ffffff08; white-space: nowrap; transition: background .3s, border-color .3s; }
.register span { transition: transform .3s; }
.register:hover { background: #ffffff12; border-color: #a4bdff80; }
.register:hover span { transform: translate(2px,-2px); }
.hero { min-height: min(880px, calc(100svh - 86px)); height: 760px; max-height: 980px; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; padding: 80px 8%; background: radial-gradient(ellipse at 78% 58%, #15274b80, transparent 59%); }
.hero::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #849fcb38, transparent); }
.hero-copy { position: relative; z-index: 2; pointer-events: none; }
.hero h1 { margin: 0; font-size: clamp(66px, 7.8vw, 120px); font-weight: 560; line-height: 1.22; letter-spacing: -.055em; }
.hero-highlight { background: linear-gradient(115deg, #f7f8fe 5%, #a7bce7 70%, #6a83b4); background-clip: text; -webkit-background-clip: text; color: transparent; }
.stop { color: #9ab7f3; padding-left: .04em; }
.art { position: absolute; z-index: 0; width: 80%; height: 100%; right: -15%; top: 0; background: url(homepage-infinity.svg?v=2) center / contain no-repeat; opacity: .9; }
.art.canvas-ready { background: none; }
#infinity-canvas { width: 100%; height: 100%; display: block; }


footer { border-top: 1px solid var(--line); background: #060910; }
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 24px var(--page-gutter);
  font-size: 11px;
  color: #929db2;
}
.footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; line-height: 1.6; }
.footer-legal a { transition: color .3s; }
.footer-legal a:hover { color: white; }
.back { justify-self: end; transition: color .3s; }
.back:hover { color: white; }
@media (min-width: 1600px) { .art { right: -5%; width: 70%; } }
@media (max-width: 900px) {
  .bar { height: 74px; }
  .hero { padding-inline: 8%; height: 700px; }
}
@media (max-width: 600px) {
  .bar { height: 70px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .register { padding: 10px 13px; font-size: 12px; gap: 9px; }
  .hero { min-height: 720px; height: calc(100svh - 70px); max-height: 900px; display: block; padding-top: 65px; }
  .hero h1 { font-size: clamp(54px, 12.5vw, 75px); margin-block: 25px 28px; }
  .art { width: 125%; height: 53%; top: auto; bottom: 24px; right: -12.5%; opacity: .85; }

}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
