html {
  overflow-x: clip;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0B0C10;
  color: #E5E7EB;
  overflow-x: clip;
}

.linear-background {
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  z-index: -1;
  pointer-events: none;
}

.line-pattern {
  position: relative;
  overflow: visible !important;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.line-pattern::before {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -20px;
  width: 12px;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.15) 0px, rgba(255, 255, 255, 0.15) 3px,
    transparent 3px, transparent 8px,
    rgba(255, 255, 255, 0.08) 8px, rgba(255, 255, 255, 0.08) 9px
  );
  transform: skewX(-45deg);
  z-index: 0;
  pointer-events: none;
}

.line-pattern::after {
  content: '';
  position: absolute;
  top: -10px;
  bottom: -10px;
  right: -12px;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  transform: skewX(-45deg);
  z-index: 0;
  pointer-events: none;
}

.line-pattern > * {
  position: relative;
  z-index: 1;
}

.line-pattern > .card-glow {
  position: absolute;
  z-index: 0;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.site-brand {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(to right, #60a5fa, #818cf8, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav .nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .site-nav .nav-links {
    display: flex;
  }
}

.nav-action {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: #6366f1;
  border-radius: 9999px;
  border: 0;
  cursor: pointer;
}

.nav-action:hover {
  background: #818cf8;
}
