:root {
  --surface-inverse: #0b1f3a;
  --overlay-deep: #061428;
  --accent: #0062ff;
  --accent-hover: #0050d4;
  --text: #ffffff;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --radius: 4px;
  --pad-x: clamp(1.5rem, 5.5vw, 5rem);
  --font-display: "Funnel Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: Geist, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--surface-inverse);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
}

.page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.page__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    205deg,
    rgba(11, 31, 58, 0.86) 0%,
    rgba(11, 31, 58, 0.72) 50%,
    rgba(6, 20, 40, 0.6) 100%
  );
}

.page__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.page__grid::before,
.page__grid::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
}

.page__grid::before {
  top: 0;
  bottom: 0;
  left: var(--pad-x);
  width: 1px;
}

.page__grid::after {
  left: 0;
  right: 0;
  top: 5.5rem;
  height: 1px;
}

@media (min-width: 960px) {
  .page__grid-mid {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
  }
}

.page__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 1.75rem var(--pad-x) 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav__domain {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
  justify-content: center;
  max-width: 40rem;
  padding: 3rem 0 4rem;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 98, 255, 0.55);
  animation: pulse-dot 2.4s ease-out infinite;
}

.hero__status-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero__support {
  margin: 0;
  max-width: 35rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.875rem 1.375rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 160ms ease, transform 160ms ease;
}

.cta:hover {
  background: var(--accent-hover);
}

.cta:active {
  transform: translateY(1px);
}

.cta:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  .nav__domain {
    display: none;
  }

  .page__bg img {
    object-position: center 45%;
  }

  .hero {
    gap: 1.1rem;
    padding: 2.5rem 0 3.5rem;
  }

  .cta {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise-in 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay-1 { animation-delay: 80ms; }
.reveal-delay-2 { animation-delay: 160ms; }
.reveal-delay-3 { animation-delay: 240ms; }
.reveal-delay-4 { animation-delay: 320ms; }
.reveal-delay-5 { animation-delay: 400ms; }

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 98, 255, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 98, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 98, 255, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero__dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cta {
    transition: none;
  }
}
