:root {
  --surface-primary: #03050B;
  --surface-secondary: #080D18;
  --surface-elevated: #111827;
  --surface-glass: rgba(5, 10, 22, 0.52);
  --overlay-deep: rgba(3, 5, 11, 0.82);
  --overlay-mid: rgba(3, 5, 11, 0.56);
  --overlay-soft: rgba(3, 5, 11, 0.28);
  --overlay-clear: rgba(3, 5, 11, 0);
  --text-primary: #F8FAFF;
  --text-secondary: #B8C4D8;
  --text-tertiary: #7D8AA3;
  --border-default: rgba(184, 196, 216, 0.22);
  --border-subtle: rgba(184, 196, 216, 0.12);
  --accent-primary: #8FEAFF;
  --accent-hover: #F4D58A;
  --accent-violet: #A996FF;
  --accent-gold: #F4D58A;
  --glow-primary: rgba(143, 234, 255, 0.28);
  --signal-fill: rgba(17, 24, 39, 0.42);
  --signal-clear: rgba(8, 13, 24, 0);
  --signal-hover: rgba(143, 234, 255, 0.10);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --max-content: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  min-width: 320px;
  margin: 0;
  color: var(--text-primary);
  background: var(--surface-primary);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: var(--space-1);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - var(--space-8), calc(var(--max-content) + var(--space-20)));
  padding: var(--space-5) 0;
  transform: translateX(-50%);
  animation: header-in 760ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 172px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 16px var(--overlay-deep));
}

.domain-note {
  color: var(--text-secondary);
  font-family: "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  min-height: 100svh;
  max-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: var(--space-20);
  z-index: 2;
  width: min(100% - var(--space-8), var(--max-content));
  text-align: center;
  transform: translateX(-50%);
  animation: hero-copy-in 900ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none;
}

.overline {
  margin: 0;
  color: var(--text-primary);
  font-family: "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.35;
  text-shadow: 0 0 18px var(--accent-primary), 0 0 36px var(--glow-primary);
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-footer {
  position: fixed;
  right: max(var(--space-8), calc((100vw - var(--max-content)) / 2));
  bottom: var(--space-6);
  z-index: 10;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.55;
  animation: footer-in 760ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.site-footer p {
  margin: 0;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate(-50%, 18px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes footer-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    padding-right: var(--space-8);
    padding-left: var(--space-8);
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - var(--space-6), var(--max-content));
    align-items: center;
    gap: var(--space-4);
  }

  .brand-logo {
    width: 144px;
  }

  .domain-note {
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    object-position: center;
  }

  .overline {
    font-size: 15px;
  }

  .site-footer {
    right: auto;
    left: var(--space-6);
    bottom: var(--space-6);
    max-width: calc(100% - var(--space-12));
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
