/* rNexa landing v1 - nav, hero copy, workspace shot */
/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-solid { background: var(--bar); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.6) blur(14px); }
.nav.is-solid .btn-light { background: var(--pill-bg); color: var(--pill-ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.mark { width: 22px; height: 22px; fill: currentColor; }
.nav-links { display: flex; gap: 32px; font-size: 14px; opacity: 0.86; }
.nav-links a:hover, .nav-signin:hover { opacity: 0.7; }
.nav-end { display: flex; align-items: center; gap: 16px; font-size: 14px; }

/* Hero copy */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(760px, 100svh);
  padding: 124px 24px 0;
  background: var(--night); color: var(--white); text-align: center;
}
.hero-copy { position: relative; max-width: 760px; margin: 0 auto; }
.app-tile { display: block; width: 84px; height: 84px; margin: 0 auto 28px; }
.app-tile svg { width: 100%; height: 100%; fill: #f4f6fa; filter: drop-shadow(0 8px 24px rgba(5, 10, 22, 0.55)); }
.hero h1 {
  margin: 0; font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02;
  font-weight: 600; letter-spacing: -0.045em; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(5, 10, 22, 0.5);
}
.hero-sub { margin: 20px auto 0; max-width: 520px; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.76); text-wrap: balance; }
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 16px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.hero-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.hero-note a:hover { color: var(--white); }

/* Workspace window rising out of the snow */
.shot-wrap { position: relative; z-index: 2; margin-top: -32vh; padding: 0 16px; }
.shot {
  max-width: 1180px; margin: 0 auto; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 120px -20px rgba(5, 10, 22, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
  background: #141414;
}
.shot img { width: 100%; height: auto; }

@media (max-width: 860px) {
  .nav-links, .nav-signin { display: none; }
  .hero { min-height: 760px; padding-top: 112px; }
  .shot-wrap { margin-top: -170px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
