:root {
  --product-header-height: 74px;
}

.site-skip-link {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 18px;
  padding: 10px 14px;
  border-radius: 0 0 8px 8px;
  background: #f6f7fb;
  color: #050609;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 160ms ease;
}

.site-skip-link:focus {
  transform: translateY(0);
}

.product-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height, var(--product-header-height));
  min-height: var(--header-height, var(--product-header-height));
  padding: 10px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 6, 9, 0.88);
  color: #f6f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(20px) saturate(135%);
}

.product-brand {
  display: inline-flex;
  grid-column: 1;
  align-items: center;
  justify-self: start;
  gap: 8px;
  color: #f6f7fb;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.product-brand-logo {
  display: block;
  width: 31px;
  height: 28px;
  object-fit: contain;
}

.product-brand-wordmark span {
  color: transparent;
  background: linear-gradient(90deg, #4d7cff 0%, #ac78f2 58%, #ff9a66 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.product-nav {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.product-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: #9ca6b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.product-nav-link:hover {
  color: #f6f7fb;
  background: rgba(255, 255, 255, 0.06);
}

.product-nav-link[aria-current="page"] {
  color: #f6f7fb;
  background: linear-gradient(105deg, rgba(53, 135, 255, 0.24), rgba(157, 104, 255, 0.18));
  box-shadow: inset 0 0 0 1px rgba(117, 173, 255, 0.28);
}

.product-context-action {
  display: inline-flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  min-height: 44px;
}

.home-page .page-shell {
  padding-top: calc(var(--product-header-height) + 22px);
}

.product-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.product-legal-links a {
  color: inherit;
  text-decoration: none;
}

.product-legal-links a:hover {
  color: #aeb7c8;
}

.progress-rail a[aria-current="step"] {
  transform: translateX(-3px);
  color: #f6f7fb;
}

.progress-rail a[aria-current="step"] span {
  color: #75adff;
}

.progress-rail a[aria-current="step"] b {
  color: #f6f7fb;
}

@media (max-width: 900px) {
  :root {
    --product-header-height: 66px;
  }

  .product-header {
    grid-template-columns: auto 1fr auto;
    padding: 9px 18px;
  }

  .product-nav {
    padding: 0;
  }

  .home-page .page-shell {
    padding-top: calc(var(--product-header-height) + 16px);
  }

  .product-nav-link {
    min-height: 44px;
    padding: 0 12px;
  }
}

@media (max-width: 720px) {
  .product-header {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .product-nav {
    grid-column: 2;
    justify-self: end;
  }

  .product-context-action {
    display: none;
  }

  .product-nav-link {
    padding: 0 10px;
    font-size: 10px;
  }

  .finish-scene {
    padding-bottom: 152px;
  }

  .demo-footer {
    right: 18px;
    bottom: 74px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .product-brand-wordmark {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .product-nav-link {
    padding: 0 9px;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-skip-link,
  .product-nav-link {
    transition: none;
  }
}
