/* Site-wide new-user experience modal — assets/nux.js */

.vh-nux{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-top: calc(16px + env(safe-area-inset-top, 0));
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
  box-sizing: border-box;
}
.vh-nux[hidden]{ display: none; }

.vh-nux__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
}

.vh-nux__dialog{
  position: relative;
  width: min(100%, 440px);
  max-height: min(88vh, 640px);
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8f3 0%, #f3f8ff 100%);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 18px 18px 16px;
}

.vh-nux__eyebrow{
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.vh-nux__title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.vh-nux__lede{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.vh-nux__steps{
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vh-nux__step{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}

.vh-nux__step-num{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--data-orange);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.vh-nux__step-title{
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
}

.vh-nux__step-copy{
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.vh-nux__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vh-nux__skip{
  margin-left: auto;
}

@media (prefers-reduced-motion: reduce){
  .vh-nux__dialog{ box-shadow: 4px 4px 0 var(--ink); }
}
