@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lexend-400-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/lexend-500-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/lexend-600-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/archivo-700-normal-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-400-normal-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --font-body: "Lexend", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Archivo", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", monospace;
  --radius-sm: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #08090a;
  overscroll-behavior: none;
}

body {
  min-height: 100dvh;
  color: #f1f4f2;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #d6e9fb;
  outline-offset: 5px;
}

.hz-orbit-shell {
  --orbit-stage-dark: #08090a;
  --orbit-stage-light: #101213;
  --orbit-grid: #4c5559;
  --orbit-accent-a: #30373c;
  --orbit-accent-b: #393b3c;
  --orbit-globe-cool: #7fbbef;
  --orbit-globe-silver: #f0f5fc;
  --orbit-globe-warm: #aebccd;
  --orbit-node-surface: #171b20;
  --orbit-node-line: #75808c;
  --orbit-glass-white: #fff;
  --orbit-glass-cool: #adc9e6;
  --orbit-glass-warm: #edf0f5;
  --orbit-glass-tint: #f5fcff;
  --orbit-glass-shadow: #171a1e;
  --orbit-glow-cool: #b8d8f8;
  --orbit-glow-warm: #e5eaf2;
  --orbit-space-cool: #7ab6dd;
  --orbit-space-warm: #e6cdb2;
  --orbit-ink: #f1f4f2;
  --orbit-ink-inv: #0c1010;
  --orbit-surface: #101716;
  --orbit-highlight: #d6e9fb;
  --orbit-muted: #b7bdc5;
  --orbit-dim: #89939e;
  --orbit-line: rgb(255 255 255 / 15%);
  --orbit-focus-cool: #d1e5f8;
  --orbit-focus-warm: #e3e8ef;
  --orbit-entry-surface: #1c2228;
  --orbit-entry-hover: #29333e;
  --orbit-entry-border: #657782;
  --orbit-safe-x: 4.5%;
  --orbit-hero-center-y: 49%;
  --orbit-hero-width: 440px;
  --orbit-ring-width-ratio: 0.53;
  --orbit-ring-height-ratio: 0.84;
  --orbit-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --orbit-work-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --orbit-headline-font: var(--font-display);
  --orbit-hero-alpha: 1;
  --orbit-work-alpha: 0;
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  min-height: 0;
  overflow: hidden;
  color: var(--orbit-ink);
  background: var(--orbit-stage-dark);
  isolation: isolate;
}

.orbit-stage {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.orbit-stage:active {
  cursor: grabbing;
}

.orbit-chrome {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.orbit-chrome > * {
  position: absolute;
}

.orbit-chrome a,
.orbit-chrome button {
  pointer-events: auto;
}

.orbit-chrome,
.orbit-stage {
  transition: opacity 0.24s var(--orbit-ease);
}

.hz-orbit-shell[data-dialog="open"] .orbit-stage {
  opacity: 0.22;
}

.hz-orbit-shell[data-dialog="open"] .orbit-chrome {
  opacity: 0;
}

.orbit-verbwrap {
  top: var(--orbit-hero-center-y);
  left: 50%;
  display: none;
  width: var(--orbit-hero-width);
  max-width: calc(100% - 40px);
  text-align: center;
  contain: layout;
  opacity: var(--orbit-hero-alpha);
  transform: translate(-50%, -50%);
}

.orbit-headline {
  display: grid;
  grid-template-rows: 56px 76px;
  gap: 6px;
  margin: 0;
  font-family: var(--orbit-headline-font);
  text-wrap: nowrap;
}

.orbit-prefix {
  display: block;
  margin: 0;
  color: var(--orbit-ink);
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
}

.orbit-verb {
  display: block;
  min-height: 76px;
  margin: 0;
  color: var(--orbit-highlight);
  font-size: 66px;
  font-weight: 700;
  line-height: 76px;
}

.orbit-verb-line {
  min-height: 42px;
  margin: 14px auto 0;
  color: var(--orbit-muted);
  font: 400 13px/21px var(--font-body);
}

.orbit-verb-line span {
  display: block;
  text-wrap: balance;
}

.orbit-verb-line span:first-child {
  color: var(--orbit-ink);
}

.orbit-focus {
  top: var(--orbit-hero-center-y);
  width: 228px;
  max-width: 20%;
  min-height: 185px;
  text-align: center;
  contain: layout;
  opacity: var(--orbit-hero-alpha);
  transform: translateY(-50%);
  transition: opacity 0.35s var(--orbit-ease);
}

.hz-orbit-shell[data-stage="globe"] .orbit-focus[data-phase="home"],
.hz-orbit-shell[data-stage="globe"] .orbit-focus[data-phase="departing"] {
  visibility: hidden;
  opacity: var(--orbit-hero-alpha);
}

.hz-orbit-shell[data-stage="globe"] .orbit-focus[data-phase="docked"],
.hz-orbit-shell[data-stage="globe"] .orbit-focus[data-phase="returning"] {
  visibility: visible;
  opacity: var(--orbit-hero-alpha);
}

.orbit-typed-char {
  visibility: hidden;
}

.orbit-typed-char.shown {
  visibility: visible;
}

.orbit-typed-char.cursor {
  position: relative;
}

.orbit-typed-char.cursor::after {
  position: absolute;
  right: -3px;
  bottom: 0.12em;
  width: 1px;
  height: 0.9em;
  background: currentColor;
  content: "";
}

.orbit-focus-left {
  left: 10%;
}

.orbit-focus-right {
  right: 10%;
}

.orbit-focus img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
  visibility: hidden;
}

.orbit-eb {
  color: var(--orbit-highlight);
  font: 12px/1.6 var(--font-mono);
}

.orbit-focus-name {
  min-height: 56px;
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.orbit-focus-line {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 12px;
  overflow: hidden;
  color: var(--orbit-muted);
  font-size: 13px;
  line-height: 1.9;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.orbit-focus-left .orbit-eb,
.orbit-focus-left .orbit-focus-name {
  color: var(--orbit-focus-cool);
}

.orbit-focus-right .orbit-eb,
.orbit-focus-right .orbit-focus-name {
  color: var(--orbit-focus-warm);
}

.orbit-work-info {
  bottom: 104px;
  left: var(--orbit-safe-x);
  width: 48%;
  max-width: 650px;
  opacity: var(--orbit-work-alpha);
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--orbit-work-ease),
    transform 0.6s var(--orbit-work-ease);
}

.hz-orbit-shell[data-stage="work"] .orbit-work-info {
  transform: none;
}

.orbit-work-info h2 {
  margin: 12px 0 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
}

.orbit-work-sub {
  margin: 12px 0 0;
  color: var(--orbit-muted);
  font-size: 14px;
  line-height: 1.6;
}

.orbit-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.75em) rotate(5deg);
  transform-origin: 0 100%;
  transition:
    opacity 0.45s var(--orbit-work-ease),
    transform 0.6s var(--orbit-work-ease);
  transition-delay: var(--d, 0s);
}

.orbit-work-info.is-in .orbit-ch {
  opacity: 1;
  transform: none;
}

.orbit-work-info.is-out .orbit-ch {
  opacity: 0;
  transform: translateY(-0.5em);
}

.orbit-counter {
  right: var(--orbit-safe-x);
  bottom: 104px;
  text-align: right;
  opacity: var(--orbit-work-alpha);
  font: 12px var(--font-mono);
  transition: opacity 0.5s var(--orbit-work-ease);
}

.orbit-counter b {
  font-size: 30px;
  font-weight: 400;
}

.orbit-counter > span {
  margin-left: 12px;
  color: var(--orbit-dim);
}

.orbit-rail {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 10px;
}

.orbit-rail i {
  width: 14px;
  height: 1px;
  background: var(--orbit-line);
  transition:
    width 0.3s,
    background 0.3s;
}

.orbit-rail i.on {
  width: 26px;
  background: var(--orbit-highlight);
}

.orbit-transport {
  right: var(--orbit-safe-x);
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.orbit-view-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--orbit-line);
  border-radius: var(--radius-sm);
  color: var(--orbit-muted);
  background: rgb(8 9 10 / 42%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12px;
  cursor: pointer;
  transition:
    background-color 0.2s var(--orbit-ease),
    border-color 0.2s var(--orbit-ease),
    color 0.2s var(--orbit-ease);
}

.orbit-view-toggle:hover {
  border-color: var(--orbit-entry-border);
  color: var(--orbit-ink);
  background: var(--orbit-surface);
}

.orbit-view-toggle svg {
  width: 15px;
  height: 15px;
}

.hz-loader,
.hz-fatal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgb(122 182 221 / 10%), transparent 34%),
    #08090a;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.hz-loader[hidden],
.hz-fatal[hidden] {
  display: none;
}

.hz-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hz-loader-card,
.hz-fatal-card {
  display: grid;
  max-width: min(420px, calc(100vw - 40px));
  justify-items: center;
  gap: 16px;
  padding: 28px;
  color: var(--orbit-muted);
  text-align: center;
}

.hz-loader-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-top-color: var(--orbit-highlight);
  border-radius: 50%;
  animation: hz-spin 0.9s linear infinite;
}

.hz-loader-title,
.hz-fatal-title {
  margin: 0;
  color: var(--orbit-ink);
  font-size: 16px;
  font-weight: 500;
}

.hz-loader-copy,
.hz-fatal-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.hz-fatal-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--orbit-entry-border);
  border-radius: var(--radius-sm);
  color: var(--orbit-highlight);
  background: var(--orbit-entry-surface);
  text-decoration: none;
}

.hz-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes hz-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .hz-orbit-shell {
    --orbit-hero-width: 360px;
  }

  .orbit-focus {
    width: 190px;
    max-width: 19%;
  }

  .orbit-focus-left {
    left: 7%;
  }

  .orbit-focus-right {
    right: 7%;
  }

  .orbit-focus-name {
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .hz-orbit-shell {
    --orbit-safe-x: 20px;
    --orbit-hero-center-y: 40%;
    --orbit-hero-width: 246px;
    --orbit-ring-width-ratio: 0.94;
    --orbit-ring-height-ratio: 0.47;
  }

  .orbit-focus {
    top: auto;
    bottom: max(96px, calc(env(safe-area-inset-bottom) + 86px));
    display: block;
    width: calc(50% - 30px);
    max-width: none;
    min-height: 118px;
    transform: none;
  }

  .orbit-focus-left {
    left: var(--orbit-safe-x);
  }

  .orbit-focus-right {
    right: var(--orbit-safe-x);
  }

  .orbit-focus img {
    width: 36px;
    height: 36px;
    margin: 0 auto 5px;
  }

  .orbit-focus .orbit-eb {
    font-size: 9px;
  }

  .orbit-focus-name {
    min-height: 34px;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.35;
  }

  .orbit-focus-line {
    min-height: 33px;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.65;
  }

  .orbit-work-info {
    right: var(--orbit-safe-x);
    bottom: 92px;
    left: var(--orbit-safe-x);
    width: auto;
    max-width: none;
  }

  .orbit-work-info h2 {
    margin-top: 7px;
    font-size: 23px;
  }

  .orbit-work-sub {
    margin-top: 7px;
    font-size: 11px;
  }

  .orbit-counter {
    display: none;
  }

  .orbit-transport {
    right: var(--orbit-safe-x);
    bottom: max(20px, env(safe-area-inset-bottom));
    display: flex;
  }

  .orbit-view-toggle {
    min-height: 44px;
    color: var(--orbit-ink);
    background: rgb(16 23 22 / 82%);
  }
}

@media (max-height: 740px) and (max-width: 760px) {
  .hz-orbit-shell {
    --orbit-hero-center-y: 35%;
    --orbit-ring-height-ratio: 0.44;
  }

  .orbit-focus {
    bottom: max(88px, calc(env(safe-area-inset-bottom) + 78px));
    min-height: 104px;
  }

  .orbit-focus-line {
    min-height: 26px;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 370px) {
  .hz-orbit-shell {
    --orbit-safe-x: 14px;
  }

  .orbit-focus {
    width: calc(50% - 20px);
  }

  .orbit-focus-name {
    font-size: 12px;
  }
}

@media (max-height: 620px) and (min-width: 761px) {
  .orbit-focus-line {
    display: none;
  }

  .orbit-work-info {
    bottom: 82px;
  }

  .orbit-counter {
    bottom: 82px;
  }

  .orbit-transport {
    bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
