:root {
  --bg: #17171a;
  --fg: #edeae4;
  --mid: #7a766f;
  --dim: #3e3b38;
  --subtle: #524f4b;
  --rule: #232120;
  --accent: #d6bf92;
  --mono: 'DM Mono', monospace;
  --disp: 'Syne', sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-weight: 300;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.site-header,
.site-main,
.site-footer,
.hero-shell,
.hero-content,
.preview-card {
  position: relative;
  z-index: 1;
}

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 0 44px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.h-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.h-logo-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.h-logo {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--fg);
  text-decoration: none;
}

.h-sep {
  width: 1px;
  height: 14px;
  background: var(--dim);
  flex-shrink: 0;
}

.h-tag,
.eyebrow,
.hero-eyebrow-text,
.hero-version {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

.h-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.h-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mid);
}

.h-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.h-nav a,
.chip,
.action-link,
.ft-a {
  text-decoration: none;
}

.h-nav a {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

.h-nav a:hover {
  color: var(--fg);
}

.site-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 44px 64px 64px;
  overflow: hidden;
  min-height: 0;
}

.site-main::after {
  content: '';
  position: absolute;
  left: 44px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--dim) 30%, var(--dim) 70%, transparent);
}

.ghost {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 34vw;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
  position: fixed;
  right: -2vw;
  bottom: 52px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.hero-shell {
  padding-left: 28px;
  max-width: 980px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-version {
  color: var(--subtle);
  border: 1px solid var(--dim);
  padding: 2px 7px;
}

.hero-title,
.preview-card h2 {
  font-family: var(--disp);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(4rem, 9vw, 10rem);
  line-height: 0.9;
}

.hero-tagline {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-tagline-rule {
  width: 32px;
  height: 1px;
  background: var(--subtle);
}

.hero-desc,
.preview-card p,
.muted {
  margin-top: 20px;
  font-size: 12px;
  line-height: 2;
  color: var(--mid);
  max-width: 48ch;
}

.actions,
.hero-chips,
.pill-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.chip,
.action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid var(--dim);
  border-radius: 2px;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}

.chip:hover,
.action-link:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.preview-card {
  margin-top: 26px;
  border: 1px solid var(--rule);
  background: rgba(27, 26, 29, 0.96);
  padding: 18px;
}

.preview-hero {
  min-height: 240px;
  border: 1px solid rgba(237, 234, 228, 0.08);
  background:
    linear-gradient(180deg, rgba(23, 23, 26, 0.18), rgba(23, 23, 26, 0.78)),
    radial-gradient(circle at top, rgba(214, 191, 146, 0.18), transparent 55%);
  padding: 24px;
  display: flex;
  align-items: flex-end;
}

.preview-card h2 {
  font-size: 30px;
}

.connection-list,
.route-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.connection-item,
.route-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(237, 234, 228, 0.08);
  font-size: 12px;
  line-height: 1.8;
}

.connection-item:last-child,
.route-item:last-child {
  border-bottom: none;
}

.connection-item span:first-child,
.route-item span:first-child {
  color: var(--fg);
}

.connection-item span:last-child,
.route-item span:last-child {
  color: var(--mid);
  text-align: right;
  word-break: break-word;
}

.pill {
  border: 1px solid var(--dim);
  padding: 7px 10px;
  font-size: 10px;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--rule);
  background: var(--bg);
  padding: 0 44px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ft-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ft-a {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}

.ft-a:hover {
  color: var(--mid);
}

.ft-vsep {
  width: 1px;
  height: 9px;
  background: var(--subtle);
}

.ft-copy {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--subtle);
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 20px;
  }

  .site-main {
    padding: 56px 20px 64px 32px;
  }

  .site-main::after {
    left: 20px;
  }

  .hero-shell {
    padding-left: 18px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 9vw, 6rem);
  }
}

@media (max-width: 680px) {
  .site-header {
    height: auto;
    padding: 14px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .h-nav {
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-main {
    padding: 36px 20px 84px 32px;
    justify-content: flex-start;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12vw, 5.2rem);
    line-height: 0.92;
  }

  .site-footer {
    height: auto;
    padding: 12px 20px;
    justify-content: center;
  }
}
