@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
}
.landing {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #060a0d;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.landing-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.top-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 0.75rem;
}

.top-nav {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.45rem 0.5rem 0.45rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(177, 152, 255, 0.28);
  background:
    linear-gradient(120deg, rgba(82, 39, 255, 0.2), rgba(82, 39, 255, 0.08) 45%, rgba(10, 8, 32, 0.45)),
    rgba(16, 12, 41, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 28px rgba(18, 4, 64, 0.35);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  color: #f5f1ff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-word {
  font-family: 'Space Grotesk', 'Avenir Next', 'Segoe UI', sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.brand-word-em {
  font-size: 1.24em;
  font-weight: 900;
  color: #ffffff;
}

.brand-icon {
  width: 4rem;
  height: 2.6rem;
  border-radius: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.top-nav-links {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}

.top-nav-links a {
  color: rgba(245, 241, 255, 0.72);
  text-decoration: none;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.top-nav-links a:hover {
  color: #ffffff;
}

.signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.6rem;
  padding: 0.7rem 1.15rem;
  background: #ffffff;
  color: #161616;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f0b46d;
  color: #1a1a1a;
  box-shadow: 0 10px 28px rgba(240, 180, 109, 0.3);
}

.btn-ghost {
  color: #f5efe7;
  background: rgba(15, 15, 15, 0.35);
  border: 1px solid rgba(245, 239, 231, 0.3);
}

.hero-visual {
  position: relative;
  align-self: start;
  justify-self: end;
  width: min(500px, 42vw);
  transform: translateY(-3.2rem);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.2rem;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-kicker {
  margin: 0;
  width: fit-content;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(245, 239, 231, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(245, 239, 231, 0.9);
  background: rgba(5, 5, 5, 0.3);
}
@media (max-width: 720px) {
  .top-nav {
    flex-wrap: wrap;
    row-gap: 0.75rem;
    padding: 0.65rem 0.7rem;
  }

  .top-nav-links {
    order: 3;
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
  }

  .signup-btn {
    margin-left: auto;
  }

  .section-shell {
    width: min(1100px, calc(100% - 1.5rem));
  }
}.route-fallback {
  min-height: 100vh;
  background: #060a0d;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.route-fallback-bar {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  height: 52px;
  border-radius: 0.95rem;
  border: 1px solid rgba(177, 152, 255, 0.14);
}

.route-fallback-body {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.route-fallback-title {
  height: 28px;
  width: 38%;
  border-radius: 0.6rem;
}

.route-fallback-line {
  height: 14px;
  width: 62%;
  border-radius: 0.5rem;
}

.route-fallback-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.route-fallback-card {
  height: 160px;
  border-radius: 0.95rem;
  border: 1px solid rgba(177, 152, 255, 0.1);
}

.route-fallback-shimmer {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(177, 152, 255, 0.1) 50%, rgba(255, 255, 255, 0) 62%),
    rgba(16, 12, 41, 0.62);
  background-size: 220% 100%, auto;
  animation: route-fallback-shimmer 1.4s ease-in-out infinite;
}

@keyframes route-fallback-shimmer {
  0% {
    background-position: 130% 0, 0 0;
  }
  100% {
    background-position: -90% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-fallback-shimmer {
    animation: none;
  }
}
