:root {
  color-scheme: dark;
  --page: #0b0d12;
  --surface: #151820;
  --text: #f7f8fb;
  --muted: #9298a7;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #359cff;
  --violet: #a84cff;
  --green: #39d7a4;
  --header-height: 82px;
  --page-gutter: clamp(20px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--page);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: var(--header-height) 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  background: rgba(11, 13, 18, 0.72);
}

.brand-visual {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.58;
  transform: translate3d(var(--visual-x, 0), var(--visual-y, 0), 0)
    scale(1.025);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.site-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 35%,
    transparent 88%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 35%,
    transparent 88%
  );
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--page-gutter);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  content: "";
  background: #fff;
}

.brand-mark::before {
  width: 7px;
  height: 18px;
  left: 8px;
  bottom: 6px;
}

.brand-mark::after {
  width: 11px;
  height: 11px;
  right: 6px;
  bottom: 6px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: transparent;
}

.brand-mark span {
  width: 10px;
  height: 3px;
  top: 6px;
  left: 8px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand-name span,
.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--blue), #7279ff 48%, var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8d93a1;
  font-size: 12px;
  font-weight: 600;
}

.online-dot,
.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.online-dot {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 10px rgba(57, 215, 164, 0.62);
}

.status-dot {
  width: 8px;
  height: 8px;
  box-shadow:
    0 0 8px rgba(57, 215, 164, 0.9),
    0 0 18px rgba(57, 215, 164, 0.36);
}

.main-content {
  display: flex;
  width: min(100% - (var(--page-gutter) * 2), 840px);
  margin-inline: auto;
  padding: 64px 0 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 22px;
  color: #767d8d;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

h1 {
  display: flex;
  margin: 0;
  flex-direction: column;
  font-size: 62px;
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.route-list {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 42px;
}

.route-option {
  display: flex;
  width: 224px;
  flex-direction: column;
  align-items: center;
}

.route-button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(0);
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.route-button--primary {
  background: linear-gradient(100deg, #147fd5, #5268ed 55%, #7b4ae2);
  box-shadow: 0 12px 36px rgba(46, 111, 234, 0.22);
}

.route-button--secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.route-button:hover,
.route-button:focus-visible {
  outline: none;
  transform: translateY(-3px);
}

.route-button--primary:hover,
.route-button--primary:focus-visible {
  box-shadow:
    0 0 0 4px rgba(67, 131, 255, 0.15),
    0 16px 42px rgba(46, 111, 234, 0.3);
}

.route-button--secondary:hover,
.route-button--secondary:focus-visible {
  border-color: rgba(153, 86, 255, 0.72);
  background: rgba(133, 76, 224, 0.12);
  box-shadow: 0 0 0 4px rgba(153, 86, 255, 0.1);
}

.route-button .arrow {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition: transform 220ms ease;
}

.route-button:hover .arrow,
.route-button:focus-visible .arrow {
  transform: translateX(4px);
}

.route-option p {
  display: flex;
  min-height: 20px;
  margin: 14px 0 0;
  align-items: center;
  gap: 8px;
  color: #c5cad5;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.route-option:last-child .status-dot {
  background: #a56bff;
  box-shadow:
    0 0 8px rgba(165, 107, 255, 0.94),
    0 0 18px rgba(165, 107, 255, 0.38);
}

.site-footer {
  min-height: 48px;
  color: #515766;
  font-size: 9px;
  font-weight: 700;
}

@media (min-width: 1280px) {
  h1 {
    font-size: 68px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .header-meta {
    font-size: 11px;
  }

  .main-content {
    padding: 48px 0 54px;
  }

  h1 {
    font-size: 46px;
  }

  .intro-copy {
    margin-top: 22px;
    font-size: 15px;
  }

  .route-list {
    width: min(100%, 310px);
    margin-top: 34px;
    flex-direction: column;
    gap: 20px;
  }

  .route-option,
  .route-option:last-child {
    width: 100%;
  }

  .route-button {
    min-height: 52px;
  }

  .route-option p {
    margin-top: 10px;
  }

  .site-footer span:last-child {
    display: none;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 40px;
  }
}

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