.ambient-stage,
.landing-bg-base,
.landing-bg-grid,
.landing-bg-noise,
.landing-bg-spot,
.landing-blob {
  position: fixed;
  pointer-events: none;
}

.ambient-stage,
.landing-bg-base {
  inset: 0;
  z-index: -4;
}

.ambient-stage__grid,
.landing-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 28%, #000 0 42%, transparent 74%);
}

.ambient-stage__noise,
.landing-bg-noise {
  position: absolute;
  inset: -20%;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.landing-bg-grid,
.landing-bg-noise {
  position: fixed;
}

.ambient-stage__beam,
.landing-blob {
  width: 620px;
  height: 620px;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.2;
  mix-blend-mode: screen;
}

.ambient-stage__beam--a,
.landing-blob--1 {
  left: 0;
  top: -220px;
  transform: translateX(-34%);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.22), transparent 36%), linear-gradient(135deg, rgba(91, 231, 255, 0.62), rgba(255, 61, 85, 0.32));
}

.ambient-stage__beam--b,
.landing-blob--2 {
  right: 0;
  top: 18%;
  transform: translateX(34%);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.16), transparent 38%), linear-gradient(135deg, rgba(255, 61, 85, 0.5), rgba(182, 255, 106, 0.24));
}

.landing-blob--3 {
  left: 50%;
  bottom: -260px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(91, 231, 255, 0.22), rgba(215, 221, 232, 0.16));
}

.topbar {
  position: fixed;
  top: 16px;
  left: 24px;
  right: 24px;
  z-index: 80;
  height: var(--topbar-h);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 10, 15, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand,
.landing-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.logo,
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(91, 231, 255, 0.36);
  border-radius: var(--radius);
  color: var(--brand);
  background: linear-gradient(145deg, rgba(91, 231, 255, 0.18), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 42px rgba(91, 231, 255, 0.08);
}

.brandtext,
.landing-brand span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.title,
.landing-brand strong {
  font-weight: 900;
  letter-spacing: 0;
}

.subtitle,
.landing-brand small {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.topbar-vehicle-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 220px;
  max-width: 340px;
  padding: 11px 14px;
  border: 1px solid var(--line-hot);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(90deg, rgba(91, 231, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: var(--glow-cyan);
  cursor: pointer;
  user-select: none;
}

.topbar-vehicle-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.shell {
  width: min(var(--content-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0 40px;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 20px;
}

.sidebar {
  position: sticky;
  top: 104px;
  height: calc(100vh - 128px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 19, 0.7);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px) saturate(145%);
}

.content {
  min-width: 0;
}

.view {
  display: none;
  animation: viewIn 240ms var(--ease);
}

.view.active {
  display: block;
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  width: min(var(--content-max), calc(100% - 48px));
  margin: 20px auto 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}
